CN104410648A - LAN (local area network) based VoIP (Voice over Internet Protocol) communication method, system and communication terminal - Google Patents

LAN (local area network) based VoIP (Voice over Internet Protocol) communication method, system and communication terminal Download PDF

Info

Publication number
CN104410648A
CN104410648A CN201410800134.1A CN201410800134A CN104410648A CN 104410648 A CN104410648 A CN 104410648A CN 201410800134 A CN201410800134 A CN 201410800134A CN 104410648 A CN104410648 A CN 104410648A
Authority
CN
China
Prior art keywords
lan
area network
local area
calling party
recipient
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
CN201410800134.1A
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.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201410800134.1A priority Critical patent/CN104410648A/en
Publication of CN104410648A publication Critical patent/CN104410648A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses an LAN (local area network) based VoIP (Voice over Internet Protocol) communication method, a system and a communication terminal. The method comprises the following steps: a voice exchange server determines whether a calling party and a called party are located in the same LAN in a communication connection process of the calling party and the called party; if the calling party and the called party are located in the same LAN, a notification message of LAN communication is sent to the calling party and the called party; and the calling party and the called party transmit VoIP call data packets to the opposite party through the LAN after receiving the notification message. With adoption of the technical scheme, the calling party and the called party are connected through the voice exchange server, the VoIP call data packets are transmitted through the LAN, by means of high transmission rate and safety of the LAN, the communication quality of VoIP are improved, the communication speed of VoIP is increased, and user experience is improved.

Description

Based on the VoIP communication means of local area network (LAN), system and communication terminal
Technical field
The present invention relates to the communication technology, specifically, the present invention relates to based on the VoIP communication means of local area network (LAN), system and communication terminal.
Background technology
Along with the development of the communication technology and Internet technology, Internet Protocol telephone because of its cost performance prevailing gradually higher than traditional talking mode.Internet Protocol telephone is based on VoIP (Voice over InternetProtocol, internet voice protocol) the voice call software of technology, by the voice signal of simulation after overcompression and package, carry out the transmission of voice signal with the form of data packet in IP network, ensure that the fail safe of call and ageing.
Existing the Internet call implementing method is generally: calling party sends call request, server Forward-reques, after recipient receives call request, if press Answer Key, then send to server and answer information, server sets up communication connection between the two, afterwards, calling party and recipient can carry out the transmission of UDP (User Datagram Protoco, User Data Protocol) packet by server, realize the Internet call.
But, the present inventor finds, existing the Internet call method is usually by server transferring voice communicating data bag in the wide area network, occupy a large amount of servers or wan resource, and existing the Internet call method, easily occur that the air time of user postpones large, speech quality is poor, to converse desultory situation, cause Consumer's Experience not good.
Therefore, be necessary to provide a kind of VoIP communication means based on local area network (LAN), the Internet call can be realized by local area network (LAN), thus improve the speech quality in local area network (LAN), and then improve the experience of user.
Summary of the invention
Object of the present invention is intended at least solve one of above-mentioned technological deficiency, particularly based on local network transport VoIP communicating data bag, improves speech quality, promotes Consumer's Experience.
The invention provides a kind of VoIP communication means based on local area network (LAN), comprising:
Exchange of speech server, in the communications connection procedure of calling party and recipient, judges whether described calling party and described recipient are arranged in same local area network (LAN);
If so, the announcement information of local area network communication is then sent to described calling party and described recipient;
Wherein, described announcement information is used to indicate described calling party or described recipient transmits VoIP communicating data bag by described local area network (LAN) to the other side.
The invention provides the another kind of VoIP communication means based on local area network (LAN), comprising:
Communication terminal is communicated to connect by exchange of speech server and opposite end;
Described communication terminal sends the LAN Information of this communication terminal to described exchange of speech server, so that described exchange of speech server judges whether described communication terminal and opposite end are arranged in same local area network (LAN);
According to the announcement information of the local area network communication that described exchange of speech server sends, based on local area network (LAN) to opposite end transmission VoIP communicating data bag;
Wherein, the announcement information of described local area network communication is, described interactive voice server, in the communications connection procedure of described communication terminal and opposite end, after judging that described communication terminal and opposite end are arranged in same local area network (LAN), sends to described communication terminal and/or opposite end.
Present invention also offers a kind of VoIP communication means based on local area network (LAN), comprising:
Communication terminal is communicated to connect by exchange of speech server and opposite end;
Described communication terminal receives the LAN Information of described opposite end by described exchange of speech server;
According to the LAN Information of described opposite end, attempt being connected with described opposite end in local area network (LAN);
After trial successful connection, by described local area network (LAN) to described opposite end transmission VoIP communicating data bag.
The invention provides a kind of VoIP communication system based on local area network (LAN), comprising: exchange of speech server, calling party and recipient;
Wherein, exchange of speech server, in the communications connection procedure of described calling party and described recipient, judges whether described calling party and described recipient are arranged in same local area network (LAN); If judge it is then send the announcement information of local area network communication to described calling party and described recipient;
After calling party or recipient are used for receiving described announcement information, transmit VoIP communicating data bag by described local area network (LAN) to the other side.
The invention provides the another kind of VoIP communication system based on local area network (LAN), comprising: exchange of speech server, calling party and recipient; Wherein,
Described exchange of speech server, in the communications connection procedure of described calling party and described recipient, by the LAN Information of described calling party, forwards to described recipient;
Described recipient is used for the LAN Information according to described calling party, attempts being connected with described calling party in local area network (LAN); And after trial successful connection, by described local area network (LAN) to described calling party transmission VoIP communicating data bag.
The invention provides a kind of communicating terminal, comprising:
Communication connection module, for communicating to connect by the opposite end of exchange of speech server and this communication terminal; And send the LAN Information of this communication terminal to described exchange of speech server, so that described exchange of speech server judges whether this communication terminal and described opposite end are arranged in same local area network (LAN);
Local area network (LAN) call module, for the announcement information of the local area network communication according to described exchange of speech server transmission, based on local area network (LAN) to described opposite end transmission VoIP communicating data bag.
The invention provides another kind of communicating terminal, comprising:
Communication connection module, for communicating to connect by the opposite end of exchange of speech server and this communication terminal;
Local area network (LAN) link block, for being received the LAN Information of described opposite end by described exchange of speech server, according to the LAN Information received, attempts being connected with described opposite end in local area network (LAN); And after trial successful connection, send local speech communication notice;
Local area network (LAN) call module, after receiving described local area network (LAN) call notice, carries out with described opposite end being connected to transmit VoIP communicating data bag in local area network (LAN).
The invention provides a kind of exchange of speech server, comprising:
Communication connection sets up module, for setting up the communication connection of calling party and recipient;
Network judge module, for judging whether described calling party and described recipient are arranged in same local area network (LAN); If so, the announcement information of local area network communication is then sent to described calling party and described recipient.
The invention provides another kind of exchange of speech server, comprising:
Communication connection sets up module, for setting up the communication connection of calling party and recipient;
LAN Information forwarding module, for forwarding the LAN Information of the described calling party received to described recipient.
In the solution of the present invention, calling party and recipient is connected by exchange of speech server, by local network transport VoIP communicating data bag, because the transmission rate of local area network (LAN) is fast, and high safety, thus solve the not high problem of the speech quality that caused by server transmission VoIP communicating data bag in existing technology, and then improve the experience of user.
And, when determining the speech quality of communication link of local area network (LAN), during speech quality lower than the communication link of wide area network, be switched to wide area network transmission VoIP communicating data bag.Thus in a local network disconnected or local area network (LAN) is poor especially time, ensure that calling party and recipient still can carry out normal talking by wide area network.
The aspect that the present invention adds and advantage will part provide in the following description, and these will become obvious from the following description, or be recognized by practice of the present invention.
Accompanying drawing explanation
The present invention above-mentioned and/or additional aspect and advantage will become obvious and easy understand from the following description of the accompanying drawings of embodiments, wherein:
Fig. 1 is the configuration diagram of the VoIP communication system based on local area network (LAN) of the embodiment of the present invention one;
Fig. 2 a, 2b and 2c are the schematic flow sheet of the VoIP communication means based on local area network (LAN) of the embodiment of the present invention one;
Fig. 3 is the configuration diagram of the VoIP communication system based on local area network (LAN) of the embodiment of the present invention two;
Fig. 4 a and 4b is the schematic flow sheet of the VoIP communication means based on local area network (LAN) of the embodiment of the present invention two;
Fig. 5 is the internal structure schematic diagram of the communication terminal of the embodiment of the present invention one;
Fig. 6 is the internal structure block diagram of the exchange of speech server of the embodiment of the present invention one;
Fig. 7 is the internal structure schematic diagram of the communication terminal of the embodiment of the present invention two;
Fig. 8 is the internal structure block diagram of the exchange of speech server of the embodiment of the present invention two.
Embodiment
Be described below in detail embodiments of the invention, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has element that is identical or similar functions from start to finish.Being exemplary below by the embodiment be described with reference to the drawings, only for explaining the present invention, and can not limitation of the present invention being interpreted as.
Those skilled in the art of the present technique are appreciated that unless expressly stated, and singulative used herein " ", " one ", " described " and " being somebody's turn to do " also can comprise plural form.Should be further understood that, the wording used in specification of the present invention " comprises " and refers to there is described feature, integer, step, operation, element and/or assembly, but does not get rid of and exist or add other features one or more, integer, step, operation, element, assembly and/or their group.Should be appreciated that, when we claim element to be " connected " or " coupling " to another element time, it can be directly connected or coupled to other elements, or also can there is intermediary element.In addition, " connection " used herein or " coupling " can comprise wireless connections or wirelessly to couple.Wording "and/or" used herein comprises one or more whole or arbitrary unit listing item be associated and all combinations.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, and all terms used herein (comprising technical term and scientific terminology), have the meaning identical with the general understanding of the those of ordinary skill in field belonging to the present invention.It should also be understood that, those terms defined in such as general dictionary, should be understood to that there is the meaning consistent with the meaning in the context of prior art, unless and by specific definitions as here, otherwise can not explain by idealized or too formal implication.
Those skilled in the art of the present technique are appreciated that, here used " terminal ", " terminal equipment " had both comprised the equipment of wireless signal receiver, it only possesses the equipment of the wireless signal receiver without emissivities, comprise again the equipment receiving and launch hardware, it has and on bidirectional communication link, can perform the reception of two-way communication and launch the equipment of hardware.This equipment can comprise: honeycomb or other communication equipments, its honeycomb or other communication equipment of having single line display or multi-line display or not having multi-line display; PCS (Personal Communications Service, PCS Personal Communications System), it can combine voice, data processing, fax and/or its communication ability; PDA (PersonalDigital Assistant, personal digital assistant), it can comprise radio frequency receiver, beep-pager, the Internet/intranet access, web browser, notepad, calendar and/or GPS (Global PositioningSystem, global positioning system) receiver; Conventional laptop and/or palmtop computer or other equipment, it has and/or comprises the conventional laptop of radio frequency receiver and/or palmtop computer or other equipment.Here used " terminal ", " terminal equipment " can be portable, can transport, be arranged in the vehicles (aviation, sea-freight and/or land), or be suitable for and/or be configured at local runtime, and/or with distribution form, any other position operating in the earth and/or space is run.Here used " terminal ", " terminal equipment " can also be communication terminal, access terminals, music/video playback terminal, can be such as PDA, MID (Mobile Internet Device, mobile internet device) and/or there is the mobile phone of music/video playing function, also can be the equipment such as intelligent television, Set Top Box.
The present inventor considers, existing VoIP communication means normally completes the transmission of VoP by the server in wide area network, and the transmission rate of local area network (LAN), reliability are usually above wide area network, therefore, if calling party and recipient are in same local area network (LAN), then local network transport VoP can be used, such one side can save wan resource, voice transfer speed can be improved on the other hand, improve speech quality, and then promote the experience of user.
Technical scheme of the present invention is described in detail below in conjunction with accompanying drawing.
The invention provides two specific embodiments.In the technical scheme of embodiment one, exchange of speech server judges whether calling party and recipient are in same local area network (LAN); In the technical scheme of embodiment two, determined noly to be in same local area network (LAN) with opposite end by the communication terminal as recipient or calling party.
Embodiment one
The VoIP communication system based on local area network (LAN) that the embodiment of the present invention one provides, its configuration diagram as shown in Figure 1, comprising: calling party 101, recipient 102 and exchange of speech server 103.
Wherein, exchange of speech server 103, in the communications connection procedure of calling party 101 and recipient 102, judges whether calling party 101 and recipient 102 are positioned at same local area network (LAN); If judge it is then send the announcement information of local area network communication to calling party 101 and recipient 102.
Calling party 101 and recipient 102, for after receiving announcement information, transmit VoIP communicating data bag by local area network (LAN) to the other side.Wherein, calling party and recipient can be the communication terminals such as panel computer, mobile phone, PC being provided with VoIP call software.
Preferably, when calling party 101 or recipient 102 are also for determining the speech quality of the speech quality of the communication link of local area network (LAN) lower than the communication link of wide area network, are switched to and transmit VoIP communicating data bag by wide area network to the other side.
Wherein, the communication link of wide area network refers to the communication link being transmitted VoIP communicating data bag (UDP message bag) by the exchange of speech server 103 in wide area network.The communication link of local area network (LAN) refers to the communication link by the local network transport VoIP communicating data bag between calling party 101 and recipient 102.
Based on the VoIP communication system of the embodiment of the present invention one, the flow chart of the VoIP communication means based on local area network (LAN) that the embodiment of the present invention one provides, as shown in Figure 2 a, comprises the following steps S201 to step S202:
Step S201: exchange of speech server 103 with the communications connection procedure of recipient 102, judges whether calling party 101 and recipient 102 are positioned at same local area network (LAN) in calling party 101; If so, then step S202 is performed; Otherwise, the transmission of the VoIP communicating data bag between calling party 101 and recipient 102 is carried out according to art methods.
Particularly, exchange of speech server 103 sets up calling party 101 and the communications connection procedure of recipient 102, can comprise: calling party 101 sends call request to exchange of speech server 103; Exchange of speech server 103 according to the information of recipient in call request 102, to recipient 102 forwarded call request; Recipient 102 can return ringing information to exchange of speech server 103, and answers information to exchange of speech server 103 transmission after answering the call; After exchange of speech server 103 receives the information of answering, set up the communication connection between recipient 101 and calling party 102.
In fact, exchange of speech server 103 can in calling party 101 with the communications connection procedure of recipient 102, according to the wide area network information of calling party 101 and recipient 102, as IP information, calling party 101 and recipient 102 can be determined whether not in same local area network (LAN).Such as, when calling party 101 is positioned at mobile network, and recipient 102 is when being positioned at UNICOM's network, exchange of speech server 103 can be easy to determine that calling party 101 and recipient 102 be not in same local area network (LAN), now, exchange of speech server 103 can send the announcement information of wan communication directly to calling party 101 and/or recipient 102.Like this, after calling party 101 and/or recipient 102 receive the announcement information of wan communication, directly according to art methods, the transmission of the VoIP communicating data bag between calling party 101 and recipient 102 can be carried out based on wide area network.
When exchange of speech server 103 can not determine that calling party 101 and recipient 102 be not in same local area network (LAN), the call request that exchange of speech server 103 can send from calling party 101, parse the LAN Information of calling party 101; And answer information from what send after recipient 102 answers the call, parse the LAN Information of recipient 102; Exchange of speech server 103, according to the LAN Information of calling party 101 and recipient 102, determines whether calling party 101 and recipient 102 are positioned at same local area network (LAN).
Step S202: exchange of speech server 103 sends the announcement information of local area network communication to calling party 101 and recipient 102.
Particularly, if exchange of speech server 103 judges that calling party 101 and recipient 103 are arranged in same local area network (LAN), then send the announcement information of local area network communication to calling party 101 and recipient 102, start calling party 101 and communicate based on the VoIP of local area network (LAN) with recipient 102.Wherein, the announcement information of local area network communication is used to indicate calling party 101 and/or recipient 102 transmits VoIP communicating data bag by local area network (LAN) to the other side.
Thus, after calling party 101 or recipient 102 receive announcement information, transmit VoIP communicating data bag by local area network (LAN) to the other side.
In actual applications, according to the LAN Information of calling party 101 and recipient 102, exchange of speech server 103 judges whether calling party 101 and recipient 102 are positioned at same local area network (LAN), situation about judging by accident may be there is, that is, may occur that exchange of speech server 103 judges that calling party 101 and recipient 102 are positioned at same local area network (LAN), and in fact calling party 101 and recipient 102 are not positioned at the situation of same local area network (LAN).
More preferably, occur for avoiding this kind of situation, when calling party 101 and/or recipient 102 receive the announcement information of the local area network communication that exchange of speech server 103 sends, also send our LAN IP address, listening port and Token (token) information newly produced by exchange of speech server 103 to the other side; Like this, the other side uses the Token received to connect LAN IP address and the listening port of we, if on can connecting in setting-up time section, then both sides carry out the transmission of VoIP communicating data bag based on local area network (LAN), realizes P2P call.Wherein, the length of setting-up time section can be set according to the actual requirements by those skilled in the art.
Thus, the judgement whether calling party 101 and recipient 102 are positioned at same local area network (LAN) is successively carried out by exchange of speech server 103, calling party 101 and/or recipient 102, the accuracy judged can be ensured, thus ensure the normal talking between calling party 101 and recipient 102.
The flow chart of the VoIP communication means based on local area network (LAN) that the embodiment of the present invention one provides, also as shown in Figure 2 b, can comprise the following steps S221 to step S223:
Step S221: communication terminal is communicated to connect by exchange of speech server 103 and opposite end.
Particularly, communication terminal can be specifically above-mentioned calling party 101, also can be recipient 102.Wherein, when communication terminal is calling party, its opposite end is recipient; When communication terminal is recipient, its opposite end is calling party.
Step S222: communication terminal sends the LAN Information of this communication terminal to exchange of speech server 103, so that exchange of speech server 103 judges whether this communication terminal and opposite end are arranged in same local area network (LAN).
Particularly, after communication terminal sends the LAN Information of this communication terminal to exchange of speech server 103, judge whether this communication terminal and opposite end are arranged in same local area network (LAN) by exchange of speech server 103.
Step S223: the announcement information of the local area network communication that communication terminal sends according to exchange of speech server 103, based on local area network (LAN) to opposite end transmission VoIP communicating data bag.
Wherein, the announcement information of described local area network communication is, interactive voice server 103, in the communications connection procedure of communication terminal and opposite end, after judging that communication terminal and opposite end are arranged in same local area network (LAN), sends to communication terminal and/or opposite end.
Below by introducing calling party, mutual between recipient and exchange of speech server in detail, the VoIP communication means of the embodiment of the present invention one is described.Particularly, the schematic flow sheet of the VoIP communication means based on local area network (LAN) of the embodiment of the present invention one, as shown in Figure 2 c, comprises the steps that S211 is to step S217:
Step S211: calling party 101 sends call request to exchange of speech server 103.
In this step, calling party 101 sends call request by wide area network to exchange of speech server 103.
Step S212: exchange of speech server 103 is to recipient 102 forwarded call request.
In this step, exchange of speech server 103 resolves the call request that calling party 101 sends, and obtains the information of recipient 102, according to the information obtained to the recipient 102 forwarded call request in wide area network.
Step S213: recipient 102 sends to exchange of speech server 103 and answers information.
In this step, recipient 102 presses Answer Key, during the calling of the side of answering the call 101, sends answer information to exchange of speech server 103.In addition, as mentioned above, before information is answered in transmission, recipient 102 also can send ringing information to exchange of speech server 103.
If recipient 102 is hung up or the calling of the side of not answering the call 101, the information refusing to answer or do not answer then is sent to exchange of speech server 103, exchange of speech server 103 does not set up both communication connections, and the notice of answering or not answering can be refused to calling party 101 transmission and reception side 102, sign off.
Step S214: exchange of speech server 103 sets up the communication connection of calling party 101 and recipient 102.
In this step, what exchange of speech server 103 received that recipient 102 sends answers information, and set up the communication connection of calling party 101 and recipient 102, namely calling party 101 and recipient 102 connect and converse.
The communication connection of calling party 101 and recipient 102 can be set up by above-mentioned steps S211 to S214.In fact, in the process of the communication connection of calling party 101 and recipient 102, judge whether calling party 101 and recipient 102 are arranged in same local area network (LAN) by following step S215 to S217, determine the transmission how carrying out VoIP communicating data bag.
Step S215: exchange of speech server 103 judges whether calling party 101 and recipient 102 are positioned at same local area network (LAN); If so, then step S216 is performed; Otherwise, the transmission of the VoIP communicating data bag between calling party 101 and recipient 102 is carried out by existing method.
In this step, exchange of speech server 103 judges whether calling party 101 and recipient 102 are positioned at the method for same local area network (LAN), with reference to described in above-mentioned steps S201, can repeat no more herein.
Wherein, if calling party 101 and recipient 102 are not positioned at same local area network (LAN), exchange of speech server 103 carries out VoIP communication by wide area network.
Step S216: exchange of speech server 103 sends the announcement information of local area network communication to calling party 101 and the side of answering 102.
Step S217: calling party 101 and recipient 102 are based on local network transport VoIP communicating data bag.
In this step, calling party 101 and recipient 102 are by both residing local network transport VoIP communicating data bags.Such as, calling party 101 and recipient 102 are connected in same wifi (Wireless Fidelity), then transmit VoIP communicating data bag by wifi, call speed and the rapid-result positive correlation of wifi network.
More preferably, calling party 101 or recipient 102 are after transmitting VoIP communicating data bag by local area network (LAN) to the other side, when determining the speech quality of communication link of local area network (LAN), during speech quality lower than the communication link of wide area network, being switched to wide area network and transmitting VoIP communicating data bag to the other side.Thus in a local network disconnected or local area network (LAN) is poor especially time, ensure that calling party and recipient still can carry out normal talking by wide area network.Such as, suppose such scene, after company personnel A and B carries out VoIP call, use the wifi network of company to converse, when employee A leaves company in communication process, switch to wide area network and carry out VoIP call.
Wherein, speech quality specifically can be determined according to following index: the RTT value (Round-Trip Time, round-trip delay) of communication link and/or packet loss.And, when according to the RTT value of communication link and packet loss determination speech quality, the equilibrium strategy between RTT value and packet loss can be set, namely the weight of RTT value and packet loss is set when determining speech quality.
In fact, while calling party 101 transmits VoIP communicating data bag by local area network (LAN) to the other side with recipient 102, exchange of speech server 103 keeps and the connection of calling party 101 with recipient 102, and, calling party 101 and recipient 102 can send heartbeat packet to exchange of speech server 103, obtain current RTT value; Further, calling party 101 and recipient 102 also can send the VoIP communicating data bag setting quantity, with the packet loss of test network every setting-up time section to exchange of speech server 102.
Such as, RTT value between calling party 101 and exchange of speech server 103 is a, RTT value between recipient 102 and exchange of speech server 103 is b, RTT value between calling party 101 and recipient 102 is c, if a+b<c, then calling party 101 or recipient 102 determine the speech quality of the communication link of local area network (LAN), lower than the speech quality of the communication link of wide area network, now local area network (LAN) are switched to wide area network and transmit VoIP communicating data bag to the other side.
For another example, packet loss between calling party 101 and exchange of speech server 103 is e, packet loss between recipient 102 and exchange of speech server 103 is f, is that e and f show that calling party 101 and recipient 102 are g by the packet loss of wide area network transmission VoIP communicating data bag according to packet loss; And calling party 101 and recipient 102 are h by the packet loss of local network transport VoIP communicating data bag, if g<h, then calling party 101 or recipient 102 determine the speech quality of the communication link of local area network (LAN), lower than the speech quality of the communication link of wide area network, now local area network (LAN) is switched to wide area network and transmits VoIP communicating data bag to the other side.
In fact, calling party 101 or recipient 102 can also every setting-up time sections, the speech quality of the speech quality of the communication link of local area network and the communication link of wide area network compares, and determines to use local area network (LAN) or wide area network transmits VoIP communicating data bag according to comparative result.
The internal structure block diagram of the communication terminal (calling party 101 or recipient 102) that the embodiment of the present invention one provides, as shown in Figure 5, comprises communication connection module 501 and local speech communication module 502.
Communication connection module 501 is for communicating to connect by the opposite end of exchange of speech server 103 with this communication terminal; And send the LAN Information of this communication terminal to exchange of speech server 103, so that exchange of speech server 103 judges whether this communication terminal and opposite end are arranged in same local area network (LAN).
The announcement information of local area network communication of local area network (LAN) call module 502 for sending according to exchange of speech server 103, transmits VoIP communicating data bag based on local area network (LAN) to opposite end.
The internal structure block diagram of the exchange of speech server 103 that the embodiment of the present invention one provides, as shown in Figure 6, comprising: module 601 and network judge module 602 are set up in communication connection.
Communication connection sets up module 601 for setting up the communication connection of calling party 101 and recipient 102.
Network judge module 602 is for judging whether calling party 101 and recipient 102 are arranged in same local area network (LAN); If so, the announcement information of local area network communication is then sent to calling party 102 and recipient 101.
In the technical scheme of the embodiment of the present invention one, exchange of speech server is in the communication connection of calling party and recipient, and whether both judgements are positioned at same local area network (LAN), if so, then send the announcement information of local area network communication to calling party and recipient; After calling party or recipient receive described announcement information, transmit VoIP communicating data bag by local area network (LAN) to the other side, thus the VoIP realized based on local area network (LAN) communicates.Because the transmission rate of local area network (LAN) is fast, and high safety, thus solve in prior art and transmit the not high problem of speech quality that VoIP communicating data bag causes in the wide area network by server, and then improve the experience of user.
Embodiment two
The VoIP communication system based on local area network (LAN) that the embodiment of the present invention two provides, its configuration diagram as shown in Figure 3, comprising: calling party 301, recipient 302 and exchange of speech server 303.
Wherein, exchange of speech server 303, in the communications connection procedure setting up calling party 301 and recipient 302, by the LAN Information of calling party 301, forwards to recipient 302.
Recipient 302, for the LAN Information according to calling party 301, attempts being connected with calling party 301 in local area network (LAN); And after trial successful connection, transmit VoIP communicating data bag by local area network (LAN) to calling party 301.Wherein, calling party and recipient can be the panel computer, mobile phone, PC etc. that are provided with VoIP call software.
Preferably, when calling party 301 or recipient 302 are also for determining the speech quality of the speech quality of the communication link of local area network (LAN) lower than the communication link of wide area network, are switched to and transmit VoIP communicating data bag by wide area network to the other side.
Based on the VoIP communication system of the embodiment of the present invention two, the VoIP communication means based on local area network (LAN) that the embodiment of the present invention two provides, its schematic flow sheet as shown in fig. 4 a, comprises the following steps S401 to step S403:
Step S401: communication terminal is communicated to connect by exchange of speech server 303 and opposite end.
Particularly, communication terminal can be specifically above-mentioned calling party 301, also can be recipient 302.Wherein, when communication terminal is calling party 301, its opposite end is recipient 302; When communication terminal is recipient 302, its opposite end is calling party 301.
Step S402: communication terminal receives the LAN Information of opposite end by exchange of speech server 303.
Particularly, when communication terminal is recipient 302, LAN Information can be carried in the call request sent to exchange of speech server 303 by the opposite end (calling party 301) of communication terminal; When communication terminal is calling party 301, LAN Information can be carried on the ringing information that sends to exchange of speech server 303 or answer in information by the opposite end (recipient 302) of communication terminal.
Step S403: communication terminal, according to the LAN Information of opposite end, is attempted being connected with opposite end in local area network (LAN).
Particularly, when communication terminal is recipient 302, according to the LAN Information of the opposite end received (calling party 301), attempt being connected with opposite end (calling party 301), and determine whether both are arranged in same local area network (LAN) according to the whether successful result of connection.
In the same manner, when communication terminal is calling party 301, according to the LAN Information of the opposite end received (recipient 302), attempt being connected with opposite end, and determine whether both are arranged in same local area network (LAN) according to the whether successful result of connection.Wherein, the LAN Information of opposite end can comprise: LAN IP address, listening port and Token information.
Such as, communication terminal by ping order to attempt in local area network (LAN) can with opposite end successful ping, if success, then show that both are arranged in same local area network (LAN); Otherwise both are not arranged in same local area network (LAN).
Step S404: communication terminal, after trial successful connection, transmits VoIP communicating data bag by local area network (LAN) to opposite end.
More preferably, after communication terminal transmits VoIP communicating data bag by local area network (LAN) to opposite end, if determine the speech quality of the communication link of local area network (LAN), lower than the speech quality of the communication link of wide area network, be then switched to by wide area network to opposite end transmission VoIP communicating data bag.
Wherein, the agriculture products of speech quality and method, identical with above-described embodiment one, repeats no more herein.
Below by introducing calling party, mutual between recipient and exchange of speech server in detail, the VoIP communication means of the embodiment of the present invention two is described.Particularly, the schematic flow sheet of the VoIP communication means based on local area network (LAN) of the embodiment of the present invention two, as shown in Figure 4 b, comprises the steps that S411 is to step S417:
Step S411: calling party 301 sends call request to exchange of speech server 303.
Wherein, the communication terminal as calling party 301 by the LAN Information of this communication terminal, can be carried in call request and sends to exchange of speech server 303.
Step S412: exchange of speech server 303 is to recipient 302 forwarded call request.
Owing to carrying the LAN Information of calling party 301 in call request, therefore during forwarded call request, also the LAN Information of calling party is forwarded simultaneously.
Step S413: recipient 302 sends to exchange of speech server 303 and answers information.
In this step, when the call request of calling party 301 agreed to by the communication terminal as recipient 302, send to exchange of speech server 303 and answer information.
Step S414: exchange of speech server 303 sets up the communication connection of calling party 301 and the side of answering 302.
In this step, what exchange of speech server 303 received that recipient 302 sends answers information, and set up the communication connection of calling party 301 and recipient 302, that is, calling party 301 and recipient 302 connect and converse.
Step S415: recipient 302 sends local area network (LAN) bind command to calling party 301, attempts connecting.
In this step, the LAN Information of the calling party 301 that recipient 302 sends according to exchange of speech server sends local area network (LAN) bind command, as ping order, attempts connecting.
In fact, there is not strict execution sequence between above-mentioned steps S415 and step S413, that is, recipient 302 attempt connect calling party 301, can recipient 302 send answer information before, carry out afterwards or simultaneously.
Step S416: calling party 301 sends successful connection information to recipient 302.
In this step, if calling party 301 and recipient 302 are in same local area network (LAN), then calling party 301 sends successful connection information to recipient 302; Otherwise calling party 301 does not send successful connection information to recipient 302.
Step S417: calling party 301 and recipient 302 are based on local network transport VoIP communicating data bag.
In this step, calling party 301 and recipient 302 are by both residing local network transport VoIP communicating data bags.Such as, calling party 301 and recipient 302 are connected in same wifi (Wireless Fidelity), then transmit VoIP communicating data bag by wifi, call speed and the rapid-result positive correlation of wifi network.
The internal structure block diagram of the communication terminal (calling party 301 or recipient 302) that the embodiment of the present invention two provides, as shown in Figure 7, comprising: communication connection module 701, local area network (LAN) link block 702 and local speech communication module 703.
Communication connection module 701 is for communicating to connect by the opposite end of exchange of speech server 303 with this communication terminal.
Local area network (LAN) link block 702, for being received the LAN Information of opposite end by exchange of speech server 303, according to the LAN Information received, attempts being connected with opposite end in local area network (LAN); And after trial successful connection, send local speech communication notice to local area network (LAN) call module 702.
Local area network (LAN) call module 703 carries out with opposite end being connected to transmit VoIP communicating data bag after notifying for the local area network (LAN) call receiving local area network (LAN) link block 702 transmission in local area network (LAN).
The internal structure block diagram of the exchange of speech server 303 that the embodiment of the present invention two provides, as shown in Figure 8, comprising: module 801 and local area network (LAN) information forwarding module 802 are set up in communication connection.
Communication connection sets up module 801 for setting up the communication connection of calling party 301 and recipient 302.
LAN Information forwarding module 802 is for forwarding the LAN Information of the calling party received 301 to recipient 302.Or LAN Information forwarding module 802 is for forwarding the LAN Information of the recipient received 302 to calling party 301.
In the technical scheme of the embodiment of the present invention two, the LAN Information of calling party, in the communications connection procedure setting up calling party and recipient, forwards to recipient by exchange of speech server; Recipient, according to the LAN Information of described calling party, attempts being connected with calling party in local area network (LAN); Recipient, after trial successful connection, transmits VoIP communicating data bag by local area network (LAN) to described calling party.Because the transmission rate of local area network (LAN) is fast, and high safety, thus solve in existing technology and transmit the not high problem of speech quality that VoIP communicating data bag causes in the wide area network by server, and then improve the experience of user.
Those skilled in the art of the present technique are appreciated that the one or more equipment that the present invention includes and relate to for performing in operation described in the application.These equipment for required object and specialized designs and manufacture, or also can comprise the known device in all-purpose computer.These equipment have storage computer program within it, and these computer programs optionally activate or reconstruct.Such computer program can be stored in equipment (such as, computer) in computer-readable recording medium or be stored in and be suitable for store electrons instruction and be coupled in the medium of any type of bus respectively, described computer-readable medium includes but not limited to that the dish of any type (comprises floppy disk, hard disk, CD, CD-ROM, and magneto optical disk), ROM (Read-Only Memory, read-only memory), RAM (Random Access Memory, memory immediately), EPROM (Erasable Programmable Read-Only Memory, Erarable Programmable Read only Memory), EEPROM (Electrically Erasable ProgrammableRead-Only Memory, EEPROM (Electrically Erasable Programmable Read Only Memo)), flash memory, magnetic card or light card.Namely, computer-readable recording medium comprises and being stored or any medium of transmission information with the form that can read by equipment (such as, computer).
Those skilled in the art of the present technique are appreciated that the combination that can realize the frame in each frame in these structure charts and/or block diagram and/or flow graph and these structure charts and/or block diagram and/or flow graph with computer program instructions.Those skilled in the art of the present technique are appreciated that, the processor that these computer program instructions can be supplied to all-purpose computer, special purpose computer or other programmable data processing methods realizes, thus is performed the scheme of specifying in the frame of structure chart disclosed by the invention and/or block diagram and/or flow graph or multiple frame by the processor of computer or other programmable data processing methods.
Those skilled in the art of the present technique are appreciated that various operations, method, the step in flow process, measure, the scheme discussed in the present invention can be replaced, changes, combines or delete.Further, there is various operations, method, other steps in flow process, measure, the scheme discussed in the present invention also can be replaced, change, reset, decompose, combine or delete.Further, of the prior art have also can be replaced with the step in operation various disclosed in the present invention, method, flow process, measure, scheme, changed, reset, decomposed, combined or deleted.
The above is only some embodiments of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (10)

1., based on a VoIP communication means for local area network (LAN), it is characterized in that, comprising:
Exchange of speech server, in the communications connection procedure of calling party and recipient, judges whether described calling party and described recipient are arranged in same local area network (LAN);
If so, the announcement information of local area network communication is then sent to described calling party and described recipient;
Wherein, described announcement information is used to indicate described calling party and/or described recipient transmits VoIP communicating data bag by local area network (LAN) to the other side.
2. method according to claim 1, is characterized in that, passes through described local area network (LAN) after opposite end transmission VoIP communicating data bag, also comprise described:
Described calling party or described recipient determine the speech quality of the communication link of described local area network (LAN), during speech quality lower than the communication link of wide area network, are switched to described wide area network and transmit VoIP communicating data bag to the other side.
3., based on a VoIP communication means for local area network (LAN), it is characterized in that, comprising:
Communication terminal is communicated to connect by exchange of speech server and opposite end;
Described communication terminal sends the LAN Information of this communication terminal to described exchange of speech server, so that described exchange of speech server judges whether described communication terminal and opposite end are arranged in same local area network (LAN);
According to the announcement information of the local area network communication that described exchange of speech server sends, based on local area network (LAN) to opposite end transmission VoIP communicating data bag;
Wherein, the announcement information of described local area network communication is, described interactive voice server, in the communications connection procedure of described communication terminal and opposite end, after judging that described communication terminal and opposite end are arranged in same local area network (LAN), sends to described communication terminal and/or opposite end.
4., based on a VoIP communication means for local area network (LAN), it is characterized in that, comprising:
Communication terminal is communicated to connect by exchange of speech server and opposite end;
Described communication terminal receives the LAN Information of described opposite end by described exchange of speech server;
According to the LAN Information of described opposite end, attempt being connected with described opposite end in local area network (LAN);
After trial successful connection, by described local area network (LAN) to described opposite end transmission VoIP communicating data bag.
5. based on a VoIP communication system for local area network (LAN), it is characterized in that, comprising: exchange of speech server, calling party and recipient; Wherein,
Described exchange of speech server, in the communications connection procedure of described calling party and described recipient, judges whether described calling party and described recipient are arranged in same local area network (LAN); If judge it is then send the announcement information of local area network communication to described calling party and/or described recipient;
After described calling party or described recipient are used for receiving described announcement information, transmit VoIP communicating data bag by described local area network (LAN) to the other side.
6. based on a VoIP communication system for local area network (LAN), it is characterized in that, comprising: exchange of speech server, calling party and recipient; Wherein,
Described exchange of speech server, in the communications connection procedure of described calling party and described recipient, by the LAN Information of described calling party, forwards to described recipient;
Described recipient is used for the LAN Information according to described calling party, attempts being connected with described calling party in local area network (LAN); And after trial successful connection, by described local area network (LAN) to described calling party transmission VoIP communicating data bag.
7. a communication terminal, is characterized in that, comprising:
Communication connection module, for communicating to connect by the opposite end of exchange of speech server and this communication terminal; And send the LAN Information of this communication terminal to described exchange of speech server, so that described exchange of speech server judges whether this communication terminal and described opposite end are arranged in same local area network (LAN);
Local area network (LAN) call module, for the announcement information of the local area network communication according to described exchange of speech server transmission, based on local area network (LAN) to described opposite end transmission VoIP communicating data bag.
8. a communication terminal, is characterized in that, comprising:
Communication connection module, for communicating to connect by the opposite end of exchange of speech server and this communication terminal;
Local area network (LAN) link block, for being received the LAN Information of described opposite end by described exchange of speech server, according to the LAN Information received, attempts being connected with described opposite end in local area network (LAN); And after trial successful connection, send local speech communication notice;
Local area network (LAN) call module, after receiving described local area network (LAN) call notice, carries out with described opposite end being connected to transmit VoIP communicating data bag in local area network (LAN).
9. an exchange of speech server, is characterized in that, comprising:
Communication connection sets up module, for setting up the communication connection of calling party and recipient;
Network judge module, for judging whether described calling party and described recipient are arranged in same local area network (LAN); If so, the announcement information of local area network communication is then sent to described calling party and described recipient.
10. an exchange of speech server, is characterized in that, comprising:
Communication connection sets up module, for setting up the communication connection of calling party and recipient;
LAN Information forwarding module, for forwarding the LAN Information of the described calling party received to described recipient.
CN201410800134.1A 2014-12-18 2014-12-18 LAN (local area network) based VoIP (Voice over Internet Protocol) communication method, system and communication terminal Pending CN104410648A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410800134.1A CN104410648A (en) 2014-12-18 2014-12-18 LAN (local area network) based VoIP (Voice over Internet Protocol) communication method, system and communication terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410800134.1A CN104410648A (en) 2014-12-18 2014-12-18 LAN (local area network) based VoIP (Voice over Internet Protocol) communication method, system and communication terminal

Publications (1)

Publication Number Publication Date
CN104410648A true CN104410648A (en) 2015-03-11

Family

ID=52648246

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410800134.1A Pending CN104410648A (en) 2014-12-18 2014-12-18 LAN (local area network) based VoIP (Voice over Internet Protocol) communication method, system and communication terminal

Country Status (1)

Country Link
CN (1) CN104410648A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105847505A (en) * 2016-04-15 2016-08-10 乐视控股(北京)有限公司 Method and device for switching telephone calling method
CN105959906A (en) * 2016-04-25 2016-09-21 上海海漾软件技术有限公司 Inter-network device communication method and inter-network device communication method
CN107646202A (en) * 2015-06-02 2018-01-30 瑞典爱立信有限公司 Communicator and method therein for the switching in cordless communication network
CN107646201A (en) * 2015-06-02 2018-01-30 瑞典爱立信有限公司 Network node and method therein for the switching in cordless communication network
CN109194754A (en) * 2018-09-11 2019-01-11 深圳市比特跳动技术有限公司 Equipment searching method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020085516A1 (en) * 2000-12-28 2002-07-04 Symbol Technologies, Inc. Automatic and seamless vertical roaming between wireless local area network (WLAN) and wireless wide area network (WWAN) while maintaining an active voice or streaming data connection: systems, methods and program products
CN1549634A (en) * 2003-05-09 2004-11-24 �ʼҷ����ֵ��ӹɷ����޹�˾ System and method for seamless roaming between radio wide area net and radio local area net
CN1964480A (en) * 2005-11-10 2007-05-16 华为技术有限公司 A method for switching stream media server
CN101035159A (en) * 2007-02-12 2007-09-12 中国移动通信集团浙江有限公司 Dialed monitoring system for the troubleshooting of the communication network and its monitoring method
CN101110868A (en) * 2007-07-27 2008-01-23 腾讯科技(深圳)有限公司 Method and system for multi-person voice communication based on PC and telephony
CN101179600A (en) * 2007-12-12 2008-05-14 腾讯科技(深圳)有限公司 Network protocol voice communication method, system and server

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020085516A1 (en) * 2000-12-28 2002-07-04 Symbol Technologies, Inc. Automatic and seamless vertical roaming between wireless local area network (WLAN) and wireless wide area network (WWAN) while maintaining an active voice or streaming data connection: systems, methods and program products
CN1606891A (en) * 2000-12-28 2005-04-13 讯宝科技公司 Automatic seamless vertical roaming between WLANs and WWANs
CN1549634A (en) * 2003-05-09 2004-11-24 �ʼҷ����ֵ��ӹɷ����޹�˾ System and method for seamless roaming between radio wide area net and radio local area net
CN1784864A (en) * 2003-05-09 2006-06-07 皇家飞利浦电子股份有限公司 System and methods for seamlessly roaming between wireless wide area network and wireless local area network
CN1964480A (en) * 2005-11-10 2007-05-16 华为技术有限公司 A method for switching stream media server
CN101035159A (en) * 2007-02-12 2007-09-12 中国移动通信集团浙江有限公司 Dialed monitoring system for the troubleshooting of the communication network and its monitoring method
CN101110868A (en) * 2007-07-27 2008-01-23 腾讯科技(深圳)有限公司 Method and system for multi-person voice communication based on PC and telephony
CN101179600A (en) * 2007-12-12 2008-05-14 腾讯科技(深圳)有限公司 Network protocol voice communication method, system and server

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107646202A (en) * 2015-06-02 2018-01-30 瑞典爱立信有限公司 Communicator and method therein for the switching in cordless communication network
CN107646201A (en) * 2015-06-02 2018-01-30 瑞典爱立信有限公司 Network node and method therein for the switching in cordless communication network
US10575227B2 (en) 2015-06-02 2020-02-25 Telefonaktiebolaget Lm Ericsson (Publ) Network node and method therein for handover in wireless communication network
CN105847505A (en) * 2016-04-15 2016-08-10 乐视控股(北京)有限公司 Method and device for switching telephone calling method
CN105959906A (en) * 2016-04-25 2016-09-21 上海海漾软件技术有限公司 Inter-network device communication method and inter-network device communication method
CN105959906B (en) * 2016-04-25 2020-03-24 上海海漾软件技术有限公司 Network equipment communication method and device and network equipment communication method and device
CN109194754A (en) * 2018-09-11 2019-01-11 深圳市比特跳动技术有限公司 Equipment searching method and device

