Instant messaging method and system based on IM service sink

By adopting a distributed deployment architecture in the instant messaging system and utilizing the collaborative work of the central server and branch servers, the problem of heavy burden on the central server and business stability under centralized deployment is solved, achieving higher stability and response speed, and Ensure business reliability in case of failure.

CN118740921APending Publication Date: 2024-10-01YEALINK (XIAMEN) NETWORK TECHNOLOGY CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410914349.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-09
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

In existing instant messaging systems, centralized deployment results in a heavy burden on the central server, and network fluctuations affect the stability of the chat service, which may lead to business interruption and affect user experience.

Method used

Using the IM service-based sinking method, the central server allocates the business address of the branch server. The branch server processes the instant chat message signaling. If the receiving end is not within the management range, it is forwarded to the central server to assign a second branch server to realize message transmission. Use hot standby and floating IP addresses to ensure service reliability.

Benefits of technology

Significantly reduces the burden on the central server, improves the stability and response speed of the instant chat service, improves user experience, ensures business reliability in case of failures, and supports smooth expansion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118740921A_ABST
    Figure CN118740921A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of communication, and discloses an instant messaging method and system based on IM service subsidence. The method comprises the following steps: a central server allocates a service address of a first branch server to a sending end; the first branch server receives the message signaling of the sending end, analyzes the message signaling and determines whether a specified receiving end belongs to the management range of the first branch server; if yes, the first branch server transmits the message signaling to the receiving end, connection is established between the sending end and the receiving end, and the first branch server transmits the instant chat message; and if not, forwarding the message signaling to the central server, determining a second branch server by the central server, sending the message signaling to the receiving end through the second branch server, establishing a connection between the sending end and the receiving end, and transmitting the instant chat message through the first branch server and the second branch server. According to the method, the network burden of the central server can be reduced, and the stability and reliability of the instant chat service are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to an instant messaging method and system based on IM service sinking. Background Art

[0002] Instant Messaging (IM) refers to services that can send and receive Internet messages instantly. After users register, they can log in to the instant messaging software on the client using the login information they used when registering. The instant messaging system is used to exchange messages and transfer information between the client terminals. Currently, mainstream instant messaging products on the market generally adopt a centralized deployment solution. Under this architecture, the instant messaging service is deployed at the headquarters, and all users' instant messaging services are centrally processed by the server at the headquarters. For users distributed in different regions, whether it is IM message chat, user status subscription or file transfer, they all need to be centrally processed through the headquarters' instant messaging service. However, this centralized deployment also brings some challenges. First, all services are gathered at the headquarters, which places very high requirements on the bandwidth and server performance of the headquarters. Second, once the network between the branch and the headquarters fluctuates or is abnormal, the chat service within the branch will be seriously affected, which may result in the inability to send and receive instant chat messages or files normally, thereby causing business interruption and affecting user experience. Summary of the invention

[0003] To this end, the embodiments of the present application provide an instant messaging method and system based on IM service sinking, which can reduce the network burden of the central server and improve the stability and reliability of the instant messaging service.

[0004] In a first aspect, the present application provides an instant messaging method based on IM service sinking.

[0005] This application is achieved through the following technical solutions:

[0006] The instant messaging method comprises: the central server assigns the service address of the first branch server to be accessed to the sending terminal according to the login request of the sending terminal;

[0007] The sending end sends a message signaling requesting instant messaging to the first branch server according to the business address;

[0008] The first branch server parses the message signaling and determines whether the receiving end specified in the message signaling belongs to the management scope of the first branch server;

[0009] If the receiving end belongs to the management scope of the first branch server, the first branch server transmits the message signaling to the receiving end, and the receiving end returns the feedback message signaling, a connection is established between the sending end and the receiving end, and the instant chat message is transmitted through the first branch server;

[0010] If the receiving end does not belong to the management scope of the first branch server, the message signaling is forwarded to the central server, and the central server allocates the second branch server to the receiving end, and sends the message signaling to the second branch server. The second branch server sends the message signaling to the receiving end, and the receiving end returns feedback message signaling, establishes a connection between the sending end and the receiving end, and transmits instant chat messages through the first branch server and the second branch server.

[0011] In a preferred example of the present application, it can be further configured that each branch server includes a main branch server and a backup branch server.

[0012] In a preferred example of the present application, it can be further configured that a hot standby solution and a floating IP address are adopted between the main branch server and the backup branch server.

[0013] In a preferred example of the present application, it can be further set as follows:

[0014] If the receiving end does not belong to the management scope of the first branch server, the step of forwarding the message signaling to the central server, and the central server allocating the second branch server to be accessed by the receiving end includes:

[0015] The central server determines the second branch server based on the account information of the receiving end and the load conditions of the remaining branch servers except the first branch server; or the central server determines the second branch server based on the IP address information of the receiving end and the load conditions of the remaining branch servers except the first branch server.

[0016] In a preferred example of the present application, it can be further configured that the central server monitors each branch server, and when it is monitored that a branch server fails, the currently connected main branch server is switched to a backup branch server.

[0017] In a preferred example of the present application, it can be further configured that the central server monitors the connection status between the central server and the branch server. If an abnormality is detected in the connection between the central server and the branch server, the instant messaging service is switched to the message signaling by the branch server requesting instant messaging.

[0018] In a preferred example of the present application, it can be further configured that when the connection between the central server and the branch server returns to normal, the branch server automatically and synchronously transmits the service data generated during the abnormal period to the central server.

[0019] In a preferred example of the present application, it can be further configured that the branch server and the central server are connected via the TCP protocol.

[0020] On the second aspect, the present application provides an instant messaging system based on IM service sinking.

[0021] This application is achieved through the following technical solutions:

[0022] An instant messaging system based on IM service sinking,

[0023] The instant messaging system adopts a distributed deployment architecture, including a central server and a number of branch servers managed by the central server;

[0024] The central server is used to allocate the service address of the first branch server to the sending terminal upon receiving the login request of the sending terminal; and is also used to allocate the second branch server to the receiving terminal when the receiving terminal requested by the sending terminal for instant messaging is not within the management scope of the first branch server;

[0025] The branch server is used to receive message signaling from a sender requesting instant messaging, parse the message signaling, determine the receiving end specified in the message signaling, establish a connection between the sender and the receiving end, and transmit instant chat messages to the sender and the receiving end through one branch server or two branch servers.

[0026] In a preferred example of the present application, it can be further configured that each branch server in the branch server group includes a main branch server and a backup branch server.

[0027] To sum up, compared with the prior art, the technical solution provided by the embodiment of the present application has at least the following beneficial effects: the method allocates the business address of the first branch server to the sender through the central server; the first branch server receives the message signaling of the sender, parses it and determines whether the specified receiving end belongs to the management scope of the first branch server; if so, the first branch server transmits the message signaling to the receiving end, establishes a connection between the sender and the receiving end, and the first branch server transmits the instant chat message; if not, the message signaling is forwarded to the central server, the central server determines the second branch server, and sends the message signaling to the receiving end through the second branch server, establishes a connection between the sender and the receiving end, and transmits the instant chat message through the first branch server and the second branch server. This application sets up a central server and several branch servers with lower data volumes. The central server processes message signaling with a smaller data volume. Branch servers are dynamically allocated to the sender and receiver based on the services of the instant messaging service and the resources of each branch server. The branch servers independently run and process local instant messaging messages, which can significantly reduce the dependence on the central server and bandwidth usage, and ensure the stability of the instant messaging service. Since the branch servers process most of the instant messaging messages, the response speed of the instant messaging service can be improved, and the user experience can be enhanced. Even if the central server or a branch server fails occasionally, the remaining branch servers can continue to provide services, ensuring the reliability of the service. As business demand increases, smooth expansion can be achieved by adding branch servers. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 A flowchart of an instant messaging method based on IM service sinking provided by an exemplary embodiment of the present application;

[0029] Figure 2 A flowchart of an instant messaging method based on IM service sinking provided by another exemplary embodiment of the present application;

[0030] Figure 3 A flowchart of an instant messaging method based on IM service sinking provided by another exemplary embodiment of the present application;

[0031] Figure 4 A structural diagram of an instant messaging system based on IM service sinking provided as another exemplary embodiment of the present application.

[0032] Description of reference numerals:

[0033] Central server-01, branch server-02, primary branch server-021, backup branch server-022. DETAILED DESCRIPTION

[0034] This specific embodiment is merely an explanation of the present application and is not a limitation of the present application. After reading this specification, those skilled in the art may make modifications to the present embodiment without any creative contribution as needed, but such modifications are protected by the patent law as long as they are within the scope of the claims of the present application.

[0035] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0036] In addition, the term "and / or" in this application is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this application, unless otherwise specified, generally indicates that the associated objects before and after are in an "or" relationship.

[0037] In this application, the terms "first", "second", etc. are used to distinguish identical or similar items with basically the same effects and functions. It should be understood that there is no logical or temporal dependency between "first", "second", and "nth", nor is there any limitation on quantity and execution order.

[0038] The embodiments of the present application are further described in detail below in conjunction with the drawings in the specification.

[0039] In one embodiment of the present application, an instant messaging method based on IM service sinking is provided, such as Figure 1 As shown,

[0040] The instant messaging method is based on a distributed deployment architecture, which includes a central server deployed at the group headquarters and several branch servers set up in extension rooms in different regions. The central server is used to manage instant messaging services and schedule instant messaging services, and the central server and branch servers are connected via the TCP protocol. Each branch server manages a certain range of terminal devices, and the management range corresponding to each branch server can be divided according to the IP address information of the terminal device, or according to the account ownership information of the instant messaging account. Each branch server includes a main branch server and a backup branch server.

[0041] S10: The central server allocates the service address of the first branch server to be accessed to the sending terminal according to the login request of the sending terminal.

[0042] When a user logs in on the terminal device of the sender, the sender will send a login request to the central server, which contains the sender's device information (including IP address information) and account information. The central server will select a first branch server that provides instant messaging services for the sender based on the above device information and account information, as well as the current load of each branch server, and return the business address of the first branch server to the sender. The sender is the client of the user who initiates instant messaging.

[0043] S20: The sending end sends a message signaling requesting instant messaging to the first branch server according to the business address.

[0044] After receiving the service address of the first branch server assigned by the central server, the sender will construct a message signaling requesting instant messaging with the service address, and transmit the message signaling to the first branch server through the network. The message signaling contains the service content of the instant messaging required, such as the IP address of the receiver, etc. The receiver is the client of the user receiving the instant messaging.

[0045] S30: The first branch server parses the message signaling and determines whether the receiving end specified in the message signaling belongs to the management scope of the first branch server;

[0046] When the first branch server receives the message signaling, it will parse the service content in the message signaling, determine the IP address of the receiving end specified in the message signaling, and further determine whether the IP address of the receiving end is within its own management scope.

[0047] S40: If the receiving end belongs to the management scope of the first branch server, the first branch server transmits the message signaling to the receiving end, and the receiving end returns the feedback message signaling, establishes a connection between the sending end and the receiving end, and transmits the instant chat message through the first branch server.

[0048] like Figure 2As shown, if the first branch server parses the message signaling and determines that the receiving end that the sender requests for instant messaging also belongs to the management scope of the first branch server, the message signaling is sent to the receiving end to inform the receiving end that there is a chat message. The receiving end accepts the instant messaging connection with the sender and returns a feedback message signaling to the first branch server. After receiving the feedback message signaling, the first branch server will notify the sender that the connection has been established and establish a connection between the sender and the receiving end. The connection is successfully established, and the sender and the receiving end send instant chat messages through the first branch server. Specifically, the instant chat message is encapsulated into a data packet and transmitted through the network. The first branch server is responsible for forwarding the data packet sent by the sender to the receiving end. After receiving the data packet, the receiving end decodes it and displays it on the terminal device of the receiving end. At the same time, the receiving end can reply to the instant chat message to the sender through the first branch server.

[0049] In this application, signaling messages with higher security and reliability requirements are transmitted through the central server, and instant chat messages with larger data volumes are transmitted on the branch servers. The branch servers independently manage the users and instant messaging data within their management scope, which can reduce the load pressure on the central server and improve the stability of the system. At the same time, the branch servers are closer to the users, and instant chat messages do not need to be transferred through the distant central server, which can reduce the delay in data transmission, improve the real-time and interactivity of instant messaging, and enhance the user experience.

[0050] S50: If the receiving end does not belong to the management scope of the first branch server, the message signaling is forwarded to the central server, and the central server allocates the second branch server to the receiving end, and sends the message signaling to the second branch server. The second branch server sends the message signaling to the receiving end, and the receiving end returns the feedback message signaling, establishes a connection between the sending end and the receiving end, and transmits the instant chat message through the first branch server and the second branch server.

[0051] like Figure 3As shown, if the first branch server parses the message signaling and determines that the receiving end for instant messaging requested by the sender does not belong to its own management scope, the message signaling is forwarded to the central server, and the central server selects a second branch service that provides instant messaging services for the receiving end based on the IP address information or account information of the receiving end in the message signaling, as well as the current load conditions of branch servers other than the first branch server. In the actual implementation process, the second branch server can be determined in the following two ways: the central server determines the second branch server based on the account information of the receiving end and the load conditions of the remaining branch servers except the first branch server; or the central server determines the second branch server based on the IP address information of the receiving end and the load conditions of the remaining branch servers except the first branch server. In some embodiments, the central server monitors the load conditions by checking the number of processes on the branch server. For example, the login accounts 0 to 10000 belong to the branch server 02-1 for management, the login accounts 10001 to 20000 belong to the branch server 02-2 for management, and the login accounts 20001 to 30000 belong to the branch server 02-3 for management. If the account ownership information logged in at the sender is 00065, the central server first determines the corresponding branch server 02-1 according to the account ownership information, and further determines the load of the branch server 02-1. If the branch server 02-1 is able to provide services for it, the sender is connected to the branch server 02-1; if the current load of the branch server 02-1 cannot provide services for the sender, a branch server is selected from the remaining branch servers except the branch server 02-1. In some embodiments, the terminal device with an IP address between 0 and 1000 is set to belong to the branch server 02-1, the IP address between 1001 and 2000 is set to belong to the branch server 02-2, and the IP address between 2001 and 3000 is set to belong to the branch server 02-3. If the IP address of a terminal device is 2100, the central server first determines the corresponding branch server 02-3 according to the IP address, and further determines the load of the branch server 02-3. If the branch server 02-3 is able to provide services for it, the sender is connected to the branch server 02-3; if the current load of the branch server 3 is unable to provide services for the sender, a branch server is selected from the remaining branch servers except the branch server 02-3.

[0052] The second branch server sends the message signaling to the receiving end, notifying the receiving end that there is a chat message. The receiving end accepts the instant messaging connection with the sending end and returns the feedback message signaling to the second branch server. The second branch server forwards the feedback message signaling to the central server, and the central server further forwards the feedback message signaling to the first branch server, and establishes a connection between the first branch server and the second branch server. At the same time, the first branch server notifies the sending end that the receiving end has received the message signaling. A connection is established between the sending end and the receiving end, and the instant chat message is transmitted through the first branch server and the second branch server. Specifically, the instant chat message is encapsulated into a data packet and transmitted through the network. The first branch server is responsible for forwarding the data packet sent by the sending end to the second branch server, and the second branch server forwards the data packet to the receiving end. After receiving the data packet, the receiving end decodes it and displays it on the terminal device of the receiving end. At the same time, the receiving end can send the data packet to the second branch server, the second branch server forwards it to the first branch server, and the first branch server sends it to the sending end.

[0053] During the instant messaging transmission process, the initial message signaling forwarding is processed by the central server, and after the subsequent connection is established, the transmission process of the instant chat message is carried out through the branch server, which can significantly reduce the data processing and forwarding burden of the central server and improve the efficiency of instant messaging. After the connection is established, during the transmission of the instant chat message, if the instant central server fails, as long as the connection between the first branch server and the second branch server is normal, the instant messaging can still continue, which improves the fault tolerance of the instant messaging system to a certain extent.

[0054] In some embodiments, each branch server includes a main branch server and a backup branch server, and a hot standby solution and a floating IP address are used between the main branch server and the backup branch server. The hot standby solution can ensure that when the main branch server fails or the performance degrades, the backup branch server can immediately take over the work without waiting for the backup branch server to cold start or reconfigure; at the same time, the floating IP address does not require the user to change the settings, allowing dynamic switching between the two branch servers, thereby ensuring the continuity of the instant messaging service.

[0055] In some embodiments, during the instant messaging process, the central server monitors each branch server, and when it is detected that a branch server fails, the currently connected main branch server is switched to a backup branch server.

[0056] In some embodiments, the central server monitors the connection status between the central server and the branch server. If it detects that the connection between the central server and the branch server is abnormal, it switches to the branch server to provide instant service for the message signaling requesting instant messaging. Appropriate exception handling and failover mechanisms are implemented. When the network between the branch server and the central server fluctuates or is abnormal, it can automatically switch to the branch server node to ensure the continuity and availability of the instant chat service. When the connection between the central server and the branch server returns to normal, the branch server automatically synchronizes the service data generated during the abnormal period to the central server. After the abnormality is recovered, data can be automatically synchronized from the branch server to the central server to restore the affected instant service data and ensure the continuity of the overall business.

[0057] In some embodiments, Figure 4 As shown, the present application mentions an instant messaging system based on IM service sinking, the instant messaging system adopts a distributed deployment architecture, including a central server 01 and a plurality of branch servers 02 managed by the central server, and the branch servers 02 and the central server 01 are connected via the TCP protocol;

[0058] The central server 01 is used to allocate the service address of the first branch server to the sending terminal when receiving the login request of the sending terminal; and is also used to allocate the second branch server to the sending terminal when the receiving terminal requested by the sending terminal for instant messaging is not within the management scope of the first branch server;

[0059] Branch server 02 is used to receive message signaling from a sender requesting instant messaging, parse the message signaling, determine the receiving end specified in the message signaling, establish a connection between the sender and the receiving end, and transmit instant chat messages to the sender and the receiving end through one branch server or two branch servers.

[0060] In some embodiments, each branch server includes a primary branch server 021 and a backup branch server 022 .

[0061] In some embodiments, a hot standby solution and a floating IP address are used between the main branch server 021 and the backup branch server 022 .

[0062] In some embodiments, the central server 01 is also used to monitor each branch server 02 , and when it is monitored that a branch server 02 fails, the currently connected main branch server 021 is switched to the backup branch server 022 .

[0063] In some embodiments, the central server 01 is also used to monitor the connection status between the branch server 02. If it is detected that the connection between the central server 01 and the branch server 02 is abnormal, the branch server 02 switches to providing instant messaging service for the message signaling requesting instant messaging.

[0064] In some embodiments, when the connection between the central server 01 and the branch server 02 returns to normal, the branch server 02 is also used to automatically and synchronously transmit the service data generated during the abnormal period to the central server 01.

[0065] In some embodiments, the central server 01 receives a login request sent by a user when logging in on a terminal device of the sender. The central server 01 selects a first branch server that provides instant messaging services for the sender according to the device information and account information of the sender contained in the login request and the load of the current branch server 02, and returns the business address of the first branch server to the sender. After receiving the business address of the first branch server assigned by the central server 01, the sender will carry the business address to construct a message signaling requesting instant messaging, and transmit the message signaling to the first branch server through the network. The first branch server parses the business content in the message signaling to determine whether the IP address of the receiving end specified in the message signaling is within its own management scope. If it is within its own management scope, the message signaling is sent to the receiving end to inform the receiving end that there is a chat message. The receiving end accepts the instant messaging connection with the sending end and returns a feedback message signaling to the first branch server. After receiving the feedback message signaling, the first branch server will notify the sending end that the connection has been established, and establish a connection between the sending end and the receiving end. The connection is successfully established, and instant chat messages are sent between the sending end and the receiving end through the first branch server.

[0066] If it is not within its own management scope, the message signaling is forwarded to the central server 01, and the central server 01 selects a second branch service that provides instant messaging services for the receiving end based on the IP address information or account information of the receiving end in the message signaling, and the current load of the branch server 02 except the first branch server. The second branch server sends the message signaling to the receiving end, notifying the receiving end that there is a chat message. The receiving end accepts the instant messaging connection with the sending end and returns the feedback message signaling to the second branch server. The second branch server forwards the feedback message signaling to the central server 01, and the central server 01 further forwards the feedback message signaling to the first branch server, and establishes a connection between the first branch server and the second branch server. At the same time, the first branch server notifies the sending end that the receiving end has received the message signaling. A connection is established between the sending end and the receiving end, and the instant chat message is transmitted through the first branch server and the second branch server.

[0067] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the system described in the present application is divided into different functional units or modules to complete all or part of the functions described above.

Claims

1. An instant messaging method based on IM service sinking, characterized in that: The instant messaging method comprises: The central server allocates the service address of the first branch server to be accessed to the sending terminal according to the login request of the sending terminal; The sending end sends a message signaling requesting instant messaging to the first branch server according to the business address; The first branch server parses the message signaling and determines whether the receiving end specified in the message signaling belongs to the management scope of the first branch server; If the receiving end belongs to the management scope of the first branch server, the first branch server transmits the message signaling to the receiving end, and the receiving end returns the feedback message signaling, a connection is established between the sending end and the receiving end, and the instant chat message is transmitted through the first branch server; If the receiving end does not belong to the management scope of the first branch server, the message signaling is forwarded to the central server, and the central server allocates the second branch server to the receiving end, and sends the message signaling to the second branch server. The second branch server sends the message signaling to the receiving end, and the receiving end returns feedback message signaling, establishes a connection between the sending end and the receiving end, and transmits instant chat messages through the first branch server and the second branch server.

2. The instant messaging method based on IM service sinking according to claim 1, characterized in that: Each branch server includes a primary branch server and a backup branch server.

3. The instant messaging method based on IM service sinking according to claim 2 is characterized in that: A hot standby solution and a floating IP address are used between the main branch server and the backup branch server.

4. The instant messaging method based on IM service sinking according to claim 1, characterized in that: If the receiving end does not belong to the management scope of the first branch server, the step of forwarding the message signaling to the central server, and the central server allocating the second branch server to be accessed by the receiving end includes: The central server determines the second branch server according to the account ownership information of the receiving end and the load conditions of the remaining branch servers except the first branch server; Or the central server determines the second branch server according to the IP address information of the receiving end and the load conditions of the remaining branch servers except the first branch server.

5. The instant messaging method based on IM service sinking according to claim 2, characterized in that: The central server monitors each branch server, and when it detects that a branch server fails, the currently connected main branch server is switched to a backup branch server.

6. The instant messaging method based on IM service sinking according to claim 1, characterized in that: The central server monitors the connection status between the central server and the branch server. If it is detected that the connection between the central server and the branch server is abnormal, the branch server is switched to perform instant messaging service for the message signaling requesting instant messaging.

7. The instant messaging method based on IM service sinking according to claim 6, characterized in that: When the connection between the central server and the branch server returns to normal, the branch server automatically and synchronously transmits the service data generated during the abnormal period to the central server.

8. The instant messaging method based on IM service sinking according to any one of claims 1 to 7, characterized in that: The branch servers and the central server are connected via TCP protocol.

9. An instant messaging system based on IM service sinking, characterized in that: The instant messaging system adopts a distributed deployment architecture, including a central server and a number of branch servers managed by the central server; The central server is used to allocate the service address of the first branch server to the sending terminal upon receiving the login request of the sending terminal; and is also used to allocate the second branch server to the receiving terminal when the receiving terminal requested by the sending terminal for instant messaging is not within the management scope of the first branch server; The branch server is used to receive message signaling from a sender requesting instant messaging, parse the message signaling, determine the receiving end specified in the message signaling, establish a connection between the sender and the receiving end, and transmit instant chat messages to the sender and the receiving end through one branch server or two branch servers.

10. The instant messaging system based on IM service sinking according to claim 9, characterized in that: Each branch server includes a primary branch server and a backup branch server.

Citation Information

Patent Citations

  • Method for sharing customer information, distributed instant communication, system and device thereof

    CN101394374A

  • Information transmission control method, device and system

    CN103916311A

  • Method and device for establishing a network connection

    CN106161147A

  • IM server deployment method and system

    CN107682396A

  • Interaction method, apparatus, and system for unstructured supplementary services data, and computer readable storage medium

    WO2016206477A1