CN106102087A - A kind of audio communication method and mobile terminal - Google Patents

A kind of audio communication method and mobile terminal Download PDF

Info

Publication number
CN106102087A
CN106102087A CN201610369728.0A CN201610369728A CN106102087A CN 106102087 A CN106102087 A CN 106102087A CN 201610369728 A CN201610369728 A CN 201610369728A CN 106102087 A CN106102087 A CN 106102087A
Authority
CN
China
Prior art keywords
network
voice call
target
judged result
positional information
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
CN201610369728.0A
Other languages
Chinese (zh)
Other versions
CN106102087B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201610369728.0A priority Critical patent/CN106102087B/en
Publication of CN106102087A publication Critical patent/CN106102087A/en
Application granted granted Critical
Publication of CN106102087B publication Critical patent/CN106102087B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/34Reselection control
    • H04W36/36Reselection control by user or terminal equipment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a kind of audio communication method and mobile terminal, relates to the communications field, in order to solve when the network signal quality of mobile communications network is poor, carries out, by telephone line, the problem that the speech quality of voice call is bad.Including: judging whether Wi Fi network meets voice call standard, obtain the first judged result, Wi Fi network is the Wi Fi network that the history that current location information based on mobile terminal obtains had connected;If the first judged result instruction Wi Fi network meets voice call standard, carry out voice call by Wi Fi network;Otherwise, it is judged that whether mobile data network meets voice call standard, the second judged result is obtained;If the second judged result indicates described mobile data network to meet voice call standard, carry out voice call by mobile data network;Otherwise, voice call is carried out by mobile communications network.The technical scheme of the embodiment of the present invention is mainly used in voice call process.

Description

