WO2017028567A1 - Internet telephone connection processing method and device - Google Patents

Internet telephone connection processing method and device Download PDF

Info

Publication number
WO2017028567A1
WO2017028567A1 PCT/CN2016/082343 CN2016082343W WO2017028567A1 WO 2017028567 A1 WO2017028567 A1 WO 2017028567A1 CN 2016082343 W CN2016082343 W CN 2016082343W WO 2017028567 A1 WO2017028567 A1 WO 2017028567A1
Authority
WO
WIPO (PCT)
Prior art keywords
called terminal
data network
call
terminal
called
Prior art date
Application number
PCT/CN2016/082343
Other languages
French (fr)
Chinese (zh)
Inventor
陈璐
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017028567A1 publication Critical patent/WO2017028567A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers

Definitions

  • the present application relates to, but is not limited to, the field of communications, and in particular, to a network telephone connection processing method and apparatus.
  • Internet telephony has a natural advantage: basically all VoIP phones are encrypted and transmitted, and their confidentiality is superior to that of ordinary circuit domain phones.
  • the protocol does not specify a connection method of the network telephone, and the instant connection of the network telephone can be realized or the user's mobile terminal needs to always connect to the data network or modify the implementation of the protocol stack.
  • China Mobile has promoted a network phone instant connection solution applied on the LTE (Long Term Evolution) network, which is to modify the protocol stack. Only the mobile phone supporting the protocol can realize the instant connection of the network phone.
  • LTE Long Term Evolution
  • the China Mobile solution can only be used on new mobile phones that support the modified protocol in the future, and cannot be applied to the existing 3G and 4G smart phones that users already have, and cannot be intercommunicated with Telecom and China Unicom.
  • the range is small.
  • the embodiment of the invention provides a method and a device for processing a network telephone connection, so as to solve at least the problem that the related party cannot use the network telephone to dial the called party at any time as in the ordinary circuit domain telephone.
  • a network telephone connection processing method including:
  • the call request message is sent to the called terminal through the data network.
  • indicating that the called terminal is connected to the data network comprises: calling the called terminal through a circuit domain to indicate that the called terminal is connected to the data network.
  • the method further includes: sending a call failure message to the calling terminal if the called terminal fails to call through the circuit domain .
  • the method further includes: sending, to the calling terminal, a failure to determine that the called terminal is connected to the data network Call failure message.
  • determining that the called terminal successfully connects to the data network comprises: determining that the called terminal is successfully connected to the location when receiving the successful connection message sent by the called terminal The data network, wherein the successful connection message is used to indicate that the called terminal successfully connects to the data network.
  • the method further includes: if the called terminal receives the call request message, establishing the The calling terminal is connected to the network telephone of the called terminal; or, when the called terminal rejects the call request message, sends a call failure message to the calling terminal.
  • determining that the called terminal is not currently connected to the data network comprises: determining that the called terminal is currently in an offline state on a server.
  • another network telephone connection processing method including:
  • the called terminal When the called terminal is successfully connected to the data network, the called terminal sends a second indication message to the server, where the second indication message is used to indicate that the called terminal is successfully connected.
  • the server To the data network;
  • the called terminal receives a call request message sent by the calling terminal by the server, where the call request message is used to request to call the called terminal on the data network.
  • the receiving, by the called terminal, the first indication message sent by the server when not connected to the data network includes: the called terminal receiving the first indication message sent by the server by using a circuit domain, The first indication message is generated by the server by calling the called terminal through the circuit domain.
  • the method further includes When the called terminal determines that the phone number carried in the first indication message is the phone number of the server, the called terminal sends a connection request message to the data network, and receives the And a connection response message sent by the data network to indicate that the called terminal successfully connects to the data network.
  • a network telephone connection processing apparatus which is applied to a server, and includes:
  • a receiving module configured to: receive a call request message sent by the calling terminal, where the call The request message is used to request to call the called terminal on the data network;
  • a determining module configured to: determine that the called terminal is not currently connected to the data network, and instruct the called terminal to connect to the data network;
  • the judging module is configured to: when it is determined that the called terminal successfully connects to the data network, send the call request message to the called terminal through the data network.
  • the determining module is configured to: call the called terminal by using a circuit domain to indicate that the called terminal is connected to the data network.
  • the device further includes: a first sending module, configured to: when the called terminal fails to call through the circuit domain, send a call failure message to the calling terminal.
  • a first sending module configured to: when the called terminal fails to call through the circuit domain, send a call failure message to the calling terminal.
  • the device further includes: a second sending module, configured to: when it is determined that the called terminal fails to connect to the data network, send a call failure message to the calling terminal.
  • a second sending module configured to: when it is determined that the called terminal fails to connect to the data network, send a call failure message to the calling terminal.
  • the determining module is configured to: when receiving the successful connection message sent by the called terminal, determine that the called terminal successfully connects to the data network, where the successful connection The message is used to indicate that the called terminal successfully connects to the data network.
  • the device further includes: an establishing module, configured to: when the called terminal receives the call request message, establish a network telephone connection between the calling terminal and the called terminal; or
  • the third sending module is configured to: when the called terminal rejects the call request message, send a call failure message to the calling terminal.
  • the determining module is configured to determine that the called terminal is not currently connected to the data network by determining that the called terminal is currently in an offline state on the server.
  • a network telephone connection processing apparatus which is applied to a called terminal, and includes:
  • the first receiving module is configured to: receive the first indication message sent by the server if not connected to the data network, where the first indication message is used to indicate that the called terminal is connected to the data network;
  • a first sending module configured to: send a second indication message to the server, where the called terminal is successfully connected to the data network, where the second indication message is used to indicate the called The terminal successfully connects to the data network;
  • the second receiving module is configured to: receive a call request message sent by the calling terminal and forwarded by the calling terminal, where the call request message is used to request to call the called terminal on the data network.
  • the first receiving module is configured to: receive the first indication message that is sent by the server by using a circuit domain, where the first indication message is sent by the server through the circuit domain The called terminal is generated.
  • the device further includes: a second sending module, configured to: when the called terminal determines that the phone number carried in the first indication message is a phone number of the server, The data network sends a connection request message, and receives a connection response message sent by the data network to indicate that the called terminal successfully connects to the data network.
  • a second sending module configured to: when the called terminal determines that the phone number carried in the first indication message is a phone number of the server, The data network sends a connection request message, and receives a connection response message sent by the data network to indicate that the called terminal successfully connects to the data network.
  • the embodiment of the invention further provides a computer readable storage medium storing computer executable instructions, which implement a network telephone connection processing method applied to a server when the computer executable instructions are executed.
  • the embodiment of the invention further provides a computer readable storage medium storing computer executable instructions, which are implemented to implement a network telephone connection processing method applied to a called terminal.
  • the call request message sent by the calling terminal is received, where the call request message is used to request to call the called terminal on the data network; determining that the called terminal is not currently connected to the data network, and indicating that the called terminal is The terminal is connected to the data network; in the case that it is determined that the called terminal successfully connects to the data network, the call request message is sent to the called terminal through the data network.
  • the problem that the related party cannot use the VoIP phone to dial the called party at any time like the ordinary circuit domain telephone is solved, so that the called terminal does not need to be connected to the data network all the time, and can also be called like a normal circuit domain telephone at any time. Dial the called terminal.
  • FIG. 1 is a schematic diagram of an application scenario of a method for processing a network telephone connection according to an embodiment of the present invention
  • FIG. 2 is a flowchart (1) of a method for processing a network telephone connection according to an embodiment of the present invention
  • FIG. 3 is a structural block diagram (1) of a network telephone connection processing apparatus according to an embodiment of the present invention.
  • FIG. 4 is a structural block diagram (2) of a network telephone connection processing apparatus according to an embodiment of the present invention.
  • FIG. 5 is a structural block diagram (3) of a network telephone connection processing apparatus according to an embodiment of the present invention.
  • FIG. 6 is a structural block diagram (4) of a network telephone connection processing apparatus according to an embodiment of the present invention.
  • FIG. 7 is a flowchart (2) of a method for processing a network telephone connection according to an embodiment of the present invention.
  • FIG. 8 is a structural block diagram (5) of a network telephone connection processing apparatus according to an embodiment of the present invention.
  • FIG. 9 is a structural block diagram (6) of a network telephone connection processing apparatus according to an embodiment of the present invention.
  • FIG. 10 is a schematic flowchart diagram of a network telephone connection method according to an embodiment of the present invention.
  • FIG. 11 is a schematic flowchart of a case where a called party is not connected to a data network when a network telephone establishes a connection according to an embodiment of the present invention
  • FIG. 12 is a schematic diagram of a process when a called party has connected to a data network when a network telephone establishes a connection according to an embodiment of the present invention
  • FIG. 13 is a flow chart showing when a called party is not connected to a data network and cannot receive a call from a circuit domain when a network telephone establishes a connection according to an embodiment of the present invention
  • FIG. 15 is a flow chart of information interaction between a calling party, a called party, and a server after the called party connects to the data network according to an embodiment of the present invention.
  • FIG. 1 is a schematic diagram of an application scenario of a method for processing a network telephone connection according to an embodiment of the present invention. As shown in FIG. 1, the calling terminal and the called terminal can perform a network telephone connection through a network server.
  • FIG. 2 is a flowchart (1) of a network telephone connection processing method according to an embodiment of the present invention. As shown in FIG. 2, the method includes the following steps:
  • Step S202 receiving a call request message sent by the calling terminal, where the call request message is used to request to call the called terminal on the data network;
  • Step S204 determining that the called terminal is not currently connected to the data network, and instructing the called terminal to connect to the data network;
  • Step S206 in the case that it is determined that the called terminal successfully connects to the data network, the call request message is sent to the called terminal through the data network.
  • the called terminal in the case that it is determined that the called terminal is not currently connected to the data network, the called user is instructed to connect to the data network, and a call request message for requesting to call the called terminal on the data network is sent to the data network through the data network.
  • the called terminal in the related art, requires the called terminal to be connected to the data network all the time to call the called terminal through the data network.
  • the above steps solve the problem that the related technology cannot be dialed at any time like the ordinary circuit domain telephone.
  • the called party's problem does not require the called terminal to be connected to the data network all the time, and can call the called terminal at any time, just like a normal circuit domain telephone.
  • the embodiment does not limit the manner in which the called terminal implements the data network connection.
  • the called terminal may perform network connection through the cellular mobile network, or perform network through a wireless local area network (WLAN). connection.
  • WLAN wireless local area network
  • step S204 involves instructing the called terminal to connect to the data network.
  • the called terminal can be connected to the data network in various manners, which will be exemplified below.
  • the called terminal is called through the circuit domain to indicate that the called terminal is connected to the data network.
  • a call failure message is sent to the calling terminal to indicate The calling terminal, the currently called terminal has not been connected to the data network, and the calling terminal cannot call the called terminal through the data network.
  • the indication information indicating the reason for the failure of the called terminal to be called may be carried, wherein the reason indicated by the indication information includes but is not limited to at least one of the following: the called terminal is in arrears, called The terminal is shut down, the called terminal is not in the service area, and the calling terminal dials an empty number.
  • a call failure message is sent to the calling terminal to indicate that the calling terminal is The called terminal cannot connect to the data network, and the calling terminal cannot call the called terminal through the data network.
  • the indication information indicating the reason for the failure of the called terminal to be terminated may be included in the call failure message, where the reason indicated by the indication information includes, but is not limited to, at least one of the following: the timeout cannot be connected to the called party, The called terminal initiates call forwarding.
  • step S206 it is determined that the called terminal is successfully connected to the data network. It should be noted that the called terminal can be successfully connected to the data network in various manners, which will be exemplified below. In an optional embodiment, when the successful connection message sent by the called terminal is received, it is determined that the called terminal successfully connects to the data network, where the successful connection message is used to indicate that the called terminal successfully connects to the data. The internet.
  • the call request message is sent over the data network to the called terminal
  • a network telephone connection between the calling terminal and the called terminal is established.
  • a call failure message is sent to the calling terminal.
  • the indication information indicating the reason for the failure of the called terminal to be terminated may be carried in the call failure message, where the reason indicated by the indication information includes but is not limited to at least one of the following: the called terminal refuses to connect to the calling party. Call from the terminal.
  • the reason for the various call failures is to bring the user a seamless experience like a regular circuit domain phone.
  • MSC Mobile Switching Center
  • the normal circuit area phone uses different sound boards to play sounds according to the reason of the call failure. For example, in the related art, "Hello, the user you dialed is on a call, please dial later" and so on.
  • the calling party terminal can be displayed to the user on the interface, and on the other hand, the recording can be played on the terminal side: "Hello, the user you dialed is in a call. , please dial later" and other custom voice prompts. This brings the feeling closer to the ordinary circuit domain In other words, it is better than the current VOIP (Voice over Internet Protocol) to display the prompt "call failure".
  • VOIP Voice over Internet Protocol
  • step S204 it is determined that the called terminal is not currently connected to the data network. In an optional embodiment, by determining that the called terminal is currently offline on the server, it is determined that the called terminal is not currently connected to the data network.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present application which is essential or contributes to the related art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD-ROM).
  • the instructions include a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present application.
  • the embodiment also provides a network telephone connection processing device, which is used to implement the above-mentioned embodiments and optional embodiments, and has not been described again.
  • the term "module” as used below may implement a combination of software and/or hardware of a predetermined function.
  • the devices described in the following embodiments are optionally implemented in software, hardware or an implementation of a combination of software and hardware is also possible and contemplated.
  • FIG. 3 is a structural block diagram (1) of a network telephone connection processing apparatus according to an embodiment of the present invention, applied to a server, as shown in FIG. 3, the apparatus includes:
  • the receiving module 32 is configured to: receive a call request message sent by the calling terminal, where the call request message is used to request to call the called terminal on the data network;
  • the determining module 34 is configured to: determine that the called terminal is not currently connected to the data network, and indicate that the called terminal is connected to the data network;
  • the determining module 36 is configured to: when it is determined that the called terminal successfully connects to the data network, send the call request message to the called terminal through the data network.
  • the determining module 34 is configured to: call the called terminal through the circuit domain to indicate that the called terminal is connected to the data network.
  • FIG. 4 is a structural block diagram (2) of a network telephone connection processing apparatus according to an embodiment of the present invention, As shown in FIG. 4, the apparatus further includes: a first sending module 42 configured to: when the called terminal fails to call through the circuit domain, send a call failure message to the calling terminal.
  • a first sending module 42 configured to: when the called terminal fails to call through the circuit domain, send a call failure message to the calling terminal.
  • FIG. 5 is a structural block diagram (3) of a network telephone connection processing apparatus according to an embodiment of the present invention. As shown in FIG. 5, the apparatus further includes: a second sending module 44, configured to: determine that the called terminal is connected to the data In the case of a network failure, a call failure message is sent to the calling terminal.
  • a second sending module 44 configured to: determine that the called terminal is connected to the data In the case of a network failure, a call failure message is sent to the calling terminal.
  • the determining module 36 is configured to: when receiving the successful connection message sent by the called terminal, determine that the called terminal successfully connects to the data network, where the successful connection message is used to indicate that the The terminal is successfully connected to the data network.
  • FIG. 6 is a structural block diagram (4) of a network telephone connection processing apparatus according to an embodiment of the present invention. As shown in FIG. 6, the apparatus further includes:
  • the establishing module 62 is configured to: when the called terminal receives the call request message, establish a network telephone connection between the calling terminal and the called terminal; or
  • the third sending module 64 is configured to: when the called terminal rejects the call request message, send a call failure message to the calling terminal.
  • the determining module 34 is configured to determine that the called terminal is not currently connected to the data network by determining that the called terminal is currently in an offline state on the server.
  • modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are respectively located in multiple processes. In the device.
  • FIG. 7 is a flowchart (2) of a method for processing a network telephone connection according to an embodiment of the present invention. As shown in FIG. 7, the method includes the following steps. :
  • Step S702 the called terminal receives the first indication message sent by the server, if the terminal is not connected to the data network, where the first indication message is used to indicate that the called terminal is connected to the data network;
  • Step S704 in the case that the called terminal is successfully connected to the data network, the called terminal sends a second indication message to the server, where the second indication message is used to indicate that the called terminal successfully connects to the data network;
  • Step S706 the called terminal receives a call request message sent by the calling terminal and forwarded by the calling terminal.
  • the call request message is used to request to call the called terminal on the data network.
  • the called terminal receives an indication message indicating that the called user is connected to the data network, and receives the request for calling the called party on the data network through the data network.
  • the call request message of the terminal so that the calling terminal establishes a call with the called terminal through the data network.
  • the called terminal needs to be connected to the data network all the time to call the called terminal through the data network, and the above steps are solved.
  • the problem of calling the called party at any time can be used as the ordinary circuit domain telephone, so that the called terminal does not need to be connected to the data network at all times, and can call the called party at any time like the ordinary circuit domain telephone. terminal.
  • the called terminal receives the first indication message sent by the server when not connected to the data network.
  • the called terminal receives the first indication message sent by the server through the circuit domain.
  • the first indication message is generated by the server calling the called terminal through the circuit domain.
  • the called terminal determines When the phone number carried in the first indication message is the phone number of the server, the called terminal sends a connection request message to the data network, and receives a message sent by the data network to indicate that the called terminal successfully connects to the data network. Connection response message.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present application which is essential or contributes to the related art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD-ROM).
  • the instructions include a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present application.
  • the embodiment also provides a network telephone connection processing device, which is used to implement the above-mentioned embodiments and optional embodiments, and has not been described again.
  • the term "module” as used below may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is optionally implemented in software, hardware or a combination of software and hardware is possible. Conceived.
  • FIG. 8 is a structural block diagram (5) of a network telephone connection processing apparatus according to an embodiment of the present invention, applied to a called terminal. As shown in FIG. 8, the apparatus includes:
  • the first receiving module 82 is configured to: receive the first indication message sent by the server when not connected to the data network, where the first indication message is used to indicate that the called terminal is connected to the data network;
  • the first sending module 84 is configured to: when the called terminal is successfully connected to the data network, send a second indication message to the server, where the second indication message is used to indicate that the called terminal successfully connects to the data The internet;
  • the second receiving module 86 is configured to: receive a call request message sent by the calling terminal and sent by the calling terminal, where the call request message is used to request to call the called terminal on the data network.
  • the first receiving module 82 is configured to: receive the first indication message sent by the server through the circuit domain, where the first indication message is generated by the server calling the called terminal by using the circuit domain.
  • FIG. 9 is a structural block diagram (6) of a network telephone connection processing apparatus according to an embodiment of the present invention.
  • the apparatus further includes: a second sending module 92, configured to: determine, at the called terminal, the first When the telephone number carried in the indication message is the telephone number of the server, a connection request message is sent to the data network, and a connection response message sent by the data network for indicating that the called terminal successfully connects to the data network is received.
  • modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are respectively located in multiple processes. In the device.
  • Embodiments of the present invention also provide a computer readable storage medium.
  • the computer readable storage medium may be configured to store program code for performing the following steps:
  • Step S1 Receive a call request message sent by the calling terminal, where the call request message is used to request to call the called terminal on the data network;
  • Step S2 determining that the called terminal is not currently connected to the data network, and indicating that the called terminal is connected to Data network
  • step S3 in the case that it is determined that the called terminal is successfully connected to the data network, the call request message is sent to the called terminal through the data network.
  • the computer readable storage medium is further arranged to store program code for performing the steps of:
  • step S4 the called terminal receives the first indication message sent by the server, where the first indication message is used to indicate that the called terminal is connected to the data network.
  • Step S5 in the case that the called terminal is successfully connected to the data network, the called terminal sends a second indication message to the server, where the second indication message is used to indicate that the called terminal successfully connects to the data network;
  • Step S6 The called terminal receives a call request message sent by the calling terminal forwarded by the server, where the call request message is used to request to call the called terminal on the data network.
  • the computer readable storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), and a mobile device.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • the processor performs the above step S1, step S2, and step S3 according to the stored program code in the computer readable storage medium.
  • the processor executes the above step S4, step S5 and step S6 according to the stored program code in the computer readable storage medium.
  • a connection mode of a network telephone is needed, which does not require the called party to be always connected to the data network, but can call the called party at any time like a normal circuit domain telephone.
  • Such a VoIP phone should be similar to a normal circuit domain phone in terms of delay in the process of connecting to the phone, so as to bring a good experience to the user.
  • the main purpose of the optional embodiment is to provide a network telephone connection method, which does not require the called party to be connected to the data network all the time, but can call the called party at any time like a normal circuit domain telephone; and use the method to implement Terminal.
  • A is the calling party
  • B is the called party
  • C is the VoIP server.
  • A initiates a request to C to call B:
  • C checks whether B is connected to the data network. If B is connected to the data network, C notifies B that there is a call from A, so B appears on the called interface and rings, and B can choose to answer or reject.
  • B can receive an incoming call from C, B can judge that this is a call from C according to the characteristics of the incoming call (the optional call feature is a specific caller number), and then automatically hang up the call. After that, B actively connects to the data network (for example, by connecting to WiFi), and the reply C is already online. Then C informs B that there is a call from A, so B appears the called interface and rings, and B can choose to answer or reject.
  • the optional call feature is a specific caller number
  • B cannot receive an incoming call from C in the circuit domain, C can know that the phone cannot be connected from the layer three message returned from the circuit domain. The reason, then C replies A for this reason can not connect B, this call failed.
  • the above process is similar to the called process on the circuit domain specified by the GSM (Global System for Mobile Communication) protocol, except that it utilizes the first half of the called process of the circuit domain (ie, the process before Alerting). Wake up the called party, and then the called party actively connects to the data network, and "switches" the second half of the called process (Alerting and the processes after it) to the data network.
  • GSM Global System for Mobile Communication
  • FIG. 10 is a schematic flowchart of a method for connecting a network telephone according to an embodiment of the present invention. As shown in FIG. 10, the method includes the following steps:
  • Step S1001 The calling party initiates a request to the network server, and requests to call the called party;
  • Step S1002 The network server dials the called party on the circuit domain, and the called party automatically hangs up the phone, and then actively connects to the data network and logs in to the network server;
  • Step S1003 The network server connects the calling party and the called party into one network call.
  • the network server performs step S1002 on the premise that the network server finds that the called party is not connected to the data network.
  • the optional decision method is that the network server determines whether the called party is online on the network server. That is: when the called party is online, the ordinary network telephone connection process is performed; The flow of this embodiment is performed when the called party is not online.
  • the premise that the called party performs step S1002 is that the called party judges that the circuit domain incoming call is a special incoming call.
  • the optional decision condition is a specific caller number.
  • the called party should log in to the network server immediately after connecting to the data network.
  • step S1003 after the network server connects the two parties into one network telephone, the called party will have an incoming call interface for the called user to answer or reject the incoming call.
  • the network server can learn from the layer 3 message returned by the circuit domain that the call cannot be obtained.
  • the reason for the connection is that the caller cannot answer the called party for this reason, and the call fails.
  • the network server dials the called party's call successfully, but for some reason (for example, the called party is set to not respond to the special call in step S1002, the called party is not connected to the data network for unknown reasons, etc.), after Within a certain period of time, the network server does not receive the reply from the called party, and the network server does not wait for the called party to log in (ie, timeout) for a period of time and then replies to the calling party because the timeout cannot reach the called party, this call failure.
  • the network server does not receive the reply from the called party, and the network server does not wait for the called party to log in (ie, timeout) for a period of time and then replies to the calling party because the timeout cannot reach the called party, this call failure.
  • the network telephone connection method will be described below with a more specific process diagram.
  • FIG. 11 is a flow chart showing a process in which a called party is not connected to a data network when a network telephone establishes a connection according to an embodiment of the present invention.
  • the premise of the flow shown in Figure 11 is that when the network phone establishes a connection, the called party is not connected to the data network, and only the circuit domain is connected, and the telephone from the circuit domain can be received.
  • the process includes the following steps:
  • Step S1101 The calling party initiates a request to the network server to request to call the called party.
  • Step S1102 The network server knows that the called party is not connected to the data network, and then calls the called party through the circuit domain to try to wake up the called party;
  • Step S1103 The called party receives a call from the circuit domain
  • Step S1104 The called party determines that the call is from the network server according to the characteristics of the incoming call (the optional call feature is a specific caller number), and then automatically hangs up the call;
  • Step S1105 The called party sends a connection request to the data network.
  • Step S1106 the called party connects to the data network successfully
  • Step S1107 The called party logs in and responds to the network server, and informs the network server that the data network has been successfully connected;
  • Step S1108 The network server notifies the called party that there is a call from the calling party;
  • Step S1109 The called party replies to the network server: the call has been confirmed, and the party has already ringed;
  • Step S1110 The network server replies to the calling party: the call has been confirmed, and the called party has ringed;
  • Step S1111 The called party replies to the network server: the party chooses to answer or reject the call;
  • Step S1112 The network server replies to the calling party: the called party selects to answer or reject the call. If the called party chooses to answer the call, the network server can help the calling party and the called party to communicate as a network call.
  • FIG. 12 is a schematic diagram of a process when a called party has connected to a data network when a network telephone establishes a connection according to an embodiment of the present invention.
  • the premise of the flow shown in Figure 12 is that when the network phone establishes a connection, the called party has connected to the data network and logged into the network server, so the server knows that the called party has connected to the data network.
  • the process includes the following steps:
  • Step S1201 The calling party initiates a request to the network server to request to call the called party.
  • Step S1202 The network server notifies the called party that there is a call from the calling party;
  • Step S1203 The called party replies to the network server: the call has been confirmed, and the party has already ringed;
  • Step S1204 The network server replies to the calling party: the call has been confirmed, and the called party has ringed;
  • Step S1205 The called party replies to the network server: the party chooses to answer or reject the call;
  • Step S1206 The network server replies to the calling party: the called party selects to answer or reject the call. If the called party chooses to answer the call, the network server can help the calling party and the called party to communicate as a network call.
  • FIG. 13 is a flow chart showing when a called party is not connected to a data network and cannot receive a call from a circuit domain when a network telephone establishes a connection according to an embodiment of the present invention.
  • the premise of the process shown in Figure 13 is that the called party does not connect to the data network when the network phone establishes a connection, and the called party cannot receive the circuit from the circuit for some reasons (for example: arrears, shutdown, out of service area, empty number, etc.) Domain phone. Or the network server dials the called party's call successfully, but for some reason (for example, the called party sets not to respond to the special call in step S1002, the called party is not connected to the data network for unknown reasons, etc.), After a certain period of time, the network server did not receive a reply from the called party, and the network server waited for a timeout.
  • reasons for example: arrears, shutdown, out of service area, empty number, etc.
  • the process includes the following steps:
  • Step S1301 The calling party initiates a request to the network server, and requests to call the called party;
  • Step S1302 The network server knows that the called party is not connected to the data network, and then dials a call to the called party through the circuit domain, and attempts to wake up the called party;
  • Step S1303 The circuit domain replies to the network server for some reason (for example: arrears, shutdown, out of service area, empty number, etc.), and the called party fails. Or the network server dials the called party's phone successfully, but for some reason, the network server does not receive the response from the called party within a certain period of time, and the network server waits for a timeout.
  • the network server dials the called party's phone successfully, but for some reason, the network server does not receive the response from the called party within a certain period of time, and the network server waits for a timeout.
  • Step S1304 The network server replies to the calling party, and the called party cannot be connected for some reason, and the call fails.
  • FIG. 14 is a flowchart of processing of a called party terminal network telephone connection according to an embodiment of the present invention. As shown in FIG. 14, the following is illustrated in chronological order:
  • the protocol stack of the called party terminal sends a Layer 3 message to the MSC on the one hand after sending a Layer 3 message Call Confirmed to the Mobile Switching Center (MSC). Alerting (meaning that the called party has ringed), and on the other hand sends a RING message to the MMI (Man Machine Interface), which informs the MMI that the incoming call interface should be displayed;
  • MSC Mobile Switching Center
  • the MMI After receiving the RING message, the MMI checks the characteristics of the incoming call and determines whether the call is from the server, that is, the feature call, according to the feature;
  • determining whether the phone number carried in the RING message is a specific caller number (for example, the specific caller number can be preset to 12345670000). If the phone number carried in the RING message is the specific caller number, it is determined that the phone number carried in the RING message is the phone number of the server, and the call is from the server; otherwise, it is determined that the phone number carried by the RING message is not the server. Phone number, the call is not from the server.
  • the phone number carried in the RING message is in a specific caller number segment (for example, the caller number segment is from 12345670000 to 12345679999), if the phone number carried in the RING message is in the above specific In the caller number segment, it is determined that the phone number carried by the RING message is the server's phone number, and the call is from the server; otherwise, it is determined that the phone number carried by the RING message is not the server's phone number, and the call is not from the server. .
  • a specific caller number segment for example, the caller number segment is from 12345670000 to 12345679999
  • the Layer 3 message and the AT command are well known to those skilled in the art, and thus will not be described again.
  • connection data network If the connection data network is successful, it interacts with the server to obtain information such as the caller number and displays the incoming call interface.
  • Step S1501 The called party logs in to the server with its own username and password (the optional username is the called party's phone number, and the optional password is the password set when the called party registers on the server);
  • Step S1502 The server confirms that the called party has successfully logged in
  • Step S1503 The server notifies the calling party that the called party is online
  • Step S1504 The server notifies the called party that there is a call from the calling party, and the calling party has The phone number, so the called party displays the incoming call interface, displays the phone number and the matching contact name to the user, and rings (and/or vibrates, depending on the user settings) to prompt the user;
  • Step S1505 The called party replies to the server: the call has been confirmed, and the party has ringed;
  • Step S1506 The server replies to the calling party: the call has been confirmed, and the called party has ringed;
  • step S1507 the called party replies to the server: the party chooses to answer the call, and has the called party network protocol (IP, Internet Protocol) address;
  • IP Internet Protocol
  • Step S1508 The server replies to the calling party: the called party selects to answer the call, and has the IP address of the called party;
  • Step S1509 The calling party replies to the server, confirms that the call is established, and the calling party IP address and the listening port number are included therein;
  • Step S1510 The server replies to the called party, confirms that the call is established, and includes the calling party IP address and the listening port number;
  • Step S1511 The called party does not pass through the server, but directly connects the IP address and the listening port number of the calling party. After the calling party checks the IP address of the called party, the two parties establish a connection and start a VOIP call.
  • the called party will retry a certain number of times within a certain time range. If it is not successful, the network call will be abandoned and the user will not see the incoming call prompt.
  • the called party can set the MMI to not further process the feature call.
  • the signaling in the interaction process on the data network, and the network call data are all encrypted transmission, that is, this is an encrypted phone;
  • the application created by the example is a pre-made application of the mobile phone, and is preset in the mobile phone when the mobile phone is shipped from the factory, and cannot be deleted;
  • the application created by this instance is given special permission, and the feature call can be intercepted under the MMI, so the user can not see the incoming call interface of the feature call;
  • the application created by this instance is given special permissions to actively connect or disconnect the data network
  • the server sends a text message with a verification code to the number for authentication, and binds the SIMI of the SIM (Subscriber Identity Module) card (International Mobile Subscriber). Identification Number, International Mobile Subscriber Identification Number);
  • FIG. 10 The flow of establishing a network call in this example is shown in FIG. 10, FIG. 11, and FIG. 12, and therefore will not be described again.
  • the waiting time from the caller to the server to answer the call confirmation is 60 seconds; if the call confirmation is not received within 60 seconds, the server is faulty and the call fails.
  • the server waits for 45 seconds from the success of dialing the circuit domain call to receive the called party's reply to the call confirmation. If the reply is not received within 45 seconds, the server should reply to the calling party, the called party fails, and the call fails.
  • the timeout period from the receipt of the feature call to the successful interaction with the server is 40 seconds. Once it times out, it will not be retried. If the network call is abandoned, the user will not get an incoming call prompt.
  • the waiting time for the called party to answer the answer or reject the call is 50 seconds; similarly, after receiving the server call confirmation, the calling party waits for the called party to answer or reject the call. The waiting time for the call is also 50 seconds. If there is no reply after the timeout, it is considered as rejection;
  • the called party After the called party rings, it needs to reply to the server within 50 seconds to answer or reject the call. If the user has not selected it for more than 50 seconds, it is regarded as the user's rejection.
  • the calling party can notify the server to cancel the call at any time during the above process, and the server will notify the called party to cancel the call.
  • a terminal that can make a network call to each other using the network connection method described herein may be a mobile phone in the related art.
  • the application created by this example does not have to be preset in the phone at the factory, or it can be installed as a third-party application on the mobile phone. It can still intercept feature calls and actively connect or disconnect the data network, but the user experience is slightly worse (users may Will see the feature call interface flashes and disappears).
  • the phone from the circuit domain will wake up the mobile phone, and if it is a feature call, it will trigger the aforementioned process of establishing a network telephone connection. Need to pay attention to: mobile phone Sue After waking up, it is possible to go to sleep again, which will affect the success rate of connecting to the data network. Therefore, the application created by this instance should prevent the phone from going to sleep again during the entire connection process until the end of the process.
  • the network telephone connection method has the same delay and the connection rate in the process of connecting the telephone, and the user experience is good; the user does not need to be connected to the data network all the time.
  • power saving installed on a smart machine in the form of a third-party application, can be used across different types of mobile phones, a large range of use.
  • modules or steps of the present application can be implemented by a general-purpose computing device, which can be centralized on a single computing device or distributed over a network of multiple computing devices. They may be implemented by program code executable by the computing device such that they may be stored in the storage device for execution by the computing device, for example, by the processor executing the program/instructions stored in the memory to perform their respective functions. And, in some cases, the steps shown or described may be performed in an order different than that herein, or they may be separately fabricated into one or more integrated circuit modules, or a plurality of modules or steps thereof may be fabricated Implemented as a single integrated circuit module. Thus, the application is not limited to any particular combination of hardware and software.
  • the embodiment of the invention provides a method and a device for processing a network telephone connection, which solves the problem that the related art cannot use the network telephone to dial the called party at any time like dialing a normal circuit domain telephone, thereby eliminating the need for the called terminal to always be connected to the data network. It can also call the called terminal at any time, just like a normal circuit domain phone.

Abstract

An Internet telephone connection processing method, comprising: receiving a call request message sent by a calling terminal, wherein the call request message is used to request to call a called terminal on a data network; if it is determined that the called terminal is currently not connected to the data network, instructing the called terminal to connect to the data network; and if it is determined that the called terminal is successfully connected to the data network, sending the call request message through the data network to the called terminal. The present invention addresses the problem in the related art in which a called terminal cannot be called through an Internet telephone anytime like an ordinary circuit-switched domain telephone, and therefore the called terminal does not need to connect to the data network all the time and can be called anytime like the ordinary circuit-switched domain telephone.

Description

网络电话连接处理方法及装置Network telephone connection processing method and device 技术领域Technical field
本申请涉及但不限于通信领域,尤其涉及一种网络电话连接处理方法及装置。The present application relates to, but is not limited to, the field of communications, and in particular, to a network telephone connection processing method and apparatus.
背景技术Background technique
在终端上,用户常常使用网络电话。在进入第四代移动通信技术(4G)时代以后,移动互联网的网速更快,流量资费更低,因此,用户在移动终端上使用网络电话更加频繁。On the terminal, users often use VoIP. After entering the fourth generation of mobile communication technology (4G) era, the mobile Internet has a faster network speed and lower traffic charges. Therefore, users use VoIP on mobile terminals more frequently.
网络电话有一个天生的优点,即:基本上所有的网络电话都是加密传输的,其保密性优于普通电路域电话。Internet telephony has a natural advantage: basically all VoIP phones are encrypted and transmitted, and their confidentiality is superior to that of ordinary circuit domain phones.
但是众所周知,网络电话存在一个较大缺点,即:必须保持被叫方一直连接着数据网络,才能保证随时呼通被叫方。However, as we all know, there is a big disadvantage in Internet telephony, that is, the called party must be kept connected to the data network to ensure that the called party is called at any time.
然而,出于省钱、省电等原因,大部分用户的移动终端平时仅保持电路域一直在线,并没有连接上数据网络。所以不能够像拨打普通电路域电话一样随时使用网络电话拨打被叫方,这一点造成网络电话使用上的不方便。However, for reasons of saving money, power saving, etc., most users' mobile terminals usually keep the circuit domain always online and are not connected to the data network. Therefore, it is not possible to use the VoIP phone to dial the called party at any time like dialing a normal circuit domain telephone, which causes inconvenience in using the VoIP phone.
相关技术中,协议并未规定网络电话的连接方法,要能实现网络电话即时连接要么用户的移动终端需要一直连接数据网络,要么修改协议栈的实现。最近中国移动在推广一种应用在LTE(Long Term Evolution,长期演进)网络上的网络电话即时连接方案,就是修改了协议栈,只有支持该协议的手机才能实现网络电话即时连接。In the related art, the protocol does not specify a connection method of the network telephone, and the instant connection of the network telephone can be realized or the user's mobile terminal needs to always connect to the data network or modify the implementation of the protocol stack. Recently, China Mobile has promoted a network phone instant connection solution applied on the LTE (Long Term Evolution) network, which is to modify the protocol stack. Only the mobile phone supporting the protocol can realize the instant connection of the network phone.
如果用户需要一直连接数据网络,就不能进入睡眠状态,否则就无法即时从睡眠中被唤醒,这样做很明显非常耗电,大大缩短了手机待机时间。If the user needs to connect to the data network all the time, he can't enter the sleep state, otherwise he will not be able to wake up from sleep immediately. This is obviously very power-consuming, which greatly shortens the standby time of the mobile phone.
而中国移动的方案,只能用在以后生产的支持该修改后的协议的新手机上,不能应用到用户已有的旧的3G、4G智能手机上,并且不能和电信、联通互通,可用的范围小。The China Mobile solution can only be used on new mobile phones that support the modified protocol in the future, and cannot be applied to the existing 3G and 4G smart phones that users already have, and cannot be intercommunicated with Telecom and China Unicom. The range is small.
针对相关技术中,不能像拨打普通电路域电话一样随时使用网络电话拨 打被叫方的问题,还未提出有效的解决方案。In the related art, it is not possible to dial a network phone at any time as if it were a normal circuit domain telephone. The problem of calling the called party has not yet proposed an effective solution.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明实施例提供了一种网络电话连接处理方法及装置,以至少解决相关技术中不能像拨打普通电路域电话一样随时使用网络电话拨打被叫方的问题。The embodiment of the invention provides a method and a device for processing a network telephone connection, so as to solve at least the problem that the related party cannot use the network telephone to dial the called party at any time as in the ordinary circuit domain telephone.
根据本发明实施例的一个方面,提供了一种网络电话连接处理方法,包括:According to an aspect of the embodiments of the present invention, a network telephone connection processing method is provided, including:
接收主叫终端发送的呼叫请求消息,其中,所述呼叫请求消息用于请求在数据网络上呼叫被叫终端;Receiving a call request message sent by the calling terminal, where the call request message is used to request to call the called terminal on the data network;
确定所述被叫终端当前未连接至所述数据网络,并指示所述被叫终端连接至所述数据网络;Determining that the called terminal is not currently connected to the data network, and instructing the called terminal to connect to the data network;
在判断出所述被叫终端成功连接至所述数据网络的情况下,通过所述数据网络将所述呼叫请求消息发送至所述被叫终端。In a case where it is determined that the called terminal successfully connects to the data network, the call request message is sent to the called terminal through the data network.
可选地,指示所述被叫终端连接至所述数据网络包括:通过电路域呼叫所述被叫终端,以指示所述被叫终端连接至所述数据网络。Optionally, indicating that the called terminal is connected to the data network comprises: calling the called terminal through a circuit domain to indicate that the called terminal is connected to the data network.
可选地,在指示所述被叫终端连接至所述数据网络之后,所述方法还包括:在通过电路域呼叫所述被叫终端失败的情况下,向所述主叫终端发送呼叫失败消息。Optionally, after indicating that the called terminal is connected to the data network, the method further includes: sending a call failure message to the calling terminal if the called terminal fails to call through the circuit domain .
可选地,在指示所述被叫终端连接至所述数据网络之后,所述方法还包括:在判断所述被叫终端连接至所述数据网络失败的情况下,向所述主叫终端发送呼叫失败消息。Optionally, after indicating that the called terminal is connected to the data network, the method further includes: sending, to the calling terminal, a failure to determine that the called terminal is connected to the data network Call failure message.
可选地,判断出所述被叫终端成功连接至所述数据网络的情况包括:在接收到所述被叫终端发送的成功连接消息的情况下,判断出所述被叫终端成功连接至所述数据网络,其中,所述成功连接消息用于指示所述被叫终端成功连接至所述数据网络。 Optionally, determining that the called terminal successfully connects to the data network comprises: determining that the called terminal is successfully connected to the location when receiving the successful connection message sent by the called terminal The data network, wherein the successful connection message is used to indicate that the called terminal successfully connects to the data network.
可选地,在通过所述数据网络将所述呼叫请求消息发送至所述被叫终端之后,所述方法还包括:在所述被叫终端接收所述呼叫请求消息的情况下,建立所述主叫终端与所述被叫终端的网络电话连接;或者,在所述被叫终端拒绝所述呼叫请求消息的情况下,向所述主叫终端发送呼叫失败消息。Optionally, after the call request message is sent to the called terminal by using the data network, the method further includes: if the called terminal receives the call request message, establishing the The calling terminal is connected to the network telephone of the called terminal; or, when the called terminal rejects the call request message, sends a call failure message to the calling terminal.
可选地,确定所述被叫终端当前未连接至所述数据网络包括:确定所述被叫终端当前在服务器上处于不在线状态。Optionally, determining that the called terminal is not currently connected to the data network comprises: determining that the called terminal is currently in an offline state on a server.
根据本发明实施例的另一个方面,还提供了另一种网络电话连接处理方法,包括:According to another aspect of the embodiments of the present invention, another network telephone connection processing method is further provided, including:
被叫终端在未连接至数据网络的情况下接收服务器发送的第一指示消息,其中,所述第一指示消息用于指示所述被叫终端连接至所述数据网络;Receiving, by the called terminal, the first indication message sent by the server, where the first indication message is used to indicate that the called terminal is connected to the data network;
在所述被叫终端成功连接至所述数据网络的情况下,所述被叫终端向所述服务器发送第二指示消息,其中,所述第二指示消息用于指示所述被叫终端成功连接至所述数据网络;When the called terminal is successfully connected to the data network, the called terminal sends a second indication message to the server, where the second indication message is used to indicate that the called terminal is successfully connected. To the data network;
所述被叫终端接收所述服务器转发的由主叫终端发送的呼叫请求消息,其中,所述呼叫请求消息用于请求在所述数据网络上呼叫所述被叫终端。The called terminal receives a call request message sent by the calling terminal by the server, where the call request message is used to request to call the called terminal on the data network.
可选地,所述被叫终端在未连接至数据网络的情况下接收服务器发送的第一指示消息包括:所述被叫终端接收到所述服务器通过电路域发送的所述第一指示消息,其中,所述第一指示消息由所述服务器通过所述电路域呼叫所述被叫终端所产生。Optionally, the receiving, by the called terminal, the first indication message sent by the server when not connected to the data network, includes: the called terminal receiving the first indication message sent by the server by using a circuit domain, The first indication message is generated by the server by calling the called terminal through the circuit domain.
可选地,在被叫终端在未连接至数据网络的情况下接收服务器发送的第一指示消息之后,且在所述被叫终端向所述服务器发送第二指示消息之前,所述方法还包括:在所述被叫终端判断出所述第一指示消息中携带的电话号码为所述服务器的电话号码的情况下,所述被叫终端向所述数据网络发送连接请求消息,并接收到所述数据网络发送的用于指示所述被叫终端成功连接至所述数据网络的连接响应消息。Optionally, after the called terminal receives the first indication message sent by the server without being connected to the data network, and before the called terminal sends the second indication message to the server, the method further includes When the called terminal determines that the phone number carried in the first indication message is the phone number of the server, the called terminal sends a connection request message to the data network, and receives the And a connection response message sent by the data network to indicate that the called terminal successfully connects to the data network.
根据本发明实施例的一个方面,提供了一种网络电话连接处理装置,应用于服务器,包括:According to an aspect of the embodiments of the present invention, a network telephone connection processing apparatus is provided, which is applied to a server, and includes:
接收模块,设置为:接收主叫终端发送的呼叫请求消息,其中,所述呼 叫请求消息用于请求在数据网络上呼叫被叫终端;a receiving module, configured to: receive a call request message sent by the calling terminal, where the call The request message is used to request to call the called terminal on the data network;
确定模块,设置为:确定所述被叫终端当前未连接至所述数据网络,并指示所述被叫终端连接至所述数据网络;a determining module, configured to: determine that the called terminal is not currently connected to the data network, and instruct the called terminal to connect to the data network;
判断模块,设置为:在判断出所述被叫终端成功连接至所述数据网络的情况下,通过所述数据网络将所述呼叫请求消息发送至所述被叫终端。The judging module is configured to: when it is determined that the called terminal successfully connects to the data network, send the call request message to the called terminal through the data network.
可选地,所述确定模块是设置为:通过电路域呼叫所述被叫终端,以指示所述被叫终端连接至所述数据网络。Optionally, the determining module is configured to: call the called terminal by using a circuit domain to indicate that the called terminal is connected to the data network.
可选地,所述装置还包括:第一发送模块,设置为:在通过电路域呼叫所述被叫终端失败的情况下,向所述主叫终端发送呼叫失败消息。Optionally, the device further includes: a first sending module, configured to: when the called terminal fails to call through the circuit domain, send a call failure message to the calling terminal.
可选地,所述装置还包括:第二发送模块,设置为:在判断所述被叫终端连接至所述数据网络失败的情况下,向所述主叫终端发送呼叫失败消息。Optionally, the device further includes: a second sending module, configured to: when it is determined that the called terminal fails to connect to the data network, send a call failure message to the calling terminal.
可选地,所述判断模块是设置为:在接收到所述被叫终端发送的成功连接消息的情况下,判断出所述被叫终端成功连接至所述数据网络,其中,所述成功连接消息用于指示所述被叫终端成功连接至所述数据网络。Optionally, the determining module is configured to: when receiving the successful connection message sent by the called terminal, determine that the called terminal successfully connects to the data network, where the successful connection The message is used to indicate that the called terminal successfully connects to the data network.
可选地,所述装置还包括:建立模块,设置为:在所述被叫终端接收所述呼叫请求消息的情况下,建立所述主叫终端与所述被叫终端的网络电话连接;或者,第三发送模块,设置为:在所述被叫终端拒绝所述呼叫请求消息的情况下,向所述主叫终端发送呼叫失败消息。Optionally, the device further includes: an establishing module, configured to: when the called terminal receives the call request message, establish a network telephone connection between the calling terminal and the called terminal; or The third sending module is configured to: when the called terminal rejects the call request message, send a call failure message to the calling terminal.
可选地,所述确定模块是设置为通过以下方式确定所述被叫终端当前未连接至所述数据网络:确定所述被叫终端当前在服务器上处于不在线状态。Optionally, the determining module is configured to determine that the called terminal is not currently connected to the data network by determining that the called terminal is currently in an offline state on the server.
根据本发明实施例的另一个方面,还提供了一种网络电话连接处理装置,应用于被叫终端,包括:According to another aspect of the present invention, a network telephone connection processing apparatus is further provided, which is applied to a called terminal, and includes:
第一接收模块,设置为:在未连接至数据网络的情况下接收服务器发送的第一指示消息,其中,所述第一指示消息用于指示所述被叫终端连接至所述数据网络;The first receiving module is configured to: receive the first indication message sent by the server if not connected to the data network, where the first indication message is used to indicate that the called terminal is connected to the data network;
第一发送模块,设置为:在所述被叫终端成功连接至所述数据网络的情况下,向所述服务器发送第二指示消息,其中,所述第二指示消息用于指示所述被叫终端成功连接至所述数据网络; a first sending module, configured to: send a second indication message to the server, where the called terminal is successfully connected to the data network, where the second indication message is used to indicate the called The terminal successfully connects to the data network;
第二接收模块,设置为:接收所述服务器转发的由主叫终端发送的呼叫请求消息,其中,所述呼叫请求消息用于请求在所述数据网络上呼叫所述被叫终端。The second receiving module is configured to: receive a call request message sent by the calling terminal and forwarded by the calling terminal, where the call request message is used to request to call the called terminal on the data network.
可选地,所述第一接收模块是设置为:接收到所述服务器通过电路域发送的所述第一指示消息,其中,所述第一指示消息由所述服务器通过所述电路域呼叫所述被叫终端所产生。Optionally, the first receiving module is configured to: receive the first indication message that is sent by the server by using a circuit domain, where the first indication message is sent by the server through the circuit domain The called terminal is generated.
可选地,所述装置还包括:第二发送模块,设置为:在所述被叫终端判断出所述第一指示消息中携带的电话号码为所述服务器的电话号码的情况下,向所述数据网络发送连接请求消息,并接收到所述数据网络发送的用于指示所述被叫终端成功连接至所述数据网络的连接响应消息。Optionally, the device further includes: a second sending module, configured to: when the called terminal determines that the phone number carried in the first indication message is a phone number of the server, The data network sends a connection request message, and receives a connection response message sent by the data network to indicate that the called terminal successfully connects to the data network.
本发明实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现应用于服务器的网络电话连接处理方法。The embodiment of the invention further provides a computer readable storage medium storing computer executable instructions, which implement a network telephone connection processing method applied to a server when the computer executable instructions are executed.
本发明实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现应用于被叫终端的网络电话连接处理方法。The embodiment of the invention further provides a computer readable storage medium storing computer executable instructions, which are implemented to implement a network telephone connection processing method applied to a called terminal.
通过本发明实施例,采用接收主叫终端发送的呼叫请求消息,其中,该呼叫请求消息用于请求在数据网络上呼叫被叫终端;确定被叫终端当前未连接至该数据网络,并指示被叫终端连接至数据网络;在判断出被叫终端成功连接至数据网络的情况下,通过数据网络将呼叫请求消息发送至被叫终端。如此,解决了相关技术中不能像拨打普通电路域电话一样随时使用网络电话拨打被叫方的问题,进而不需要被叫终端一直连接着数据网络,也能像拨打普通电路域电话一样,可以随时拨打被叫终端。According to the embodiment of the present invention, the call request message sent by the calling terminal is received, where the call request message is used to request to call the called terminal on the data network; determining that the called terminal is not currently connected to the data network, and indicating that the called terminal is The terminal is connected to the data network; in the case that it is determined that the called terminal successfully connects to the data network, the call request message is sent to the called terminal through the data network. In this way, the problem that the related party cannot use the VoIP phone to dial the called party at any time like the ordinary circuit domain telephone is solved, so that the called terminal does not need to be connected to the data network all the time, and can also be called like a normal circuit domain telephone at any time. Dial the called terminal.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的 不当限定。在附图中:The drawings described herein are provided to provide a further understanding of the present application and constitute a part of this application. The illustrative embodiments of the present application and the description thereof are used to explain the present application and do not constitute a Improperly qualified. In the drawing:
图1是根据本发明实施例的网络电话连接处理方法的应用场景示意图;1 is a schematic diagram of an application scenario of a method for processing a network telephone connection according to an embodiment of the present invention;
图2是根据本发明实施例的网络电话连接处理方法的流程图(一);2 is a flowchart (1) of a method for processing a network telephone connection according to an embodiment of the present invention;
图3是根据本发明实施例的网络电话连接处理装置的结构框图(一);3 is a structural block diagram (1) of a network telephone connection processing apparatus according to an embodiment of the present invention;
图4是根据本发明实施例的网络电话连接处理装置的结构框图(二);4 is a structural block diagram (2) of a network telephone connection processing apparatus according to an embodiment of the present invention;
图5是根据本发明实施例的网络电话连接处理装置的结构框图(三);FIG. 5 is a structural block diagram (3) of a network telephone connection processing apparatus according to an embodiment of the present invention; FIG.
图6是根据本发明实施例的网络电话连接处理装置的结构框图(四);6 is a structural block diagram (4) of a network telephone connection processing apparatus according to an embodiment of the present invention;
图7是根据本发明实施例的网络电话连接处理方法的流程图(二);7 is a flowchart (2) of a method for processing a network telephone connection according to an embodiment of the present invention;
图8是根据本发明实施例的网络电话连接处理装置的结构框图(五);FIG. 8 is a structural block diagram (5) of a network telephone connection processing apparatus according to an embodiment of the present invention; FIG.
图9是根据本发明实施例的网络电话连接处理装置的结构框图(六);9 is a structural block diagram (6) of a network telephone connection processing apparatus according to an embodiment of the present invention;
图10是根据本发明实施例的网络电话连接方法的流程示意图;FIG. 10 is a schematic flowchart diagram of a network telephone connection method according to an embodiment of the present invention; FIG.
图11是根据本发明实施例的网络电话建立连接时被叫方没有连接着数据网络时的流程示意图;11 is a schematic flowchart of a case where a called party is not connected to a data network when a network telephone establishes a connection according to an embodiment of the present invention;
图12是根据本发明实施例的网络电话建立连接时被叫方已经连接着数据网络时的过程示意图;12 is a schematic diagram of a process when a called party has connected to a data network when a network telephone establishes a connection according to an embodiment of the present invention;
图13是根据本发明实施例的网络电话建立连接时被叫方没有连接着数据网络,同时又无法接收来自电路域的电话时的流程示意图;13 is a flow chart showing when a called party is not connected to a data network and cannot receive a call from a circuit domain when a network telephone establishes a connection according to an embodiment of the present invention;
图14是根据本发明实施例的被叫方终端网络电话连接的处理流程图;14 is a flowchart of processing of a called party terminal network telephone connection according to an embodiment of the present invention;
图15是根据本发明实施例的被叫方连接数据网络后,主叫方、被叫方以及服务器之间的信息交互流程图。FIG. 15 is a flow chart of information interaction between a calling party, a called party, and a server after the called party connects to the data network according to an embodiment of the present invention.
本发明的实施方式Embodiments of the invention
下文中将参考附图并结合实施例来详细说明本申请。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The present application will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次 序。It should be noted that the terms "first", "second" and the like in the specification and claims of the present application and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or order. sequence.
图1是根据本发明实施例的网络电话连接处理方法的应用场景示意图。如图1所示,主叫终端与被叫终端可以通过网络服务器进行网络电话连接。FIG. 1 is a schematic diagram of an application scenario of a method for processing a network telephone connection according to an embodiment of the present invention. As shown in FIG. 1, the calling terminal and the called terminal can perform a network telephone connection through a network server.
在一个实施例中提供了一种网络电话连接处理方法,图2是根据本发明实施例的网络电话连接处理方法的流程图(一),如图2所示,该方法包括如下步骤:In an embodiment, a network telephone connection processing method is provided. FIG. 2 is a flowchart (1) of a network telephone connection processing method according to an embodiment of the present invention. As shown in FIG. 2, the method includes the following steps:
步骤S202,接收主叫终端发送的呼叫请求消息,其中,该呼叫请求消息用于请求在数据网络上呼叫被叫终端;Step S202, receiving a call request message sent by the calling terminal, where the call request message is used to request to call the called terminal on the data network;
步骤S204,确定被叫终端当前未连接至数据网络,并指示被叫终端连接至数据网络;Step S204, determining that the called terminal is not currently connected to the data network, and instructing the called terminal to connect to the data network;
步骤S206,在判断出被叫终端成功连接至数据网络的情况下,通过数据网络将呼叫请求消息发送至被叫终端。Step S206, in the case that it is determined that the called terminal successfully connects to the data network, the call request message is sent to the called terminal through the data network.
通过上述步骤,在确定被叫终端当前未连接至数据网络的情况下,指示被叫用户连接至数据网络,并将用于请求在数据网络上呼叫被叫终端的呼叫请求消息通过数据网络发送至被叫终端,相比于相关技术中,需要被叫终端一直连接至数据网络,才能通过数据网络呼叫被叫终端,上述步骤解决了相关技术中不能像拨打普通电路域电话一样随时使用网络电话拨打被叫方的问题,进而不需要被叫终端一直连接着数据网络,也能像拨打普通电路域电话一样,可以随时拨打被叫终端。Through the above steps, in the case that it is determined that the called terminal is not currently connected to the data network, the called user is instructed to connect to the data network, and a call request message for requesting to call the called terminal on the data network is sent to the data network through the data network. The called terminal, in the related art, requires the called terminal to be connected to the data network all the time to call the called terminal through the data network. The above steps solve the problem that the related technology cannot be dialed at any time like the ordinary circuit domain telephone. The called party's problem, in turn, does not require the called terminal to be connected to the data network all the time, and can call the called terminal at any time, just like a normal circuit domain telephone.
需要说明的是,本实施例并不限定被叫终端实现数据网络连接的方式,例如,被叫终端可以通过蜂窝移动网络进行网络连接,或者,通过无线局域网(WLAN,Wireless Local Area Network)进行网络连接。It should be noted that, the embodiment does not limit the manner in which the called terminal implements the data network connection. For example, the called terminal may perform network connection through the cellular mobile network, or perform network through a wireless local area network (WLAN). connection.
上述步骤S204涉及到指示被叫终端连接至数据网络,需要说明的是,可以通过多种方式指示被叫终端连接至数据网络,下面对此进行举例说明。在一个可选实施例中,通过电路域呼叫被叫终端,以指示被叫终端连接至数据网络。The above step S204 involves instructing the called terminal to connect to the data network. It should be noted that the called terminal can be connected to the data network in various manners, which will be exemplified below. In an alternative embodiment, the called terminal is called through the circuit domain to indicate that the called terminal is connected to the data network.
在指示被叫终端连接至该数据网络之后,在一个可选实施例中,在通过电路域呼叫被叫终端失败的情况下,向主叫终端发送呼叫失败消息,以指示 主叫终端,目前被叫终端尚未连接至数据网络,主叫终端还不能通过数据网络呼叫被叫终端。其中,在该呼叫失败消息中可以携带用于指示呼叫被叫终端失败的原因的指示信息,其中,上述指示信息所指示的原因包括但不限于以下至少之一:被叫终端欠费、被叫终端关机、被叫终端不在服务区、主叫终端所拨打的为空号码等。After indicating that the called terminal is connected to the data network, in an alternative embodiment, in the event that the called terminal fails to call the called terminal through the circuit domain, a call failure message is sent to the calling terminal to indicate The calling terminal, the currently called terminal has not been connected to the data network, and the calling terminal cannot call the called terminal through the data network. In the call failure message, the indication information indicating the reason for the failure of the called terminal to be called may be carried, wherein the reason indicated by the indication information includes but is not limited to at least one of the following: the called terminal is in arrears, called The terminal is shut down, the called terminal is not in the service area, and the calling terminal dials an empty number.
在指示被叫终端连接至该数据网络之后,在另一个可选实施例中,在判断被叫终端连接至数据网络失败的情况下,向主叫终端发送呼叫失败消息,以指示主叫终端由于被叫终端不能连接至数据网络,主叫终端不能通过数据网络呼叫被叫终端。其中,在该呼叫失败消息中可以携带用于指示呼叫被叫终端失败的原因的指示信息,其中,上述指示信息所指示的原因包括但不限于以下至少之一:超时无法接通被叫方、被叫终端开通呼叫转移。After indicating that the called terminal is connected to the data network, in another optional embodiment, in the case of determining that the called terminal fails to connect to the data network, a call failure message is sent to the calling terminal to indicate that the calling terminal is The called terminal cannot connect to the data network, and the calling terminal cannot call the called terminal through the data network. The indication information indicating the reason for the failure of the called terminal to be terminated may be included in the call failure message, where the reason indicated by the indication information includes, but is not limited to, at least one of the following: the timeout cannot be connected to the called party, The called terminal initiates call forwarding.
上述步骤S206中涉及到判断出被叫终端成功连接至数据网络的情况,需要说明的是,可以通过多种方式判断出被叫终端已经成功连接至数据网络,下面对此进行举例说明。在一个可选实施例中,在接收到被叫终端发送的成功连接消息的情况下,判断出被叫终端成功连接至数据网络,其中,该成功连接消息用于指示被叫终端成功连接至数据网络。In the above step S206, it is determined that the called terminal is successfully connected to the data network. It should be noted that the called terminal can be successfully connected to the data network in various manners, which will be exemplified below. In an optional embodiment, when the successful connection message sent by the called terminal is received, it is determined that the called terminal successfully connects to the data network, where the successful connection message is used to indicate that the called terminal successfully connects to the data. The internet.
通过数据网络将呼叫请求消息发送至被叫终端之后,在一个可选实施例中,在被叫终端接收该呼叫请求消息的情况下,建立主叫终端与被叫终端的网络电话连接。在另一个可选实施例中,在被叫终端拒绝呼叫请求消息的情况下,向主叫终端发送呼叫失败消息。其中,在该呼叫失败消息中可以携带用于指示呼叫被叫终端失败的原因的指示信息,其中,上述指示信息所指示的原因包括但不限于以下至少之一:被叫终端拒绝接通主叫终端的呼叫。After the call request message is sent over the data network to the called terminal, in an alternative embodiment, in the event that the called terminal receives the call request message, a network telephone connection between the calling terminal and the called terminal is established. In another alternative embodiment, in the event that the called terminal rejects the call request message, a call failure message is sent to the calling terminal. The indication information indicating the reason for the failure of the called terminal to be terminated may be carried in the call failure message, where the reason indicated by the indication information includes but is not limited to at least one of the following: the called terminal refuses to connect to the calling party. Call from the terminal.
之所以要关注各种通话失败的原因,是为了带给用户使用普通电路域电话一样的无缝体验。普通电路域电话在MSC(Mobile Switching Center,移动交换中心)侧会根据通话失败原因的不同,使用不同的音板放音。例如相关技术中的“您好,您拨打的用户正在通话中,请稍后在拨”等提示音的由来。而把这些原因返回给主叫方,一方面可以让主叫方终端在界面上显示给用户看,另一方面也可以在终端侧用录音放音:“您好,您拨打的用户正在通话中,请稍后在拨”等习惯的语音提示。这样带来的感受更接近普通电路域电 话,比目前VOIP(Voice over Internet Protocol,网络电话)生硬、直接地显示提示用户“呼叫失败”更好。The reason for the various call failures is to bring the user a seamless experience like a regular circuit domain phone. On the MSC (Mobile Switching Center) side, the normal circuit area phone uses different sound boards to play sounds according to the reason of the call failure. For example, in the related art, "Hello, the user you dialed is on a call, please dial later" and so on. Returning these reasons to the calling party, on the one hand, the calling party terminal can be displayed to the user on the interface, and on the other hand, the recording can be played on the terminal side: "Hello, the user you dialed is in a call. , please dial later" and other custom voice prompts. This brings the feeling closer to the ordinary circuit domain In other words, it is better than the current VOIP (Voice over Internet Protocol) to display the prompt "call failure".
上述步骤S204中涉及到确定被叫终端当前未连接至数据网络,在一个可选实施例中,通过确定被叫终端当前在服务器上处于不在线状态,确定被叫终端当前未连接至数据网络。In the above step S204, it is determined that the called terminal is not currently connected to the data network. In an optional embodiment, by determining that the called terminal is currently offline on the server, it is determined that the called terminal is not currently connected to the data network.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on such understanding, the technical solution of the present application, which is essential or contributes to the related art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD-ROM). The instructions include a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present application.
本实施例还提供了一种网络电话连接处理装置,该装置用于实现上述实施例及可选实施方式,已经进行过说明的不再赘述。如以下所使用的术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置可选地以软件来实现,但是硬件或者软件和硬件的组合的实现也是可能并被构想的。The embodiment also provides a network telephone connection processing device, which is used to implement the above-mentioned embodiments and optional embodiments, and has not been described again. The term "module" as used below may implement a combination of software and/or hardware of a predetermined function. Although the devices described in the following embodiments are optionally implemented in software, hardware or an implementation of a combination of software and hardware is also possible and contemplated.
图3是根据本发明实施例的网络电话连接处理装置的结构框图(一),应用于服务器,如图3所示,该装置包括:3 is a structural block diagram (1) of a network telephone connection processing apparatus according to an embodiment of the present invention, applied to a server, as shown in FIG. 3, the apparatus includes:
接收模块32,设置为:接收主叫终端发送的呼叫请求消息,其中,该呼叫请求消息用于请求在数据网络上呼叫被叫终端;The receiving module 32 is configured to: receive a call request message sent by the calling terminal, where the call request message is used to request to call the called terminal on the data network;
确定模块34,设置为:确定被叫终端当前未连接至数据网络,并指示被叫终端连接至数据网络;The determining module 34 is configured to: determine that the called terminal is not currently connected to the data network, and indicate that the called terminal is connected to the data network;
判断模块36,设置为:在判断出被叫终端成功连接至数据网络的情况下,通过数据网络将该呼叫请求消息发送至被叫终端。The determining module 36 is configured to: when it is determined that the called terminal successfully connects to the data network, send the call request message to the called terminal through the data network.
可选地,确定模块34是设置为:通过电路域呼叫该被叫终端,以指示被叫终端连接至数据网络。Optionally, the determining module 34 is configured to: call the called terminal through the circuit domain to indicate that the called terminal is connected to the data network.
图4是根据本发明实施例的网络电话连接处理装置的结构框图(二), 如图4所示,该装置还包括:第一发送模块42,设置为:在通过电路域呼叫该被叫终端失败的情况下,向主叫终端发送呼叫失败消息。4 is a structural block diagram (2) of a network telephone connection processing apparatus according to an embodiment of the present invention, As shown in FIG. 4, the apparatus further includes: a first sending module 42 configured to: when the called terminal fails to call through the circuit domain, send a call failure message to the calling terminal.
图5是根据本发明实施例的网络电话连接处理装置的结构框图(三),如图5所示,该装置还包括:第二发送模块44,设置为:在判断被叫终端连接至该数据网络失败的情况下,向主叫终端发送呼叫失败消息。FIG. 5 is a structural block diagram (3) of a network telephone connection processing apparatus according to an embodiment of the present invention. As shown in FIG. 5, the apparatus further includes: a second sending module 44, configured to: determine that the called terminal is connected to the data In the case of a network failure, a call failure message is sent to the calling terminal.
可选地,判断模块36是设置为:在接收到该被叫终端发送的成功连接消息的情况下,判断出该被叫终端成功连接至该数据网络,其中,该成功连接消息用于指示被叫终端成功连接至数据网络。Optionally, the determining module 36 is configured to: when receiving the successful connection message sent by the called terminal, determine that the called terminal successfully connects to the data network, where the successful connection message is used to indicate that the The terminal is successfully connected to the data network.
图6是根据本发明实施例的网络电话连接处理装置的结构框图(四),如图6所示,该装置还包括:FIG. 6 is a structural block diagram (4) of a network telephone connection processing apparatus according to an embodiment of the present invention. As shown in FIG. 6, the apparatus further includes:
建立模块62,设置为:在该被叫终端接收该呼叫请求消息的情况下,建立主叫终端与被叫终端的网络电话连接;或者,The establishing module 62 is configured to: when the called terminal receives the call request message, establish a network telephone connection between the calling terminal and the called terminal; or
第三发送模块64,设置为:在被叫终端拒绝该呼叫请求消息的情况下,向该主叫终端发送呼叫失败消息。The third sending module 64 is configured to: when the called terminal rejects the call request message, send a call failure message to the calling terminal.
可选地,确定模块34是设置为通过以下方式确定所述被叫终端当前未连接至所述数据网络:确定该被叫终端当前在服务器上处于不在线状态。Optionally, the determining module 34 is configured to determine that the called terminal is not currently connected to the data network by determining that the called terminal is currently in an offline state on the server.
需要说明的是,上述模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块分别位于多个处理器中。It should be noted that the above modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are respectively located in multiple processes. In the device.
在另一个实施例中还提供了另一种网络电话连接处理方法,图7是根据本发明实施例的网络电话连接处理方法的流程图(二),如图7所示,该方法包括如下步骤:Another method for processing a network telephone connection is provided in another embodiment. FIG. 7 is a flowchart (2) of a method for processing a network telephone connection according to an embodiment of the present invention. As shown in FIG. 7, the method includes the following steps. :
步骤S702,被叫终端在未连接至数据网络的情况下接收服务器发送的第一指示消息,其中,该第一指示消息用于指示被叫终端连接至数据网络;Step S702, the called terminal receives the first indication message sent by the server, if the terminal is not connected to the data network, where the first indication message is used to indicate that the called terminal is connected to the data network;
步骤S704,在被叫终端成功连接至该数据网络的情况下,被叫终端向服务器发送第二指示消息,其中,该第二指示消息用于指示被叫终端成功连接至数据网络;Step S704, in the case that the called terminal is successfully connected to the data network, the called terminal sends a second indication message to the server, where the second indication message is used to indicate that the called terminal successfully connects to the data network;
步骤S706,被叫终端接收服务器转发的由主叫终端发送的呼叫请求消息, 其中,该呼叫请求消息用于请求在数据网络上呼叫被叫终端。Step S706, the called terminal receives a call request message sent by the calling terminal and forwarded by the calling terminal. The call request message is used to request to call the called terminal on the data network.
通过上述步骤,在确定被叫终端当前未连接至数据网络的情况下,被叫终端接收指示被叫用户连接至数据网络的指示消息,并通过数据网络接收用于请求在数据网络上呼叫被叫终端的呼叫请求消息,以便于主叫终端通过数据网络与被叫终端建立通话,相比于相关技术中,需要被叫终端一直连接至数据网络,才能通过数据网络呼叫被叫终端,上述步骤解决了相关技术中不能像拨打普通电路域电话一样随时使用网络电话拨打被叫方的问题,进而不需要被叫终端一直连接着数据网络,也能像拨打普通电路域电话一样,可以随时拨打被叫终端。Through the above steps, in the case that it is determined that the called terminal is not currently connected to the data network, the called terminal receives an indication message indicating that the called user is connected to the data network, and receives the request for calling the called party on the data network through the data network. The call request message of the terminal, so that the calling terminal establishes a call with the called terminal through the data network. Compared with the related art, the called terminal needs to be connected to the data network all the time to call the called terminal through the data network, and the above steps are solved. In the related art, the problem of calling the called party at any time can be used as the ordinary circuit domain telephone, so that the called terminal does not need to be connected to the data network at all times, and can call the called party at any time like the ordinary circuit domain telephone. terminal.
上述步骤S702中涉及到被叫终端在未连接至数据网络的情况下接收服务器发送的第一指示消息,在一个可选实施例中,被叫终端接收到服务器通过电路域发送的第一指示消息,其中,第一指示消息由服务器通过该电路域呼叫被叫终端所产生。In the foregoing step S702, the called terminal receives the first indication message sent by the server when not connected to the data network. In an optional embodiment, the called terminal receives the first indication message sent by the server through the circuit domain. The first indication message is generated by the server calling the called terminal through the circuit domain.
在一个可选实施例中,在被叫终端在未连接至数据网络的情况下接收服务器发送的第一指示消息之后,且在被叫终端向服务器发送第二指示消息之前,在被叫终端判断出第一指示消息中携带的电话号码为服务器的电话号码的情况下,被叫终端向数据网络发送连接请求消息,并接收到数据网络发送的用于指示该被叫终端成功连接至数据网络的连接响应消息。In an optional embodiment, after the called terminal receives the first indication message sent by the server without being connected to the data network, and before the called terminal sends the second indication message to the server, the called terminal determines When the phone number carried in the first indication message is the phone number of the server, the called terminal sends a connection request message to the data network, and receives a message sent by the data network to indicate that the called terminal successfully connects to the data network. Connection response message.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on such understanding, the technical solution of the present application, which is essential or contributes to the related art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD-ROM). The instructions include a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present application.
本实施例还提供了一种网络电话连接处理装置,该装置用于实现上述实施例及可选实施方式,已经进行过说明的不再赘述。如以下所使用的术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置可选地以软件来实现,但是硬件或者软件和硬件的组合的实现也是可能并 被构想的。The embodiment also provides a network telephone connection processing device, which is used to implement the above-mentioned embodiments and optional embodiments, and has not been described again. The term "module" as used below may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is optionally implemented in software, hardware or a combination of software and hardware is possible. Conceived.
图8是根据本发明实施例的网络电话连接处理装置的结构框图(五),应用于被叫终端,如图8所示,该装置包括:FIG. 8 is a structural block diagram (5) of a network telephone connection processing apparatus according to an embodiment of the present invention, applied to a called terminal. As shown in FIG. 8, the apparatus includes:
第一接收模块82,设置为:在未连接至数据网络的情况下接收服务器发送的第一指示消息,其中,该第一指示消息用于指示被叫终端连接至数据网络;The first receiving module 82 is configured to: receive the first indication message sent by the server when not connected to the data network, where the first indication message is used to indicate that the called terminal is connected to the data network;
第一发送模块84,设置为:在该被叫终端成功连接至数据网络的情况下,向该服务器发送第二指示消息,其中,该第二指示消息用于指示被叫终端成功连接至该数据网络;The first sending module 84 is configured to: when the called terminal is successfully connected to the data network, send a second indication message to the server, where the second indication message is used to indicate that the called terminal successfully connects to the data The internet;
第二接收模块86,设置为:接收该服务器转发的由主叫终端发送的呼叫请求消息,其中,该呼叫请求消息用于请求在数据网络上呼叫被叫终端。The second receiving module 86 is configured to: receive a call request message sent by the calling terminal and sent by the calling terminal, where the call request message is used to request to call the called terminal on the data network.
可选地,第一接收模块82是设置为:接收到该服务器通过电路域发送的该第一指示消息,其中,该第一指示消息由该服务器通过该电路域呼叫该被叫终端所产生。Optionally, the first receiving module 82 is configured to: receive the first indication message sent by the server through the circuit domain, where the first indication message is generated by the server calling the called terminal by using the circuit domain.
图9是根据本发明实施例的网络电话连接处理装置的结构框图(六),如图9所示,该装置还包括:第二发送模块92,设置为:在该被叫终端判断出该第一指示消息中携带的电话号码为该服务器的电话号码的情况下,向数据网络发送连接请求消息,并接收到数据网络发送的用于指示该被叫终端成功连接至数据网络的连接响应消息。FIG. 9 is a structural block diagram (6) of a network telephone connection processing apparatus according to an embodiment of the present invention. As shown in FIG. 9, the apparatus further includes: a second sending module 92, configured to: determine, at the called terminal, the first When the telephone number carried in the indication message is the telephone number of the server, a connection request message is sent to the data network, and a connection response message sent by the data network for indicating that the called terminal successfully connects to the data network is received.
需要说明的是,上述模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块分别位于多个处理器中。It should be noted that the above modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are respectively located in multiple processes. In the device.
本发明的实施例还提供了一种计算机可读存储介质。可选地,在本实施例中,上述计算机可读存储介质可以被设置为存储用于执行以下步骤的程序代码:Embodiments of the present invention also provide a computer readable storage medium. Optionally, in the embodiment, the computer readable storage medium may be configured to store program code for performing the following steps:
步骤S1,接收主叫终端发送的呼叫请求消息,其中,该呼叫请求消息用于请求在数据网络上呼叫被叫终端;Step S1: Receive a call request message sent by the calling terminal, where the call request message is used to request to call the called terminal on the data network;
步骤S2,确定被叫终端当前未连接至数据网络,并指示被叫终端连接至 数据网络;Step S2, determining that the called terminal is not currently connected to the data network, and indicating that the called terminal is connected to Data network
步骤S3,在判断出被叫终端成功连接至数据网络的情况下,通过数据网络将呼叫请求消息发送至被叫终端。In step S3, in the case that it is determined that the called terminal is successfully connected to the data network, the call request message is sent to the called terminal through the data network.
可选地,计算机可读存储介质还被设置为存储用于执行以下步骤的程序代码:Optionally, the computer readable storage medium is further arranged to store program code for performing the steps of:
步骤S4,被叫终端在未连接至数据网络的情况下接收服务器发送的第一指示消息,其中,该第一指示消息用于指示被叫终端连接至数据网络;In step S4, the called terminal receives the first indication message sent by the server, where the first indication message is used to indicate that the called terminal is connected to the data network.
步骤S5,在被叫终端成功连接至该数据网络的情况下,被叫终端向服务器发送第二指示消息,其中,该第二指示消息用于指示被叫终端成功连接至数据网络;Step S5, in the case that the called terminal is successfully connected to the data network, the called terminal sends a second indication message to the server, where the second indication message is used to indicate that the called terminal successfully connects to the data network;
步骤S6,被叫终端接收服务器转发的由主叫终端发送的呼叫请求消息,其中,该呼叫请求消息用于请求在数据网络上呼叫被叫终端。Step S6: The called terminal receives a call request message sent by the calling terminal forwarded by the server, where the call request message is used to request to call the called terminal on the data network.
可选地,在本实施例中,上述计算机可读存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the computer readable storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), and a mobile device. A variety of media that can store program code, such as hard disks, disks, or optical disks.
可选地,在本实施例中,处理器根据计算机可读存储介质中已存储的程序代码执行上述步骤S1、步骤S2以及步骤S3。Optionally, in this embodiment, the processor performs the above step S1, step S2, and step S3 according to the stored program code in the computer readable storage medium.
可选地,在本实施例中,处理器根据计算机可读存储介质中已存储的程序代码执行上述步骤S4、步骤S5和步骤S6。Optionally, in the embodiment, the processor executes the above step S4, step S5 and step S6 according to the stored program code in the computer readable storage medium.
可选地,本实施例中的示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。For example, the examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
针对相关技术中存在的上述问题,需要一种网络电话的连接方式,它不需要被叫方一直连接着数据网络,却能像拨打普通电路域电话一样,可以随时拨打被叫方。这种网络电话应该在接通电话过程中所耗时延方面与普通电路域电话相差不多,才能带给用户良好的体验。本可选实施例的主要目的是提供一种网络电话连接方法,不需要被叫方一直连接着数据网络,却能像拨打普通电路域电话一样,可以随时拨打被叫方;以及使用该方法实现的终端。 In view of the above problems in the related art, a connection mode of a network telephone is needed, which does not require the called party to be always connected to the data network, but can call the called party at any time like a normal circuit domain telephone. Such a VoIP phone should be similar to a normal circuit domain phone in terms of delay in the process of connecting to the phone, so as to bring a good experience to the user. The main purpose of the optional embodiment is to provide a network telephone connection method, which does not require the called party to be connected to the data network all the time, but can call the called party at any time like a normal circuit domain telephone; and use the method to implement Terminal.
本可选实施例的方案是这样设计的:The solution of this alternative embodiment is designed as follows:
A是主叫方,B是被叫方,C是网络电话服务器。A is the calling party, B is the called party, and C is the VoIP server.
A向C发起请求,要求拨打B:A initiates a request to C to call B:
C检查B是否连接着数据网络,如果B连接着数据网络,则C通知B有来自于A的呼叫,于是B出现被叫界面并响铃,B可以选择接听或者拒绝。C checks whether B is connected to the data network. If B is connected to the data network, C notifies B that there is a call from A, so B appears on the called interface and rings, and B can choose to answer or reject.
如果B没有连接着数据网络,C就会在电路域上拨打B:If B is not connected to the data network, C will dial B on the circuit domain:
如果B能够收到C的来电,B可以根据来电的特征判断出这是来自于C的电话(可选的来电特征是特定的来电号码),于是自动挂断这个电话。之后B主动连接上数据网络(例如通过连接WiFi上网),答复C自己已经上线。接着C通知B有来自于A的呼叫,于是B出现被叫界面并响铃,B可以选择接听或者拒绝。If B can receive an incoming call from C, B can judge that this is a call from C according to the characteristics of the incoming call (the optional call feature is a specific caller number), and then automatically hang up the call. After that, B actively connects to the data network (for example, by connecting to WiFi), and the reply C is already online. Then C informs B that there is a call from A, so B appears the called interface and rings, and B can choose to answer or reject.
如果因为某些原因(例如:欠费、关机、不在服务区、空号码等)导致B不能收到电路域上C的来电,C可以从电路域返回的层三消息中得知电话无法接通的原因,然后C答复A因为该原因无法接通B,本次通话失败。If for some reason (for example: arrears, shutdown, out of service area, empty number, etc.), B cannot receive an incoming call from C in the circuit domain, C can know that the phone cannot be connected from the layer three message returned from the circuit domain. The reason, then C replies A for this reason can not connect B, this call failed.
以上流程比较类似于GSM(Global System for Mobile Communication,全球移动通信系统)协议规定的在电路域上的被叫流程,只是它利用了电路域的被叫流程的前半段(即在Alerting之前的流程)唤醒了被叫方,然后被叫方主动连接上数据网络,将被叫流程中的后半段(Alerting以及它之后的流程)“切换”到了数据网络上进行。The above process is similar to the called process on the circuit domain specified by the GSM (Global System for Mobile Communication) protocol, except that it utilizes the first half of the called process of the circuit domain (ie, the process before Alerting). Wake up the called party, and then the called party actively connects to the data network, and "switches" the second half of the called process (Alerting and the processes after it) to the data network.
本实施例提供了一种网络电话的连接方法。图10是根据本发明实施例的网络电话连接方法的流程示意图,如图10所示,该方法包括如下步骤:This embodiment provides a connection method of a network phone. FIG. 10 is a schematic flowchart of a method for connecting a network telephone according to an embodiment of the present invention. As shown in FIG. 10, the method includes the following steps:
步骤S1001:主叫方向网络服务器发起请求,要求拨打被叫方;Step S1001: The calling party initiates a request to the network server, and requests to call the called party;
步骤S1002:网络服务器在电路域上拨打被叫方,被叫方自动挂断这个电话,之后主动连接上数据网络,登陆网络服务器;Step S1002: The network server dials the called party on the circuit domain, and the called party automatically hangs up the phone, and then actively connects to the data network and logs in to the network server;
步骤S1003:网络服务器将主叫方和被叫方连接成一路网络通话。Step S1003: The network server connects the calling party and the called party into one network call.
本实施例中,网络服务器执行步骤S1002的前提是网络服务器发现被叫方没有连接数据网络。可选的判定方法是网络服务器根据被叫方是否在网络服务器上在线来判定。即:当被叫方在线,执行普通的网络电话连接过程; 当被叫方不在线,才执行本实施例的流程。In this embodiment, the network server performs step S1002 on the premise that the network server finds that the called party is not connected to the data network. The optional decision method is that the network server determines whether the called party is online on the network server. That is: when the called party is online, the ordinary network telephone connection process is performed; The flow of this embodiment is performed when the called party is not online.
被叫方执行步骤S1002的前提是被叫方判断电路域来电是一个特殊来电。可选的判定条件是特定的来电号码。被叫方主动连接上数据网络后要立即登录网络服务器。The premise that the called party performs step S1002 is that the called party judges that the circuit domain incoming call is a special incoming call. The optional decision condition is a specific caller number. The called party should log in to the network server immediately after connecting to the data network.
步骤S1003中,网络服务器将双方连接成一路网络电话后,被叫方会出现来电界面,供被叫用户接听或拒绝来电。In step S1003, after the network server connects the two parties into one network telephone, the called party will have an incoming call interface for the called user to answer or reject the incoming call.
如果因为某些原因(例如:欠费、关机、不在服务区、空号码等)导致被叫方不能收到电路域上的来电,网络服务器可以从电路域返回的层三消息中得知电话无法接通的原因,答复主叫方因为该原因无法接通被叫方,本次通话失败。If the called party cannot receive an incoming call on the circuit domain for some reason (for example, arrears, shutdown, out of service area, empty number, etc.), the network server can learn from the layer 3 message returned by the circuit domain that the call cannot be obtained. The reason for the connection is that the caller cannot answer the called party for this reason, and the call fails.
如果网络服务器拨打被叫方电话成功,但因为某些原因(例如:被叫方设置了不响应步骤S1002中的特殊来电、被叫方因为未知原因始终连不上数据网络等等),在之后一定时间之内网络服务器未接到被叫方的答复,则网络服务器在一段时间内等不到被叫方登陆(即超时)后答复主叫方因为超时无法接通被叫方,本次通话失败。If the network server dials the called party's call successfully, but for some reason (for example, the called party is set to not respond to the special call in step S1002, the called party is not connected to the data network for unknown reasons, etc.), after Within a certain period of time, the network server does not receive the reply from the called party, and the network server does not wait for the called party to log in (ie, timeout) for a period of time and then replies to the calling party because the timeout cannot reach the called party, this call failure.
下面用更具体的过程示意图说明该网络电话连接方法。The network telephone connection method will be described below with a more specific process diagram.
图11是根据本发明实施例的网络电话建立连接时被叫方没有连接着数据网络时的流程示意图。FIG. 11 is a flow chart showing a process in which a called party is not connected to a data network when a network telephone establishes a connection according to an embodiment of the present invention.
图11所示流程的前提是:网络电话建立连接时被叫方没有连接上数据网络,仅仅连接着电路域,可以接收来自于电路域的电话。The premise of the flow shown in Figure 11 is that when the network phone establishes a connection, the called party is not connected to the data network, and only the circuit domain is connected, and the telephone from the circuit domain can be received.
如图11所示,该流程包括如下步骤:As shown in FIG. 11, the process includes the following steps:
步骤S1101:主叫方向网络服务器发起请求,要求拨打被叫方;Step S1101: The calling party initiates a request to the network server to request to call the called party.
步骤S1102:网络服务器知道被叫方没有连接数据网络,于是通过电路域向被叫方拨打电话,试图唤醒被叫方;Step S1102: The network server knows that the called party is not connected to the data network, and then calls the called party through the circuit domain to try to wake up the called party;
步骤S1103:被叫方接到来自电路域的电话;Step S1103: The called party receives a call from the circuit domain;
步骤S1104:被叫方根据来电的特征判断出这是来自于网络服务器的电话(可选的来电特征是特定的来电号码),于是自动挂断这个电话; Step S1104: The called party determines that the call is from the network server according to the characteristics of the incoming call (the optional call feature is a specific caller number), and then automatically hangs up the call;
步骤S1105:被叫方向数据网络发起连接请求;Step S1105: The called party sends a connection request to the data network.
步骤S1106:被叫方连接数据网络成功;Step S1106: the called party connects to the data network successfully;
步骤S1107:被叫方登陆并答复网络服务器,告知网络服务器自己已经连接数据网络成功;Step S1107: The called party logs in and responds to the network server, and informs the network server that the data network has been successfully connected;
步骤S1108:网络服务器通知被叫方有来自于主叫方的呼叫;Step S1108: The network server notifies the called party that there is a call from the calling party;
步骤S1109:被叫方答复网络服务器:呼叫已确认,己方已经响铃;Step S1109: The called party replies to the network server: the call has been confirmed, and the party has already ringed;
步骤S1110:网络服务器答复主叫方:呼叫已确认,被叫方已经响铃;Step S1110: The network server replies to the calling party: the call has been confirmed, and the called party has ringed;
步骤S1111:被叫方答复网络服务器:己方选择接听或拒绝该次通话;Step S1111: The called party replies to the network server: the party chooses to answer or reject the call;
步骤S1112:网络服务器答复主叫方:被叫方选择接听或拒绝该次通话。如果被叫方选择接听该次通话,网络服务器就可以帮助主叫方和被叫方连通成为一次网络通话了。Step S1112: The network server replies to the calling party: the called party selects to answer or reject the call. If the called party chooses to answer the call, the network server can help the calling party and the called party to communicate as a network call.
图12是根据本发明实施例的网络电话建立连接时被叫方已经连接着数据网络时的过程示意图。FIG. 12 is a schematic diagram of a process when a called party has connected to a data network when a network telephone establishes a connection according to an embodiment of the present invention.
图12所示流程的前提是:网络电话建立连接时被叫方已经连接数据网络并且登陆了网络服务器,因此服务器知道被叫方已经连接数据网络。The premise of the flow shown in Figure 12 is that when the network phone establishes a connection, the called party has connected to the data network and logged into the network server, so the server knows that the called party has connected to the data network.
如图12所示,该流程包括如下步骤:As shown in FIG. 12, the process includes the following steps:
步骤S1201:主叫方向网络服务器发起请求,要求拨打被叫方;Step S1201: The calling party initiates a request to the network server to request to call the called party.
步骤S1202:网络服务器通知被叫方有来自于主叫方的呼叫;Step S1202: The network server notifies the called party that there is a call from the calling party;
步骤S1203:被叫方答复网络服务器:呼叫已确认,己方已经响铃;Step S1203: The called party replies to the network server: the call has been confirmed, and the party has already ringed;
步骤S1204:网络服务器答复主叫方:呼叫已确认,被叫方已经响铃;Step S1204: The network server replies to the calling party: the call has been confirmed, and the called party has ringed;
步骤S1205:被叫方答复网络服务器:己方选择接听或拒绝该次通话;Step S1205: The called party replies to the network server: the party chooses to answer or reject the call;
步骤S1206:网络服务器答复主叫方:被叫方选择接听或拒绝该次通话。如果被叫方选择接听该次通话,网络服务器就可以帮助主叫方和被叫方连通成为一次网络通话了。Step S1206: The network server replies to the calling party: the called party selects to answer or reject the call. If the called party chooses to answer the call, the network server can help the calling party and the called party to communicate as a network call.
图13是根据本发明实施例的网络电话建立连接时被叫方没有连接着数据网络,同时又无法接收来自电路域的电话时的流程示意图。 FIG. 13 is a flow chart showing when a called party is not connected to a data network and cannot receive a call from a circuit domain when a network telephone establishes a connection according to an embodiment of the present invention.
图13所示流程的前提是:网络电话建立连接时被叫方没有连接数据网络,而且被叫方因为某些原因(例如:欠费、关机、不在服务区、空号码等)无法接收来自电路域的电话。又或者网络服务器拨打被叫方电话成功,但因为某些原因(例如:被叫方设置了不响应步骤S1002中的特殊来电、被叫方因为未知原因始终连不上数据网络等等),在之后一定时间之内网络服务器未接到被叫方的答复,网络服务器等待超时了。The premise of the process shown in Figure 13 is that the called party does not connect to the data network when the network phone establishes a connection, and the called party cannot receive the circuit from the circuit for some reasons (for example: arrears, shutdown, out of service area, empty number, etc.) Domain phone. Or the network server dials the called party's call successfully, but for some reason (for example, the called party sets not to respond to the special call in step S1002, the called party is not connected to the data network for unknown reasons, etc.), After a certain period of time, the network server did not receive a reply from the called party, and the network server waited for a timeout.
如图13所示,该流程包括如下步骤:As shown in FIG. 13, the process includes the following steps:
步骤S1301:主叫方向网络服务器发起请求,要求拨打被叫方;Step S1301: The calling party initiates a request to the network server, and requests to call the called party;
步骤S1302:网络服务器知道被叫方没有连接数据网络,于是通过电路域向被叫方拨出电话,试图唤醒被叫方;Step S1302: The network server knows that the called party is not connected to the data network, and then dials a call to the called party through the circuit domain, and attempts to wake up the called party;
步骤S1303:电路域答复网络服务器因为某种原因(例如:欠费、关机、不在服务区、空号码等),拨打被叫方失败。又或者网络服务器拨打被叫方电话成功,但因为某些原因,在之后一定时间之内网络服务器未接到被叫方的答复,网络服务器等待超时了。Step S1303: The circuit domain replies to the network server for some reason (for example: arrears, shutdown, out of service area, empty number, etc.), and the called party fails. Or the network server dials the called party's phone successfully, but for some reason, the network server does not receive the response from the called party within a certain period of time, and the network server waits for a timeout.
步骤S1304:网络服务器答复主叫方,因为某个原因无法接通被叫方,本次通话失败。Step S1304: The network server replies to the calling party, and the called party cannot be connected for some reason, and the call fails.
被叫方终端对于特征来电的处理逻辑的实施例如下:The implementation of the processing logic of the called party terminal for feature incoming calls is as follows:
图14是根据本发明实施例的被叫方终端网络电话连接的处理流程图,如图14所示,按时间先后顺序说明如下:FIG. 14 is a flowchart of processing of a called party terminal network telephone connection according to an embodiment of the present invention. As shown in FIG. 14, the following is illustrated in chronological order:
在正常被叫流程中,被叫方终端的协议栈在向移动交换中心(Mobile Switching Center,简称为MSC)发送层三消息Call Confirmed(呼叫确认)之后,就会一方面向MSC发送层三消息Alerting(意思是被叫方已经响铃),同时另一方面向MMI(Man Machine Interface,人机界面)发送RING消息,该消息通知MMI应该显示来电界面了;In the normal called process, the protocol stack of the called party terminal sends a Layer 3 message to the MSC on the one hand after sending a Layer 3 message Call Confirmed to the Mobile Switching Center (MSC). Alerting (meaning that the called party has ringed), and on the other hand sends a RING message to the MMI (Man Machine Interface), which informs the MMI that the incoming call interface should be displayed;
MMI在收到RING消息后,会检查来电的特征,根据特征判断出这是否是来自于服务器的电话,即特征来电;After receiving the RING message, the MMI checks the characteristics of the incoming call and determines whether the call is from the server, that is, the feature call, according to the feature;
作为一种可选的示例,判断上述RING消息携带的电话号码是否为特定的来电号码(例如,上述特定的来电号码可以预先设置为12345670000), 若上述RING消息携带的电话号码为上述特定的来电号码,则判断出上述RING消息携带的电话号码为服务器的电话号码,呼叫来自于服务器;否则,判断出上述RING消息携带的电话号码不为服务器的电话号码,呼叫不是来自于服务器。As an optional example, determining whether the phone number carried in the RING message is a specific caller number (for example, the specific caller number can be preset to 12345670000). If the phone number carried in the RING message is the specific caller number, it is determined that the phone number carried in the RING message is the phone number of the server, and the call is from the server; otherwise, it is determined that the phone number carried by the RING message is not the server. Phone number, the call is not from the server.
作为另一种可选的示例,判断上述RING消息携带的电话号码是否在特定的来电号码段内(例如,上述来电号码段为从12345670000到12345679999),若上述RING消息携带的电话号码在上述特定的来电号码段内,则判断出上述RING消息携带的电话号码为服务器的电话号码,呼叫来自于服务器;否则,判断出上述RING消息携带的电话号码不为服务器的电话号码,呼叫不是来自于服务器。As another optional example, it is determined whether the phone number carried in the RING message is in a specific caller number segment (for example, the caller number segment is from 12345670000 to 12345679999), if the phone number carried in the RING message is in the above specific In the caller number segment, it is determined that the phone number carried by the RING message is the server's phone number, and the call is from the server; otherwise, it is determined that the phone number carried by the RING message is not the server's phone number, and the call is not from the server. .
在图14中,DISCONNECT(断线)、Release(释放)、Release Complete(释放完成)均为层三消息;ATH为挂断电话的AT(Attention)命令;AT+CGACT=1,1表示连上数据网络的AT命令。上述层三消息和AT命令对本领域技术人员来说是公知的,故于此不再赘述。In Figure 14, DISCONNECT, Release, Release Complete are all Layer 3 messages; ATH is the AT (Attention) command to hang up the phone; AT+CGACT=1, 1 means connected AT command for data networks. The Layer 3 message and the AT command are well known to those skilled in the art, and thus will not be described again.
需要说明的是,上述对于服务器的电话号码的判断方法只是一种示例,本发明实施例不仅限于此。It should be noted that the foregoing method for determining the telephone number of the server is only an example, and the embodiment of the present invention is not limited thereto.
如果不是特征来电,就按正常流程处理,显示来电界面;If it is not a feature call, it will be processed according to the normal process to display the incoming call interface;
如果是特征来电,就挂断该来电;If it is a feature call, hang up the call;
在挂断特征来电之后,被叫方主动去连接数据网络;After the feature call is hanged up, the called party actively connects to the data network;
如果连接数据网络成功,就与服务器进行交互,得到来电号码等信息,显示来电界面。If the connection data network is successful, it interacts with the server to obtain information such as the caller number and displays the incoming call interface.
其中,如图15所示,当被叫方连接数据网络成功后,Wherein, as shown in FIG. 15, when the called party connects to the data network successfully,
步骤S1501:被叫方用自己的用户名和密码登陆服务器(此处可选的用户名是被叫方的电话号码,可选的密码是被叫方在服务器上注册时设置的密码);Step S1501: The called party logs in to the server with its own username and password (the optional username is the called party's phone number, and the optional password is the password set when the called party registers on the server);
步骤S1502:服务器确认被叫方登陆成功;Step S1502: The server confirms that the called party has successfully logged in;
步骤S1503:服务器通知主叫方,被叫方上线了;Step S1503: The server notifies the calling party that the called party is online;
步骤S1504:服务器通知被叫方有来自于主叫方的呼叫,内带主叫方的 电话号码,于是被叫方显示来电界面,将电话号码以及匹配出来的联系人名字显示给用户,并且响铃(和/或震动,视用户设置而定)提示用户;Step S1504: The server notifies the called party that there is a call from the calling party, and the calling party has The phone number, so the called party displays the incoming call interface, displays the phone number and the matching contact name to the user, and rings (and/or vibrates, depending on the user settings) to prompt the user;
步骤S1505:被叫方答复服务器:呼叫已确认,己方已响铃;Step S1505: The called party replies to the server: the call has been confirmed, and the party has ringed;
步骤S1506:服务器答复主叫方:呼叫已确认,被叫方已经响铃;Step S1506: The server replies to the calling party: the call has been confirmed, and the called party has ringed;
当用户选择接听后,步骤S1507:被叫方答复服务器:己方选择接听该次通话,内带被叫方网络协议(IP,Internet Protocol)地址;After the user selects to answer, step S1507: the called party replies to the server: the party chooses to answer the call, and has the called party network protocol (IP, Internet Protocol) address;
步骤S1508:服务器答复主叫方:被叫方选择接听该次通话,内带被叫方IP地址;Step S1508: The server replies to the calling party: the called party selects to answer the call, and has the IP address of the called party;
步骤S1509:主叫方答复服务器,确认建立通话,内带主叫方IP地址和监听端口号;Step S1509: The calling party replies to the server, confirms that the call is established, and the calling party IP address and the listening port number are included therein;
步骤S1510:服务器答复被叫方,确认建立通话,内带主叫方IP地址和监听端口号;Step S1510: The server replies to the called party, confirms that the call is established, and includes the calling party IP address and the listening port number;
步骤S1511:被叫方不经过服务器,而是直接连接主叫方的IP地址和监听端口号,主叫方在检查了被叫方的IP地址后,双方连接建立,开始VOIP通话。Step S1511: The called party does not pass through the server, but directly connects the IP address and the listening port number of the calling party. After the calling party checks the IP address of the called party, the two parties establish a connection and start a VOIP call.
如果连接数据网络失败,或者与服务器进行交互失败,被叫方会在一定时间范围内重试一定次数,如果还不成功,就放弃本次网络通话,用户不会看到来电提示。If the connection to the data network fails or the interaction with the server fails, the called party will retry a certain number of times within a certain time range. If it is not successful, the network call will be abandoned and the user will not see the incoming call prompt.
被叫方可设置在MMI不对特征来电进行进一步处理。The called party can set the MMI to not further process the feature call.
以下是一个实现了本发明实施例的实例和一个已经实现了该实例的手机。The following is an example of an embodiment of the invention and a handset that has implemented the example.
在该实例中,数据网络上交互流程中的信令,以及网络通话数据均是加密传输的,即这是一个加密电话;In this example, the signaling in the interaction process on the data network, and the network call data are all encrypted transmission, that is, this is an encrypted phone;
该实例制作的应用程序作为手机预制的应用程序,在手机出厂时就预置在手机中,不可删除;The application created by the example is a pre-made application of the mobile phone, and is preset in the mobile phone when the mobile phone is shipped from the factory, and cannot be deleted;
该实例制作的应用程序被赋予了特殊权限,可以在MMI底层拦截特征来电,所以用户看不到特征来电的来电界面; The application created by this instance is given special permission, and the feature call can be intercepted under the MMI, so the user can not see the incoming call interface of the feature call;
该实例制作的应用程序被赋予了特殊权限,可以主动连接或断开数据网络;The application created by this instance is given special permissions to actively connect or disconnect the data network;
使用前,用户需要在服务器上注册自己的真实电话号码,服务器发送带有验证码的短信给该号码进行鉴权,绑定该SIM(Subscriber Identity Module,客户识别模块)卡的IMSI(International Mobile Subscriber Identification Number,国际移动用户识别码)号;Before use, the user needs to register his real phone number on the server. The server sends a text message with a verification code to the number for authentication, and binds the SIMI of the SIM (Subscriber Identity Module) card (International Mobile Subscriber). Identification Number, International Mobile Subscriber Identification Number);
该实例建立网络通话的流程如图10、图11、图12所示,故不再赘述;The flow of establishing a network call in this example is shown in FIG. 10, FIG. 11, and FIG. 12, and therefore will not be described again.
主叫方从发出呼叫请求成功到服务器答复呼叫确认的等待时长为60秒;如果60秒内未接到呼叫确认,说明服务器故障,本次通话失败;The waiting time from the caller to the server to answer the call confirmation is 60 seconds; if the call confirmation is not received within 60 seconds, the server is faulty and the call fails.
服务器从拨打电路域电话成功到收到被叫方答复呼叫确认的等待时长为45秒,如果45秒内未接到答复,服务器应答复主叫方,被叫方故障,本次通话失败;The server waits for 45 seconds from the success of dialing the circuit domain call to receive the called party's reply to the call confirmation. If the reply is not received within 45 seconds, the server should reply to the calling party, the called party fails, and the call fails.
被叫方从收到特征来电到与服务器进行交互成功的超时时长为40秒,一旦超时,不再重试,放弃本次网络通话,用户不会得到来电提示;The timeout period from the receipt of the feature call to the successful interaction with the server is 40 seconds. Once it times out, it will not be retried. If the network call is abandoned, the user will not get an incoming call prompt.
服务器收到被叫方呼叫确认后,等待被叫方答复接听或拒绝该次通话的等待时长是50秒;同样,收到服务器呼叫确认后,主叫方等待被叫方答复接听或拒绝该次通话的等待时长也是50秒。如果超时还没有答复,均视为拒绝;After the server receives the called party's call confirmation, the waiting time for the called party to answer the answer or reject the call is 50 seconds; similarly, after receiving the server call confirmation, the calling party waits for the called party to answer or reject the call. The waiting time for the call is also 50 seconds. If there is no reply after the timeout, it is considered as rejection;
被叫方响铃后需要在50秒内答复服务器己方接听或拒绝该次通话,如果超过50秒用户都还没有选择,视为用户拒绝。After the called party rings, it needs to reply to the server within 50 seconds to answer or reject the call. If the user has not selected it for more than 50 seconds, it is regarded as the user's rejection.
主叫方可以在上述过程中随时通知服务器取消本次通话,服务器会通知被叫方取消本次通话。The calling party can notify the server to cancel the call at any time during the above process, and the server will notify the called party to cancel the call.
可以使用本文所述的网络连接方法互相拨打网络电话的终端可以是目前相关技术中的手机。A terminal that can make a network call to each other using the network connection method described herein may be a mobile phone in the related art.
该实例制作的应用程序并非必须在出厂时预置在手机中,也可以作为第三方应用安装在手机上,仍然可以拦截特征来电和主动连接或断开数据网络,只是用户体验稍差(用户可能会看到特征来电界面闪现一下就消失)。The application created by this example does not have to be preset in the phone at the factory, or it can be installed as a third-party application on the mobile phone. It can still intercept feature calls and actively connect or disconnect the data network, but the user experience is slightly worse (users may Will see the feature call interface flashes and disappears).
当被叫方手机处于睡眠状态时,来自电路域的电话会唤醒手机,如果是特征来电,就会触发前述建立网络电话连接的流程。需要注意的是:手机苏 醒后有可能再次进入睡眠状态,这会影响连接数据网络的成功率。因此,该实例制作的应用程序应该在整个连接流程中阻止手机再次进入睡眠状态,直到流程结束。When the called party's mobile phone is in a sleep state, the phone from the circuit domain will wake up the mobile phone, and if it is a feature call, it will trigger the aforementioned process of establishing a network telephone connection. Need to pay attention to: mobile phone Sue After waking up, it is possible to go to sleep again, which will affect the success rate of connecting to the data network. Therefore, the application created by this instance should prevent the phone from going to sleep again during the entire connection process until the end of the process.
综上所述,通过本发明实施例的网络电话连接方法,在接通电话过程中所耗时延以及在接通率方面与普通电路域电话相差不多,用户体验良好;不需要一直连接数据网络,省电;在智能机上以第三方应用形式安装,可以跨不同制式手机使用,使用范围大。In summary, the network telephone connection method according to the embodiment of the present invention has the same delay and the connection rate in the process of connecting the telephone, and the user experience is good; the user does not need to be connected to the data network all the time. , power saving; installed on a smart machine in the form of a third-party application, can be used across different types of mobile phones, a large range of use.
本领域的技术人员应该明白,上述的本申请的模块或步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,例如,通过处理器执行存储于存储器中的程序/指令来实现其相应功能,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成一个或多个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本申请不限制于任何特定的硬件和软件结合。Those skilled in the art will appreciate that the above-described modules or steps of the present application can be implemented by a general-purpose computing device, which can be centralized on a single computing device or distributed over a network of multiple computing devices. They may be implemented by program code executable by the computing device such that they may be stored in the storage device for execution by the computing device, for example, by the processor executing the program/instructions stored in the memory to perform their respective functions. And, in some cases, the steps shown or described may be performed in an order different than that herein, or they may be separately fabricated into one or more integrated circuit modules, or a plurality of modules or steps thereof may be fabricated Implemented as a single integrated circuit module. Thus, the application is not limited to any particular combination of hardware and software.
以上所述仅为本申请的可选实施例而已,并不用于限制本申请,对于本领域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above description is only an optional embodiment of the present application, and is not intended to limit the present application, and various changes and modifications may be made to the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of this application are intended to be included within the scope of the present application.
工业实用性Industrial applicability
本发明实施例提供一种网络电话连接处理方法及装置,解决了相关技术中不能像拨打普通电路域电话一样随时使用网络电话拨打被叫方的问题,进而不需要被叫终端一直连接着数据网络,也能像拨打普通电路域电话一样,可以随时拨打被叫终端。 The embodiment of the invention provides a method and a device for processing a network telephone connection, which solves the problem that the related art cannot use the network telephone to dial the called party at any time like dialing a normal circuit domain telephone, thereby eliminating the need for the called terminal to always be connected to the data network. It can also call the called terminal at any time, just like a normal circuit domain phone.

Claims (20)

  1. 一种网络电话连接处理方法,包括:A method for processing a network telephone connection, comprising:
    接收主叫终端发送的呼叫请求消息,其中,所述呼叫请求消息用于请求在数据网络上呼叫被叫终端;Receiving a call request message sent by the calling terminal, where the call request message is used to request to call the called terminal on the data network;
    确定所述被叫终端当前未连接至所述数据网络,并指示所述被叫终端连接至所述数据网络;Determining that the called terminal is not currently connected to the data network, and instructing the called terminal to connect to the data network;
    在判断出所述被叫终端成功连接至所述数据网络的情况下,通过所述数据网络将所述呼叫请求消息发送至所述被叫终端。In a case where it is determined that the called terminal successfully connects to the data network, the call request message is sent to the called terminal through the data network.
  2. 根据权利要求1所述的方法,其中,所述指示所述被叫终端连接至所述数据网络包括:The method of claim 1, wherein the indicating that the called terminal is connected to the data network comprises:
    通过电路域呼叫所述被叫终端,以指示所述被叫终端连接至所述数据网络。The called terminal is called through the circuit domain to indicate that the called terminal is connected to the data network.
  3. 根据权利要求2所述的方法,在指示所述被叫终端连接至所述数据网络之后,所述方法还包括:The method of claim 2, after instructing the called terminal to connect to the data network, the method further comprising:
    在通过电路域呼叫所述被叫终端失败的情况下,向所述主叫终端发送呼叫失败消息。In the case where the called terminal fails to call through the circuit domain, a call failure message is sent to the calling terminal.
  4. 根据权利要求1所述的方法,在指示所述被叫终端连接至所述数据网络之后,所述方法还包括:The method of claim 1, after the instructing the called terminal to connect to the data network, the method further comprises:
    在判断所述被叫终端连接至所述数据网络失败的情况下,向所述主叫终端发送呼叫失败消息。In a case where it is determined that the called terminal fails to connect to the data network, a call failure message is sent to the calling terminal.
  5. 根据权利要求1所述的方法,其中,所述判断出所述被叫终端成功连接至所述数据网络的情况包括:The method of claim 1, wherein the determining that the called terminal successfully connects to the data network comprises:
    在接收到所述被叫终端发送的成功连接消息的情况下,判断出所述被叫终端成功连接至所述数据网络,其中,所述成功连接消息用于指示所述被叫终端成功连接至所述数据网络。When the successful connection message sent by the called terminal is received, it is determined that the called terminal is successfully connected to the data network, where the successful connection message is used to indicate that the called terminal is successfully connected to The data network.
  6. 根据权利要求1所述的方法,在通过所述数据网络将所述呼叫请求消息发送至所述被叫终端之后,所述方法还包括: The method of claim 1, after the sending of the call request message to the called terminal by the data network, the method further comprising:
    在所述被叫终端接收所述呼叫请求消息的情况下,建立所述主叫终端与所述被叫终端的网络电话连接;或者,And establishing, by the called terminal, the network call connection of the called terminal and the called terminal; or
    在所述被叫终端拒绝所述呼叫请求消息的情况下,向所述主叫终端发送呼叫失败消息。In the case that the called terminal rejects the call request message, a call failure message is sent to the calling terminal.
  7. 根据权利要求1所述的方法,其中,所述确定所述被叫终端当前未连接至所述数据网络包括:The method of claim 1, wherein the determining that the called terminal is not currently connected to the data network comprises:
    确定所述被叫终端当前在服务器上处于不在线状态。It is determined that the called terminal is currently in an offline state on the server.
  8. 一种网络电话连接处理方法,包括:A method for processing a network telephone connection, comprising:
    被叫终端在未连接至数据网络的情况下接收服务器发送的第一指示消息,其中,所述第一指示消息用于指示所述被叫终端连接至所述数据网络;Receiving, by the called terminal, the first indication message sent by the server, where the first indication message is used to indicate that the called terminal is connected to the data network;
    在所述被叫终端成功连接至所述数据网络的情况下,所述被叫终端向所述服务器发送第二指示消息,其中,所述第二指示消息用于指示所述被叫终端成功连接至所述数据网络;When the called terminal is successfully connected to the data network, the called terminal sends a second indication message to the server, where the second indication message is used to indicate that the called terminal is successfully connected. To the data network;
    所述被叫终端接收所述服务器转发的由主叫终端发送的呼叫请求消息,其中,所述呼叫请求消息用于请求在所述数据网络上呼叫所述被叫终端。The called terminal receives a call request message sent by the calling terminal by the server, where the call request message is used to request to call the called terminal on the data network.
  9. 根据权利要求8所述的方法,其中,所述被叫终端在未连接至数据网络的情况下接收服务器发送的第一指示消息包括:The method according to claim 8, wherein the receiving, by the called terminal, the first indication message sent by the server without being connected to the data network comprises:
    所述被叫终端接收到所述服务器通过电路域发送的所述第一指示消息,其中,所述第一指示消息由所述服务器通过所述电路域呼叫所述被叫终端所产生。The called terminal receives the first indication message sent by the server through a circuit domain, where the first indication message is generated by the server calling the called terminal by using the circuit domain.
  10. 根据权利要求8所述的方法,在被叫终端在未连接至数据网络的情况下接收服务器发送的第一指示消息之后,且在所述被叫终端向所述服务器发送第二指示消息之前,所述方法还包括:The method according to claim 8, after the called terminal receives the first indication message sent by the server without being connected to the data network, and before the called terminal sends the second indication message to the server, The method further includes:
    在所述被叫终端判断出所述第一指示消息中携带的电话号码为所述服务器的电话号码的情况下,所述被叫终端向所述数据网络发送连接请求消息,并接收到所述数据网络发送的用于指示所述被叫终端成功连接至所述数据网络的连接响应消息。When the called terminal determines that the phone number carried in the first indication message is the phone number of the server, the called terminal sends a connection request message to the data network, and receives the A connection response message sent by the data network to indicate that the called terminal successfully connects to the data network.
  11. 一种网络电话连接处理装置,应用于服务器,包括: A network telephone connection processing device is applied to a server, including:
    接收模块,设置为:接收主叫终端发送的呼叫请求消息,其中,所述呼叫请求消息用于请求在数据网络上呼叫被叫终端;The receiving module is configured to: receive a call request message sent by the calling terminal, where the call request message is used to request to call the called terminal on the data network;
    确定模块,设置为:确定所述被叫终端当前未连接至所述数据网络,并指示所述被叫终端连接至所述数据网络;a determining module, configured to: determine that the called terminal is not currently connected to the data network, and instruct the called terminal to connect to the data network;
    判断模块,设置为:在判断出所述被叫终端成功连接至所述数据网络的情况下,通过所述数据网络将所述呼叫请求消息发送至所述被叫终端。The judging module is configured to: when it is determined that the called terminal successfully connects to the data network, send the call request message to the called terminal through the data network.
  12. 根据权利要求11所述的装置,其中,所述确定模块是设置为:通过电路域呼叫所述被叫终端,以指示所述被叫终端连接至所述数据网络。The apparatus of claim 11, wherein the determining module is configured to: call the called terminal through a circuit domain to indicate that the called terminal is connected to the data network.
  13. 根据权利要求12所述的装置,所述装置还包括:The device of claim 12, the device further comprising:
    第一发送模块,设置为:在通过电路域呼叫所述被叫终端失败的情况下,向所述主叫终端发送呼叫失败消息。The first sending module is configured to: when the called terminal fails to call through the circuit domain, send a call failure message to the calling terminal.
  14. 根据权利要求11所述的装置,所述装置还包括:The apparatus of claim 11 further comprising:
    第二发送模块,设置为:在判断所述被叫终端连接至所述数据网络失败的情况下,向所述主叫终端发送呼叫失败消息。The second sending module is configured to: when it is determined that the called terminal fails to connect to the data network, send a call failure message to the calling terminal.
  15. 根据权利要求11所述的装置,其中,所述判断模块是设置为:在接收到所述被叫终端发送的成功连接消息的情况下,判断出所述被叫终端成功连接至所述数据网络,其中,所述成功连接消息用于指示所述被叫终端成功连接至所述数据网络。The apparatus according to claim 11, wherein the determining module is configured to: when receiving the successful connection message sent by the called terminal, determine that the called terminal successfully connects to the data network The successful connection message is used to indicate that the called terminal successfully connects to the data network.
  16. 根据权利要求11所述的装置,所述装置还包括:The apparatus of claim 11 further comprising:
    建立模块,设置为:在所述被叫终端接收所述呼叫请求消息的情况下,建立所述主叫终端与所述被叫终端的网络电话连接;或者,Establishing a module, configured to: when the called terminal receives the call request message, establish a network telephone connection between the calling terminal and the called terminal; or
    第三发送模块,设置为:在所述被叫终端拒绝所述呼叫请求消息的情况下,向所述主叫终端发送呼叫失败消息。The third sending module is configured to: when the called terminal rejects the call request message, send a call failure message to the calling terminal.
  17. 根据权利要求11所述的装置,其中,所述确定模块是设置为通过以下方式确定所述被叫终端当前未连接至所述数据网络:确定所述被叫终端当前在服务器上处于不在线状态。The apparatus of claim 11, wherein the determining module is configured to determine that the called terminal is not currently connected to the data network by determining that the called terminal is currently offline on a server .
  18. 一种网络电话连接处理装置,应用于被叫终端,包括: A network telephone connection processing device is applied to a called terminal, including:
    第一接收模块,设置为:在未连接至数据网络的情况下接收服务器发送的第一指示消息,其中,所述第一指示消息用于指示所述被叫终端连接至所述数据网络;The first receiving module is configured to: receive the first indication message sent by the server if not connected to the data network, where the first indication message is used to indicate that the called terminal is connected to the data network;
    第一发送模块,设置为:在所述被叫终端成功连接至所述数据网络的情况下,向所述服务器发送第二指示消息,其中,所述第二指示消息用于指示所述被叫终端成功连接至所述数据网络;a first sending module, configured to: send a second indication message to the server, where the called terminal is successfully connected to the data network, where the second indication message is used to indicate the called The terminal successfully connects to the data network;
    第二接收模块,设置为:接收所述服务器转发的由主叫终端发送的呼叫请求消息,其中,所述呼叫请求消息用于请求在所述数据网络上呼叫所述被叫终端。The second receiving module is configured to: receive a call request message sent by the calling terminal and forwarded by the calling terminal, where the call request message is used to request to call the called terminal on the data network.
  19. 根据权利要求18所述的装置,其中,所述第一接收模块是设置为:接收到所述服务器通过电路域发送的所述第一指示消息,其中,所述第一指示消息由所述服务器通过所述电路域呼叫所述被叫终端所产生。The apparatus of claim 18, wherein the first receiving module is configured to: receive the first indication message sent by the server through a circuit domain, wherein the first indication message is by the server Called by the called terminal by the circuit domain.
  20. 根据权利要求18所述的装置,所述装置还包括:The device of claim 18, the device further comprising:
    第二发送模块,设置为:在所述被叫终端判断出所述第一指示消息中携带的电话号码为所述服务器的电话号码的情况下,向所述数据网络发送连接请求消息,并接收到所述数据网络发送的用于指示所述被叫终端成功连接至所述数据网络的连接响应消息。 a second sending module, configured to: when the called terminal determines that the phone number carried in the first indication message is a phone number of the server, send a connection request message to the data network, and receive And a connection response message sent to the data network to indicate that the called terminal successfully connects to the data network.
PCT/CN2016/082343 2015-08-20 2016-05-17 Internet telephone connection processing method and device WO2017028567A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510514000.8A CN106470194A (en) 2015-08-20 2015-08-20 Networking telephone connection processing method and device
CN201510514000.8 2015-08-20

Publications (1)

Publication Number Publication Date
WO2017028567A1 true WO2017028567A1 (en) 2017-02-23

Family

ID=58050695

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/082343 WO2017028567A1 (en) 2015-08-20 2016-05-17 Internet telephone connection processing method and device

Country Status (2)

Country Link
CN (1) CN106470194A (en)
WO (1) WO2017028567A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112887195A (en) * 2021-01-20 2021-06-01 努比亚技术有限公司 Voice calling method, voice calling device and computer readable storage medium
CN113099055A (en) * 2021-04-02 2021-07-09 北京字跳网络技术有限公司 Communication method, system, device, electronic equipment and storage medium
WO2022022427A1 (en) * 2020-07-31 2022-02-03 华为技术有限公司 Communication method and system and related apparatus
CN114143875A (en) * 2021-11-26 2022-03-04 杨扬 Call forwarding method and device based on instant messaging social application program

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108574671B (en) * 2017-03-10 2021-01-26 中兴通讯股份有限公司 Communication method, routing device and computer storage medium
CN106792612A (en) * 2017-03-29 2017-05-31 努比亚技术有限公司 One kind is without card emergent call processing method and terminal
CN107426194B (en) * 2017-06-30 2021-07-20 北京金山安全软件有限公司 Call connection method, device, server, electronic equipment and storage medium
CN111836254B (en) * 2019-04-23 2023-05-26 中兴通讯股份有限公司 Service call realization method, device and equipment
CN114071492B (en) * 2020-07-31 2023-07-25 中国联合网络通信集团有限公司 Voice call quality optimization method, terminal and base station

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1765112A (en) * 2003-04-16 2006-04-26 爱捷特公司 Establishing a connection method and device using a hybrid receiver
CN101459889A (en) * 2007-12-14 2009-06-17 日电(中国)有限公司 Method and terminal equipment for controlling network connection
US20090296607A1 (en) * 2005-05-09 2009-12-03 Ip Drum Holding S.A. Computer Telephony for Cellular Phones
CN101841789A (en) * 2010-02-04 2010-09-22 中国电信股份有限公司 Video communication method and system, and method for activating video communication of packet switched domain

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU5251500A (en) * 2000-03-25 2001-10-08 Intersoftphone Co., Ltd. System and method of charge and/or free of charge phone using internet on website
CN1438798A (en) * 2003-02-15 2003-08-27 李瑞军 Network telephone system
CN102647532A (en) * 2011-02-18 2012-08-22 解正宇 Intelligent standby network telephone
CN102781058A (en) * 2012-06-19 2012-11-14 袁开国 Switching method between common telephone and internet protocol (IP) on intelligent terminal
CN102724203A (en) * 2012-06-19 2012-10-10 袁开国 Internet protocol (IP) call dialing method for intelligent terminal
CN103685794B (en) * 2013-12-26 2015-09-16 广州市百果园网络科技有限公司 A kind of method of accessing of the networking telephone and system
CN104683360B (en) * 2015-03-27 2017-11-10 北京理想固网科技股份有限公司 Ip voice communication system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1765112A (en) * 2003-04-16 2006-04-26 爱捷特公司 Establishing a connection method and device using a hybrid receiver
US20090296607A1 (en) * 2005-05-09 2009-12-03 Ip Drum Holding S.A. Computer Telephony for Cellular Phones
CN101459889A (en) * 2007-12-14 2009-06-17 日电(中国)有限公司 Method and terminal equipment for controlling network connection
CN101841789A (en) * 2010-02-04 2010-09-22 中国电信股份有限公司 Video communication method and system, and method for activating video communication of packet switched domain

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
GSMA: "IMS Profile for Voice and SMS, Version 9.0", GSM ASSOCIATION OFFICIAL DOCUMENT IR.92, 8 April 2015 (2015-04-08), pages 1 - 40, XP055364907 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022022427A1 (en) * 2020-07-31 2022-02-03 华为技术有限公司 Communication method and system and related apparatus
CN112887195A (en) * 2021-01-20 2021-06-01 努比亚技术有限公司 Voice calling method, voice calling device and computer readable storage medium
CN112887195B (en) * 2021-01-20 2023-11-14 努比亚技术有限公司 Voice calling method, voice calling device and computer readable storage medium
CN113099055A (en) * 2021-04-02 2021-07-09 北京字跳网络技术有限公司 Communication method, system, device, electronic equipment and storage medium
CN114143875A (en) * 2021-11-26 2022-03-04 杨扬 Call forwarding method and device based on instant messaging social application program

