CN102378131A - Calling method used in voice communication and mobile terminal - Google Patents

Calling method used in voice communication and mobile terminal Download PDF

Info

Publication number
CN102378131A
CN102378131A CN2011103008938A CN201110300893A CN102378131A CN 102378131 A CN102378131 A CN 102378131A CN 2011103008938 A CN2011103008938 A CN 2011103008938A CN 201110300893 A CN201110300893 A CN 201110300893A CN 102378131 A CN102378131 A CN 102378131A
Authority
CN
China
Prior art keywords
internet
callee
mpty
protocol stack
communication
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.)
Pending
Application number
CN2011103008938A
Other languages
Chinese (zh)
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.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN2011103008938A priority Critical patent/CN102378131A/en
Publication of CN102378131A publication Critical patent/CN102378131A/en
Priority to PCT/CN2012/081036 priority patent/WO2013049986A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service

Abstract

The invention discloses a calling method used in voice communication and a mobile terminal. The calling method comprises the following steps of: when a calling party initiates a call to a called party, whether the calling party is connected with internet is judged; if yes, the calling party judges whether both parties log in an internet server; if yes, the calling party judges whether the network quality for the call between both parties through internet meets the communication standard; and if yes, the calling party calls the called party through internet, and otherwise, the calling party calls the called party through a mobile communication network. By adopting the calling method, almost free wireless internet can be preferentially selected for voice communication through automatic judgment, thus lowering communication cost; and meanwhile in the event that either of both parties is not connected with internet, the mobile terminal can automatically select the mobile communication network for voice communication, thus ensuring real-time property and reliability of voice communication.

Description

Method of calling in the voice communication and portable terminal
Technical field
The present invention relates to communication technical field, particularly relate to method of calling and portable terminal in a kind of voice communication.
Background technology
The core application of portable terminal is voice communication.The voice communications services that mobile communication carrier provides based on 2G or 3G mobile communications network is the service of charge, and the air time is long more, and it is many more to charge.
Get into mobile Internet after the epoch, some mobile phone users have been installed voice client on the terminal of oneself, and the wireless network module that utilizes portable terminal to carry connects the Internet; Carry out voice communication through the Internet with another online user; This communication mode based on the Internet almost is free, but this communication mode also brings a problem, and the both sides that promptly need communicate by letter must insert wireless Internet constantly; Either party is not online, and communication just can't be carried out.All need online otherwise can't carry out the problem of instant messaging in order to overcome communicating pair; The automatic switchover that a kind of method of using the Dynamic Selection communication network realizes wireless network and mobile communications network was once proposed; Whether make that the user need not each manual examination (check) callee online; Just can carry out voice communication immediately, well improve user experience.But this method still can be brought the problem of network reliability, and instant both sides are online, also maybe be because internet signal is bad; Cause the instability even the communication failure of communication; Though communications cost is low on the surface, because the communication quality variation causes the user experience variation on the contrary once more.
Summary of the invention
The technical problem that the present invention mainly solves provides method of calling and the portable terminal in a kind of voice communication, can effectively guarantee the instantaneity and the reliability of voice communication.
For solving the problems of the technologies described above, the technical scheme that the present invention adopts is: the method for calling in a kind of voice communication is provided, said method comprising the steps of: MPTY is judging self whether to connect the Internet when the callee makes a call; If be judged as is that then MPTY judges whether MPTY and callee have all logined Internet Server; If be judged as is that then MPTY judges whether the network quality of conversing through the Internet between MPTY and the callee meets the standard of communication; If conformance with standard, then MPTY is selected through the internet call callee, otherwise MPTY selects mobile communications network to call out the callee.
Wherein, Judge whether MPTY and callee have all logined before the step of Internet Server; Comprise: the mobile terminal number that utilizes MPTY is as account number and through network protocol stack login Internet Server; If Internet Server is gone up in login, then be recorded as presence, otherwise be recorded as not presence.
Wherein, Judge that the step whether MPTY and callee have all logined Internet Server comprises: the presence that in Internet Server, writes down through network protocol stack returns judges whether MPTY and callee have all logined Internet Server; That network protocol stack returns is MPTY and all online result of callee, then is judged as MPTY and callee and has all logined Internet Server; If that network protocol stack returns is MPTY or the not online result of callee, then being judged as MPTY and callee is not all to have logined Internet Server.
Wherein, Judge whether that when the callee makes a call the step that connects the Internet comprises: the result who returns according to call function judges whether to connect upward the Internet through network protocol stack; If the result that call function returns is 0, then is judged as not connect and goes up the Internet through network protocol stack; If the result that call function returns is 1, then is judged as through the network protocol stack connection and goes up the Internet.
Wherein, Judge when whether the network quality of conversing through the Internet between MPTY and the callee meets the standard of communication that MPTY sends the packet of a special use and obtains the time value of the other side's response, whether the judgement time value is overtime; If it is overtime; Then be judged as the network quality of conversing through the Internet and do not meet the standard of communication, otherwise, be judged as conformance with standard.
Wherein, Judge when whether the network quality of conversing through the Internet between MPTY and the callee meets the standard of communication; Callee's calling system function is read the connection status of self the Internet; And sending to server to connection status, the MPTY querying server obtains connection status, judges whether to meet the standard of communication then according to connection status.
Wherein, judge that the callee used the response speed between Ping function testing server and the portable terminal when whether the network quality of conversing through the Internet between MPTY and the callee met the standard of communication; This function can return a ping value and send to MPTY to the ping value; MPTY compares ping value and a predetermined threshold value, when greater than predetermined threshold value, judges the standard that does not meet communication; Otherwise, be judged as conformance with standard.
For solving the problems of the technologies described above, another technical scheme that the present invention adopts is: a kind of portable terminal is provided, and portable terminal comprises: first judging unit is used for when the callee makes a call, judging whether to connect the Internet; Second judging unit when being used on being judged as connection the Internet, judges whether MPTY and callee have all logined Internet Server; The 3rd judging unit is used for judging being judged as when all having logined Internet Server whether the Internet meets the standard of communication; Selected cell is used for when judging that the Internet meets the standard of communication, then selecting the internet call callee, otherwise, select mobile communications network to call out the callee.
Wherein, Portable terminal comprises: log-in unit; Be used for before judging whether MPTY and callee have all logined Internet Server, the mobile terminal number that utilizes MPTY is as account number and through network protocol stack login Internet Server, if Internet Server is gone up in login; Then be recorded as presence, otherwise be recorded as not presence.
Wherein, portable terminal comprises network protocol stack module, communication protocol stack module and signal processing module; The network protocol stack module links to each other with first judging unit, second judging unit, the 3rd judging unit, log-in unit, selected cell and signal processing module; The communication protocol stack module links to each other with selected cell and signal processing module; Signal processing module; Link to each other with network protocol stack module, communication protocol stack module and selected cell; Be used for the function that when selected cell is selected internet call, realizes calling out the callee with the network protocol stack module; Or, the function that when selected cell selects mobile communications network to call out, realizes calling out the callee with the communication protocol stack module; Wherein, first judging unit, second judging unit, the 3rd judging unit, selected cell and log-in unit are arranged in the central processing module.
Wherein, First judging unit; Specifically be used for when when the callee makes a call, judging whether to connect the Internet; The result who returns according to call function judges whether to connect upward the Internet through the network protocol stack module, if the result that call function returns is 0, then is not judged as to connect through the network protocol stack module and goes up the Internet; If the result that call function returns is 1, then is judged as through the connection of network protocol stack module and goes up the Internet.
For solving the problems of the technologies described above, another technical scheme that the present invention adopts is: a kind of portable terminal is provided, and said portable terminal comprises: judge module is used for when receiving calling, judging that whether said calling is from the Internet; Select module, be used for being judged as when being, then select the Internet to carry out voice communication, otherwise select mobile communications network to carry out voice communication said.
The present invention can judge and preferentially select the wireless Internet of almost free to carry out voice communication automatically; Reduce communication cost; And communicating pair has a side not connect when going up the Internet; Portable terminal can also select mobile communications network to carry out voice communication automatically, guarantees the instantaneity and the reliability of voice communication.
Description of drawings
Fig. 1 is the flow chart of the method for calling in the voice communication that provides of the embodiment of the invention;
Fig. 2 is the sketch map of the voice communication system that provides of experimental example of the present invention;
Fig. 3 is the sketch map of a kind of portable terminal of providing of the embodiment of the invention;
Fig. 4 is the sketch map of the another kind of portable terminal that provides of the embodiment of the invention.
Embodiment
See also Fig. 1, the flow chart of the method for calling in the voice communication that the embodiment of the invention provides comprises:
Step 101: MPTY is judging self whether to connect the Internet when the callee makes a call;
MPTY is selected callee's name or input called number from telephone directory, make a call to the callee, and simultaneously, the result who returns according to call function judges whether to connect through network protocol stack to go up the Internet.Portable terminal can be through calling special api function; Be used for detecting current network connection state, different systems soft wares has different api function names, calls the state that IsConnected () function returns network such as some software systems; If the result that call function returns is 0; Then be not judged as to connect and go up the Internet, afterwards, select mobile communications network and make a call to the callee through communication protocol stack through network protocol stack; If the result that call function returns is 1, then be judged as through the network protocol stack connection and go up the Internet, whether portable terminal can be judged network protocol stack easily through call function and can work, and promptly whether portable terminal can connect wireless network.
Be judged as connect the Internet through network protocol stack before; The mobile terminal number that can utilize MPTY earlier is as account number and through network protocol stack login Internet Server; Can certainly use other preset numbers of portable terminal, login Internet Server through network protocol stack as the account number of binding mobile terminal number.If Internet Server is gone up in login, then be recorded as presence, otherwise be recorded as not presence.In more design, can continue to login again Internet Server after the presence not being recorded as, the number of times of logining again can be set a threshold value.
Particularly, portable terminal utilizes network protocol stack to realize login based on ICP/IP protocol; Such as the login mode that uses common website, transmit mobile terminal number through procotol earlier, wait for the Internet Server response then; If response success; So just explain that successfully login or success are online, portable terminal records the presence of oneself in the presence variable of this machine, and Internet Server also can be recorded in the information that success is logined in the database of oneself simultaneously.If Internet Server does not have response or the wrong mobile terminal number of response, so just explain that login failure perhaps goes offline, and in Internet Server, carry out record; Equally, portable terminal also can be by in the presence variable of this machine of recording this state.
When portable terminal with after Internet Server is connected; This connects and is kept always, because use is ICP/IP protocol, this agreement allows communicating pair to keep constantly connecting; Either party loses communicating pair in connection; Can be perceived by an other side (Internet Server or portable terminal), lose such as because communication failure or a certain side's power down if connect, a so other side will make suitable response.Find to connect disconnection such as Internet Server; It is online in the database of oneself, to write down this mobile terminal number so; If portable terminal find to connect breaks off, it is online for not that portable terminal should at first be revised own presence variable so, and trial connects Internet Server again then; After successful connection, just be revised as the presence variable online.
Step 102: if be judged as is that then MPTY judges whether MPTY and callee have all logined Internet Server;
In step 102; On judging, just carry out this step after the Internet through the network protocol stack connection; Specifically: the presence that in Internet Server, writes down through network protocol stack returns judges whether MPTY and callee have all logined Internet Server; That network protocol stack returns is MPTY and all online result of callee, then is judged as MPTY and callee and has all logined Internet Server; If that network protocol stack returns is MPTY or the not online result of callee, then being judged as MPTY and callee is not all to have logined Internet Server.
Wherein, The callee utilizes its mobile terminal number to go up Internet Server through network protocol stack login Internet Server if login as account number; Then be recorded as presence, otherwise be recorded as not presence, and login Internet Server again after the presence not being recorded as.Judge that method or standard that whether the callee logins Internet Server can freely design; Give Internet Server such as sending called number through network protocol stack; Internet Server is received beginning local data library inquiry behind this telephone number, and it is online to check whether this number has been registered as, if online then return the signal of MPTY " callee is online " through network protocol stack; Otherwise, return the signal of MPTY " callee is not online " through network protocol stack.
Step 103: if be judged as is that then MPTY judges whether the network quality of conversing through the Internet between MPTY and the callee meets the standard of communication;
In the present embodiment; Judge that the standard whether network quality of conversing through the Internet between MPTY and the callee meets communication can have several different methods; Wherein, Judge when whether the network quality of conversing through the Internet between MPTY and the callee meets the standard of communication that callee's calling system function is read the connection status of self the Internet, and send to server to connection status; The MPTY querying server obtains connection status, judges whether to meet the standard of communication then according to connection status.
Particularly, the callee can adopt the detection method of proactive notification server, sends to server to the connection status of self the Internet, lets server know current connection situation.The connection status of the Internet of portable terminal has very good; By force, medium, rank such as very weak; The connection status that the callee can the calling system function reads the Internet; And passing to server to the connection status of the Internet, MPTY can obtain the connection status of callee the Internet through querying server, judges according to the connection status of callee the Internet whether the callee can select the Internet to call out then.When the connection status signal that inquires the callee the Internet was very weak, MPTY possibly just be set at without internet call.
Judge when whether the network quality of conversing through the Internet between MPTY and the callee meets the standard of communication; The callee uses the response speed between Ping function testing server and the portable terminal, and this function can return a ping value and send to MPTY to the ping value, and MPTY compares ping value and a predetermined threshold value; When greater than predetermined threshold value; Judge the standard that does not meet communication, otherwise, be judged as conformance with standard.
Particularly; The callee can carry out real-time test communications with server; For example use the Ping function to come the response speed between testing server and the portable terminal; This function can return a ping value, and to callee and the response needs that obtain the callee how long reflection sends a packet, and the quality of the big more expression Internet connection of ping value is poor more.The parameter that the ping value can be used as an Internet connection quality is kept on the server; And notice is given MPTY; If MPTY obtains callee's ping value and judges that this value surpasses predetermined threshold value or excessive; So just judge not to be suitable for internet communication, so still use mobile communications network communication.
Judge when whether the network quality of conversing through the Internet between MPTY and the callee meets the standard of communication; MPTY sends the packet of a special use and obtains the time value of the other side's response; Whether the judgement time value is overtime, if overtime, then is judged as the standard that the network quality of conversing through the Internet does not meet communication; Otherwise, be judged as conformance with standard.
Not from the network quality information that obtains of middle server, this method is particularly useful for utilizing directly interconnected voice communication of ICP/IP protocol through directly testing mutually before the communication of communicating pair internet usage.Communicating pair is set up test channel earlier before communicating, MPTY is initiated test; And detect network connection quality and whether can accomplish communication; Finally judge that according to test result should use which network-originated call, concrete method of testing can be ping test method or error rate test method: the packet of a special use of transmission also obtains the time value of the other side's response, and whether the judgement time value is overtime; If it is overtime; Then be judged as the network quality of conversing through the Internet and do not meet the standard of communication, otherwise, be judged as conformance with standard.The present invention does not do special qualification to how utilizing radio data network to communicate.
Step 104: if conformance with standard, then MPTY is selected through the internet call callee, otherwise MPTY selects mobile communications network to call out the callee;
Being judged as after MPTY and callee all logined Internet Server, select the Internet and open network protocol stack to call out the callee; Be judged as MPTY and callee be not all logined Internet Server after, select mobile communications network and call out the callee through communication protocol stack.
In addition, the callee carries out following steps after the calling that receives the MPTY initiation:
Step 1: judge and whether call out from the Internet;
Whether portable terminal can oneself connect the Internet through the network protocol stack inspection constantly; If the presence of Internet Server sign oneself just can be logined in the Internet in the connection; This state can also can be recorded in the local presence variable by the data-base recording of Internet Server.If own online, MPTY makes a call through the Internet, and this call signal is delivered to through the Internet in the antenna of oneself so, is delivered in the network protocol stack again, is resolved to call signal; If oneself do not have online; Communication protocol stack can receive call signal so; Pass to communication protocol stack through main antenna, resolved to call signal, portable terminal still is to be resolved by communication protocol stack to judge that whether calling is from the Internet through judging that call signal is resolved by network protocol stack.
Wherein, Network protocol stack is based on the ICP/IP protocol standard signal is carried out the encoding and decoding processing; Promptly be encoded into the network signal form to primary signal, and through wireless network antenna be delivered on the Internet or wireless network antenna on the internet signal received, be decoded into primary signal; Communication protocol stack is responsible for the signal of communication that receives main antenna, resolves to common audio digital signals or be packaged into the standard traffic signal to audio digital signals to send out through main antenna.Standard ability and base station that communication protocol stack must meet 3GPP communicate; It generally comprises the hardware DSP with quick computing capability, and a software protocol stack, can carry out real time parsing and transmission to the signal of receiving through the cooperation of software and hardware; Existing portable terminal generally all can use special SOC(system on a chip) (System on a Chip; SOC) chip is realized the function of communication protocol stack, and the supplier of this type Soc has a lot, such as Mediatek, Qualcomm or the like.
Step 2: when judging calling from the Internet, then the prompting user has new incoming call on the screen of portable terminal, and startup internet protocol-based voice (Voice over Internet Protocol, VoIP) response of the internet program of technology should be called out; When judging calling is not from the Internet, and then the prompting user has new incoming call on the screen of portable terminal, and startup should be called out based on the mobile communications network program response of network formats such as 2G/3G normally.
Present embodiment can further be made requirement; After in a single day the portable terminal of communicating pair is connected to the Internet; Just login Internet Server immediately, and in the database of Internet Server record communication both sides' connection status, and communicating pair keeps and being connected of Internet Server.Like this, behind the portable terminal of the communicating pair login Internet Server, Internet Server just knows that the portable terminal of communicating pair all is ready to, and can carry out voice communication through the Internet at any time.
Utilize the voice communication of the Internet can pass through several different methods, set up peer-to-peer network through TCP/IP, carry out reciprocity voice communication through voip technology between peer-to-peer network such as communicating pair; This communication does not take server resource; Save server bandwidth, also have a kind of method based on Internet Server, promptly communicating pair sends to speech message earlier the Internet Server that mediates; Internet Server is forwarded to the opposing party again, accomplishes communication.
The essence of the Internet is data communication network; Mobile communications network is also supported data communication service at a high speed, inserts (high speed packet access, HSPA) data service such as the high-speed packet based on the 3.5G network; In theory; Use the HSPA high-speed data communication also can realize similar function, but HSPA charge, and utilizes the wireless Internet meeting more cheap.Present embodiment can't the restricting data network bearing mode, as long as select optimum data communication network.
Be different from instantaneity and the relatively poor situation of reliability in the mobile terminal sound communication process of prior art; The present invention can judge and preferentially select the wireless Internet of almost free to carry out voice communication automatically; Reduce communication cost; And communicating pair has a side not connect when going up the Internet, and portable terminal can also select mobile communications network to carry out voice communication automatically, guarantees the instantaneity and the reliability of voice communication.
See also Fig. 2, the sketch map of the voice communication system that the embodiment of the invention provides, said system comprises: first portable terminal 1, second portable terminal 2 and Internet Server 3.Wherein, first portable terminal 1 comprises that communication module 11 and telephone directory administration module 12, the second portable terminals 2 comprise communication module 21 and telephone directory administration module 22.The inner communication module of the communication module 11 that first portable terminal 1 is inner and second portable terminal 2 21 is integrated internet communication service and mobile network communication service; Internet communication service can be that (Wireless Fidelity WIFI) is connected to the data, services that obtains behind the Internet to Wireless Fidelity; The inner telephone directory administration module 12 of first portable terminal 1 is responsible for the answering, dial and contact person's maintenance or the like of voice of first portable terminals 1, and second portable terminal, 2 inner telephone directory administration modules 22 are responsible for the answering, dial and contact person's maintenance or the like of voice of second portable terminals 2; Internet Server 3 is used to write down the state of first portable terminal 1 and second portable terminal, 2 login the Internets.
Before first portable terminal 1 is called out second portable terminal 2 through its telephone directory administration module 12; First portable terminal 1 judges through its communication module 11 whether oneself has connected the Internet; If do not connect the Internet; Then select mobile communications network to make a call to second portable terminal 2, after the telephone directory administration module 22 of second portable terminal 2 answered the call, the communication module 21 and first portable terminal 1 through second portable terminal 2 carried out voice communication; If connected the Internet; Then first portable terminal 1 signs in to Internet Server 3 and is recorded as presence, checks afterwards whether second portable terminal 2 is also online, if second portable terminal 2 is not online; Then select mobile communications network to make a call to second portable terminal 2; After the telephone directory administration module 22 of second portable terminal 2 answered the call, the communication module 21 and first portable terminal 1 through second portable terminal 2 carried out voice communication, if second portable terminal 2 is online; Then select the Internet to make a call to second portable terminal 2; After the telephone directory administration module 22 of second portable terminal 2 answered the call, the communication module 21 and first portable terminal 1 through second portable terminal 2 carried out voice communication, perhaps:
Before second portable terminal 2 is called out first portable terminal 1 through its telephone directory administration module 22; Second portable terminal 2 judges through its communication module 21 whether oneself has connected the Internet; If do not connect the Internet; Then select mobile communications network to make a call to first portable terminal 1, after the telephone directory administration module 12 of first portable terminal 1 answered the call, the communication module 11 and second portable terminal 2 through first portable terminal 1 carried out voice communication; If connected the Internet; Then second portable terminal 2 signs in to Internet Server 3 and is recorded as presence; Check afterwards whether first portable terminal 1 is also online,, then select mobile communications network to make a call to first portable terminal 1 if first portable terminal 1 is not online; After the telephone directory administration module 12 of first portable terminal 1 answers the call; The communication module 11 and second portable terminal 2 through first portable terminal 1 carry out voice communication, if first portable terminal 1 is online, then select the Internet to make a call to first portable terminal 1; After the telephone directory administration module 12 of first portable terminal 1 answered the call, the communication module 11 and second portable terminal 2 through first portable terminal 1 carried out voice communication.
See also Fig. 3, the sketch map of a kind of portable terminal that the embodiment of the invention provides comprises: central processing module 4, communication protocol stack module 5, network protocol stack module 6 and signal processing module 7.Be provided with first judging unit 41, log-in unit 42, second judging unit 43, the 3rd judging unit 44 and selected cell 45 in the central processing module 4.
Network protocol stack module 6 links to each other with first judging unit 41, log-in unit 42, second judging unit 43, the 3rd judging unit 44, selected cell 45 and signal processing module 7; Network protocol stack module 6 is based on the ICP/IP protocol standard signal is carried out the module that encoding and decoding are handled; This module can be that software module also can be a hardware module; The effect of network protocol stack module 6 is to be encoded into the network signal form to primary signal, and is delivered on the Internet through wireless network antenna; Perhaps, be decoded into primary signal and transfer to signal processing module 7 processing the internet signal of receiving on the wireless network antenna.
Communication protocol stack module 5 links to each other with selected cell 45 and signal processing module 7.The communication protocol stack module 5 responsible signals of communication that receive main antenna resolve to common audio digital signals, and pass to signal processing module 7.In one embodiment, the standard ability and the base station that require communication protocol stack module 5 to meet 3GPP communicate, and it generally comprises the hardware DSP with quick computing capability; And software protocol stack; Cooperation through software and hardware can be carried out real time parsing and transmission to the signal of receiving, modern portable terminal generally all can use special SOC(system on a chip) SOC chip to realize the function of this communication protocol stack, and the supplier of this type Soc has a lot; Such as Mediatek, Qualcomm or the like.
Signal processing module 7; Link to each other with communication protocol stack module 5, network protocol stack module 6 and selected cell 45; Be used for when selected cell 45 is selected internet call, communicating by letter with network protocol stack module 6; Or,, selected cell 45 communicates by letter when selecting mobile communications network to call out with communication protocol stack module 5.Signal processing module 7 is that a software module also can be a hardware module, and it is responsible for becoming Digital Signal Processing can be by the voice signal of loudspeaker acceptance, conversely; Also become digital signal to voice signal; This module can use various signal processing algorithms, and such as noise reduction process, encrypting and decrypting is handled or the like; These processing can be calculated by computing chip through proprietary program and accomplished, and also can accomplish through proprietary hardware computing chip computing.Signal processing module 7 not only can pass to original communication protocol stack module 5 to primary speech signal and transmit; Also can pass to network protocol stack module 6 to signal and transmit, central processing module 4 according to algorithm determined automatically this process communication protocol stack module 5 of signal still this process network protocol module 6 transmit.
Central processing module 4 is coordinated the whole voice communication course of control; When being responsible for new signal and having arrived; Signal is responded; Have incoming call the time to notify the user to respond, opening signal passage (receiving calls) is delivered to the signal of the signal of communication protocol stack module 5 or network protocol stack module 6 in the signal processing module 7 and control signal or the like in order; Also be responsible for notifying communication protocol stack module 5 or network protocol stack module 6 and set up new call link (outbound calling), and after passage is connected, import the signal of signal processing module 7 in communication protocol stack module 5 or the network protocol stack module 6.Central processing module 4 is to realize it and coordinate the function of control voice communication through being arranged at each unit in it.
The concrete effect of each unit is following:
First judging unit 41; Be used for when the callee makes a call, judging whether to connect the Internet; Particularly; The result who returns according to call function judges whether to connect upward the Internet through network protocol stack module 6, if the result that call function returns is 0, then is not judged as to connect through network protocol stack module 6 and goes up the Internet; If the result that call function returns is 1, then is judged as through 6 connections of network protocol stack module and goes up the Internet.First judging unit can be through calling special api function; Be used for detecting current network connection state, different systems soft wares has different api function names, calls the state that IsConnected () function returns network such as some software systems; If the result that call function returns is 0; Then be not judged as to connect and go up the Internet, afterwards, select mobile communications network and make a call to the callee through communication protocol stack module 6 through network protocol stack module 6; If the result that call function returns is 1, then is judged as through 6 connections of network protocol stack module and goes up the Internet.Whether first judging unit 41 can be judged network protocol stack module 6 easily through call function and can work.
Be judged as connect the Internet through network protocol stack module 6 before; Also can after; Log-in unit 42 utilizes the mobile terminal number of MPTY to login Internet Servers as account number through network protocol stack module 6; Can certainly use other preset numbers of portable terminal to login Internet Servers through network protocol stack module 6,, then be recorded as presence if Internet Server is gone up in login as account number; Otherwise be recorded as not presence, and login Internet Server again after the presence not being recorded as.
Particularly, log-in unit 42 utilizes network protocol stack module 6 to realize login based on ICP/IP protocol; Such as the login mode that uses common website, transmit mobile terminal number through network protocol module 6 earlier, wait for the Internet Server response then; If response success; So just explain that successfully login or success are online, portable terminal records the presence of oneself in the presence variable, and Internet Server also can be recorded in the information that success is logined in the database of oneself simultaneously.If Internet Server does not have response or the wrong mobile terminal number of response, so just explain that login failure perhaps goes offline, same, portable terminal also can be recorded in this state in the line state variable.When portable terminal with after Internet Server is connected; This connects and is kept always, because use is ICP/IP protocol, this agreement allows communicating pair to keep constantly connecting; Either party loses communicating pair in connection; Can be perceived by an other side (Internet Server or portable terminal), lose such as because communication failure or a certain side's power down if connect, a so other side will make suitable response.Find to connect disconnection such as Internet Server; It is online in the database of oneself, to write down this mobile terminal number so; If portable terminal find to connect breaks off, it is online for not that portable terminal should at first be revised own presence variable so, and trial connects Internet Server again then; After successful connection, just be revised as the presence variable online.
Second judging unit 43; When being used on being judged as connection the Internet; Judge whether MPTY and callee have all logined Internet Server, particularly, judge through the presence that in remote server, writes down that network protocol stack module 6 is returned whether MPTY and callee have all logined Internet Server; As if what return through network protocol stack module 6 is MPTY and all online result of callee, then is judged as MPTY and callee and has all logined Internet Server; As if what return through network protocol stack module 6 is MPTY and all not online result of callee, and then being judged as MPTY and callee is not all to have logined Internet Server.
Wherein, The callee utilizes its mobile terminal number as account number and through network protocol stack module 6 login Internet Servers; If Internet Server is gone up in login; Then be recorded as presence, otherwise be recorded as not presence, and login Internet Server again after the presence not being recorded as.Judge that method or standard that whether the callee logins Internet Server can freely design; Give Internet Server such as sending called number through network protocol stack module 6; Internet Server begins the local data library inquiry after receiving this telephone number; It is online to check whether this number has been registered as; If online then return the signal of MPTY " callee is online " through network protocol stack module 6, otherwise, the signal of MPTY " callee is not online " returned through network protocol stack module 6.
The 3rd judging unit 44 is used for judging being judged as when all having logined Internet Server whether the Internet meets the standard of communication.
Selected cell 45 is used for being judged as when being said, then selects the internet call callee, otherwise, select mobile communications network to call out the callee.Such as, being judged as after MPTY and callee all logined Internet Server at second judging unit 43, selected cell 45 selection the Internets and open network protocol stack module 6 are called out callees; Second judging unit 43 be judged as MPTY and callee be not all logined Internet Server after, selected cell 45 is selected mobile communications networks and is called out the callee through communication protocol stack.
See also Fig. 4, the another kind of portable terminal sketch map that the embodiment of the invention provides comprises:
Judge module 81 is used for when receiving calling, judging that whether said calling is from the Internet;
Whether portable terminal can oneself connect the Internet through the network protocol stack inspection constantly; If the presence of Internet Server sign oneself just can be logined in the Internet in the connection; This state can also can be recorded in the local presence variable by the data-base recording of Internet Server.If own online, MPTY makes a call through the Internet, and this call signal is delivered to through the Internet in the antenna of oneself so, is delivered in the network protocol stack again, is resolved to call signal; If oneself do not have online; Communication protocol stack can receive call signal so; Pass to communication protocol stack through main antenna, resolved to call signal, portable terminal still is to be resolved by communication protocol stack to judge that whether calling is from the Internet through judging that call signal is resolved by network protocol stack.
Select module 82, be used for being judged as when being, then select the Internet to carry out voice communication, otherwise select mobile communications network to carry out voice communication said;
When judging calling from the Internet, then the prompting user has new incoming call on the screen of portable terminal, and startup internet protocol-based voice (Voice over Internet Protocol, VoIP) response of the internet program of technology should be called out; When judging calling is not from the Internet, and then the prompting user has new incoming call on the screen of portable terminal, and startup should be called out based on the mobile communications network program response of 2G/3G normally.
The above is merely embodiments of the invention; Be not so limit claim of the present invention; Every equivalent structure or equivalent flow process conversion that utilizes specification of the present invention and accompanying drawing content to be done; Or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.

Claims (12)

1. the method for calling in the voice communication is characterized in that, said method comprising the steps of:
MPTY is judging self whether to connect the Internet when the callee makes a call;
If be judged as is that then MPTY judges whether MPTY and callee have all logined Internet Server;
If be judged as is that then MPTY judges whether the network quality of conversing through the Internet between MPTY and the callee meets the standard of communication;
If conformance with standard, then MPTY is selected through the internet call callee, otherwise MPTY selects mobile communications network to call out the callee.
2. the method for claim 1 is characterized in that, judges that whether MPTY and callee have all logined before the step of Internet Server, comprising:
The mobile terminal number that utilizes MPTY, then is recorded as presence, otherwise is recorded as not presence if Internet Server is gone up in login as account number and through network protocol stack login Internet Server.
3. method as claimed in claim 2 is characterized in that, judges that the step whether MPTY and callee have all logined Internet Server comprises:
The presence that in Internet Server, writes down through network protocol stack returns judges whether MPTY and callee have all logined Internet Server; That network protocol stack returns is MPTY and all online result of callee, then is judged as MPTY and callee and has all logined Internet Server; If that network protocol stack returns is MPTY or the not online result of callee, then being judged as MPTY and callee is not all to have logined Internet Server.
4. the method for claim 1 is characterized in that, judges whether that when the callee makes a call the step that connects the Internet comprises:
The result who returns according to call function judges whether to connect upward the Internet through network protocol stack, if the result that call function returns is 0, then is not judged as to connect through network protocol stack and goes up the Internet; If the result that call function returns is 1, then is judged as through the network protocol stack connection and goes up the Internet.
5. method according to claim 1 is characterized in that, judges when whether the network quality of conversing through the Internet between MPTY and the callee meets the standard of communication; MPTY sends the packet of a special use and obtains the time value of the other side's response; Whether the judgement time value is overtime, if overtime, then is judged as the standard that the network quality of conversing through the Internet does not meet communication; Otherwise, be judged as conformance with standard.
6. method according to claim 1; It is characterized in that; Judge when whether the network quality of conversing through the Internet between MPTY and the callee meets the standard of communication that callee's calling system function is read the connection status of self the Internet, and send to server to said connection status; MPTY is inquired about said server and is obtained said connection status, judges whether to meet the standard of communication then according to said connection status.
7. method according to claim 1; It is characterized in that, judge that the callee used the response speed between Ping function testing server and the portable terminal when whether the network quality of conversing through the Internet between MPTY and the callee met the standard of communication; This function can return a ping value and send to MPTY to said ping value; MPTY compares said ping value and a predetermined threshold value, when greater than said predetermined threshold value, judges the standard that does not meet communication; Otherwise, be judged as conformance with standard.
8. a portable terminal is characterized in that, said portable terminal comprises:
First judging unit is used for when the callee makes a call, judging whether to connect the Internet;
Second judging unit when being used on being judged as connection the Internet, judges whether MPTY and callee have all logined Internet Server;
The 3rd judging unit is used for judging being judged as when all having logined Internet Server whether the Internet meets the standard of communication;
Selected cell is used for when judging that the Internet meets the standard of communication, then selecting the internet call callee, otherwise, select mobile communications network to call out the callee.
9. portable terminal as claimed in claim 8 is characterized in that, said portable terminal comprises:
Log-in unit; Be used for before judging whether MPTY and callee have all logined Internet Server; The mobile terminal number that utilizes MPTY is as account number and through network protocol stack login Internet Server; If Internet Server is gone up in login, then be recorded as presence, otherwise be recorded as not presence.
10. portable terminal as claimed in claim 9 is characterized in that:
Said portable terminal comprises network protocol stack module, communication protocol stack module and signal processing module;
Said network protocol stack module links to each other with said first judging unit, second judging unit, the 3rd judging unit, log-in unit, selected cell and signal processing module;
Said communication protocol stack module links to each other with said selected cell and signal processing module;
Said signal processing module; Link to each other with said network protocol stack module, communication protocol stack module and selected cell; Be used for the function that when said selected cell is selected internet call, realizes calling out the callee with the network protocol stack module; Or, the function that when said selected cell selects mobile communications network to call out, realizes calling out the callee with the communication protocol stack module;
Wherein, said first judging unit, second judging unit, the 3rd judging unit, selected cell and log-in unit are arranged in the central processing module.
11. portable terminal as claimed in claim 8 is characterized in that:
Said first judging unit; Specifically be used for when when the callee makes a call, judging whether to connect the Internet; The result who returns according to call function judges whether to connect upward the Internet through the network protocol stack module; If the result that call function returns is 0, then is judged as not connect and goes up the Internet through the network protocol stack module; If the result that call function returns is 1, then is judged as through the connection of network protocol stack module and goes up the Internet.
12. a portable terminal is characterized in that, said portable terminal comprises:
Judge module is used for when receiving calling, judging that whether said calling is from the Internet;
Select module, be used for being judged as when being, then select the Internet to carry out voice communication, otherwise select mobile communications network to carry out voice communication said.
CN2011103008938A 2011-10-08 2011-10-08 Calling method used in voice communication and mobile terminal Pending CN102378131A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2011103008938A CN102378131A (en) 2011-10-08 2011-10-08 Calling method used in voice communication and mobile terminal
PCT/CN2012/081036 WO2013049986A1 (en) 2011-10-08 2012-09-06 Calling method and mobile terminal in voice communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011103008938A CN102378131A (en) 2011-10-08 2011-10-08 Calling method used in voice communication and mobile terminal

Publications (1)

Publication Number Publication Date
CN102378131A true CN102378131A (en) 2012-03-14

Family

ID=45795968

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011103008938A Pending CN102378131A (en) 2011-10-08 2011-10-08 Calling method used in voice communication and mobile terminal

Country Status (2)

Country Link
CN (1) CN102378131A (en)
WO (1) WO2013049986A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013049986A1 (en) * 2011-10-08 2013-04-11 惠州Tcl移动通信有限公司 Calling method and mobile terminal in voice communication
CN104023152A (en) * 2014-06-30 2014-09-03 联想(北京)有限公司 Conversation control method and device and electronic device
CN104410553A (en) * 2014-12-18 2015-03-11 北京奇虎科技有限公司 Communication mode adjusting method and device based on network status monitoring as well as terminal and server
CN105450861A (en) * 2015-11-13 2016-03-30 小米科技有限责任公司 Information prompt method and information prompt device
CN105682157A (en) * 2015-12-31 2016-06-15 上海云翌通信科技有限公司 Call method and system
CN105991855A (en) * 2015-02-27 2016-10-05 上海兆言网络科技有限公司 System and method for improvement of VoI call quality
CN107534599A (en) * 2015-04-17 2018-01-02 微软技术许可有限责任公司 Manage the arrangement of outgoing call
CN108449238A (en) * 2018-06-11 2018-08-24 西安万像电子科技有限公司 Communication means and communication system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1710973A (en) * 2004-06-18 2005-12-21 富士通株式会社 Mobile terminal, program for controlling mobile terminal, program for call-management server, and call management process
WO2006116757A1 (en) * 2005-04-28 2006-11-02 Qualcomm Incorporated Wireless handoffs between multiple wireless networks
CN1933620A (en) * 2005-09-16 2007-03-21 鸿富锦精密工业(深圳)有限公司 Mobile communication device
CN101237392A (en) * 2007-01-29 2008-08-06 中兴通讯股份有限公司 A network failure testing method under asynchronous transmission mode
CN101577769A (en) * 2008-05-07 2009-11-11 深圳华为通信技术有限公司 Method, system and customer premises equipment for handover of speech service between different networks
CN101594585A (en) * 2008-05-30 2009-12-02 鸿富锦精密工业(深圳)有限公司 Seek the system and method for cheapest talking mode

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047750B (en) * 2006-03-27 2012-06-27 郭国利 Method and device for transmitting voice signal based on interconnected network and mobile communication network
CN102355713B (en) * 2011-09-16 2015-12-02 惠州Tcl移动通信有限公司 Method of calling in voice communication and mobile terminal
CN102378131A (en) * 2011-10-08 2012-03-14 惠州Tcl移动通信有限公司 Calling method used in voice communication and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1710973A (en) * 2004-06-18 2005-12-21 富士通株式会社 Mobile terminal, program for controlling mobile terminal, program for call-management server, and call management process
WO2006116757A1 (en) * 2005-04-28 2006-11-02 Qualcomm Incorporated Wireless handoffs between multiple wireless networks
CN1933620A (en) * 2005-09-16 2007-03-21 鸿富锦精密工业(深圳)有限公司 Mobile communication device
CN101237392A (en) * 2007-01-29 2008-08-06 中兴通讯股份有限公司 A network failure testing method under asynchronous transmission mode
CN101577769A (en) * 2008-05-07 2009-11-11 深圳华为通信技术有限公司 Method, system and customer premises equipment for handover of speech service between different networks
CN101594585A (en) * 2008-05-30 2009-12-02 鸿富锦精密工业(深圳)有限公司 Seek the system and method for cheapest talking mode

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013049986A1 (en) * 2011-10-08 2013-04-11 惠州Tcl移动通信有限公司 Calling method and mobile terminal in voice communication
CN104023152A (en) * 2014-06-30 2014-09-03 联想(北京)有限公司 Conversation control method and device and electronic device
CN104410553A (en) * 2014-12-18 2015-03-11 北京奇虎科技有限公司 Communication mode adjusting method and device based on network status monitoring as well as terminal and server
CN104410553B (en) * 2014-12-18 2018-07-10 北京奇虎科技有限公司 Method of adjustment, system, the terminal and server of communication mode based on network status monitoring
CN105991855A (en) * 2015-02-27 2016-10-05 上海兆言网络科技有限公司 System and method for improvement of VoI call quality
CN107534599A (en) * 2015-04-17 2018-01-02 微软技术许可有限责任公司 Manage the arrangement of outgoing call
CN105450861A (en) * 2015-11-13 2016-03-30 小米科技有限责任公司 Information prompt method and information prompt device
CN105450861B (en) * 2015-11-13 2018-09-18 小米科技有限责任公司 Information cuing method and device
CN105682157A (en) * 2015-12-31 2016-06-15 上海云翌通信科技有限公司 Call method and system
CN108449238A (en) * 2018-06-11 2018-08-24 西安万像电子科技有限公司 Communication means and communication system