A kind of audio communication method and mobile terminal
Technical field
The present embodiments relate to the communications field, and more particularly, to a kind of audio communication method and mobile terminal.
Background technology
At present, calling subscribe typically uses the mode called and called subscriber to carry out voice call, in prior art In, telephone line is by global system for mobile communications (Global System for Mobile Communication, GSM) etc. Mobile communications network communicates.
But, during realizing the present invention, inventor finds: mobile communications network signal quality is generally by building Or the impact of shelter and weak, such as: when in community, high building is numerous, GSM network signal attenuation can be more severe;Or Person, when entering corridor or when taking elevator, mobile communications network signal is weak also can compare severe etc..Due to mobile radio communication Network jitter, can cause the second-rate of voice call, even cause the problem that voice call is interrupted.
Summary of the invention
The embodiment of the present invention provides a kind of audio communication method and mobile terminal, to solve when mobile communications network signal matter When measuring poor, carry out, by telephone line, the problem that the speech quality of voice call is bad.
First aspect, it is provided that a kind of audio communication method, described method is applied to mobile terminal, including:
Judging whether Wi-Fi network meets voice call standard, obtain the first judged result, described Wi-Fi network is institute State mobile terminal based on current location information obtains, Wi-Fi network that history had connected;
If described first judged result indicates described Wi-Fi network to meet voice call standard, by described Wi-Fi net Network and callee set up packet-switched domain voice link, carry out language by the packet-switched domain voice link of described Wi-Fi network Sound is conversed;
Otherwise, it is judged that whether mobile data network meets voice call standard, the second judged result is obtained;
If described second judged result indicates described mobile data network to meet voice call standard, by described movement Data network and callee set up packet-switched domain voice link, by the packet-switched domain voice chain of described mobile data network Road carries out voice call;Otherwise, circuit switched domain voice link is set up, by described electricity by mobile communications network with callee Road switching domain voice link carries out voice call.
Second aspect, it is provided that a kind of audio communication method, described method is applied to mobile terminal, including:
During carrying out voice call by mobile communications network, if the signal quality of mobile communications network is not inconsistent Close preset requirement, it is judged that whether Wi-Fi network meets voice call standard, obtains the first judged result, and described Wi-Fi network is Described mobile terminal based on current location information obtains, Wi-Fi network that history had connected;
If described first judged result indicates described Wi-Fi network to meet voice call standard, obtain talking link and cut Change instruction, re-establish packet-switched domain voice call according to the switching instruction of described talking link by described Wi-Fi network;
Otherwise, it is judged that whether mobile data network meets voice call standard, the second judged result is obtained;
If described second judged result indicates described mobile data network to meet voice call standard, according to described call Link switching instruction re-establishes packet-switched domain voice call by described mobile data network.
The third aspect, it is provided that a kind of mobile terminal, including:
First judging unit, is used for judging whether Wi-Fi network meets voice call standard, obtains the first judged result, Described Wi-Fi network be described mobile terminal based on current location information obtains, Wi-Fi network that history had connected;
First voice call unit, if the first judged result instruction for described first judging unit acquisition is described Wi-Fi network meets voice call standard, sets up packet-switched domain voice link by described Wi-Fi network with callee, logical The packet-switched domain voice link crossing described Wi-Fi network carries out voice call;
Second judging unit, if the first judged result described Wi-Fi of instruction obtained for described first judging unit Network does not meets voice call standard, it is judged that whether mobile data network meets voice call standard, obtains the second judged result;
Second voice call unit, if the second judged result described shifting of instruction obtained for described second judging unit Dynamic data network meets voice call standard, sets up packet-switched domain voice chain by described mobile data network with callee Road, carries out voice call by the packet-switched domain voice link of described mobile data network;
3rd telephony unit, if the second judged result described mobile number of instruction obtained for described second judging unit Do not meet voice call standard according to network, set up circuit switched domain voice link by mobile communications network with callee, pass through Described circuit switched domain voice link carries out voice call.
Fourth aspect, it is provided that a kind of mobile terminal, including:
First judging unit, is used for during carrying out voice call by mobile communications network, if mobile communication The signal quality of network does not meets preset requirement, it is judged that whether Wi-Fi network meets voice call standard, obtains the first judgement knot Really, described Wi-Fi network be described mobile terminal based on current location information obtains, Wi-Fi network that history had connected;
First voice call unit, if the first judged result instruction for described first judging unit acquisition is described Wi-Fi network meets voice call standard, obtains talking link switching instruction, according to the switching instruction of described talking link by institute State Wi-Fi network and re-establish packet-switched domain voice call;
Second judging unit, if the first judged result described Wi-Fi of instruction obtained for described first judging unit Network does not meets voice call standard, it is judged that whether mobile data network meets voice call standard, obtains the second judged result;
Second voice call unit, if the second judged result described shifting of instruction obtained for described second judging unit Dynamic data network meets voice call standard, is again built by described mobile data network according to the switching instruction of described talking link Vertical packet-switched domain voice call.
So, in the embodiment of the present invention, by judging whether Wi-Fi network can carry out voice call, lead to when possible Cross Wi-Fi network and carry out voice call, otherwise, it is judged that whether mobile data network can carry out voice call, leads to when possible Cross mobile data network and carry out voice call, finally, when Wi-Fi network and mobile data network are the most not all right, by mobile logical Communication network carries out the technological means of voice call, and solving prior art can only carry out voice call by mobile communications network, When mobile communications network signal quality does not meets preset requirement, the problem that speech quality is bad, owing to have employed above-mentioned technology Means so that this embodiment can select the network that speech quality is good to carry out voice call, and then ensure that voice call matter Amount, improves user and carries out the service experience of voice call;Further, since by network carry out the rate of voice call compared to Mobile communications network is cheap, and then has reached to save the effect of call rate.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below will be in embodiment or description of the prior art The required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only some realities of the present invention Execute example, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to attached according to these Figure obtains other accompanying drawing.
Fig. 1 is the flow chart of the audio communication method of first embodiment of the invention;
Fig. 2 is one of flow chart of the step 101 shown in Fig. 1;
Fig. 3 is the two of the flow chart of the step 101 shown in Fig. 1;
Fig. 4 is the flow chart of the step 103 shown in Fig. 1;
Fig. 5 is the flow chart of the audio communication method of second embodiment of the invention;
Fig. 6 be the step 602 shown in Fig. 5 when GSM signal quality is bad, the schematic diagram prompted the user with;
Fig. 7 be the step 602 shown in Fig. 5 when GSM signal interruption, the schematic diagram prompted the user with;
Fig. 8 is the flow chart of the audio communication method of third embodiment of the invention;
Fig. 9 is the mobile terminal structure schematic diagram of fourth embodiment of the invention;
Figure 10 is one of structural representation of the first judging unit 901 shown in Fig. 9;
Figure 11 is the structural representation of the first judgment sub-unit 1003 shown in Figure 10;
Figure 12 is the two of the structural representation of the first judging unit 901 shown in Fig. 9;
Figure 13 is the structural representation of the second judging unit 903 shown in Fig. 9;
Figure 14 is the mobile terminal structure schematic diagram of fifth embodiment of the invention;
Figure 15 is the mobile terminal structure schematic diagram of seventh embodiment of the invention;
Figure 16 is the mobile terminal structure schematic diagram of eighth embodiment of the invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Describe, it is clear that described embodiment is a part of embodiment of the present invention rather than whole embodiments wholely.Based on this Embodiment in bright, the every other enforcement that those of ordinary skill in the art are obtained under not making creative work premise Example, broadly falls into the scope of protection of the invention.
First embodiment
As it is shown in figure 1, the audio communication method that first embodiment of the invention provides, the method is applied on mobile terminal, More specifically, be applied on the mobile terminal of calling subscribe, including:
Step 101, it is judged that whether Wi-Fi network meets voice call standard, obtains the first judged result.
Wherein, in embodiments of the present invention, Wi-Fi network is mobile terminal obtains based on current location information, history The Wi-Fi network connected.
In the present embodiment, by two kinds of methods, step 101 can judge whether Wi-Fi network meets voice call mark Accurate.
Wherein, a kind of method is, as in figure 2 it is shown, include:
Step 1011, obtains the positional information of mobile terminal.
In the present embodiment, step 1011 can be positioned by cordless communication network and GPS, obtains the plane of mobile terminal Coordinate, so that it is determined that the plan-position at mobile terminal place.Further, in order to obtain positional information more accurately, step 1011 can also be reconverted into height above sea level by baroceptor measuring and calculating air pressure, and combine the temperature pair that temperature sensor obtains Height above sea level carries out complementary correction to determine spatial coordinate, and combines plane coordinates and spatial coordinate obtains movement exactly Terminal positional information in three dimensions.
Certainly, the method for the positional information that above step 1011 obtains mobile terminal is only the concrete example of the present embodiment, During actual use, step 1011 can also obtain the positional information of mobile terminal by additive method, does not does Repeat one by one.
Step 1012, in the positional information prestored with Wi-Fi network mapping table, searches positional information corresponding Target Wi-Fi network.
After mobile terminal connects Wi-Fi network success under normal circumstances, it is possible to the automatically title of storage Wi-Fi network and close Code, in order to next time connects networking automatically.In the present embodiment, when step 1012 can connect Wi-Fi network according to mobile terminal The positional information at place, sets up positional information and Wi-Fi network (specifically, the title of Wi-Fi network and password) corresponding relation Table, after step 1011 obtains the positional information of mobile terminal, step 1012 can search correspondence according to this positional information Target Wi-Fi network.
It should be noted that above positional information is scope position with the positional information in Wi-Fi network mapping table Confidence ceases, and this range position information sets according to the signal coverage strength of Wi-Fi network.
Step 1013, linking objective Wi-Fi network, judge whether to meet voice call standard according to network connection result, Obtain the first judged result.
In the present embodiment, step 1013 can be according to whether be successfully connected to target Wi-Fi network and judge whether to meet Voice call standard.Specifically, when being successfully connected to target Wi-Fi network, the first judged result instruction target Wi-Fi network Meet voice call standard, otherwise, do not meet voice call standard.
Further, in order to make step 1013 can more be quickly attached to target Wi-Fi network, at the present embodiment In, positional information and Wi-Fi network mapping table also include the IP address information that Wi-Fi network is mobile terminal distribution;Then The step of linking objective Wi-Fi network can also include: obtains target from positional information with Wi-Fi network mapping table The target ip address that Wi-Fi network is corresponding;Target ip address is revised as in the IP address of mobile terminal;According to target ip address even Connect target Wi-Fi network.
Owing to generally, Wi-Fi network is that the IP address of mobile terminal distribution will not change.If waiting, router divides Join address to mobile terminal, then need to spend the more time.Mobile terminal fills in the IP connecting this Wi-Fi network last time in advance Address, run into Wi-Fi network be mobile terminal distribution IP address immovable in the case of can reach to connect more rapidly Receive the purpose of target Wi-Fi network.
By method as shown in Figure 2, can find, according to the positional information of terminal, the Wi-Fi having access to rapidly Network, it is to avoid mobile terminal constantly searches for suspension that Wi-Fi network causes and the big problem of power consumption, has reached power saving and fast The purpose that speed networks, it is possible to judge whether Wi-Fi network meets voice call standard more quickly.
Another kind of method is, as it is shown on figure 3, include:
Step 1014, obtains the positional information of mobile terminal.
Its concrete acquisition methods may refer to the embodiment of the present invention to step 1011 as shown in Figure 2, the most superfluous State.
Step 1015, according to the Wi-Fi network near positional information search, obtains target Wi-Fi network.
Step 1016, linking objective Wi-Fi network, carry out network test, judge whether to meet according to network test results Voice call standard, obtains the first judged result.
In the present embodiment, an address test can be pre-set, when step 1016 is connected to target Wi-Fi network Time, according to whether this address test can successfully be connected judge whether target Wi-Fi network meets voice call standard.Specifically Ground, when step 1016 successfully can connect address test, the first judged result instruction target Wi-Fi network meets voice call Standard, does not otherwise meet voice call standard.
By the method shown in Fig. 3, step 101 can carry out network connection under publicly-owned Wi-Fi network environment, and judge Go out and whether meet voice call standard.
Step 102, if first judged result instruction Wi-Fi network meet voice call standard, by Wi-Fi network with Callee sets up packet-switched domain voice link, carries out voice call by the packet-switched domain voice link of Wi-Fi network.
Packet-switched domain (Packet Switch Domain), sometimes referred to as Packet Service (Packet Service), this It is the early stage of mobile communications network development, different for different business demands and implementation, and the classification concept provided.Early The mobile communications network of phase, mainly provides speech business, and what namely we often said makes a phone call.Speech business is on a communication network Typically requiring the circuit pathways resource of exclusive formula, wanting between different user to converse is accomplished by communication network offer circuit commutative field Function, is connected mutually by the circuit pathways resource monopolizing formula each other, so speech business is called circuit commutative field (Circuit Switch Domain)。
In the present embodiment, step 102 can by use by Wi-Fi network calling called party cell phone number in the way of and quilt The side of crying carries out voice call.Specifically, the phone number of callee can be stored in advance on the Cloud Server of network side, and carry Show to calling part user, when the phone number of caller dials callee, by the Internet via Cloud Server transfer caller The voice signal of side and callee carries out Internet phone-calling.
The embodiment of the present invention can not also store the phone number of callee on Cloud Server, when caller calls is called Fang Shi, the telephone number of callee is sent to Cloud Server by the Internet, Cloud Server is exhaled by operator by calling party Be callee, when callee connect after again by Cloud Server by the voice signal of callee by the Internet transmission to calling party, Thus calling party is connected with callee, carry out voice call.
Step 103, otherwise, it is judged that whether mobile data network meets voice call standard, obtains the second judged result.
Specifically, as shown in Figure 4, step 103 may include that
Step 1031, obtains the residual flow information of mobile data network.
In the present embodiment, step 1031 can obtain surplus by the way of sending residual flow short message enquiry to operator Remaining flow information, it is also possible to obtain residual flow information, the most not to often by transferring other software installed on mobile terminal The situation of kind repeats one by one.
According to residual flow information, step 1032, judges whether mobile data network meets voice call standard, obtain the Two judged results.
Specifically, when residual flow is more than the flow threshold pre-set, the second judged result instruction data network symbol Close voice call standard, otherwise, do not meet voice call standard.
Step 104, if the second judged result instruction mobile data network meets voice call standard, by mobile data Network and callee set up packet-switched domain voice link, carry out language by the packet-switched domain voice link of mobile data network Sound is conversed.
The concrete methods of realizing of step 104 may refer to the embodiment of the present invention to step 102, and here is omitted.
Step 105, otherwise, sets up circuit switched domain voice link by mobile communications network with callee, passes through circuit Switching domain voice link carries out voice call.
Circuit commutative field (Circuit Switched Domain).Different from transmitting voice by IP packet mode, when During by circuit commutative field Internet phone-calling, circuit commutative field network can distribute a fixing passage for both call sides.Whole In communication process, can take the passage of this " special ", other people have no idea to take this passage more always.Logical At the end of words, circuit commutative field network can discharge this passage, in order to the user next time distributing to other converses.Letter For list, the connection circuit when call is set up, the disconnecting circuit when end of conversation, here it is circuit commutative field.
In actual applications, mobile communications network includes GSM (Global System for Mobile Communication, global system for mobile communications), CDMA (Code Division Multiple Access, CDMA) Deng.
So, in the embodiment of the present invention, by judging whether Wi-Fi network can carry out voice call, lead to when possible Cross Wi-Fi network and carry out voice call, otherwise, it is judged that whether mobile data network can carry out voice call, leads to when possible Cross mobile data network and carry out voice call.Finally, when Wi-Fi network and mobile data network are the most not all right, by mobile logical Communication network carries out the technological means of voice call, solves prior art acquiescence and carries out voice call by mobile communications network, The communication mode that speech quality is good cannot be automatically selected when dialing.When mobile communications network signal quality is poor, matter of conversing Measure bad problem, owing to have employed above-mentioned technological means so that this embodiment can select speech quality, and good network enters Row voice call, and then ensure that voice call quality, improve user and carry out the service experience of voice call;Further, since Carry out the rate of voice call compared to mobile communications network cheaply by network, and then reach to save the effect of call rate Really.
Second embodiment
As it is shown in figure 5, the audio communication method that second embodiment of the invention provides, the method is applied on mobile terminal, More specifically, be applied on the mobile terminal of called subscriber or the mobile terminal of calling subscribe, including:
Step 601, during carrying out voice call by mobile communications network, if the signal of mobile communications network Quality does not meets preset requirement, it is judged that whether Wi-Fi network meets voice call standard, obtains the first judged result, Wi-Fi net Network be mobile terminal based on current location information obtains, Wi-Fi network that history had connected.
Mobile communications network includes GSM, and (Global System for Mobile Communication, the whole world is mobile logical Communication system), CDMA (Code Division Multiple Access, CDMA) etc..The present embodiment should in communication process With.Wherein, this preset requirement can set according to practical experience.Such as, as a example by GSM network.In the present embodiment, can be in advance The weak intensity threshold value of GSM is set, such as 0-5, when GSM signal meet in this weak intensity threshold range preset when holding time, Such as 5S, then judge that GSM signal quality does not meets preset requirement.
Wherein, Wi-Fi network be mobile terminal based on current location information obtains, Wi-Fi net that history had connected Network.
In the present embodiment, by two kinds of methods, step 601 can judge whether Wi-Fi network meets voice call standard.
A kind of method is that step 601 includes:
First, obtain the positional information of mobile terminal.
Second, in the positional information prestored with Wi-Fi network mapping table, search the mesh that positional information is corresponding Mark Wi-Fi network.
3rd, linking objective Wi-Fi network, judge whether to meet voice call standard according to network connection result, obtain First judged result.
Further, positional information and Wi-Fi network mapping table also include that Wi-Fi network is mobile terminal distribution IP address information;Then linking objective Wi-Fi network includes: obtain mesh from positional information with Wi-Fi network mapping table The target ip address that mark Wi-Fi network is corresponding;Target ip address is revised as in the IP address of mobile terminal;According to target ip address Linking objective Wi-Fi network.
The concrete methods of realizing of above step may refer in first embodiment step as shown in Figure 2, the most superfluous State.
Another kind of method is that step 601 includes:
First, obtain the positional information of mobile terminal.
Second, according to the Wi-Fi network near positional information search, obtain target Wi-Fi network.
3rd, linking objective Wi-Fi network, carry out network test, judge whether to meet voice according to network test results Transmission standard, obtains the first judged result.
The concrete methods of realizing of above step may refer in first embodiment step as shown in Figure 3, the most superfluous State.
Step 602, if the first judged result instruction Wi-Fi network meets voice call standard, obtains talking link and cuts Change instruction, re-establish packet-switched domain voice call according to talking link switching instruction by Wi-Fi network.
In the present embodiment, likely move during user's communication, the change of position occurs, especially in building, The signal of mobile communications network changes according to the difference of position, can be by Wi-Fi network as mobile communications network Supplement.When mobile communications network signal quality is bad, step 602 can by pointing out to user as shown in Figure 6, and Receive link switching instruction that user feeds back according to this information (i.e. clawback or redial), logical according to talking link switching instruction Cross Wi-Fi network and re-establish packet-switched domain voice call;When mobile communications network signal interruption, step 602 can be certainly The dynamic link switching that generates indicates, and re-establishes packet-switched domain voice according to talking link switching instruction by Wi-Fi network and leads to Words, and by the way of as shown in Figure 7, point out to user.
Step 603, otherwise, it is judged that whether mobile data network meets voice call standard, obtains the second judged result.
Step 604, if the second judged result instruction mobile data network meets voice call standard, according to talking link Switching instruction re-establishes packet-switched domain voice call by mobile data network.
So, in the embodiment of the present invention, by judging whether Wi-Fi network can carry out voice call, lead to when possible Cross Wi-Fi network and carry out voice call, otherwise, it is judged that whether mobile data network can carry out voice call, leads to when possible Cross mobile data network and carry out voice call, finally, when Wi-Fi network and mobile data network are the most not all right, by mobile logical Communication network carries out the technological means of voice call, solves prior art acquiescence and carries out voice call by mobile communications network, When mobile communications network signal quality is poor, the problem that speech quality is bad, owing to have employed above-mentioned technological means so that this Sending out embodiment can select the network that speech quality is good to carry out voice call, and then ensure that voice call quality, improves use Family carries out the service experience of voice call;Further, since carry out the rate of voice call compared to mobile radio communication by network Network is cheap, and then has reached to save the effect of call rate.
3rd embodiment
In third embodiment of the invention, using GSM as mobile communications network as a example by be described.When using other networks During standard, its principle is identical with the principle using GSM.
As shown in Figure 8, the audio communication method that third embodiment of the invention provides, the method is applied on mobile terminal, Including:
Step 701, it is judged that whether Wi-Fi network meets voice call standard, obtains the first judged result.
Wherein, in embodiments of the present invention, the Wi-Fi network history that to be mobile terminal obtain based on current location information is The Wi-Fi network connected.Before calling, attachable Wi-Fi network can be detected based on current location.And start base The function detecting attachable Wi-Fi network in current location can be to detect that user clicks on address list, recently call, dialing Application program that keyboard etc. and voice call are relevant or open corresponding application interface.Opening corresponding application interface or application During program, start the judgement of Wi-Fi network, and obtain the first judged result.
Step 702, if first judged result instruction Wi-Fi network meet voice call standard, by Wi-Fi network with Callee sets up packet-switched domain voice link, carries out voice call by packet-switched domain voice link.
The principle that voice link is identical, the most concrete with the principle of the networking telephone is set up with callee by Wi-Fi network Do not repeat.When user selects mobile communications network to dial, owing to detecting that Wi-Fi network meets voice call standard, then move Dynamic terminal sets up packet-switched domain communication connection automatically by Wi-Fi network with called.
Step 703, otherwise, it is judged that whether mobile data network meets voice call standard, obtains the second judged result.
Step 704, if the second judged result instruction mobile data network meets voice call standard, by mobile data Network and callee set up packet-switched domain voice link, carry out language by the packet-switched domain voice link of mobile data network Sound is conversed.
Step 705, otherwise, sets up circuit switched domain voice link by GSM and callee, passes through circuit switched domain voice Link carries out voice call.
The description of step 101-105 during wherein step 701-705 can refer to embodiment one.
Step 706, during carrying out voice call by GSM, if GSM signal quality does not meets preset requirement, Judge whether Wi-Fi network meets voice call standard, obtain the 3rd judged result.
Wherein, this preset requirement can set according to practical experience.Such as, in the present embodiment, can pre-set GSM's Weak intensity threshold value, such as 0-5, when GSM signal meet in this weak intensity threshold range preset when holding time, such as 5S, then sentence Disconnected GSM signal quality does not meets preset requirement.
Wherein, Wi-Fi network is the Wi-Fi net that mobile terminal had connected based on the history that current location information obtains Network.
Step 707, if the 3rd judged result instruction Wi-Fi network meets voice call standard, obtains talking link and cuts Change instruction, re-establish packet-switched domain voice call according to talking link switching instruction by Wi-Fi network.
Step 708, otherwise, it is judged that whether mobile data network meets voice call standard, obtains the 4th judged result.
Step 709, if the 4th judged result instruction mobile data network meets voice call standard, according to talking link Switching instruction re-establishes packet-switched domain voice call by mobile data network.
The description of step 601-605 during wherein step 706-709 can refer to embodiment two.
So, in the embodiment of the present invention, by judging whether Wi-Fi network can carry out voice call, lead to when possible Cross Wi-Fi network and carry out voice call, otherwise, it is judged that whether mobile data network can carry out voice call, leads to when possible Cross mobile data network and carry out voice call, finally, when Wi-Fi network and mobile data network are the most not all right, carried out by GSM The technological means of voice call, solving prior art can only carry out voice call by GSM, when GSM network signal quality relatively During difference, the problem that speech quality is bad, owing to have employed above-mentioned technological means so that this embodiment can select speech quality Good network carries out voice call, and then ensure that voice call quality, improves user and carries out the service experience of voice call; Further, since carry out the rate of voice call compared to GSM cheaply by network, and then reach to save the effect of call rate Really.
4th embodiment
As it is shown in figure 9, the mobile terminal that fourth embodiment of the invention provides, including:
First judging unit 901, is used for judging whether Wi-Fi network meets voice call standard, obtains the first judgement knot Really, Wi-Fi network is that mobile terminal obtains based on current location information, the Wi-Fi network that history had connected;
First voice call unit 902, if the first judged result instruction Wi-obtained for the first judging unit 901 Fi network meets voice call standard, sets up packet-switched domain voice link by Wi-Fi network with callee, passes through Wi-Fi The packet-switched domain voice link of network carries out voice call;
Second judging unit 903, if the first judged result instruction Wi-Fi net obtained for the first judging unit 901 Network does not meets voice call standard, it is judged that whether mobile data network meets voice call standard, obtains the second judged result;
Second voice call unit 904, if the second judged result instruction for the second judging unit 903 acquisition is mobile Data network meets voice call standard, sets up packet-switched domain voice link by mobile data network with callee, passes through The packet-switched domain voice link of mobile data network carries out voice call;
3rd voice call unit 905, if the second judged result instruction for the second judging unit 903 acquisition is mobile Data network does not meets voice call standard, sets up circuit switched domain voice link by mobile communications network with callee, logical Oversampling circuit switching domain voice link carries out voice call.
Further, as shown in Figure 10, the first judging unit 901 may include that
Positional information obtains subelement 1001, for obtaining the positional information of mobile terminal;
First searches subelement 1002, for, in the positional information prestored with Wi-Fi network mapping table, looking into Look for the target Wi-Fi network that the positional information of positional information acquisition submodule acquisition is corresponding;
First judgment sub-unit 1003, for connecting the target Wi-Fi network that the first lookup subelement 1002 finds, root Judge whether to meet voice call standard according to network connection result, obtain the first judged result.
Further, in the present embodiment, positional information and Wi-Fi network mapping table also include Wi-Fi network IP address information for mobile terminal distribution;
The most as shown in figure 11, the first judgment sub-unit 1003 can also include:
Second searches subelement 1101, for obtaining the first lookup from positional information with Wi-Fi network mapping table The target ip address that target Wi-Fi network that subelement finds is corresponding;
Replace subelement 1102, for what the second lookup subelement 1101 found is revised as in the IP address of mobile terminal Target ip address;
Connexon unit 1103, for according to replacing subelement 1102 amended target ip address linking objective Wi-Fi Network.
Further, as shown in figure 12, the first judging unit 901 may include that
Positional information obtains subelement 1201, for obtaining the positional information of mobile terminal;
Search subelement 1202, for obtaining according to positional information near the positional information search that subelement 1201 obtains Wi-Fi network, obtains target Wi-Fi network;
Second judgment sub-unit 1203, for connecting the target Wi-Fi network that search subelement 1202 searches, carries out net Network is tested, and judges whether to meet voice call standard according to network test results, obtains the first judged result.
Further, as shown in figure 13, the second judging unit 903 may include that
Flow information obtains subelement 1301, for obtaining the residual flow information of mobile data network;
3rd judgment sub-unit 1302, for obtaining, according to flow information, the residual flow information judgement shifting that subelement obtains Whether dynamic data network meets voice call standard, obtains the second judged result.
The concrete methods of realizing of the mobile terminal shown in figure 9 above-13 may refer to the present invention first as Figure 1-5 The audio communication method that embodiment provides, here is omitted.
So, in the embodiment of the present invention, by judging whether Wi-Fi network can carry out voice call, lead to when possible Cross Wi-Fi network and carry out voice call, otherwise, it is judged that whether mobile data network can carry out voice call, leads to when possible Cross mobile data network and carry out voice call, finally, when Wi-Fi network and mobile data network are the most not all right, by mobile logical Communication network carries out the technological means of voice call, solves prior art acquiescence and carries out voice call by mobile communications network, When mobile communications network signal quality is poor, the problem that speech quality is bad, owing to have employed above-mentioned technological means so that this Sending out embodiment can select the network that speech quality is good to carry out voice call, and then ensure that voice call quality, improves use Family carries out the service experience of voice call;Further, since carry out the rate of voice call compared to mobile radio communication by network Network is cheap, and then has reached to save the effect of call rate.
5th embodiment
As shown in figure 14, the mobile terminal that fifth embodiment of the invention provides, including:
First judging unit 1401, for during carrying out voice call by mobile communications network, if moved The signal quality of communication network does not meets preset requirement, it is judged that whether Wi-Fi network meets voice call standard, obtains first and sentences Disconnected result, Wi-Fi network is the Wi-Fi network that mobile terminal had connected based on the history that current location information obtains;
First voice call unit 1402, if the first judged result instruction obtained for the first judging unit 1401 Wi-Fi network meets voice call standard, obtains talking link switching instruction, passes through Wi-Fi according to talking link switching instruction Network re-establishes packet-switched domain voice call;
Second judging unit 1403, if the first judged result instruction Wi-Fi obtained for the first judging unit 1401 Network does not meets voice call standard, it is judged that whether mobile data network meets voice call standard, obtains the second judged result;
Second voice call unit 1404, if the second judged result instruction shifting obtained for the second judging unit 1403 Dynamic data network meets voice call standard, re-establishes packet friendship according to the logical mobile data network of stating of talking link switching instruction Change territory voice call.
Further, the first judging unit 1401 may include that
Positional information obtains subelement, for obtaining the positional information of mobile terminal;
First searches subelement, in the positional information prestored with Wi-Fi network mapping table, searches position Put the target Wi-Fi network that the positional information of acquisition of information submodule acquisition is corresponding;
First judgment sub-unit, for connecting the target Wi-Fi network that the first lookup subelement finds, according to network even Fruit judges whether to meet voice call standard access node, obtains the first judged result.
Further, positional information and Wi-Fi network mapping table also include that Wi-Fi network is mobile terminal distribution IP address information;
Then the first judgment sub-unit 1401 can also include:
Second searches subelement, single for obtaining the first lookup from positional information with Wi-Fi network mapping table The target ip address that target Wi-Fi network that unit finds is corresponding;
Replace subelement, for the IP address of mobile terminal being revised as the Target IP ground that the second lookup subelement finds Location;
Connexon unit, for according to replacing subelement amended target ip address linking objective Wi-Fi network.
The concrete methods of realizing of the mobile terminal that the embodiment of the present invention provides may refer to as in Fig. 5-8, the second embodiment carries The audio communication method of confession, here is omitted.
So, in the embodiment of the present invention, by judging whether Wi-Fi network can carry out voice call, lead to when possible Cross Wi-Fi network and carry out voice call, otherwise, it is judged that whether mobile data network can carry out voice call, leads to when possible Cross mobile data network and carry out voice call, finally, when Wi-Fi network and mobile data network are the most not all right, by mobile logical Communication network carries out the technological means of voice call, solves prior art acquiescence and carries out voice call by mobile communications network, When mobile communications network signal quality is poor, the problem that speech quality is bad, owing to have employed above-mentioned technological means so that this Sending out embodiment can select the network that speech quality is good to carry out voice call, and then ensure that voice call quality, improves use Family carries out the service experience of voice call;Further, since carry out the rate of voice call compared to mobile radio communication by network Network is cheap, and then has reached to save the effect of call rate.
Sixth embodiment
The mobile terminal of sixth embodiment of the invention includes:
First judging unit, is used for judging whether Wi-Fi network meets voice call standard, obtains the first judged result, Wi-Fi network is that mobile terminal obtains based on current location information, the Wi-Fi network that history had connected;
First voice call unit, if the first judged result instruction Wi-Fi network obtained for the first judging unit Meet voice call standard, set up packet-switched domain voice link, by Wi-Fi network by Wi-Fi network with callee Packet-switched domain voice link carries out voice call;
Second judging unit, if the first judged result instruction Wi-Fi network for the first judging unit acquisition is not inconsistent Close voice call standard, it is judged that whether mobile data network meets voice call standard, obtains the second judged result;
Second voice call unit, if the second judged result instruction mobile data network obtained for the second judging unit Network meets voice call standard, sets up packet-switched domain voice link by mobile data network with callee, by mobile number Voice call is carried out according to the packet-switched domain voice link of network;
3rd voice call unit, if the second judged result instruction mobile data network obtained for the second judging unit Network does not meets voice call standard, sets up circuit switched domain voice link by mobile communications network with callee, passes through circuit Switching domain voice link carries out voice call;
3rd judging unit, is used for during carrying out voice call by mobile communications network, if mobile communication The signal quality of network does not meets preset requirement, it is judged that whether Wi-Fi network meets voice call standard, obtains the first judgement knot Really, Wi-Fi network is the Wi-Fi network that mobile terminal had connected based on the history that current location information obtains;
4th voice call unit, if the first judged result instruction Wi-Fi network obtained for the 3rd judging unit Meet voice call standard, obtain talking link switching instruction, again built by Wi-Fi network according to talking link switching instruction Vertical packet-switched domain voice call;
5th judging unit, if the first judged result instruction Wi-Fi network for the 4th judging unit acquisition is not inconsistent Close voice call standard, it is judged that whether mobile data network meets voice call standard, obtains the second judged result;
5th voice call unit, if the second judged result instruction mobile data network obtained for the 5th judging unit Network meets voice call standard, states mobile data network re-establish packet-switched domain voice according to talking link switching instruction is logical Call.
The concrete methods of realizing of the mobile terminal that the embodiment of the present invention provides may refer to as in Fig. 8, the 3rd embodiment provides Audio communication method, here is omitted.
So, in the embodiment of the present invention, by judging whether Wi-Fi network can carry out voice call, lead to when possible Cross Wi-Fi network and carry out voice call, otherwise, it is judged that whether mobile data network can carry out voice call, leads to when possible Cross mobile data network and carry out voice call, finally, when Wi-Fi network and mobile data network are the most not all right, by mobile logical Communication network carries out the technological means of voice call, solves prior art acquiescence and carries out voice call by mobile communications network, When mobile communications network signal quality is poor, the problem that speech quality is bad, owing to have employed above-mentioned technological means so that this Sending out embodiment can select the network that speech quality is good to carry out voice call, and then ensure that voice call quality, improves use Family carries out the service experience of voice call;Further, since carry out the rate of voice call compared to mobile radio communication by network Network is cheap, and then has reached to save the effect of call rate.
7th embodiment
Figure 15 is the block diagram of the mobile terminal of another embodiment of the present invention.Mobile terminal 1500 shown in Figure 15 includes: At least one processor 1501, memorizer 1502, at least one network interface 1504 and other user interfaces 1503.Mobile terminal Each assembly in 1500 is coupled by bus system 1505.It is understood that bus system 1505 is used for realizing these groups Connection communication between part.Bus system 1505, in addition to including data/address bus, also includes power bus, controls bus and state Signal bus.But for the sake of understanding explanation, in fig. 14 various buses are all designated as bus system 1505.
Wherein, user interface 1503 can include display, keyboard or pointing device (such as, mouse, trace ball (trackball), touch-sensitive plate or touch screen etc..
The memorizer 1502 being appreciated that in the embodiment of the present invention can be volatile memory or non-volatile memories Device, maybe can include volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read only memory (Read-Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), erasable programmable are only Read memorizer (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, Or flash memory EEPROM).Volatile memory can be random access memory (Random Access Memory, RAM), and it is used Make External Cache.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static random-access Memorizer (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random-access Memorizer (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate SDRAM, DDRSDRAM), enhancement mode Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronize Connect dynamic random access memory (Synch link DRAM, SLDRAM) and direct rambus random access memory (Direct Rambus RAM, DRRAM).The memorizer 1502 of system and method described herein is intended to include but not limited to this A little and arbitrarily other applicable type memorizer.
In some embodiments, memorizer 1502 stores following element, executable module or data structure, or Their subset of person, or their superset: operating system 15021 and application program 15022.
Wherein, operating system 15021, comprise various system program, such as ccf layer, core library layer, driving layer etc., be used for Realize various basic business and process hardware based task.Application program 15022, comprises various application program, such as matchmaker Body player (Media Player), browser (Browser) etc., be used for realizing various applied business.Realize the present invention to implement The program of example method may be embodied in application program 15022.
In embodiments of the present invention, by calling program or the instruction of memorizer 1502 storage, concrete, can be application The program stored in program 15022 or instruction, processor 1501 is used for:
Judging whether Wi-Fi network meets voice call standard, obtain the first judged result, Wi-Fi network is for mobile whole The Wi-Fi network that the history that end group obtains in current location information had connected;
If the first judged result instruction Wi-Fi network meets voice call standard, built with callee by Wi-Fi network Vertical packet-switched domain voice link, carries out voice call by the packet-switched domain voice link of Wi-Fi network;
Otherwise, it is judged that whether mobile data network meets voice call standard, the second judged result is obtained;
If the second judged result instruction mobile data network meets voice call standard, by mobile data network and quilt The side of crying sets up packet-switched domain voice link, carries out voice call by the packet-switched domain voice link of mobile data network; Otherwise, set up voice link by mobile communications network with callee, carry out voice call by voice link.
The method that the invention described above embodiment discloses can apply in processor 1501, or real by processor 1501 Existing.Processor 1501 is probably a kind of IC chip, has the disposal ability of signal.During realizing, said method Each step can be completed by the instruction of the integrated logic circuit of the hardware in processor 1501 or software form.Above-mentioned Processor 1501 can be general processor, digital signal processor (Digital Signal Processor, DSP), special Integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) or other PLDs, discrete gate or transistor logic, Discrete hardware components.Can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.General The processor etc. that processor can be microprocessor or this processor can also be any routine.In conjunction with embodiment of the present invention institute The step of disclosed method can be embodied directly in hardware decoding processor and perform, or with the hardware in decoding processor And software module combination execution completes.Software module may be located at random access memory, and flash memory, read only memory are able to programme read-only In the storage medium that this areas such as memorizer or electrically erasable programmable memorizer, depositor are ripe.This storage medium is positioned at Memorizer 1502, processor 1501 reads the information in memorizer 1502, completes the step of said method in conjunction with its hardware.
It is understood that embodiments described herein can use hardware, software, firmware, middleware, microcode or its Combination realizes.Realizing for hardware, processing unit can be implemented in one or more special IC (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Process ing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor, Controller, microcontroller, microprocessor, for performing in other electronic unit or a combination thereof of the application function.
Software is realized, skill herein can be realized by the module (such as process, function etc.) performing function herein Art.Software code is storable in performing in memorizer and by processor.Memorizer can be within a processor or outside processor Portion realizes.
Alternatively, processor 1501 is additionally operable to:
Obtain the positional information of mobile terminal;In the positional information prestored with Wi-Fi network mapping table, look into Look for the target Wi-Fi network that positional information is corresponding;Linking objective Wi-Fi network, judges whether to meet according to network connection result Voice call standard, obtains the first judged result.
Alternatively, processor 1501 is additionally operable to: obtain target Wi-from positional information with Wi-Fi network mapping table The target ip address that Fi network is corresponding;Target ip address is revised as in the IP address of mobile terminal;Connect according to target ip address Target Wi-Fi network.
Alternatively, processor 1501 is additionally operable to: obtain the positional information of mobile terminal;Near positional information search Wi-Fi network, obtains target Wi-Fi network;Linking objective Wi-Fi network, carries out network test, sentences according to network test results Break and whether meet voice call standard, obtain the first judged result.
Alternatively, processor 1501 is additionally operable to: obtain the residual flow information of mobile data network;Believe according to residual flow Breath judges whether mobile data network meets voice call standard, obtains the second judged result.
Mobile terminal 1500 is capable of each process that in previous embodiment, mobile terminal realizes, for avoiding repeating, this In repeat no more.
So, in the embodiment of the present invention, by judging whether Wi-Fi network can carry out voice call, lead to when possible Cross Wi-Fi network and carry out voice call, otherwise, it is judged that whether mobile data network can carry out voice call, leads to when possible Cross mobile data network and carry out voice call, finally, when Wi-Fi network and mobile data network are the most not all right, by mobile logical Communication network carries out the technological means of voice call, solves prior art acquiescence and carries out voice call by mobile communications network, When mobile communications network signal quality is poor, the problem that speech quality is bad, owing to have employed above-mentioned technological means so that this Sending out embodiment can select the network that speech quality is good to carry out voice call, and then ensure that voice call quality, improves use Family carries out the service experience of voice call;Further, since carry out the rate of voice call compared to mobile radio communication by network Network is cheap, and then has reached to save the effect of call rate.
8th embodiment
Figure 16 is the block diagram of the mobile terminal of another embodiment of the present invention.Mobile terminal 1600 shown in Figure 16 includes: At least one processor 1601, memorizer 1602, at least one network interface 1604 and other user interfaces 1603.Mobile terminal Each assembly in 1600 is coupled by bus system 1605.It is understood that bus system 1605 is used for realizing these groups Connection communication between part.Bus system 1605, in addition to including data/address bus, also includes power bus, controls bus and state Signal bus.But for the sake of understanding explanation, in figure 16 various buses are all designated as bus system 1605.
Wherein, user interface 1603 can include display, keyboard or pointing device (such as, mouse, trace ball (trackball), touch-sensitive plate or touch screen etc..
The memorizer 1602 being appreciated that in the embodiment of the present invention can be volatile memory or non-volatile memories Device, maybe can include volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read only memory (Read-Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), erasable programmable are only Read memorizer (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, Or flash memory EEPROM).Volatile memory can be random access memory (Random Access Memory, RAM), and it is used Make External Cache.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static random-access Memorizer (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random-access Memorizer (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate SDRAM, DDRSDRAM), enhancement mode Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronize Connect dynamic random access memory (Synch link DRAM, SLDRAM) and direct rambus random access memory (Direct Rambus RAM, DRRAM).The memorizer 1602 of system and method described herein is intended to include but not limited to this A little and arbitrarily other applicable type memorizer.
In some embodiments, memorizer 1602 stores following element, executable module or data structure, or Their subset of person, or their superset: operating system 16021 and application program 16022.
Wherein, operating system 16021, comprise various system program, such as ccf layer, core library layer, driving layer etc., be used for Realize various basic business and process hardware based task.Application program 16022, comprises various application program, such as matchmaker Body player (Media Player), browser (Browser) etc., be used for realizing various applied business.Realize the present invention to implement The program of example method may be embodied in application program 16022.
In embodiments of the present invention, by calling program or the instruction of memorizer 1602 storage, concrete, can be application The program stored in program 16022 or instruction, processor 1601 is used for:
During carrying out voice call by mobile communications network, if the signal quality of mobile communications network is not inconsistent Closing preset requirement, it is judged that whether Wi-Fi network meets voice call standard, obtains the first judged result, Wi-Fi network is for mobile Terminal obtains based on current location information, the Wi-Fi network that history had connected;
If the first judged result instruction Wi-Fi network meets voice call standard, obtain talking link switching instruction, root Packet-switched domain voice call is re-established by Wi-Fi network according to talking link switching instruction;
Otherwise, it is judged that whether mobile data network meets voice call standard, the second judged result is obtained;
If the second judged result instruction mobile data network meets voice call standard, according to talking link switching instruction Packet-switched domain voice call is re-established by mobile data network.
The method that the invention described above embodiment discloses can apply in processor 1601, or real by processor 1601 Existing.Processor 1601 is probably a kind of IC chip, has the disposal ability of signal.During realizing, said method Each step can be completed by the instruction of the integrated logic circuit of the hardware in processor 1601 or software form.Above-mentioned Processor 1601 can be general processor, digital signal processor (Digital Signal Processor, DSP), special Integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) or other PLDs, discrete gate or transistor logic, Discrete hardware components.Can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.General The processor etc. that processor can be microprocessor or this processor can also be any routine.In conjunction with embodiment of the present invention institute The step of disclosed method can be embodied directly in hardware decoding processor and perform, or with the hardware in decoding processor And software module combination execution completes.Software module may be located at random access memory, and flash memory, read only memory are able to programme read-only In the storage medium that this areas such as memorizer or electrically erasable programmable memorizer, depositor are ripe.This storage medium is positioned at Memorizer 1602, processor 1601 reads the information in memorizer 1602, completes the step of said method in conjunction with its hardware.
It is understood that embodiments described herein can use hardware, software, firmware, middleware, microcode or its Combination realizes.Realizing for hardware, processing unit can be implemented in one or more special IC (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor, Controller, microcontroller, microprocessor, for performing in other electronic unit or a combination thereof of the application function.
Software is realized, skill herein can be realized by the module (such as process, function etc.) performing function herein Art.Software code is storable in performing in memorizer and by processor.Memorizer can be within a processor or outside processor Portion realizes.
Alternatively, processor 1601 is additionally operable to:
Obtain the positional information of mobile terminal;In the positional information prestored with Wi-Fi network mapping table, look into Look for the target Wi-Fi network that positional information is corresponding;Linking objective Wi-Fi network, judges whether to meet according to network connection result Voice call standard, obtains the first judged result.
Alternatively, processor 1601 is additionally operable to: obtain target Wi-from positional information with Wi-Fi network mapping table The target ip address that Fi network is corresponding;
Target ip address is revised as in the IP address of mobile terminal;
According to target ip address linking objective Wi-Fi network.
Mobile terminal 1600 is capable of each process that in previous embodiment, mobile terminal realizes, for avoiding repeating, this In repeat no more.
So, in the embodiment of the present invention, by judging whether Wi-Fi network can carry out voice call, lead to when possible Cross Wi-Fi network and carry out voice call, otherwise, it is judged that whether mobile data network can carry out voice call, leads to when possible Cross mobile data network and carry out voice call, finally, when Wi-Fi network and mobile data network are the most not all right, by mobile logical Communication network carries out the technological means of voice call, solves prior art acquiescence and carries out voice call by mobile communications network, When mobile communications network signal quality is poor, the problem that speech quality is bad, owing to have employed above-mentioned technological means so that this Sending out embodiment can select the network that speech quality is good to carry out voice call, and then ensure that voice call quality, improves use Family carries out the service experience of voice call;Further, since carry out the rate of voice call compared to mobile radio communication by network Network is cheap, and then has reached to save the effect of call rate.
Those of ordinary skill in the art are it is to be appreciated that combine the list of each example that the embodiments described herein describes Unit and algorithm steps, it is possible to being implemented in combination in of electronic hardware or computer software and electronic hardware.These functions are actually Perform with hardware or software mode, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel Each specifically should being used for can be used different methods to realize described function, but this realization is it is not considered that exceed The scope of the present invention.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, the system of foregoing description, The specific works process of device and unit, is referred to the corresponding process in preceding method embodiment, does not repeats them here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, can be passed through other Mode realizes.Such as, device embodiment described above is only schematically, such as, the division of unit, it is only one Logic function divides, actual can have when realizing other dividing mode, the most multiple unit or assembly can in conjunction with or can To be integrated into another system, or some features can be ignored, or does not performs.Another point, shown or discussed each other Coupling direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit or communication connection, Can be electrical, machinery or other form.
The unit illustrated as separating component can be or may not be physically separate, shows as unit Parts can be or may not be physical location, i.e. may be located at a place, or can also be distributed to multiple network On unit.Some or all of unit therein can be selected according to the actual needs to realize the purpose of the present embodiment scheme.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.
If function is using the form realization of SFU software functional unit and as independent production marketing or use, can store In a computer read/write memory medium.Based on such understanding, technical scheme is the most in other words to existing The part having part that technology contributes or this technical scheme can embody with the form of software product, this computer Software product is stored in a storage medium, including some instructions with so that a computer equipment (can be individual's meter Calculation machine, server, or the network equipment etc.) perform each embodiment method of the present invention all or part of step.And it is aforesaid Storage medium includes: the various media that can store program code such as USB flash disk, portable hard drive, ROM, RAM, magnetic disc or CD.
Above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited thereto, and any familiar Those skilled in the art, in the technical scope that the invention discloses, can readily occur in change or replace, should contain Within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with scope of the claims.

Claims (16)

1. an audio communication method, described method is applied to mobile terminal, it is characterised in that including:
Judging whether Wi-Fi network meets voice call standard, obtain the first judged result, described Wi-Fi network is described shifting Dynamic terminal based on current location information obtains, Wi-Fi network that history had connected;
If described first judged result indicate described Wi-Fi network meet voice call standard, by described Wi-Fi network with Callee sets up packet-switched domain voice link, carries out voice by the packet-switched domain voice link of described Wi-Fi network and leads to Words;
Otherwise, it is judged that whether mobile data network meets voice call standard, the second judged result is obtained;
If described second judged result indicates described mobile data network to meet voice call standard, by described mobile data Network and callee set up packet-switched domain voice link, are entered by the packet-switched domain voice link of described mobile data network Row voice call;Otherwise, set up circuit switched domain voice link by mobile communications network with callee, handed over by described circuit Change territory voice link and carry out voice call.
Method the most according to claim 1, it is characterised in that described judge whether Wi-Fi network meets voice call mark Standard, obtains the first judged result and includes:
Obtain the positional information of described mobile terminal;
In the positional information prestored with Wi-Fi network mapping table, search target Wi-that described positional information is corresponding Fi network;
Connect described target Wi-Fi network, judge whether to meet voice call standard according to network connection result, obtain first and sentence Disconnected result.
Method the most according to claim 2, it is characterised in that in described positional information and Wi-Fi network mapping table Also include the IP address information that Wi-Fi network is the distribution of described mobile terminal;
The most described connection described target Wi-Fi network includes:
The Target IP ground corresponding with obtaining described target Wi-Fi network Wi-Fi network mapping table from described positional information Location;
Described target ip address is revised as in the IP address of described mobile terminal;
Described target Wi-Fi network is connected according to described target ip address.
Method the most according to claim 1, it is characterised in that described judge whether Wi-Fi network meets voice call mark Standard, obtains the first judged result and includes:
Obtain the positional information of described mobile terminal;
According to the Wi-Fi network near the search of described positional information, obtain target Wi-Fi network;
Connect described target Wi-Fi network, carry out network test, judge whether to meet voice call mark according to network test results Standard, obtains the first judged result.
Method the most according to claim 1, it is characterised in that described judge whether mobile data network meets voice call Standard, obtains the second judged result and includes:
Obtain the residual flow information of described mobile data network;
Judge whether described mobile data network meets voice call standard according to described residual flow information, obtain the second judgement Result.
6. an audio communication method, described method is applied to mobile terminal, it is characterised in that including:
During carrying out voice call by mobile communications network, if the signal quality of mobile communications network does not meets pre- If requirement, it is judged that whether Wi-Fi network meets voice call standard, obtaining the first judged result, described Wi-Fi network is described Mobile terminal based on current location information obtains, Wi-Fi network that history had connected;
If described first judged result indicates described Wi-Fi network to meet voice call standard, obtain talking link switching and refer to Show, re-establish packet-switched domain voice call according to the switching instruction of described talking link by described Wi-Fi network;
Otherwise, it is judged that whether mobile data network meets voice call standard, the second judged result is obtained;
If described second judged result indicates described mobile data network to meet voice call standard, according to described talking link Switching instruction re-establishes packet-switched domain voice call by described mobile data network.
Method the most according to claim 6, it is characterised in that described judge whether Wi-Fi network meets voice call mark Standard, obtains the first judged result and includes:
Obtain the positional information of described mobile terminal;
In the positional information prestored with Wi-Fi network mapping table, search target Wi-that described positional information is corresponding Fi network;
Connect described target Wi-Fi network, judge whether to meet voice call standard according to network connection result, obtain first and sentence Disconnected result.
Method the most according to claim 7, it is characterised in that in described positional information and Wi-Fi network mapping table Also include the IP address information that Wi-Fi network is the distribution of described mobile terminal;
The most described connection described target Wi-Fi network includes:
The Target IP ground corresponding with obtaining described target Wi-Fi network Wi-Fi network mapping table from described positional information Location;
Described target ip address is revised as in the IP address of described mobile terminal;
Described target Wi-Fi network is connected according to described target ip address.
9. a mobile terminal, it is characterised in that including:
First judging unit, is used for judging whether Wi-Fi network meets voice call standard, obtains the first judged result, described Wi-Fi network be described mobile terminal based on current location information obtains, Wi-Fi network that history had connected;
First voice call unit, if the first judged result described Wi-Fi of instruction obtained for described first judging unit Network meets voice call standard, sets up packet-switched domain voice link, by described by described Wi-Fi network with callee The packet-switched domain voice link of Wi-Fi network carries out voice call;
Second judging unit, if the first judged result described Wi-Fi network of instruction obtained for described first judging unit Do not meet voice call standard, it is judged that whether mobile data network meets voice call standard, obtain the second judged result;
Second voice call unit, if the second judged result described mobile number of instruction obtained for described second judging unit Meet voice call standard according to network, set up packet-switched domain voice link by described mobile data network with callee, logical The packet-switched domain voice link crossing described mobile data network carries out voice call;
3rd telephony unit, if the second judged result described mobile data network of instruction obtained for described second judging unit Network does not meets voice call standard, sets up circuit switched domain voice link, by described by mobile communications network with callee Circuit switched domain voice link carries out voice call.
Mobile terminal the most according to claim 9, it is characterised in that described first judging unit includes:
Positional information obtains subelement, for obtaining the positional information of described mobile terminal;
First searches subelement, in the positional information prestored with Wi-Fi network mapping table, searches institute's rheme Put the target Wi-Fi network that the positional information of acquisition of information submodule acquisition is corresponding;
First judgment sub-unit, searches, for connecting described first, the target Wi-Fi network that subelement finds, according to network even Fruit judges whether to meet voice call standard access node, obtains the first judged result.
11. mobile terminals according to claim 10, it is characterised in that described positional information is corresponding with Wi-Fi network to close It is that table also includes the IP address information that Wi-Fi network is the distribution of described mobile terminal;
The most described first judgment sub-unit also includes:
Second searches subelement, searches for obtaining described first from described positional information with Wi-Fi network mapping table The target ip address that target Wi-Fi network that subelement finds is corresponding;
Replacing subelement, searching, for the IP address of described mobile terminal being revised as described second, the target that subelement finds IP address;
Connexon unit, for connecting described target Wi-Fi network according to the described amended target ip address of replacement subelement.
12. mobile terminals according to claim 9, it is characterised in that described first judging unit includes:
Positional information obtains subelement, for obtaining the positional information of described mobile terminal;
Search subelement, for obtaining the Wi-Fi net near the positional information search that subelement obtains according to described positional information Network, obtains target Wi-Fi network;
Second judgment sub-unit, for connecting the target Wi-Fi network that described search subelement searches, carries out network test, Judge whether to meet voice call standard according to network test results, obtain the first judged result.
13. mobile terminals according to claim 9, it is characterised in that described second judging unit includes:
Flow information obtains subelement, for obtaining the residual flow information of described mobile data network;
3rd judgment sub-unit, judges described shifting for obtaining the residual flow information of subelement acquisition according to described flow information Whether dynamic data network meets voice call standard, obtains the second judged result.
14. 1 kinds of mobile terminals, it is characterised in that including:
First judging unit, is used for during carrying out voice call by mobile communications network, if mobile communications network Signal quality do not meet preset requirement, it is judged that whether Wi-Fi network meets voice call standard, obtains the first judged result, Described Wi-Fi network be described mobile terminal based on current location information obtains, Wi-Fi network that history had connected;
First voice call unit, if the first judged result described Wi-Fi of instruction obtained for described first judging unit Network meets voice call standard, obtains talking link switching instruction, according to the switching instruction of described talking link by described Wi- Fi network re-establishes packet-switched domain voice call;
Second judging unit, if the first judged result described Wi-Fi network of instruction obtained for described first judging unit Do not meet voice call standard, it is judged that whether mobile data network meets voice call standard, obtain the second judged result;
Second voice call unit, if the second judged result described mobile number of instruction obtained for described second judging unit Meet voice call standard according to network, re-established point by described mobile data network according to the switching instruction of described talking link Group switching domain voice call.
15. mobile terminals according to claim 14, it is characterised in that described first judging unit includes:
Positional information obtains subelement, for obtaining the positional information of described mobile terminal;
First searches subelement, in the positional information prestored with Wi-Fi network mapping table, searches institute's rheme Put the target Wi-Fi network that the positional information of acquisition of information submodule acquisition is corresponding;
First judgment sub-unit, searches, for connecting described first, the target Wi-Fi network that subelement finds, according to network even Fruit judges whether to meet voice call standard access node, obtains the first judged result.
16. mobile terminals according to claim 15, it is characterised in that described positional information is corresponding with Wi-Fi network to close It is that table also includes the IP address information that Wi-Fi network is the distribution of described mobile terminal;
The most described first judgment sub-unit also includes:
Second searches subelement, searches for obtaining described first from described positional information with Wi-Fi network mapping table The target ip address that target Wi-Fi network that subelement finds is corresponding;
Replacing subelement, searching, for the IP address of described mobile terminal being revised as described second, the target that subelement finds IP address;
Connexon unit, for connecting described target Wi-Fi network according to the described amended target ip address of replacement subelement.
CN201610369728.0A 2016-05-27 2016-05-27 A kind of audio communication method and mobile terminal Active CN106102087B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610369728.0A CN106102087B (en) 2016-05-27 2016-05-27 A kind of audio communication method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610369728.0A CN106102087B (en) 2016-05-27 2016-05-27 A kind of audio communication method and mobile terminal

Publications (2)

Publication Number Publication Date
CN106102087A true CN106102087A (en) 2016-11-09
CN106102087B CN106102087B (en) 2019-07-26

Family

ID=57229462

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610369728.0A Active CN106102087B (en) 2016-05-27 2016-05-27 A kind of audio communication method and mobile terminal

Country Status (1)

Country Link
CN (1) CN106102087B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108966250A (en) * 2018-06-29 2018-12-07 努比亚技术有限公司 Weak signal call method, mobile terminal and computer readable storage medium
WO2020119513A1 (en) * 2018-12-10 2020-06-18 华为技术有限公司 Method and apparatus for inspecting voice quality
CN114435134A (en) * 2021-12-28 2022-05-06 法法汽车(中国)有限公司 Vehicle power utilization control method and device and electronic equipment
WO2022110214A1 (en) * 2020-11-30 2022-06-02 华为技术有限公司 Communication method and apparatus
WO2023193506A1 (en) * 2022-04-08 2023-10-12 中兴通讯股份有限公司 Voice transmission method, terminal and computer-readable storage medium
CN117835173A (en) * 2024-03-05 2024-04-05 荣耀终端有限公司 Voice calling method, communication device and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026513A (en) * 2006-02-17 2007-08-29 联想(北京)有限公司 Wireless network configuration method and terminal, and wireless network predicting method and device
CN102546998A (en) * 2012-01-13 2012-07-04 西南交通大学 Communication method fusing voice over Internet phone (VoIP) technology with telecommunication network voice call technology
CN102724203A (en) * 2012-06-19 2012-10-10 袁开国 Internet protocol (IP) call dialing method for intelligent terminal
CN103428797A (en) * 2012-05-17 2013-12-04 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and dialing switching method
CN103796282A (en) * 2014-02-27 2014-05-14 黄晓峰 Network telephony processing method for smart mobile terminal
CN105611055A (en) * 2015-12-23 2016-05-25 小米科技有限责任公司 Calling method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026513A (en) * 2006-02-17 2007-08-29 联想(北京)有限公司 Wireless network configuration method and terminal, and wireless network predicting method and device
CN102546998A (en) * 2012-01-13 2012-07-04 西南交通大学 Communication method fusing voice over Internet phone (VoIP) technology with telecommunication network voice call technology
CN103428797A (en) * 2012-05-17 2013-12-04 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and dialing switching method
CN102724203A (en) * 2012-06-19 2012-10-10 袁开国 Internet protocol (IP) call dialing method for intelligent terminal
CN103796282A (en) * 2014-02-27 2014-05-14 黄晓峰 Network telephony processing method for smart mobile terminal
CN105611055A (en) * 2015-12-23 2016-05-25 小米科技有限责任公司 Calling method and device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108966250A (en) * 2018-06-29 2018-12-07 努比亚技术有限公司 Weak signal call method, mobile terminal and computer readable storage medium
CN108966250B (en) * 2018-06-29 2023-07-07 山东沃伦通信技术有限公司 Weak signal communication method, mobile terminal and computer readable storage medium
WO2020119513A1 (en) * 2018-12-10 2020-06-18 华为技术有限公司 Method and apparatus for inspecting voice quality
WO2022110214A1 (en) * 2020-11-30 2022-06-02 华为技术有限公司 Communication method and apparatus
CN115004779A (en) * 2020-11-30 2022-09-02 华为技术有限公司 Communication method and device
CN115004779B (en) * 2020-11-30 2024-07-05 华为技术有限公司 Communication method and device
CN114435134A (en) * 2021-12-28 2022-05-06 法法汽车(中国)有限公司 Vehicle power utilization control method and device and electronic equipment
WO2023193506A1 (en) * 2022-04-08 2023-10-12 中兴通讯股份有限公司 Voice transmission method, terminal and computer-readable storage medium
CN117835173A (en) * 2024-03-05 2024-04-05 荣耀终端有限公司 Voice calling method, communication device and computer readable storage medium
CN117835173B (en) * 2024-03-05 2024-07-16 荣耀终端有限公司 Voice calling method, communication device and computer readable storage medium

Also Published As

Publication number Publication date
CN106102087B (en) 2019-07-26

Similar Documents

Publication Publication Date Title
CN106102087A (en) A kind of audio communication method and mobile terminal
US8189535B2 (en) Connection handover handling
US20180199264A1 (en) System and method for selecting a message transport for a multi-mode communication device
CN106714251B (en) A kind of method for connecting network and mobile terminal
CN105873013A (en) Method and device for selecting operator based on e-SIM () card and mobile terminal
US8116720B2 (en) Method and apparatus for emergency call routing using an end node
CN104852937B (en) Method for network access and device for mobile application
CN108810260A (en) antenna switching control method and related product
CN104717377A (en) Mobile terminal scene mode switching method and device and mobile terminal
CN104349426A (en) Method and device for establishing conversation connection
CN104469871A (en) Communication network switching method and device
CN104506719A (en) Method and device for terminal communication
CN107105464B (en) Network switching method and device and user equipment
CN103596643B (en) A kind of method, apparatus and system that long-term evolving network is returned after call
CN107912083A (en) Working mode switching method, device and mobile terminal
CN112867074A (en) Data transmission method, electronic device and storage medium
CN102917330A (en) Method and device for prompting wandering during conversation with mobilephone
CN106713592B (en) A kind of way of recording and mobile terminal of mobile terminal
CN103582064A (en) Method and device for ensuring continuity of data service
CN104994552A (en) Conversation calling method and system of intelligent terminal
CN105763373A (en) Flooding message forwarding method and device
CN109842514A (en) A method of modification application configuration
CN108551523A (en) Method for making call in reservation, electronic device, computer device, and storage medium
CN106375527B (en) Speech quality detection method and mobile terminal
US8423002B2 (en) Obtaining location server address on a mobile device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant