WO2016177222A1 - Missed call reminding method and device - Google Patents
Missed call reminding method and device Download PDFInfo
- Publication number
- WO2016177222A1 WO2016177222A1 PCT/CN2016/078124 CN2016078124W WO2016177222A1 WO 2016177222 A1 WO2016177222 A1 WO 2016177222A1 CN 2016078124 W CN2016078124 W CN 2016078124W WO 2016177222 A1 WO2016177222 A1 WO 2016177222A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- missed call
- called terminal
- server
- client
- terminal
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/16—Communication-related supplementary services, e.g. call-transfer or call-hold
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M3/00—Automatic or semi-automatic exchanges
- H04M3/42—Systems providing special services or facilities to subscribers
Definitions
- This document refers to, but is not limited to, a communication system, and more particularly to a method and device for reminding a missed call.
- the caller is reminded that the value-added service needs to be based on the operator's mobile network.
- the operator needs to make the call forwarding service on the called subscriber's Home Location Register (HLR). Otherwise, the service cannot be carried out, and the current call alert service can be seen. It is necessary for the operator to be responsible for the value-added business of the main business.
- HLR Home Location Register
- each communication network is integrated with each other, and the integration of telecommunication network, Internet network and wide-area network has spawned every type of terminal, such as smart phones, tablets and so on.
- Each type of terminal can provide multiple types of converged services in a converged network environment. However, there is currently no missed call alert service under the IP network.
- the embodiment of the invention provides a method and device for reminding a missed call, which can implement a missed call reminding service under an IP network.
- a missed call reminding method including:
- the missed call server acquires a call message generated by the missed call client of the calling terminal and sent by the IP network during the call of the called terminal by the calling terminal;
- the missed call server queries the current state of the called terminal according to the received call message
- the missed call server generates a missed call notification message according to the current state of the called terminal, and sends the missed call message to the called terminal of the called terminal through the IP network.
- the method before the missed call server obtains the call message generated by the missed call client of the calling terminal and sent by using the IP network, the method further includes:
- the missed call server transmits a call message including a calling terminal number and a called terminal number.
- the step of querying, by the missed call server, the current status of the called terminal according to the received call message includes:
- the missed call server obtains the calling terminal number and the called terminal number by parsing the call message
- the missed call server queries the missed call client of the called terminal corresponding to the called terminal number through the IP network to query the current state of the called terminal; or the missed call server queries through the local real-time updated terminal state database.
- the current state of the called terminal corresponding to the called terminal number is the missed call client of the called terminal corresponding to the called terminal number.
- the method further includes:
- the step of the missed call server generating the missed call notification message according to the current state of the called terminal and sending the missed call message to the called terminal through the IP network includes:
- the missed call server When the current state of the called terminal that is queried by the missed call server is any one of shutdown, unreachable, user busy, and no answer, generating a missed call notification message including the calling terminal number;
- the missed call server sends the missed call notification message to the missed call client of the called terminal by using a socket connection between the missed call server and the missed call client of the called terminal.
- it also includes:
- the missed call server receives the socket through a socket connection between the missed call server and the missed call client of the called terminal.
- the power-on status information of the called terminal sent by the missed call terminal of the terminal, and the socket connection between the missed call server and the missed call client of the calling terminal, the called terminal is included
- the called power-on reminder message of the power-on status information is sent to the missed-end client of the calling terminal.
- a missed call reminding apparatus including:
- a server obtaining unit configured to acquire, when the calling terminal calls the called terminal through the mobile network, a call message generated by the missed call client of the calling terminal and sent through the IP network;
- the server query unit is configured to query the current state of the called terminal according to the received call message
- the server notification unit is configured to generate a missed call notification message according to the current state of the called terminal, and send the missed call message to the called terminal of the called terminal through the IP network.
- it also includes:
- a server connection establishing unit configured to establish, between the missed call client of the calling terminal, before the server obtaining unit acquires a call message generated by the missed call client of the calling terminal and sent through the IP network Socket connection.
- the server query unit obtains the calling terminal number and the called terminal number by parsing the call message, and the missed call of the called terminal corresponding to the called terminal number by using an IP network
- the client queries the current status of the called terminal, or queries the current status of the called terminal corresponding to the called terminal number through a local real-time updated terminal status database.
- the server connection establishing unit is further configured to establish a socket connection with the missed client of the called terminal before the server querying unit queries the current state of the called terminal through the IP network.
- the server notification unit generates a missed call notification message including the calling terminal number when the current state of the called terminal that is queried is any state of shutdown, unreachable, user busy, and no answer, and The missed call notification message is sent to the missed call client of the called terminal by a socket connection with the missed client of the called terminal.
- the server obtaining unit receives the called terminal by using a socket connection with the missed client of the called terminal. Missing the power-on status information of the called terminal sent by the client, the server notifying the unit The socket connection connection with the missed call client of the calling terminal sends a called power-on reminder message including the power-on status information of the called terminal to the missed-end client of the calling terminal.
- the embodiment of the invention implements the missed call reminding service through the socket mode, so that the IP-based terminal device can also support the missed call reminding service, which brings great convenience to the user, improves the user experience, and promotes missed calls. Remind the use and development of the business.
- FIG. 1 is a schematic block diagram of a missed call reminding method according to an embodiment of the present invention
- FIG. 2 is a block diagram of a missed call reminding device according to an embodiment of the present invention.
- FIG. 3 is a block diagram of a missed call reminding system according to an embodiment of the present invention.
- FIG. 4 is a schematic diagram of an IP-based missed call reminding system according to an embodiment of the present invention.
- FIG. 5 is a schematic diagram of an embodiment of a method for implementing a Socket connection in a long connection manner in the embodiment shown in FIG. 4;
- FIG. 6 is a schematic diagram of an embodiment of a method for implementing a Socket connection in a short connection manner in the embodiment shown in FIG. 4;
- FIG. 7 is a first schematic structural diagram of an IP-based missed call implementation system of the embodiment shown in FIG. 4;
- FIG. 8 is a first schematic structural diagram of an IP-based missed call implementation system of the embodiment shown in FIG. 4.
- FIG. 8 is a first schematic structural diagram of an IP-based missed call implementation system of the embodiment shown in FIG. 4.
- FIG. 1 is a schematic block diagram of a missed call reminding method according to an embodiment of the present invention. As shown in FIG. 1 , the steps include:
- Step S101 The missed call server obtains during the call of the called terminal by the calling terminal through the mobile network.
- the call message generated by the missed call client of the calling terminal and sent through the IP network is taken.
- the call message includes a calling terminal number and a called terminal number.
- step S101 Before performing the step S101, establishing a socket connection for message delivery between the missed call server and the missed call client of the calling terminal, for the missed call client of the calling terminal A call message including a calling terminal number and a called terminal number is delivered to the missed call server using the socket connection.
- the socket connection between the missed call server and the missed call client of the calling terminal may be established by the missed call server, or may be established by the missed call client of the calling terminal.
- the missed call server needs to obtain the IP address of the missed call client of the calling terminal in advance, so as to establish a socket by using the IP address of the missed call client of the calling terminal. connection.
- Step S102 The missed call server queries the current state of the called terminal according to the received call message.
- step S102 Before the step S102, establishing a socket connection for message delivery between the missed call server and the missed call client of the called terminal, for the called terminal to utilize the socket
- the connection transmits the current state information of the called terminal to the missed call server.
- the missed call server obtains the calling terminal number and the called terminal number by parsing the call message, and uses the obtained called terminal number to query by one of the following two methods: Call the current status of the terminal:
- the missed call server queries the missed call client of the called terminal corresponding to the called terminal number through the IP network to query the current state of the called terminal.
- Manner 2 The missed call server queries the current state of the called terminal corresponding to the called terminal number through a local real-time updated terminal state database.
- Step S103 The missed call server generates a missed call notification message according to the current state of the called terminal, and sends the missed call message to the called terminal of the called terminal through the IP network.
- a missed call notification message including the calling terminal number is generated, and the a socket connection between the missed call server and the missed client of the called terminal
- the missed call notification message is sent to the missed call client of the called terminal.
- the missed call server/the missed call client of the calling terminal/the missed call client of the called terminal establishes a corresponding socket connection before sending a message. And disconnect the established socket connection after sending the message.
- the missed call client of the calling terminal/the missed call client of the called terminal initiates a timeout to the missed call server after the corresponding socket connection is established.
- the heartbeat detects the request in order to maintain the established socket connection.
- the embodiment of the invention is a missed call reminding application based on the IP network, which provides a new experience for the incoming call reminding user to receive the missed reminder message based on the IP network.
- the missed call server may establish a socket connection between the missed call server and the missed call client of the called terminal.
- the embodiment of the invention further provides a computer readable storage medium.
- the foregoing storage medium may be configured to store computer executable instructions for performing the missed call reminding method described above.
- the server includes a server obtaining unit 10, a server querying unit 20, a server notifying unit 30, and a server connection establishing unit 40.
- the server obtaining unit 10 is configured to acquire, when the calling terminal calls the called terminal through the mobile network, a call message generated by the missed call client of the calling terminal and sent through the IP network.
- the call message includes a calling terminal number and a called terminal number.
- the server connection establishing unit 40 establishes a call with the missed call client of the calling terminal. Socket connection.
- the server query unit 20 is configured to query the current state of the called terminal based on the received call message.
- the server connection establishing unit 40 establishes a socket connection with the missed client of the called terminal before querying the current state of the called terminal through the IP network.
- the server query unit 20 obtains the calling terminal number and the called terminal number by parsing the call message, and connects to the called terminal corresponding to the called terminal number through the established socket connection.
- the missed call client queries the current state of the called terminal, or queries the current state of the called terminal corresponding to the called terminal number through a local real-time updated terminal state database.
- the server notification unit 30 is configured to generate a missed call notification message according to the current state of the queried called terminal, and send it to the missed call client of the called terminal through the IP network.
- the server notification unit 30 generates a missed call notification message including the calling terminal number when the current state of the called terminal that is queried is any state of shutdown, unreachable, busy, and no response, and passes the A socket connection between the missed clients of the called terminal, and the missed call notification message is sent to the missed call client of the called terminal.
- FIG. 3 is a block diagram of a missed call reminding system according to an embodiment of the present invention.
- a calling terminal calls a called terminal through a mobile network provided by an operator
- the missed call client of the calling terminal goes to the leak through the IP network.
- the server sends a call message containing the calling terminal number and the called terminal number.
- the missed server queries the missed call client of the called terminal through the IP network according to the called terminal number to query the current state of the called terminal.
- the missed server When the current state of the called terminal is queried, unreachable, busy, and unanswered, the missed server generates a missed call notification message including the calling terminal number and the calling time, and passes the IP.
- the network sends the missed call notification message to the missed call client of the called terminal, so that the called user knows the missed situation in time.
- the missed call client of the called terminal may be installed on the called terminal as shown in FIG. 3, or may be installed on other IP-based terminal devices such as a tablet computer.
- the missed server can send a missed call notification message to the tablet of the missed client that has installed and opened the called terminal through the IP network.
- the same user can conveniently receive and upload the IP client software through the loaded IP client software on various terminal devices (such as smart phones, iPads, etc.). Manage missed messages.
- the traditional call alert service (missing reminder service) is led by operators.
- the embodiment of the present invention does not require the operator to participate, and the operator's mobile network is only a pipeline, which can attract more users to use the MC function, so that the MC reminds the service to be more easily used and promoted, thereby also increasing revenue.
- the missed call (MC) server and the MC client are connected by a socket (Socket) to implement a missed call reminder as an example, and further description is needed.
- Socket socket
- FIG. 4 is a schematic diagram of an IP-based missed call reminding system according to an embodiment of the present invention. As shown in FIG. 4, a socket connection is established between the MC server 1 and the MC client 2, and the MC server 1 and the MC client 2 are connected. Message passing is achieved through the Socket connection.
- the MC server 1 on the network side serves the MC client, and the MC system interacts with the MC client through an agreement protocol to complete the notification of the status of the called terminal number and the notification function of the missed call information.
- the MC server end 1 is also responsible for the management of Socket communication on the server side.
- the MC client 1 located on the terminal side is software that implements the MC function on the IP-based terminal side.
- the calling user connects to the MC server through the MC client, and reports the calling and called terminal number information to the MC server through the contract protocol, and other agreed operations; the called user connects to the MC server through the MC client. End, and report the current status of the called user to the MC server through the contract.
- the MC client 2 is also responsible for the application and management of the Socket communication on the client.
- the MC client in the embodiment of the present invention runs on an IP-based terminal device, including but not limited to a tablet computer, a TV, that is, an MC client can be run on an IP-based smart terminal. End, for example, running the MC client on a tablet and running the MC client on the TV.
- the Socket connection is also called a Socket channel, and refers to all Socket data channels and data communication mechanisms.
- the Socket connection can be established and maintained between MC server 1 and MC client 2 as follows:
- Mode 1 For the long connection mode, the MC client 2 initiates a request to establish a Socket connection with the MC server 1, and the MC client 2 establishes and maintains a Socket connection with the MC server 1 by periodically sending a heartbeat message packet. After the connection is successful, the user is authenticated with the password security authentication. After the authentication succeeds, the MC client periodically initiates heartbeat monitoring to maintain the Socket connection. When the heartbeat monitoring does not receive a response from the MC server, the MC client considers that the Socket connection detection fails, and the MC client re-initiates the request to establish a Socket connection.
- the Socket connection between the MC server 1 and the MC client 2 can be initiated by the MC client, and after the connection is successful, the MC client 2 periodically initiates a heartbeat message to detect the Socket connection, and detects When the Socket connection fails, the MC client re-initiates the Socket connection.
- Mode 2 For the short connection mode, the Socket connection that the MC client 2 sets to deliver a message to the MC server is initiated by the MC client 2, and after the message is delivered, the MC client 2 Disconnecting the Socket; the Socket connection that the MC server 1 is configured to deliver a message to the MC client 2 is initiated by the MC server 1, and after the message is delivered, the MC server 1 is disconnected. Open the Socket connection.
- the MC client 1 initiates a Socket connection to the MC server 1 and after the connection is successful, the MC server 1 records the The IP address of the MC client 2, and then the MC client 2 disconnects the Socket connection, so that the MC server 1 can initiate a Socket connection according to the recorded IP address of the MC client 2.
- the message delivered by the MC server end 1 and the MC client 2 through the Socket connection may adopt the same message type and content format as the short message service (SMS).
- SMS short message service
- the message delivered by the MC server end 1 and the MC client 2 through the Socket connection includes a message for system notification and/or missed call management.
- FIG. 5 is a schematic diagram of a method for implementing a Socket connection in a long connection manner in the embodiment shown in FIG. 4, as shown in FIG. 5, the steps include:
- Step 201 The MC client (Client) initiates a request for establishing a Socket channel to the MC server (Server).
- the IP-based MC client can initiate the initiative to the MC server when starting. Establish a connection request for the socket channel.
- Step 202 After receiving the request, the MC server returns a confirmation message to the MC client.
- Step 203 The MC client sends an authentication command to the MC server.
- Step 204 The MC server returns the authentication information encrypted by the base64 coded MD5 algorithm.
- Step 205 The MC client decrypts the encrypted authentication information by using the MD5 algorithm, and obtains the decrypted authentication information based on the base64 encoding, and sends the encrypted authentication information to the MC server.
- Step 206 The MC server sends an authentication completion message to the MC client, indicating that the authentication is successful.
- the authentication process between the MC client and the MC server is completed, and the Socket channel can perform service communication.
- Step 207 The MC client and the MC server perform heartbeat detection.
- the MC client periodically initiates a heartbeat detection message, and the MC server receives the heartbeat detection message and feeds back the heartbeat detection response message, and the MC client detects and maintains the state of the Socket channel according to the heartbeat detection response message of the MC server.
- the MC client considers that the Socket connection detection fails.
- the MC client re-enters the MC server to initiate a request for establishing a Socket connection.
- Step 208 The MC client interacts with the MC server through the Socket channel to perform user status query management.
- the user status query management function implemented by the MC client and the MC server to exchange Socket messages includes: querying the current status of the called user, including but not limited to the user busy, shutdown, unreachable, and no response.
- Step 209 After generating the system notification message, the MC server sends the Socket channel to the MC client, and performs user status query management through the Socket channel.
- the MC server can send the MC client through the Socket channel when there is a system notification message.
- the system notification message is a message sent by the system to the MC client, including a missed reminder message and a power-on reminder message.
- the case where the MC server sends a system notification message includes but is not limited to the following two types:
- the called user receives a missed call reminder message
- the calling user receives a power-on reminder message about the called user.
- a message notification mechanism is implemented in the message notification mechanism between the MC client and the MC server, and the message notification mechanism of the data channel (Socket) is added to support the IP-based MC client.
- the terminal device based on the IP mode implements message transmission between the MC server and the MC client through the Socket communication channel between the MC client and the MC server initiated and established by the MC client.
- FIG. 6 is a schematic diagram of a method for implementing a Socket connection in a short connection manner in the embodiment shown in FIG. 4. As shown in FIG. 6, the steps include:
- Step 301 The MC client (Client) initiates a request for establishing a Socket channel to the MC server (Server).
- Step 302 After receiving the request, the MC server returns a confirmation message to the MC client.
- Step 303 The MC client sends an authentication command to the MC server.
- Step 304 The MC server returns the authentication information encrypted by the base64 coded MD5 algorithm.
- Step 305 The MC client decrypts the encrypted authentication information by using the MD5 algorithm, and obtains the decrypted authentication information based on the base64 encoding, and sends the encrypted authentication information to the MC server.
- Step 306 The MC server sends an authentication completion message to the MC client, indicating that the authentication is successful.
- the authentication process between the MC client and the MC server is completed, and the Socket channel can perform service communication.
- the MC server needs to record the IP address of the MC client after the authentication succeeds.
- Step 307 The MC client interacts with the MC server through the Socket channel to perform the user. Status query management.
- the MC client sends the current status of the user terminal to the MC server, including but not limited to the user busy, shutdown, unreachable, and no response.
- Step 308 The MC client disconnects the Socket connection established by the MC client.
- Step 309 The MC server initiates a request for establishing a Socket channel to the MC client.
- Step 310 After receiving the request, the MC client returns an acknowledgement message to the MC server.
- Step 311 The MC server generates a system notification message, and sends the system notification message to the MC client through the established Socket channel.
- Step S312 The MC server disconnects its established Socket connection.
- FIG. 7 is a first schematic structural diagram of an IP-based missed call implementation system of the embodiment shown in FIG. 4. As shown in FIG. 7, the system includes an MC client and an MC server, as follows:
- connection establishment module 101 of the connection between the MC client and the MC server is used to establish a Socket connection.
- the messaging module 203 of the MC client and the messaging module 103 of the MC server are arranged to implement message delivery through the Socket connection.
- the connection establishment module 201 of the MC client initiates a request and establishes a Socket connection before the message delivery module 203 of the MC client transmits the message to the MC server, and disconnects the Socket connection after the message is delivered.
- the connection establishment module 101 of the MC server records the IP address of the MC client, and initiates a Socket by using the IP address of the MC client before the MC server sends a message to the message delivery module of the MC client. Connect and disconnect the Socket connection after passing the message.
- the method further includes: an authentication module 202 of the MC client and an authentication module 102 of the MC server, configured to perform authentication after the Socket connection is successfully established.
- an authentication module 202 of the MC client and an authentication module 102 of the MC server, configured to perform authentication after the Socket connection is successfully established.
- the connection establishment module 101 of the MC server needs to record the IP address of the MC client when the Socket connection is successfully established and the authentication succeeds.
- FIG. 8 is a second schematic structural diagram of an IP-based missed call implementation system of the embodiment shown in FIG. 4.
- the structure shown in FIG. 8 is used in the long connection mode, and is compared with the structure diagram shown in FIG.
- the connection detection module 204 of the client and the connection detection module 104 of the MC server end.
- the connection establishment module 201 of the MC client is configured to initiate a request for establishing a Socket connection to the MC server, and re-initiate the Socket connection when the connection detection module 204 of the MC client detects that the Socket connection fails.
- the authentication module 202 of the MC client is configured to perform authentication after the Socket connection is successfully established
- connection detection module 204 of the MC client is configured to periodically initiate a heartbeat detection message to detect the Socket connection after the Socket connection is successfully established.
- the connection detection module 204 of the MC client is configured to successfully connect and successfully authenticate the Socket. After that, the Socket connection is detected again.
- connection detection module 104 of the MC server is configured to respond to the connection detection module 204 of the MC client;
- connection establishment module 101 of the MC server is configured to respond to the connection establishment module 201 of the MC client;
- the authentication module 102 of the MC server is configured to perform authentication after the Socket connection is successfully established.
- the message delivered by the MC client's messaging module 103 and the MC server's messaging module 203 via the Socket connection may use the same message type and content format as the short message service.
- the messages delivered by the MC client's messaging module 103 and the MC server's messaging module 203 over the Socket connection include messages for system notifications and/or missed messages. .
- the user can not only use the MC service through the mobile phone, but also use the MC service through the PC, the tablet computer or other Internet access terminal device, which brings great convenience to the user and can enhance the user experience.
- the user can not only use the MC service through the mobile phone, but also use the MC service through the PC, the tablet computer or other Internet access terminal device, which brings great convenience to the user and can enhance the user experience.
- the user can conveniently manage his own missed message by loading the MC client software on a plurality of terminal devices.
- the technical solution enables the IP-based terminal device to also support the missed call reminding service, which brings great convenience to the user, improves the user experience, and promotes the use and development of the missed call reminding service.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephonic Communication Services (AREA)
Abstract
Disclosed are a missed call reminding method and device, which relate to a communication system. The method comprises: during the course of a calling terminal calling a called terminal via a mobile network, a missed call server acquiring a call message which is generated and sent via an IP network by a missed call client of the calling terminal; according to the received call message, querying a current state of the called terminal; and, according to the queried current state of the called terminal, generating a missed call notification message, and sending same to a missed call client of the called terminal via the IP network. The present solution implements a missed call service via an IP network, so that an IP-based terminal device can also support the missed call service, thereby bringing great convenience to a user, improving the user experience, and promoting the usage and development of the missed call service at the same time.
Description
本文涉及但不限于通讯系统,尤指一种漏话提醒方法及装置。This document refers to, but is not limited to, a communication system, and more particularly to a method and device for reminding a missed call.
目前来电提醒增值业务都需要基于运营商的移动网络,需要运营商对被叫用户在归属位置寄存器(Home Location Register,简称HLR)上做呼转业务,否则无法开展业务,可见目前的来电提醒业务是必须由运营商负责主营的增值业务。At present, the caller is reminded that the value-added service needs to be based on the operator's mobile network. The operator needs to make the call forwarding service on the called subscriber's Home Location Register (HLR). Otherwise, the service cannot be carried out, and the current call alert service can be seen. It is necessary for the operator to be responsible for the value-added business of the main business.
而随着通信技术和IT技术的日益发展,每一种通讯网络相互融合,电信网,Internet网和广电网的融合,更催生每一种类型的终端出现,例如智能手机,平板电脑等等。With the development of communication technology and IT technology, each communication network is integrated with each other, and the integration of telecommunication network, Internet network and wide-area network has spawned every type of terminal, such as smart phones, tablets and so on.
每个种类型的终端,在融合网络环境下,更能提供多类融合的业务。但目前IP网络下尚未有漏话提醒业务。Each type of terminal can provide multiple types of converged services in a converged network environment. However, there is currently no missed call alert service under the IP network.
发明内容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.
本发明实施例提供一种漏话提醒方法及装置,能够在IP网络下实现漏话提醒业务。The embodiment of the invention provides a method and device for reminding a missed call, which can implement a missed call reminding service under an IP network.
根据本发明实施例的一个方面,提供了一种漏话提醒方法,包括:According to an aspect of the embodiments of the present invention, a missed call reminding method is provided, including:
漏话服务器在主叫终端通过移动网络呼叫被叫终端期间,获取所述主叫终端的漏话客户端生成并通过IP网络发送的呼叫消息;The missed call server acquires a call message generated by the missed call client of the calling terminal and sent by the IP network during the call of the called terminal by the calling terminal;
所述漏话服务器根据收到的呼叫消息,查询被叫终端的当前状态;
The missed call server queries the current state of the called terminal according to the received call message;
所述漏话服务器根据查询到的被叫终端的当前状态,生成漏话通知消息,并通过IP网络发送至被叫终端的漏话客户端。The missed call server generates a missed call notification message according to the current state of the called terminal, and sends the missed call message to the called terminal of the called terminal through the IP network.
可选地,在所述漏话服务器获取所述主叫终端的漏话客户端生成并通过IP网络发送的呼叫消息之前,还包括:Optionally, before the missed call server obtains the call message generated by the missed call client of the calling terminal and sent by using the IP network, the method further includes:
在所述漏话服务器与所述主叫终端的漏话客户端之间建立用于消息传递的套接字连接,以供所述主叫终端的漏话客户端利用所述套接字连接向所述漏话服务器传递包括主叫终端号码和被叫终端号码的呼叫消息。Establishing a socket connection for message delivery between the missed call server and the missed call client of the calling terminal, so that the missed call client of the calling terminal utilizes the socket connection The missed call server transmits a call message including a calling terminal number and a called terminal number.
可选地,所述漏话服务器根据收到的呼叫消息,查询被叫终端的当前状态的步骤包括:Optionally, the step of querying, by the missed call server, the current status of the called terminal according to the received call message includes:
所述漏话服务器通过解析所述呼叫消息,得到所述主叫终端号码和所述被叫终端号码;The missed call server obtains the calling terminal number and the called terminal number by parsing the call message;
所述漏话服务器通过IP网络向所述被叫终端号码对应的被叫终端的漏话客户端查询被叫终端的当前状态;或者,所述漏话服务器通过本地实时更新的终端状态数据库,查询所述被叫终端号码对应的被叫终端的当前状态。The missed call server queries the missed call client of the called terminal corresponding to the called terminal number through the IP network to query the current state of the called terminal; or the missed call server queries through the local real-time updated terminal state database. The current state of the called terminal corresponding to the called terminal number.
可选地,在所述漏话服务器通过IP网络查询被叫终端的当前状态之前,还包括:Optionally, before the missed call server queries the current state of the called terminal through the IP network, the method further includes:
在所述漏话服务器与所述被叫终端的漏话客户端之间建立用于消息传递的套接字连接,以供所述被叫终端利用所述套接字连接向所述漏话服务器传递被叫终端的当前状态信息。Establishing a socket connection for message delivery between the missed call server and the missed call client of the called terminal, for the called terminal to connect to the missed call server by using the socket connection Pass the current status information of the called terminal.
可选地,所述漏话服务器根据查询到的被叫终端的当前状态,生成漏话通知消息,并通过IP网络发送至被叫终端的漏话客户端的步骤包括:Optionally, the step of the missed call server generating the missed call notification message according to the current state of the called terminal and sending the missed call message to the called terminal through the IP network includes:
当所述漏话服务器查询到的被叫终端的当前状态是关机、不可达、用户忙、无应答中的任一状态时,生成包含主叫终端号码的漏话通知消息;When the current state of the called terminal that is queried by the missed call server is any one of shutdown, unreachable, user busy, and no answer, generating a missed call notification message including the calling terminal number;
所述漏话服务器通过所述漏话服务器与所述被叫终端的漏话客户端之间的套接字连接将所述漏话通知消息发送至被叫终端的漏话客户端。The missed call server sends the missed call notification message to the missed call client of the called terminal by using a socket connection between the missed call server and the missed call client of the called terminal.
可选地,还包括:Optionally, it also includes:
当所述被叫终端的当前状态变换为开机状态时,所述漏话服务器通过所述漏话服务器与所述被叫终端的漏话客户端之间的套接字连接,接收所述被
叫终端的漏话客户端发送的被叫终端的开机状态信息,并通过所述漏话服务器与所述主叫终端的漏话客户端之间的套接字连接,将包含所述被叫终端的开机状态信息的被叫开机提醒消息发送至主叫终端的漏话客户端。When the current state of the called terminal is changed to the power-on state, the missed call server receives the socket through a socket connection between the missed call server and the missed call client of the called terminal.
The power-on status information of the called terminal sent by the missed call terminal of the terminal, and the socket connection between the missed call server and the missed call client of the calling terminal, the called terminal is included The called power-on reminder message of the power-on status information is sent to the missed-end client of the calling terminal.
根据本发明实施例的一个方面,提供了一种漏话提醒装置,包括:According to an aspect of the embodiments of the present invention, a missed call reminding apparatus is provided, including:
服务器获取单元,设置成在主叫终端通过移动网络呼叫被叫终端期间,获取所述主叫终端的漏话客户端生成并通过IP网络发送的呼叫消息;a server obtaining unit, configured to acquire, when the calling terminal calls the called terminal through the mobile network, a call message generated by the missed call client of the calling terminal and sent through the IP network;
服务器查询单元,设置成根据收到的呼叫消息,查询被叫终端的当前状态;The server query unit is configured to query the current state of the called terminal according to the received call message;
服务器通知单元,设置成根据查询到的被叫终端的当前状态,生成漏话通知消息,并通过IP网络发送至被叫终端的漏话客户端。The server notification unit is configured to generate a missed call notification message according to the current state of the called terminal, and send the missed call message to the called terminal of the called terminal through the IP network.
可选地,还包括:Optionally, it also includes:
服务器连接建立单元,设置成在所述服务器获取单元获取所述主叫终端的漏话客户端生成并通过IP网络发送的呼叫消息之前,建立与所述主叫终端的漏话客户端之间的套接字连接。a server connection establishing unit, configured to establish, between the missed call client of the calling terminal, before the server obtaining unit acquires a call message generated by the missed call client of the calling terminal and sent through the IP network Socket connection.
可选地,所述服务器查询单元通过解析所述呼叫消息,得到所述主叫终端号码和所述被叫终端号码,并通过IP网络向所述被叫终端号码对应的被叫终端的漏话客户端查询被叫终端的当前状态,或者,通过本地实时更新的终端状态数据库,查询所述被叫终端号码对应的被叫终端的当前状态。Optionally, the server query unit obtains the calling terminal number and the called terminal number by parsing the call message, and the missed call of the called terminal corresponding to the called terminal number by using an IP network The client queries the current status of the called terminal, or queries the current status of the called terminal corresponding to the called terminal number through a local real-time updated terminal status database.
可选地,所述服务器连接建立单元还设置成在所述服务器查询单元通过IP网络查询被叫终端的当前状态之前,建立与所述被叫终端的漏话客户端之间的套接字连接。Optionally, the server connection establishing unit is further configured to establish a socket connection with the missed client of the called terminal before the server querying unit queries the current state of the called terminal through the IP network. .
可选地,所述服务器通知单元在查询到的被叫终端的当前状态是关机、不可达、用户忙、无应答中的任一状态时,生成包含主叫终端号码的漏话通知消息,并通过与所述被叫终端的漏话客户端之间的套接字连接,将所述漏话通知消息发送至被叫终端的漏话客户端。Optionally, the server notification unit generates a missed call notification message including the calling terminal number when the current state of the called terminal that is queried is any state of shutdown, unreachable, user busy, and no answer, and The missed call notification message is sent to the missed call client of the called terminal by a socket connection with the missed client of the called terminal.
可选地,当所述被叫终端的当前状态变换为开机状态时,所述服务器获取单元通过与所述被叫终端的漏话客户端之间的套接字连接,接收所述被叫终端的漏话客户端发送的被叫终端的开机状态信息,所述服务器通知单元通
过与所述主叫终端的漏话客户端之间的套接字连接,将包含所述被叫终端的开机状态信息的被叫开机提醒消息发送至主叫终端的漏话客户端。Optionally, when the current state of the called terminal is changed to a power-on state, the server obtaining unit receives the called terminal by using a socket connection with the missed client of the called terminal. Missing the power-on status information of the called terminal sent by the client, the server notifying the unit
The socket connection connection with the missed call client of the calling terminal sends a called power-on reminder message including the power-on status information of the called terminal to the missed-end client of the calling terminal.
与相关技术相比较,本发明实施例的有益效果在于:Compared with related technologies, the beneficial effects of the embodiments of the present invention are:
本发明实施例通过套接字方式实现漏话提醒业务,从而使得基于IP的终端设备也可支持漏话提醒业务,给用户带来了极大的使用便利,提升了用户体验,同时促进漏话提醒业务的使用和发展。The embodiment of the invention implements the missed call reminding service through the socket mode, so that the IP-based terminal device can also support the missed call reminding service, which brings great convenience to the user, improves the user experience, and promotes missed calls. Remind the use and development of the business.
附图概述BRIEF abstract
图1是本发明实施例提供的漏话提醒方法原理框图;1 is a schematic block diagram of a missed call reminding method according to an embodiment of the present invention;
图2是本发明实施例提供的漏话提醒装置框图;2 is a block diagram of a missed call reminding device according to an embodiment of the present invention;
图3是本发明实施例提供的漏话提醒系统框图;3 is a block diagram of a missed call reminding system according to an embodiment of the present invention;
图4是本发明实施例提供的基于IP的漏话提醒系统示意图;4 is a schematic diagram of an IP-based missed call reminding system according to an embodiment of the present invention;
图5是图4所示实施例的通过长连接方式的Socket连接实现的方法实施例示意图;5 is a schematic diagram of an embodiment of a method for implementing a Socket connection in a long connection manner in the embodiment shown in FIG. 4;
图6是图4所示实施例的通过短连接方式的Socket连接实现的方法实施例示意图;6 is a schematic diagram of an embodiment of a method for implementing a Socket connection in a short connection manner in the embodiment shown in FIG. 4;
图7是图4所示实施例的基于IP的漏话实现系统的第一结构示意图;7 is a first schematic structural diagram of an IP-based missed call implementation system of the embodiment shown in FIG. 4;
图8是图4所示实施例的基于IP的漏话实现系统的第一结构示意图。FIG. 8 is a first schematic structural diagram of an IP-based missed call implementation system of the embodiment shown in FIG. 4. FIG.
以下结合附图对本发明的可选实施例进行详细说明,应当理解,以下所说明的可选实施例仅用于说明和解释本发明,并不用于限定本发明。The embodiments of the present invention are described in detail below with reference to the accompanying drawings.
图1是本发明实施例提供的漏话提醒方法原理框图,如图1所示,步骤包括:FIG. 1 is a schematic block diagram of a missed call reminding method according to an embodiment of the present invention. As shown in FIG. 1 , the steps include:
步骤S101:漏话服务器在主叫终端通过移动网络呼叫被叫终端期间,获
取所述主叫终端的漏话客户端生成并通过IP网络发送的呼叫消息。Step S101: The missed call server obtains during the call of the called terminal by the calling terminal through the mobile network.
The call message generated by the missed call client of the calling terminal and sent through the IP network is taken.
所述呼叫消息包括主叫终端号码和被叫终端号码。The call message includes a calling terminal number and a called terminal number.
在执行所述步骤S101之前,在所述漏话服务器与所述主叫终端的漏话客户端之间建立用于消息传递的套接字连接,以供所述主叫终端的漏话客户端利用所述套接字连接向所述漏话服务器传递包括主叫终端号码和被叫终端号码的呼叫消息。Before performing the step S101, establishing a socket connection for message delivery between the missed call server and the missed call client of the calling terminal, for the missed call client of the calling terminal A call message including a calling terminal number and a called terminal number is delivered to the missed call server using the socket connection.
可选地,所述漏话服务器与所述主叫终端的漏话客户端之间的套接字连接可以由所述漏话服务器建立,也可以由所述主叫终端的漏话客户端建立。当由所述漏话服务器建立时,所述漏话服务器需提前获取所述主叫终端的漏话客户端的IP地址,以便利用所述主叫终端的漏话客户端的IP地址,建立套接字连接。Optionally, the socket connection between the missed call server and the missed call client of the calling terminal may be established by the missed call server, or may be established by the missed call client of the calling terminal. . When the missed call server is established, the missed call server needs to obtain the IP address of the missed call client of the calling terminal in advance, so as to establish a socket by using the IP address of the missed call client of the calling terminal. connection.
步骤S102:所述漏话服务器根据收到的呼叫消息,查询被叫终端的当前状态。Step S102: The missed call server queries the current state of the called terminal according to the received call message.
在所述步骤S102之前,在所述漏话服务器与所述被叫终端的漏话客户端之间建立用于消息传递的套接字连接,以供所述被叫终端利用所述套接字连接向所述漏话服务器传递被叫终端的当前状态信息。Before the step S102, establishing a socket connection for message delivery between the missed call server and the missed call client of the called terminal, for the called terminal to utilize the socket The connection transmits the current state information of the called terminal to the missed call server.
其中,所述漏话服务器通过解析所述呼叫消息,得到所述主叫终端号码和所述被叫终端号码,并利用所得到的所述被叫终端号码,通过以下两种方式之一查询被叫终端的当前状态:The missed call server obtains the calling terminal number and the called terminal number by parsing the call message, and uses the obtained called terminal number to query by one of the following two methods: Call the current status of the terminal:
方式1:所述漏话服务器通过IP网络向所述被叫终端号码对应的被叫终端的漏话客户端查询被叫终端的当前状态;Manner 1: The missed call server queries the missed call client of the called terminal corresponding to the called terminal number through the IP network to query the current state of the called terminal.
方式2:所述漏话服务器通过本地实时更新的终端状态数据库,查询所述被叫终端号码对应的被叫终端的当前状态。Manner 2: The missed call server queries the current state of the called terminal corresponding to the called terminal number through a local real-time updated terminal state database.
步骤S103:所述漏话服务器根据查询到的被叫终端的当前状态,生成漏话通知消息,并通过IP网络发送至被叫终端的漏话客户端。Step S103: The missed call server generates a missed call notification message according to the current state of the called terminal, and sends the missed call message to the called terminal of the called terminal through the IP network.
其中,当所述漏话服务器查询到的被叫终端的当前状态是关机、不可达、用户忙、无应答中的任一状态时,生成包含主叫终端号码的漏话通知消息,并通过所述漏话服务器与所述被叫终端的漏话客户端之间的套接字连接
将所述漏话通知消息发送至被叫终端的漏话客户端。When the current state of the called terminal that is queried by the missed call server is any one of shutdown, unreachable, user busy, and no response, a missed call notification message including the calling terminal number is generated, and the a socket connection between the missed call server and the missed client of the called terminal
The missed call notification message is sent to the missed call client of the called terminal.
可选地,若建立短连接模式,则所述漏话服务器/所述主叫终端的漏话客户端/所述被叫终端的漏话客户端在发送消息前,建立相应的套接字连接,并在发送消息后,断开所建立的套接字连接。Optionally, if the short connection mode is established, the missed call server/the missed call client of the calling terminal/the missed call client of the called terminal establishes a corresponding socket connection before sending a message. And disconnect the established socket connection after sending the message.
可选地,若建立长连接模式,则所述主叫终端的漏话客户端/所述被叫终端的漏话客户端在相应的套接字连接建立后,定时向所述漏话服务器发起心跳检测请求,以便保持所建立的套接字连接。Optionally, if the long connection mode is established, the missed call client of the calling terminal/the missed call client of the called terminal initiates a timeout to the missed call server after the corresponding socket connection is established. The heartbeat detects the request in order to maintain the established socket connection.
本发明实施例是基于IP网络的漏话提醒应用,为来电提醒用户提供了一种通过基于IP网络接收漏话提醒消息的全新体验。The embodiment of the invention is a missed call reminding application based on the IP network, which provides a new experience for the incoming call reminding user to receive the missed reminder message based on the IP network.
同样地,当所述被叫终端的当前状态变换为开机状态时,所述漏话服务器可以通过在所述漏话服务器和所述被叫终端的漏话客户端之间建立套接字连接,接收所述被叫终端的漏话客户端发送的被叫终端的开机状态信息,并通过所述漏话服务器与所述主叫终端的漏话客户端之间的套接字连接,将包含所述被叫终端的开机状态信息的被叫开机提醒消息发送至主叫终端的漏话客户端,使主叫用户及时获知被叫终端的开机状态。Similarly, when the current state of the called terminal is changed to the power-on state, the missed call server may establish a socket connection between the missed call server and the missed call client of the called terminal. Receiving the boot state information of the called terminal sent by the missed call terminal of the called terminal, and connecting the socket between the missed call server and the missed call client of the calling terminal, The called power-on reminder message of the power-on state information of the called terminal is sent to the missed-end client of the calling terminal, so that the calling user knows the power-on state of the called terminal in time.
本发明实施例还提供了一种计算机可读存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储有计算机可执行指令,所述计算机可执行指令用于执行上文所述的漏话提醒方法。The embodiment of the invention further provides a computer readable storage medium. Optionally, in this embodiment, the foregoing storage medium may be configured to store computer executable instructions for performing the missed call reminding method described above.
图2是本发明实施例提供的漏话提醒装置框图,如图2所示,包括服务器获取单元10、服务器查询单元20、服务器通知单元30和服务器连接建立单元40。2 is a block diagram of a missed call reminding device according to an embodiment of the present invention. As shown in FIG. 2, the server includes a server obtaining unit 10, a server querying unit 20, a server notifying unit 30, and a server connection establishing unit 40.
服务器获取单元10设置成在主叫终端通过移动网络呼叫被叫终端期间,获取所述主叫终端的漏话客户端生成并通过IP网络发送的呼叫消息。所述呼叫消息包括主叫终端号码和被叫终端号码。在所述服务器获取单元10获取所述主叫终端的漏话客户端生成并通过IP网络发送的呼叫消息之前,所述服务器连接建立单元40建立与所述主叫终端的漏话客户端之间的套接字连接。
The server obtaining unit 10 is configured to acquire, when the calling terminal calls the called terminal through the mobile network, a call message generated by the missed call client of the calling terminal and sent through the IP network. The call message includes a calling terminal number and a called terminal number. Before the server obtaining unit 10 acquires a call message generated by the missed call client of the calling terminal and sent through the IP network, the server connection establishing unit 40 establishes a call with the missed call client of the calling terminal. Socket connection.
服务器查询单元20设置成根据收到的呼叫消息,查询被叫终端的当前状态。其中,服务器连接建立单元40在通过IP网络查询被叫终端的当前状态之前,建立与所述被叫终端的漏话客户端之间的套接字连接。所述服务器查询单元20通过解析所述呼叫消息,得到所述主叫终端号码和所述被叫终端号码,并通过所建立的套接字连接向所述被叫终端号码对应的被叫终端的漏话客户端查询被叫终端的当前状态,或者,通过本地实时更新的终端状态数据库,查询所述被叫终端号码对应的被叫终端的当前状态。The server query unit 20 is configured to query the current state of the called terminal based on the received call message. The server connection establishing unit 40 establishes a socket connection with the missed client of the called terminal before querying the current state of the called terminal through the IP network. The server query unit 20 obtains the calling terminal number and the called terminal number by parsing the call message, and connects to the called terminal corresponding to the called terminal number through the established socket connection. The missed call client queries the current state of the called terminal, or queries the current state of the called terminal corresponding to the called terminal number through a local real-time updated terminal state database.
服务器通知单元30设置成根据查询到的被叫终端的当前状态,生成漏话通知消息,并通过IP网络发送至被叫终端的漏话客户端。其中,服务器通知单元30在查询到的被叫终端的当前状态是关机、不可达、用户忙、无应答中的任一状态时,生成包含主叫终端号码的漏话通知消息,并通过与所述被叫终端的漏话客户端之间的套接字连接,将所述漏话通知消息发送至被叫终端的漏话客户端。The server notification unit 30 is configured to generate a missed call notification message according to the current state of the queried called terminal, and send it to the missed call client of the called terminal through the IP network. The server notification unit 30 generates a missed call notification message including the calling terminal number when the current state of the called terminal that is queried is any state of shutdown, unreachable, busy, and no response, and passes the A socket connection between the missed clients of the called terminal, and the missed call notification message is sent to the missed call client of the called terminal.
图3是本发明实施例提供的漏话提醒系统框图,如图3所示,主叫终端通过运营商提供的移动网络呼叫被叫终端期间,主叫终端的漏话客户端通过IP网络向漏话服务器端发送包含主叫终端号码和被叫终端号码的呼叫消息。漏话服务器端根据被叫终端号码,通过IP网络向被叫终端的漏话客户端查询被叫终端的当前状态。当查询到的被叫终端的当前状态是关机、不可达、用户忙、无应答中的任一状态时,漏话服务器端生成包含主叫终端号码和呼叫时间的漏话通知消息,并通过IP网络将所述漏话通知消息发送至被叫终端的漏话客户端,以便被叫用户及时获知漏话情况。3 is a block diagram of a missed call reminding system according to an embodiment of the present invention. As shown in FIG. 3, when a calling terminal calls a called terminal through a mobile network provided by an operator, the missed call client of the calling terminal goes to the leak through the IP network. The server sends a call message containing the calling terminal number and the called terminal number. The missed server queries the missed call client of the called terminal through the IP network according to the called terminal number to query the current state of the called terminal. When the current state of the called terminal is queried, unreachable, busy, and unanswered, the missed server generates a missed call notification message including the calling terminal number and the calling time, and passes the IP. The network sends the missed call notification message to the missed call client of the called terminal, so that the called user knows the missed situation in time.
需要说明的是,所述被叫终端的漏话客户端可以安装在如图3所示的被叫终端上,也可以安装在平板电脑等其它基于IP的终端设备上。例如,若主叫终端在被叫终端关机时呼叫被叫终端,则漏话服务器端可以通过IP网络向已安装并开启被叫终端的漏话客户端的平板电脑发送漏话通知消息。It should be noted that the missed call client of the called terminal may be installed on the called terminal as shown in FIG. 3, or may be installed on other IP-based terminal devices such as a tablet computer. For example, if the calling terminal calls the called terminal when the called terminal is powered off, the missed server can send a missed call notification message to the tablet of the missed client that has installed and opened the called terminal through the IP network.
同一个用户,只要拥有一个帐号,就可以方便地在自己的多种终端设备(例如智能手机、iPad等每一类客户端设备)上通过已装载的IP客户端软件,在图形界面下接收和管理漏话短信。The same user, as long as he has an account, can conveniently receive and upload the IP client software through the loaded IP client software on various terminal devices (such as smart phones, iPads, etc.). Manage missed messages.
目前传统的来电提醒业务(漏话提醒业务)都是由运营商来主导开展,
本发明实施例不需要运营商参与,运营商的移动网络只是一个管道而已,这样可以吸引更多用户使用MC功能,使得MC提醒业务更容易被使用和推广,从而也可增加收益。At present, the traditional call alert service (missing reminder service) is led by operators.
The embodiment of the present invention does not require the operator to participate, and the operator's mobile network is only a pipeline, which can attract more users to use the MC function, so that the MC reminds the service to be more easily used and promoted, thereby also increasing revenue.
以下结合图4至图8,以漏话(Missed Call,简称MC)服务器端与MC客户端之间通过套接字(Socket)连接实现漏话提醒为例,进行进一步说明,需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。In the following, with reference to FIG. 4 to FIG. 8 , the missed call (MC) server and the MC client are connected by a socket (Socket) to implement a missed call reminder as an example, and further description is needed. The embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
图4是本发明实施例提供的基于IP的漏话提醒系统示意图,如图4所示,MC服务器端1与MC客户端2之间建立Socket连接,且MC服务器端1与MC客户端2之间通过所述Socket连接实现消息传递。4 is a schematic diagram of an IP-based missed call reminding system according to an embodiment of the present invention. As shown in FIG. 4, a socket connection is established between the MC server 1 and the MC client 2, and the MC server 1 and the MC client 2 are connected. Message passing is achieved through the Socket connection.
位于网络侧的MC服务器端1服务于MC客户端,MC系统与MC客户端通过约定协议进行交互,配合完成被叫终端号码状态判断以及漏话信息的通知功能,可选地,该MC服务器端1还负责Socket通讯在服务器端的管理。The MC server 1 on the network side serves the MC client, and the MC system interacts with the MC client through an agreement protocol to complete the notification of the status of the called terminal number and the notification function of the missed call information. Optionally, the MC server end 1 is also responsible for the management of Socket communication on the server side.
位于终端侧的MC客户端1是在IP化的终端侧实现MC功能的软件。其中,主叫用户通过MC客户端连接到MC服务器端,并通过约定协议向MC服务器端上报主叫和被叫终端号码信息,以及其他约定的操作;被叫用户通过MC客户端连接到MC服务器端,并通过约定协议向MC服务器端上报被叫用户的当前状态。可选地,该MC客户端2还负责Socket通讯在客户端的应用和管理。The MC client 1 located on the terminal side is software that implements the MC function on the IP-based terminal side. The calling user connects to the MC server through the MC client, and reports the calling and called terminal number information to the MC server through the contract protocol, and other agreed operations; the called user connects to the MC server through the MC client. End, and report the current status of the called user to the MC server through the contract. Optionally, the MC client 2 is also responsible for the application and management of the Socket communication on the client.
本发明实施例所说的MC客户端运行于基于IP的终端设备上,所述基于IP的终端设备包括但不限于平板电脑、TV,也就是说,可以在基于IP的智能终端上运行MC客户端,例如在平板电脑上运行MC客户端,在TV上运行MC客户端。The MC client in the embodiment of the present invention runs on an IP-based terminal device, including but not limited to a tablet computer, a TV, that is, an MC client can be run on an IP-based smart terminal. End, for example, running the MC client on a tablet and running the MC client on the TV.
所述Socket连接也称为Socket通道,泛指一切Socket数据通道和数据通讯机制。The Socket connection is also called a Socket channel, and refers to all Socket data channels and data communication mechanisms.
MC服务器端1和MC客户端2之间可以通过如下方式建立和维持Socket连接:
The Socket connection can be established and maintained between MC server 1 and MC client 2 as follows:
方式1:对于长连接模式,MC客户端2主动发起请求,与MC服务器端1建立一个Socket连接,MC客户端2通过定时发送心跳消息包来建立和维持与MC服务器端1之间的Socket连接,在连接成功后与对方进行密码安全认证鉴权,鉴权成功后MC客户端定时发起心跳监测,维持住所述Socket连接。当发现心跳监测没有得到MC服务器端的回应时,MC客户端认为该Socket连接检测失败,MC客户端重新发起请求,建立一条Socket连接。也就是说,MC服务器端1和MC客户端2之间的Socket连接可以由所述MC客户端发起建立,且连接成功后,MC客户端2定时发起心跳消息检测该Socket连接,并在检测到该Socket连接失败时,所述MC客户端重新发起Socket连接。Mode 1: For the long connection mode, the MC client 2 initiates a request to establish a Socket connection with the MC server 1, and the MC client 2 establishes and maintains a Socket connection with the MC server 1 by periodically sending a heartbeat message packet. After the connection is successful, the user is authenticated with the password security authentication. After the authentication succeeds, the MC client periodically initiates heartbeat monitoring to maintain the Socket connection. When the heartbeat monitoring does not receive a response from the MC server, the MC client considers that the Socket connection detection fails, and the MC client re-initiates the request to establish a Socket connection. That is, the Socket connection between the MC server 1 and the MC client 2 can be initiated by the MC client, and after the connection is successful, the MC client 2 periodically initiates a heartbeat message to detect the Socket connection, and detects When the Socket connection fails, the MC client re-initiates the Socket connection.
方式2:对于短连接模式,所述MC客户端2设置成向所述MC服务器端传递消息的Socket连接是所述MC客户端2发起建立的,且在传递消息后,所述MC客户端2断开该Socket连接;所述MC服务器端1设置成向所述MC客户端2传递消息的Socket连接是所述MC服务器端1发起建立的,且在传递消息后,所述MC服务器端1断开该Socket连接。需要注意的是,所述MC服务器端1发起Socket连接前,还包括:所述MC客户端1向所述MC服务器端1发起Socket连接,并连接成功后,所述MC服务器端1记录所述MC客户端2的IP地址,然后所述MC客户端2断开该Socket连接,这样,所述MC服务器端1才能够根据所记录的所述MC客户端2的IP地址发起Socket连接。Mode 2: For the short connection mode, the Socket connection that the MC client 2 sets to deliver a message to the MC server is initiated by the MC client 2, and after the message is delivered, the MC client 2 Disconnecting the Socket; the Socket connection that the MC server 1 is configured to deliver a message to the MC client 2 is initiated by the MC server 1, and after the message is delivered, the MC server 1 is disconnected. Open the Socket connection. It is to be noted that, before the MC server 1 initiates the Socket connection, the MC client 1 initiates a Socket connection to the MC server 1 and after the connection is successful, the MC server 1 records the The IP address of the MC client 2, and then the MC client 2 disconnects the Socket connection, so that the MC server 1 can initiate a Socket connection according to the recorded IP address of the MC client 2.
可选地,所述MC服务器端1与所述MC客户端2通过所述Socket连接传递的消息可以采用与短信业务(SMS)相同的消息类型和内容格式。Optionally, the message delivered by the MC server end 1 and the MC client 2 through the Socket connection may adopt the same message type and content format as the short message service (SMS).
可选地,所述MC服务器端1与所述MC客户端2通过所述Socket连接传递的消息包括用于系统通知和/或漏话管理的消息。Optionally, the message delivered by the MC server end 1 and the MC client 2 through the Socket connection includes a message for system notification and/or missed call management.
图5是图4所示实施例的通过长连接方式的Socket连接实现的方法实施例示意图,如图5所示,步骤包括:5 is a schematic diagram of a method for implementing a Socket connection in a long connection manner in the embodiment shown in FIG. 4, as shown in FIG. 5, the steps include:
步骤201:MC客户端(Client)向MC服务器端(Server)发起建立Socket通道的请求。Step 201: The MC client (Client) initiates a request for establishing a Socket channel to the MC server (Server).
可选地,基于IP的MC客户端在启动时,可以主动向MC服务器端发起
建立socket通道的连接请求。Optionally, the IP-based MC client can initiate the initiative to the MC server when starting.
Establish a connection request for the socket channel.
步骤202:MC服务器端收到所述请求后,向MC客户端返回确认信息。Step 202: After receiving the request, the MC server returns a confirmation message to the MC client.
步骤203:MC客户端向MC服务器端发送鉴权命令。Step 203: The MC client sends an authentication command to the MC server.
步骤204:MC服务器端返回基于base64编码的MD5算法加密的鉴权信息。Step 204: The MC server returns the authentication information encrypted by the base64 coded MD5 algorithm.
步骤205:MC客户端用MD5算法对加密的鉴权信息进行解密,得到基于base64编码的解密后的鉴权信息,并发送至MC服务器端。Step 205: The MC client decrypts the encrypted authentication information by using the MD5 algorithm, and obtains the decrypted authentication information based on the base64 encoding, and sends the encrypted authentication information to the MC server.
步骤206:MC服务器端向MC客户端发送鉴权完成消息,表明鉴权成功。Step 206: The MC server sends an authentication completion message to the MC client, indicating that the authentication is successful.
MC客户端和MC服务器端之间的认证过程完成,该Socket通道即可进行业务通讯。The authentication process between the MC client and the MC server is completed, and the Socket channel can perform service communication.
步骤207:MC客户端和MC服务器端进行心跳检测。Step 207: The MC client and the MC server perform heartbeat detection.
MC客户端定时发起心跳检测消息,MC服务器端收到心跳检测消息后反馈心跳检测响应消息,MC客户端根据MC服务器端的心跳检测响应消息检测和维护Socket通道的状态。当发现心跳监测没有得到MC服务器端的回应时,MC客户端认为该Socket连接检测失败,此时重新进入MC客户端向MC服务器端发起用来建立Socket连接的请求的流程。The MC client periodically initiates a heartbeat detection message, and the MC server receives the heartbeat detection message and feeds back the heartbeat detection response message, and the MC client detects and maintains the state of the Socket channel according to the heartbeat detection response message of the MC server. When the heartbeat monitoring is not received by the MC server, the MC client considers that the Socket connection detection fails. At this time, the MC client re-enters the MC server to initiate a request for establishing a Socket connection.
步骤208:MC客户端通过Socket通道与MC服务器端交互,进行用户状态查询管理。Step 208: The MC client interacts with the MC server through the Socket channel to perform user status query management.
通过Socket连接通道,MC客户端与MC服务器端交互Socket消息实现的用户状态查询管理功能包括:查询被叫用户的当前状态,包括但不限于用户忙、关机、不可达、无应答。Through the Socket connection channel, the user status query management function implemented by the MC client and the MC server to exchange Socket messages includes: querying the current status of the called user, including but not limited to the user busy, shutdown, unreachable, and no response.
步骤209:MC服务器端生成系统通知消息后,通过建立的Socket通道发给MC客户端,通过Socket通道进行用户状态查询管理。Step 209: After generating the system notification message, the MC server sends the Socket channel to the MC client, and performs user status query management through the Socket channel.
MC服务器端可以在有系统通知消息的时候通过该Socket通道发给MC客户端,所述系统通知消息是系统发给MC客户端的消息,包括漏话提醒消息和开机提醒消息。
The MC server can send the MC client through the Socket channel when there is a system notification message. The system notification message is a message sent by the system to the MC client, including a missed reminder message and a power-on reminder message.
MC服务器端发送系统通知消息的情况包括但不限于以下两种:The case where the MC server sends a system notification message includes but is not limited to the following two types:
1、被叫用户收到漏话提醒消息;1. The called user receives a missed call reminder message;
2、主叫用户收到关于被叫用户的开机提醒消息。2. The calling user receives a power-on reminder message about the called user.
上述步骤208和步骤209无先后顺序。The above steps 208 and 209 have no order.
本发明实施例在MC客户端与MC服务器端之间实现消息通知机制中,增加数据通道方式(Socket)的消息通知机制,设置成支持基于IP的MC客户端。In the embodiment of the present invention, a message notification mechanism is implemented in the message notification mechanism between the MC client and the MC server, and the message notification mechanism of the data channel (Socket) is added to support the IP-based MC client.
本发明实施例中基于IP方式的终端设备通过由MC客户端发起并建立的MC客户端和MC服务器端之间的Socket通讯通道,实现在MC服务端和MC客户端之间的消息传递。In the embodiment of the present invention, the terminal device based on the IP mode implements message transmission between the MC server and the MC client through the Socket communication channel between the MC client and the MC server initiated and established by the MC client.
图6是图4所示实施例的通过短连接方式的Socket连接实现的方法实施例示意图,如图6所示,步骤包括:FIG. 6 is a schematic diagram of a method for implementing a Socket connection in a short connection manner in the embodiment shown in FIG. 4. As shown in FIG. 6, the steps include:
步骤301:MC客户端(Client)向MC服务器端(Server)发起建立Socket通道的请求。Step 301: The MC client (Client) initiates a request for establishing a Socket channel to the MC server (Server).
步骤302:MC服务器端收到所述请求后,向MC客户端返回确认信息。Step 302: After receiving the request, the MC server returns a confirmation message to the MC client.
步骤303:MC客户端向MC服务器端发送鉴权命令。Step 303: The MC client sends an authentication command to the MC server.
步骤304:MC服务器端返回基于base64编码的MD5算法加密的鉴权信息。Step 304: The MC server returns the authentication information encrypted by the base64 coded MD5 algorithm.
步骤305:MC客户端用MD5算法对加密的鉴权信息进行解密,得到基于base64编码的解密后的鉴权信息,并发送至MC服务器端。Step 305: The MC client decrypts the encrypted authentication information by using the MD5 algorithm, and obtains the decrypted authentication information based on the base64 encoding, and sends the encrypted authentication information to the MC server.
步骤306:MC服务器端向MC客户端发送鉴权完成消息,表明鉴权成功。Step 306: The MC server sends an authentication completion message to the MC client, indicating that the authentication is successful.
MC客户端和MC服务器端之间的认证过程完成,该Socket通道即可进行业务通讯。The authentication process between the MC client and the MC server is completed, and the Socket channel can perform service communication.
需要注意的是,在短连接方式下,MC服务器端在鉴权成功后,需要记录MC客户端的IP地址。Note that in the short connection mode, the MC server needs to record the IP address of the MC client after the authentication succeeds.
步骤307:MC客户端通过Socket通道与MC服务器端交互,进行用户
状态查询管理。Step 307: The MC client interacts with the MC server through the Socket channel to perform the user.
Status query management.
通过Socket连接通道,MC客户端向MC服务器端发送用户终端的当前状态,包括但不限于用户忙、关机、不可达、无应答。Through the Socket connection channel, the MC client sends the current status of the user terminal to the MC server, including but not limited to the user busy, shutdown, unreachable, and no response.
步骤308:MC客户端断开其建立的Socket连接。Step 308: The MC client disconnects the Socket connection established by the MC client.
步骤309:MC服务器端向MC客户端发起建立Socket通道的请求。Step 309: The MC server initiates a request for establishing a Socket channel to the MC client.
步骤310:MC客户端收到所述请求后,向MC服务器端返回确认消息。Step 310: After receiving the request, the MC client returns an acknowledgement message to the MC server.
步骤311:MC服务器端生成系统通知消息,通过建立的Socket通道发给MC客户端。Step 311: The MC server generates a system notification message, and sends the system notification message to the MC client through the established Socket channel.
步骤S312:MC服务器端断开其建立的Socket连接。Step S312: The MC server disconnects its established Socket connection.
图7是图4所示实施例的基于IP的漏话实现系统的第一结构示意图,如图7所示,系统包括MC客户端和MC服务器端,如下:FIG. 7 is a first schematic structural diagram of an IP-based missed call implementation system of the embodiment shown in FIG. 4. As shown in FIG. 7, the system includes an MC client and an MC server, as follows:
MC客户端的连接建立模块201与MC服务器端的连接建立模块101,用于建立Socket连接;The connection establishment module 101 of the connection between the MC client and the MC server is used to establish a Socket connection.
MC客户端的消息传递模块203与MC服务器端的消息传递模块103,设置成通过所述Socket连接实现消息传递。The messaging module 203 of the MC client and the messaging module 103 of the MC server are arranged to implement message delivery through the Socket connection.
在短连接模式下,MC客户端的连接建立模块201在MC客户端的消息传递模块203向MC服务器端传递消息前发起请求并建立Socket连接,并在传递消息后,断开该Socket连接。MC服务器端的连接建立模块101在MC客户端发起的Socket连接建立成功后,记录MC客户端的IP地址,并在MC服务器端向MC客户端的消息传递模块传递消息前,利用MC客户端的IP地址发起Socket连接,并在传递消息后,断开该Socket连接。In the short connection mode, the connection establishment module 201 of the MC client initiates a request and establishes a Socket connection before the message delivery module 203 of the MC client transmits the message to the MC server, and disconnects the Socket connection after the message is delivered. After the Socket connection initiated by the MC client is successfully established, the connection establishment module 101 of the MC server records the IP address of the MC client, and initiates a Socket by using the IP address of the MC client before the MC server sends a message to the message delivery module of the MC client. Connect and disconnect the Socket connection after passing the message.
可选地,还包括:MC客户端的鉴权模块202和MC服务器端的鉴权模块102,设置成在Socket连接建立成功后进行鉴权。需要注意的是,在短连接模式下,MC服务器端的连接建立模块101在Socket连接建立成功且鉴权成功时,需要记录MC客户端的IP地址。Optionally, the method further includes: an authentication module 202 of the MC client and an authentication module 102 of the MC server, configured to perform authentication after the Socket connection is successfully established. It should be noted that, in the short connection mode, the connection establishment module 101 of the MC server needs to record the IP address of the MC client when the Socket connection is successfully established and the authentication succeeds.
图8是图4所示实施例的基于IP的漏话实现系统的第二结构示意图,如图8所示的结构用于长连接模式下,与图7所示结构示意图比较,可选包括MC客户端的连接检测模块204与MC服务器端的连接检测模块104。
FIG. 8 is a second schematic structural diagram of an IP-based missed call implementation system of the embodiment shown in FIG. 4. The structure shown in FIG. 8 is used in the long connection mode, and is compared with the structure diagram shown in FIG. The connection detection module 204 of the client and the connection detection module 104 of the MC server end.
MC客户端的连接建立模块201设置成向MC服务器端发起用来建立Socket连接的请求,以及在MC客户端的连接检测模块204检测到该Socket连接失败时,重新发起Socket连接;The connection establishment module 201 of the MC client is configured to initiate a request for establishing a Socket connection to the MC server, and re-initiate the Socket connection when the connection detection module 204 of the MC client detects that the Socket connection fails.
MC客户端的鉴权模块202设置成在Socket连接建立成功后进行鉴权;The authentication module 202 of the MC client is configured to perform authentication after the Socket connection is successfully established;
MC客户端的连接检测模块204设置成在Socket连接建立成功后,定时发起心跳检测消息以检测该Socket连接,可选地,MC客户端的连接检测模块204设置成在所述Socket连接成功且鉴权成功后,再检测该Socket连接。The connection detection module 204 of the MC client is configured to periodically initiate a heartbeat detection message to detect the Socket connection after the Socket connection is successfully established. Optionally, the connection detection module 204 of the MC client is configured to successfully connect and successfully authenticate the Socket. After that, the Socket connection is detected again.
MC服务器端的连接检测模块104设置成响应MC客户端的连接检测模块204;The connection detection module 104 of the MC server is configured to respond to the connection detection module 204 of the MC client;
MC服务器端的连接建立模块101设置成响应MC客户端的连接建立模块201;The connection establishment module 101 of the MC server is configured to respond to the connection establishment module 201 of the MC client;
MC服务器端的鉴权模块102设置成在Socket连接建立成功后进行鉴权。The authentication module 102 of the MC server is configured to perform authentication after the Socket connection is successfully established.
MC客户端的消息传递模块103与MC服务器端的消息传递模块203通过Socket连接传递的消息可以采用与短信业务相同的消息类型和内容格式。The message delivered by the MC client's messaging module 103 and the MC server's messaging module 203 via the Socket connection may use the same message type and content format as the short message service.
MC客户端的消息传递模块103与MC服务器端的消息传递模块203通过Socket连接传递的消息包括用于系统通知和/或漏话的消息。.The messages delivered by the MC client's messaging module 103 and the MC server's messaging module 203 over the Socket connection include messages for system notifications and/or missed messages. .
综上所述,本发明实施例具有以下技术效果:In summary, the embodiments of the present invention have the following technical effects:
1、通过本发明实施例,用户不仅可以通过手机使用MC业务,也可以通过PC机,平板电脑或者其他上网终端设备来使用MC业务,给用户带来了极大的使用便利,能够提升用户体验,同时促进MC业务的使用和发展;1. Through the embodiment of the present invention, the user can not only use the MC service through the mobile phone, but also use the MC service through the PC, the tablet computer or other Internet access terminal device, which brings great convenience to the user and can enhance the user experience. At the same time, promote the use and development of MC business;
2、通过本发明实施例,用户可以通过在多种终端设备上装载MC客户端软件,方便管理自己的漏话消息。2. Through the embodiment of the present invention, the user can conveniently manage his own missed message by loading the MC client software on a plurality of terminal devices.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的每个模块可以采用硬
件的形式实现,也可以采用软件功能模块的形式实现。本发明不限制于任何特定形式的硬件和软件的结合。One of ordinary skill in the art will appreciate that all or a portion of the steps described above can be accomplished by a program that instructs the associated hardware, such as a read-only memory, a magnetic or optical disk, and the like. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module in the above embodiment can adopt a hard
The form of the piece can also be implemented in the form of a software function module. The invention is not limited to any specific form of combination of hardware and software.
虽然本发明实施例所揭露的实施方式如上,但所述的内容仅为便于理解本发明实施例而采用的实施方式,并非用以限定本申请。任何本申请所属领域内的技术人员,在不脱离本发明所揭露的精神和范围的前提下,可以在实施的形式及细节上进行任何的修改与变化,但本申请的专利保护范围,仍须以所附的权利要求书所界定的范围为准。The embodiments disclosed in the embodiments of the present invention are as described above, but the content is only for the purpose of understanding the embodiments of the present invention, and is not intended to limit the present application. Any modification or variation in the form and details of the embodiments may be made by those skilled in the art without departing from the spirit and scope of the invention. The scope defined by the appended claims shall prevail.
本技术方案使得基于IP的终端设备也可支持漏话提醒业务,给用户带来了极大的使用便利,提升了用户体验,同时促进漏话提醒业务的使用和发展。
The technical solution enables the IP-based terminal device to also support the missed call reminding service, which brings great convenience to the user, improves the user experience, and promotes the use and development of the missed call reminding service.
Claims (12)
- 一种漏话提醒方法,包括:A method for reminding a missed call, including:漏话服务器在主叫终端通过移动网络呼叫被叫终端期间,获取所述主叫终端的漏话客户端生成并通过IP网络发送的呼叫消息;The missed call server acquires a call message generated by the missed call client of the calling terminal and sent by the IP network during the call of the called terminal by the calling terminal;所述漏话服务器根据收到的呼叫消息,查询被叫终端的当前状态;The missed call server queries the current state of the called terminal according to the received call message;所述漏话服务器根据查询到的被叫终端的当前状态,生成漏话通知消息,并通过IP网络发送至被叫终端的漏话客户端。The missed call server generates a missed call notification message according to the current state of the called terminal, and sends the missed call message to the called terminal of the called terminal through the IP network.
- 根据权利要求1所述的方法,在所述漏话服务器获取所述主叫终端的漏话客户端生成并通过IP网络发送的呼叫消息之前,还包括:The method according to claim 1, before the missed call server obtains the call message generated by the missed call client of the calling terminal and sent over the IP network, the method further includes:在所述漏话服务器与所述主叫终端的漏话客户端之间建立用于消息传递的套接字连接,以供所述主叫终端的漏话客户端利用所述套接字连接向所述漏话服务器传递包括主叫终端号码和被叫终端号码的呼叫消息。Establishing a socket connection for message delivery between the missed call server and the missed call client of the calling terminal, so that the missed call client of the calling terminal utilizes the socket connection The missed call server transmits a call message including a calling terminal number and a called terminal number.
- 根据权利要求2所述的方法,其中,所述漏话服务器根据收到的呼叫消息,查询被叫终端的当前状态的步骤包括:The method according to claim 2, wherein the step of the missed call server querying the current state of the called terminal according to the received call message comprises:所述漏话服务器通过解析所述呼叫消息,得到所述主叫终端号码和所述被叫终端号码;The missed call server obtains the calling terminal number and the called terminal number by parsing the call message;所述漏话服务器通过IP网络向所述被叫终端号码对应的被叫终端的漏话客户端查询被叫终端的当前状态;或者,所述漏话服务器通过本地实时更新的终端状态数据库,查询所述被叫终端号码对应的被叫终端的当前状态。The missed call server queries the missed call client of the called terminal corresponding to the called terminal number through the IP network to query the current state of the called terminal; or the missed call server queries through the local real-time updated terminal state database. The current state of the called terminal corresponding to the called terminal number.
- 根据权利要求3所述的方法,在所述漏话服务器通过IP网络查询被叫终端的当前状态之前,还包括:The method according to claim 3, before the missed call server queries the current state of the called terminal through the IP network, the method further includes:在所述漏话服务器与所述被叫终端的漏话客户端之间建立用于消息传递的套接字连接,以供所述被叫终端利用所述套接字连接向所述漏话服务器传递被叫终端的当前状态信息。Establishing a socket connection for message delivery between the missed call server and the missed call client of the called terminal, for the called terminal to connect to the missed call server by using the socket connection Pass the current status information of the called terminal.
- 根据权利要求4所述的方法,其中,所述漏话服务器根据查询到的被叫终端的当前状态,生成漏话通知消息,并通过IP网络发送至被叫终端的漏话客户端的步骤包括: The method of claim 4, wherein the leaking server generates a missed call notification message according to the current state of the called terminal, and sends the missed call message to the called terminal of the called terminal through the IP network, including:当所述漏话服务器查询到的被叫终端的当前状态是关机、不可达、用户忙、无应答中的任一状态时,生成包含主叫终端号码的漏话通知消息;When the current state of the called terminal that is queried by the missed call server is any one of shutdown, unreachable, user busy, and no answer, generating a missed call notification message including the calling terminal number;所述漏话服务器通过所述漏话服务器与所述被叫终端的漏话客户端之间的套接字连接将所述漏话通知消息发送至被叫终端的漏话客户端。The missed call server sends the missed call notification message to the missed call client of the called terminal by using a socket connection between the missed call server and the missed call client of the called terminal.
- 根据权利要求5所述的方法,还包括:The method of claim 5 further comprising:当所述被叫终端的当前状态变换为开机状态时,所述漏话服务器通过所述漏话服务器与所述被叫终端的漏话客户端之间的套接字连接,接收所述被叫终端的漏话客户端发送的被叫终端的开机状态信息,并通过所述漏话服务器与所述主叫终端的漏话客户端之间的套接字连接,将包含所述被叫终端的开机状态信息的被叫开机提醒消息发送至主叫终端的漏话客户端。When the current state of the called terminal is changed to a power-on state, the missed call server receives the called party through a socket connection between the missed call server and the missed call client of the called terminal. The power-on state information of the called terminal sent by the missed call client of the terminal, and the socket connection between the missed call server and the missed call client of the calling terminal, and the called terminal is included The called power-on reminder message of the power-on status information is sent to the missed-end client of the calling terminal.
- 一种漏话提醒装置,包括:A missed call reminding device, comprising:服务器获取单元,设置成在主叫终端通过移动网络呼叫被叫终端期间,获取所述主叫终端的漏话客户端生成并通过IP网络发送的呼叫消息;a server obtaining unit, configured to acquire, when the calling terminal calls the called terminal through the mobile network, a call message generated by the missed call client of the calling terminal and sent through the IP network;服务器查询单元,设置成根据收到的呼叫消息,查询被叫终端的当前状态;The server query unit is configured to query the current state of the called terminal according to the received call message;服务器通知单元,设置成根据查询到的被叫终端的当前状态,生成漏话通知消息,并通过IP网络发送至被叫终端的漏话客户端。The server notification unit is configured to generate a missed call notification message according to the current state of the called terminal, and send the missed call message to the called terminal of the called terminal through the IP network.
- 根据权利要求7所述的装置,还包括:The apparatus of claim 7 further comprising:服务器连接建立单元,设置成在所述服务器获取单元获取所述主叫终端的漏话客户端生成并通过IP网络发送的呼叫消息之前,建立与所述主叫终端的漏话客户端之间的套接字连接。a server connection establishing unit, configured to establish, between the missed call client of the calling terminal, before the server obtaining unit acquires a call message generated by the missed call client of the calling terminal and sent through the IP network Socket connection.
- 根据权利要求8所述的装置,其中,所述服务器查询单元通过解析所述呼叫消息,得到所述主叫终端号码和所述被叫终端号码,并通过IP网络向所述被叫终端号码对应的被叫终端的漏话客户端查询被叫终端的当前状态,或者,通过本地实时更新的终端状态数据库,查询所述被叫终端号码对应的被叫终端的当前状态。The apparatus according to claim 8, wherein said server query unit obtains said calling terminal number and said called terminal number by parsing said call message, and corresponding to said called terminal number through an IP network The missed call client of the called terminal queries the current state of the called terminal, or queries the current state of the called terminal corresponding to the called terminal number through a local real-time updated terminal state database.
- 根据权利要求9所述的装置,其中,所述服务器连接建立单元还设置成在所述服务器查询单元通过IP网络查询被叫终端的当前状态之前,建立 与所述被叫终端的漏话客户端之间的套接字连接。The apparatus according to claim 9, wherein said server connection establishing unit is further configured to establish before said server query unit queries the current state of the called terminal through the IP network A socket connection with the missed client of the called terminal.
- 根据权利要求10所述的装置,其中,所述服务器通知单元在查询到的被叫终端的当前状态是关机、不可达、用户忙、无应答中的任一状态时,生成包含主叫终端号码的漏话通知消息,并通过与所述被叫终端的漏话客户端之间的套接字连接,将所述漏话通知消息发送至被叫终端的漏话客户端。The device according to claim 10, wherein the server notification unit generates the calling terminal number when the current state of the called terminal is queried, unreachable, busy, and unanswered. The missed notification message, and the missed call notification message is sent to the missed call client of the called terminal through a socket connection with the missed call client of the called terminal.
- 根据权利要求11所述的装置,其中,当所述被叫终端的当前状态变换为开机状态时,所述服务器获取单元通过与所述被叫终端的漏话客户端之间的套接字连接,接收所述被叫终端的漏话客户端发送的被叫终端的开机状态信息,所述服务器通知单元通过与所述主叫终端的漏话客户端之间的套接字连接,将包含所述被叫终端的开机状态信息的被叫开机提醒消息发送至主叫终端的漏话客户端。 The apparatus according to claim 11, wherein when the current state of the called terminal is changed to a power-on state, the server obtaining unit connects through a socket with the missed client of the called terminal Receiving the power-on state information of the called terminal sent by the missed call client of the called terminal, and the server notification unit, by using a socket connection with the missed call client of the calling terminal, The called power-on reminder message of the power-on state information of the called terminal is sent to the missed-end client of the calling terminal.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510507423.7A CN106470281A (en) | 2015-08-18 | 2015-08-18 | A kind of crosstalk reminding method and device |
CN201510507423.7 | 2015-08-18 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016177222A1 true WO2016177222A1 (en) | 2016-11-10 |
Family
ID=57217565
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/078124 WO2016177222A1 (en) | 2015-08-18 | 2016-03-31 | Missed call reminding method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106470281A (en) |
WO (1) | WO2016177222A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109587355A (en) * | 2018-12-29 | 2019-04-05 | 中细软集团有限公司 | Missed call processing method and system terminal |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109151221B (en) * | 2017-06-15 | 2021-02-26 | 中国移动通信集团浙江有限公司 | Call alert method, alert server, and computer-readable storage medium |
CN110753162B (en) * | 2018-07-23 | 2021-06-11 | 大唐移动通信设备有限公司 | Method, device and storage medium for realizing call back in busy condition |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101568193A (en) * | 2009-05-21 | 2009-10-28 | 腾讯科技(深圳)有限公司 | Display method of calling information at instant communication terminal and system |
CN101931904A (en) * | 2009-06-26 | 2010-12-29 | 中国电信股份有限公司 | Method and system for multimedia call-missing remind as well as SIP (Session Initiation Protocol) server thereof |
US8521137B2 (en) * | 2008-08-21 | 2013-08-27 | Shoretel, Inc. | System and method for voicemail service mobility |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102761839A (en) * | 2011-04-29 | 2012-10-31 | 中兴通讯股份有限公司 | Missed call prompting device and method |
CN102984334A (en) * | 2012-11-26 | 2013-03-20 | 孙洪生 | Communication message leaving system and message leaving method |
US9686658B2 (en) * | 2013-07-15 | 2017-06-20 | Mbit Wireless, Inc. | Method and apparatus for adaptive event notification control |
-
2015
- 2015-08-18 CN CN201510507423.7A patent/CN106470281A/en not_active Withdrawn
-
2016
- 2016-03-31 WO PCT/CN2016/078124 patent/WO2016177222A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8521137B2 (en) * | 2008-08-21 | 2013-08-27 | Shoretel, Inc. | System and method for voicemail service mobility |
CN101568193A (en) * | 2009-05-21 | 2009-10-28 | 腾讯科技(深圳)有限公司 | Display method of calling information at instant communication terminal and system |
CN101931904A (en) * | 2009-06-26 | 2010-12-29 | 中国电信股份有限公司 | Method and system for multimedia call-missing remind as well as SIP (Session Initiation Protocol) server thereof |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109587355A (en) * | 2018-12-29 | 2019-04-05 | 中细软集团有限公司 | Missed call processing method and system terminal |
CN109587355B (en) * | 2018-12-29 | 2021-04-30 | 中细软集团有限公司 | Missed call processing method and system terminal |
Also Published As
Publication number | Publication date |
---|---|
CN106470281A (en) | 2017-03-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8457613B2 (en) | Automated mobile intelligent communication processing system | |
CN106464752B (en) | Additional information about the caller | |
CN102916869B (en) | Instant messaging method and system | |
WO2019128682A1 (en) | Convergent messaging system and message processing method | |
WO2023206909A1 (en) | Volte voice encrypted communication method, terminal and system | |
KR102527524B1 (en) | Techniques for Multi-Agent Messaging | |
WO2017063438A1 (en) | Voice encryption method, system and apparatus | |
CN112738559A (en) | Screen projection implementation method, device and system | |
JP2016517664A (en) | System and method for distributing multimedia information to mobile devices | |
CN112738575A (en) | Screen projection implementation method, device and system | |
US10855846B1 (en) | Encrypting multiple party calls | |
US8423656B2 (en) | Push gateway systems and methods | |
WO2014154009A1 (en) | Method, apparatus, receiving end, sending end and device for group communication | |
CN112738011A (en) | Screen projection implementation method, device and system | |
EP2974159B1 (en) | Method, device and system for voice communication | |
WO2016177222A1 (en) | Missed call reminding method and device | |
CN102857889A (en) | Method and device for encrypting short messages | |
US10063648B2 (en) | Relaying mobile communications | |
JP2013153438A (en) | Method for establishing communication connection over internet between mobile terminals, computer program, and storage medium | |
EP2672667A2 (en) | Method and system for implementing ip-based vvm | |
WO2017197944A1 (en) | Notification message prompting method among terminals, and terminal | |
US10404863B2 (en) | Base phone and additional phone implementation, answering, calling, and intercom method, and IP terminal | |
CN110048928B (en) | Information submitting, obtaining and interacting method, device, equipment and system | |
WO2018214795A1 (en) | Call indication method, device and system | |
CN105376727A (en) | Data card processing method and device |
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: 16789216 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: 16789216 Country of ref document: EP Kind code of ref document: A1 |