Background technology
Current, along with the fast development of economic globalization, internal and international communication is more and more frequent, makes the universal also more and more wider of the Internet, also more and more to the application of the Internet.IP phone is exactly one of them typical case's application.Its basic conception is changed voice signal exactly between public switched telephone network and Internet, and voice signal is compressed to encapsulation, converts IP packet to.Meanwhile, IP technology allows a plurality of users to share same bandwidth resources, has changed black phone and by unique user, has been monopolized the mode of a channel, has saved user's cost of use.And this point is particularly evident on overseas call communication cost, this major reason that also IP phone develops rapidly just.
But IP phone also has the shortcoming of self,, when using mobile phone dialing IP phone, its speech quality can be subject to the impact of network signal quality.When network signal is bad, can cause data-bag lost, and this can cause, speech is intermittent, the situations such as time delay, voice distortion of conversing, and has a strong impact on speech quality.
Summary of the invention
In view of above content, be necessary to provide a kind of IP phone call control method, can promote the speech quality of IP phone.
In view of above content, be also necessary to provide a kind of IP phone call control system, can promote the speech quality of IP phone.
Described IP phone call control method comprises: the first Connection Step: when passing through the telephony unit calling IP phone of mobile device, start the mobile comm unit of described mobile device, control described mobile device and be connected to IP network by mobile comm unit; Receiving step: the bursts dropping ratio of the described IP phone current talking that reception server transmits in real time; And second Connection Step: when described bursts dropping ratio is more than or equal to preset value, start the WIFI unit of described mobile device, control described mobile device and be connected to IP network by WIFI unit.
Described IP phone call control system comprises: link block, for when passing through the telephony unit calling IP phone of mobile device, start the mobile comm unit of described mobile device, and control described mobile device and be connected to IP network by mobile comm unit; Receiver module, for the bursts dropping ratio of the described IP phone current talking that reception server transmits in real time; And described link block is also for when described bursts dropping ratio is more than or equal to preset value, starts the WIFI unit of described mobile device, controls described mobile device and is connected to IP network by WIFI unit.
Compared to prior art, described IP phone call control method and system, can be when mobile device passes through cordless communication network calling IP phone, receive the ip router bursts dropping ratio of monitoring in real time, and according to monitored results, judgement should be carried out interconnection network and be carried out IP phone call by which kind of path (3G or WIFI), has effectively improved the speech quality of IP phone.
Embodiment
Consulting shown in Fig. 1, is the running environment figure of IP phone call control system of the present invention preferred embodiment.Described IP phone call control system 10 runs in mobile device 1, and described mobile device 1 can be the movable electronic device that mobile phone, panel computer etc. have IP phone function.In described mobile device 1, also comprise mobile comm unit 11, WIFI unit 12 and telephony unit 13.Described mobile device 1 carries out data communication by IP network and server 2, and described server 2 comprises ip router 20.Described IP network is the network of the Internet or other uses IP technology.
Described mobile comm unit 11 can be 2G, 3G, LTE, 4G unit etc., for connecting cordless communication network, and then is connected to IP network.Described WIFI unit 12 is for connecting WLAN(Wireless Local Area Networks, WLAN (wireless local area network) by WIFI focus), and then be connected to IP network.Described telephony unit 13 is for carrying out the call function of IP phone.Described ip router 20 is for providing QoS(Quality of Service, service quality) guarantee and call monitoring, in the present embodiment, for monitoring in real time the bursts dropping ratio of IP phone current talking.Described server 2 is for being sent to the monitored results of described ip router 20 described mobile device 1.
Consulting shown in Fig. 2, is the functional block diagram of IP phone call control system of the present invention preferred embodiment.
Described IP phone call control system 10 comprises link block 100, receiver module 200, judge module 300 and Executive Module 400.
Described link block 100 is for when described mobile device 1 is during by described telephony unit 13 calling IP phone, start described mobile comm unit (as 3G unit) 11, control described mobile device 1 and connect cordless communication network by described mobile comm unit 11, and then be connected to IP network.
Described receiver module 200 is for receiving in real time the bursts dropping ratio of the described IP phone current talking of described server 2 transmission.When user uses described mobile device 1 calling IP phone, described ip router 20 is the bursts dropping ratio of monitoring current talking in real time, and by described server 2, monitored results is sent to described mobile device 1.
Described judge module 300 is for judging whether described bursts dropping ratio is less than preset value.In the present embodiment, described preset value is 1%.According to industrywide standard, the bursts dropping ratio of IP phone is controlled in 1% at present, that is to say, if described bursts dropping ratio surpasses 1%, the speech quality of IP phone can not be accepted.
Described link block 100 is also when being not less than (being more than or equal to) preset value when described bursts dropping ratio, start described WIFI unit 12, control described mobile device 1 and be connected to WIFI focus by described WIFI unit 12, thereby be connected to WLAN, and then be connected to IP network.It should be noted that, in other embodiments, described link block 100 can be when described mobile device 1 starts calling IP phone, just start described WIFI unit 12, then when described bursts dropping ratio is not less than preset value, controls described mobile device 1 and switch to by described WIFI unit 12 connection IP network from connect IP network by described mobile comm unit 11.
When described Executive Module 400 has been controlled described mobile device 1 and is connected to IP network by described WIFI unit 12 for be less than preset value or described link block 100 when described bursts dropping ratio, control the call process that described telephony unit 13 continues to carry out IP phone.
Consulting shown in Fig. 3, is the flow chart of IP phone call control system of the present invention preferred embodiment.
Step S10, when described mobile device 1 is during by described telephony unit 13 calling IP phone, described link block 100 starts described mobile comm unit 11, controls described mobile device 1 and connects cordless communication network by described mobile comm unit 11, and then be connected to IP network.
Step S12, described receiver module 200 receives the bursts dropping ratio of the described IP phone current talking of described server 2 transmission in real time.
Step S14, described judge module 300 judges whether described bursts dropping ratio is less than preset value.In the present embodiment, described preset value is 1%.If described bursts dropping ratio is not less than (being more than or equal to) preset value, perform step S16.If described bursts dropping ratio is less than preset value, perform step S18.
Step S16, described link block 100 starts described WIFI unit 12, controls described mobile device 1 and connects WIFI focus by described WIFI unit 12, thereby be connected to WLAN, and then be connected to IP network, then performs step S18.
Step S18, described Executive Module 400 is controlled the call process that described telephony unit 13 continues to carry out IP phone.
Above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that, can modify or be equal to replacement technical scheme of the present invention, and not depart from the spirit and scope of technical solution of the present invention.