Also Published As

Publication number Publication date
WO2013049986A1 (en) 2013-04-11

Similar Documents

Publication Publication Date Title
CN102378131A (en) Calling method used in voice communication and mobile terminal
US7123697B2 (en) Method and system for providing a call answering service between a source telephone and a target telephone
CN101431727B (en) Mobile communication device providing integrated access to telephony and internet service
EP1949663B1 (en) Method and system of automatically pausing an automated voice session
US10182158B2 (en) Voice gateway-based communication method
CN101422028A (en) Techniques for facilitating emergency calls
US20100233997A1 (en) System, method and implementation of providing dynamic multi-media ringtone to called party prior to answer a call
US20100151868A1 (en) Communication apparatus and mobile terminal
US20040156493A1 (en) Method and apparatus for providing a central telephony service for a calling party at the called party telephone
US8891751B2 (en) Method and apparatus for providing call parking
CA2528954A1 (en) Method and apparatus for providing an audible calling party indentification for a call waiting service
CN102355713B (en) Method of calling in voice communication and mobile terminal
EP2424204A1 (en) System and method for processing extension traffic in virtual switchboard, and virtual switchboard server
KR101015022B1 (en) call processing method and phone for preventing a spam call
CN108881182B (en) IOS-based mobile terminal network telephone realization method and system
US20100279716A1 (en) Method and apparatus for the integration of SMS message communications into call center operation
CN214125328U (en) Narrow-band communication system equipment for interconnection and intercommunication of wireless cluster gateway and broadband communication system
WO2014183499A1 (en) Voice call implementation method and device
JP5110915B2 (en) Wireless IP telephone and wireless IP telephone system
US8331356B2 (en) Method, apparatus and system for transmitting a global text telephone signal
US8837459B2 (en) Method and apparatus for providing asynchronous audio messaging
CN105208233A (en) Network telephone system capable of prompting incoming call notification and realization method thereof
US11470673B2 (en) Method and system for detecting interruption of communications and for automatically re-establishing the communications
CN101247441B (en) Method and system for implementing call pickup service under call condition in communication system
CN108259689B (en) Calling method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120314