Similar Documents

Publication Publication Date Title
CN101155389B (en) Method and device for processing call collision
CN104410648A (en) LAN (local area network) based VoIP (Voice over Internet Protocol) communication method, system and communication terminal
US10397341B2 (en) Method and apparatus for migrating active communication session between terminals
US10182158B2 (en) Voice gateway-based communication method
US9736299B2 (en) Method, apparatus and application server for associating one-number two-terminal call
AU2013269061B2 (en) Short-range wireless communication device
CN104410553A (en) Communication mode adjusting method and device based on network status monitoring as well as terminal and server
CN105827264B (en) A kind of vehicle-mounted more amusement equipment bluetooth switching method, amusement equipment and systems
WO2019011076A1 (en) Data processing method, apparatus, device, and computer-readable storage medium
CN105873241A (en) Method and device for establishing talking connection
CN102111728B (en) Network connection management module and method of mobile terminal
CN101771769B (en) Method, device and system for call control
CN102355713B (en) Method of calling in voice communication and mobile terminal
CN102572613A (en) Digital intercom system and method based on wireless internet
CN113014544B (en) Method and device for establishing centerless media link based on webRtc
JP5110915B2 (en) Wireless IP telephone and wireless IP telephone system
KR100367590B1 (en) Information display apparatus and method
US20100220655A1 (en) Method and a mobile phone terminal enabling to merge telephony services over heterogeneous networks
CN109818963B (en) Auxiliary stream sharing method applied to telephone
JP3957537B2 (en) Data communication system and method, server
CN101702820A (en) Method of wireless PPPoE handshake message answer and equipment thereof
CN108076013B (en) Multi-channel terminal multi-party call method and device
CN104378390A (en) VoIP (voice over internet protocol) communication method, VoIP communication method, terminal and server based on channel
JP2003283567A (en) Data communication system and method, server device, client device, repeater, and program
US20110274033A1 (en) Using Secondary Channel to Activate Primary Channel for Data, Video, and Voice Communication

Legal Events

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

Application publication date: 20150311