Also Published As

Publication number Publication date
CN106470194A (en) 2017-03-01

Similar Documents

Publication Publication Date Title
WO2017028567A1 (en) Internet telephone connection processing method and device
US11096019B2 (en) Text alternative to established voice call session
US9578177B2 (en) Establishing telephone communications with secondary devices
US8340637B2 (en) Securely establishing presence on telecommunication devices
US10498774B2 (en) Systems and methods for improved E911 call handling
US9456333B2 (en) Centralized routing in hybrid networks
WO2017133606A1 (en) Communication method based on audio gateway
US20170111513A1 (en) Communication service processing method and device in circuit switch domain and storage medium
CN103179566B (en) Server and communication authority management method
US8600012B1 (en) Methods and systems for providing pre-call-connection messaging services to calling parties
JP2007036391A (en) Voice communication terminal, arrival signal control method, and origination control method
WO2017028569A1 (en) Internet telephone call connection method and device
CN107786953B (en) VoLTE encryption call processing method, application server and terminal
WO2017108068A1 (en) Apparatuses and method for contacting a callee
WO2023241049A1 (en) Ott call service control method, controller, and storage medium
US20170374691A1 (en) Systems and methods for managing communication sessions at endpoints accessible via more than one network
WO2016138645A1 (en) Voice service sharing method, device and system
WO2013078953A1 (en) Calling account configuration method, calling apparatus, and gateway
WO2014194671A1 (en) Service processing method, terminal device, and service roaming network
WO2013037212A1 (en) Usat voice call implementing method and device
KR20110027932A (en) Method and apparatus for managing call waiting
US20140274017A1 (en) Systems and methods for handling incoming communications directed to a telephony device
JP2009225292A (en) Call connecting apparatus and incoming call selecting method
JP2015506613A (en) Unestablished communication link in communication system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16836432

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16836432

Country of ref document: EP

Kind code of ref document: A1