WO2009039701A1 - Procédé et système de réalisation d'une communication instantanée à grande échelle - Google Patents

Procédé et système de réalisation d'une communication instantanée à grande échelle Download PDF

Info

Publication number
WO2009039701A1
WO2009039701A1 PCT/CN2007/070771 CN2007070771W WO2009039701A1 WO 2009039701 A1 WO2009039701 A1 WO 2009039701A1 CN 2007070771 W CN2007070771 W CN 2007070771W WO 2009039701 A1 WO2009039701 A1 WO 2009039701A1
Authority
WO
WIPO (PCT)
Prior art keywords
access
access server
information
client
server
Prior art date
Application number
PCT/CN2007/070771
Other languages
English (en)
Chinese (zh)
Inventor
Jianxiang Mo
Original Assignee
Alibaba Group Holding Limited
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Limited filed Critical Alibaba Group Holding Limited
Priority to PCT/CN2007/070771 priority Critical patent/WO2009039701A1/fr
Publication of WO2009039701A1 publication Critical patent/WO2009039701A1/fr

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]

Definitions

  • the present invention relates to the field of communications and computer technologies, and more particularly to a method and system for implementing large-scale instant messaging.
  • LoadBalance load balancing
  • the connection request of the client is allocated by the LoadBalance device to the access server provided by the background managed by the client.
  • IP protocol Internet Protocol
  • DNS Domain Name Server
  • the LoadBalance device returns an IP address.
  • the LoadBalance device assigns the client connection request to an access server according to a certain policy, so that the client obtains the instant communication service through the designated access server.
  • the LoadBalance device fails and all users' instant messaging services are affected.
  • the manner in which the login server allocates the IP address of the access server may also be used.
  • the client DNS obtains multiple IP addresses of the access server returned by the login server, and attempts to connect to the login until the login is successful. After the login is successful, the client obtains a service from the access server that is successfully logged in.
  • the login server manages all access servers.
  • the performance and stability of the login server also become a bottleneck for the stable operation of the system. If the login server fails, all clients cannot log in to the server normally.
  • Using clusters can improve system performance and increase stability. However, the use of clusters increases the operating costs.
  • the present invention provides a method and system for implementing large-scale instant messaging, which is used to solve the problem that the performance of the load balancing device or the login server in the prior art is unstable, and the client access is unreliable.
  • a method for implementing large-scale instant messaging includes the following steps:
  • the domain name server DNS in the instant messaging system provides information of the access server accessible to the user to the client according to the access information
  • the client selects an access server to access the instant messaging system according to the information of the access server.
  • each access server is monitored, and when the load of the access server is monitored to exceed a predetermined threshold or there is a fault, the access server is identified as being inaccessible to the user.
  • Each access server identifies whether the access server can access the user by setting a monitoring port status.
  • the DNS Before returning the information of the access server to the client, the DNS further sorts according to the load of each access server, and provides the information of the sorted access server to the client.
  • the client preferentially selects an access server with a light load to connect.
  • the DNS further provides information about the access server managed by the load balancing device to the client.
  • the client preferentially selects an access server other than the access server managed by the load balancing device to connect.
  • the client DNS When the DNS receives the access server information that the client DNS request can access the user, after the information is returned to the client DNS, the client DNS provides the information to the client.
  • An access server comprising:
  • An access unit configured to provide a user access service
  • the monitoring unit is configured to monitor the load information of the access unit and whether the system of the access server is faulty, and identify, according to the monitoring result, whether the access server can access the user in the access information.
  • the monitoring unit further identifies load information of the access server in the access information.
  • An instant messaging system DNS including:
  • a receiving unit configured to acquire access information of the access server
  • a sending unit configured to provide, according to the access information, information that is accessible to the access server of the user to the client.
  • it also includes:
  • a sorting unit configured to sort the access servers of the accessible users according to the load information in the access information, and output the sorted access server information of the accessible users to the sending unit.
  • a communication system comprising:
  • a first access server configured to provide an instant communication service for a user accessing the access server, monitor load information of the access server, and whether the system is faulty, and identify the access server in the access information according to the monitoring result. Whether it can access users;
  • the instant messaging system domain name server is connected to the first access server, and is configured to obtain access information of each first access server, and determine, according to the access information, all first access servers that can access the user;
  • a client DNS configured to obtain information of all first access servers of the accessible users from the instant messaging system DNS;
  • the client connected to the client DNS and the access server, selects the access server to access the instant messaging system from the information of the access server of the accessible user obtained from the client DNS.
  • the access server identifies load information of the access server in the access information; and the instant messaging system DNS sends the access server information of the accessible user according to the load information to the client. DNS.
  • the method further includes:
  • a second access server configured to provide an instant communication service for a user accessing the access server
  • a load balancing device configured to manage the second access server, and allocate the instant messaging service requested by the client to the second access On the server.
  • the access server of the accessible user After monitoring the load and other information of the access server, the access server of the accessible user is sorted according to the load and returned to the client, and the client preferentially selects the access server with a lighter load to log in, which not only improves the client.
  • the reliability of the end access, and the number of clients logging in to the access server is relatively balanced; when the load balancing device and the second access server managed by the system are added to the system, the first access server cannot provide the service immediately.
  • the client can also log in to the instant messaging system through the access server managed by the load balancing device.
  • the first access server is managed by the instant messaging system DNS, which avoids unstable system performance caused by the load balancing device or the login server failure.
  • Embodiment 1 is a structural diagram of a system in Embodiment 1 of the present invention.
  • FIG. 2 is a flowchart of processing of a monitoring unit according to Embodiment 1 of the present invention.
  • FIG. 3 is a flowchart of processing of a client login instant messaging system according to Embodiment 1 of the present invention
  • FIG. 4 is a structural diagram of a system according to Embodiment 2 of the present invention
  • FIG. 5 is a flowchart of processing a client login instant messaging system according to Embodiment 2 of the present invention.
  • the present invention monitors the load information of the access server, and provides information of the access server accessible to the user.
  • the client selects the lighter access server to access the instant messaging system.
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • the communication system of this embodiment includes a first access server 110, an instant messaging system DNS 120, a client DNS 130, and a client 140.
  • the first access server 110 includes an access unit 1101 and a monitoring unit 1102. Access unit
  • the monitoring unit 1102 monitors the load information of the access unit 1101 and whether the access server is faulty. When the access server system works normally and the load does not exceed a predetermined threshold, the monitoring unit 1102 controls the status identifier of the monitoring port. Whether the access server can access the user; and identifying the load information of the access server when the access server can access the user.
  • the first access server 110 herein includes at least two access servers that can provide services for access users, and the similar contents are the same below.
  • the instant messaging system DNS120 includes a receiving unit 1201, a sorting unit 1202, and a sending unit.
  • the receiving unit 1201 is configured to acquire the access information of the first access server 110, and obtain the load information of the first access server 110 that can access the user when the first access server 110 can access the user.
  • the sorting unit 1202 is configured to sequentially transmit the first access server 110 information of the accessible user to the sending unit 1203 according to the load information.
  • the sending unit 1203 will receive the received
  • the sorted information of the first access server 110 of the accessible user is returned to the client DNS 130.
  • the client DNS 130 is configured to periodically obtain information of the first access server 110 that can access the user from the instant messaging system DNS 120; perform service analysis on the service requested by the client, and first access the user according to the parsing result.
  • the information of the access server 110 is returned to the client 140.
  • the client 140 is configured to apply for an instant messaging service, and select the first access server 110 of the accessible user to access the instant messaging system.
  • the receiving unit 1201 When the time length for acquiring the access information of the first access server 110 is set in the receiving unit 1201 of the instant messaging system DNS 120, the receiving unit 1201 automatically scans the monitoring port status of the access server according to the set length of time.
  • the setting may be set according to a specific situation, such as setting to 1 minute, which may speed up the update of the IP address list of the first access server 110 that can access the user and the number of users who log in to the first access server 110. On average, each access server is more balanced.
  • the processing of the monitoring unit of the access server is as follows:
  • Step 201 Monitor the load information of the access server, and take data such as the number of clients currently accessing the access server, the traffic value, and the CPU usage.
  • Step 202 Compare the obtained data with a threshold value of each data set by the system. If any one of the data exceeds a corresponding threshold, and determine that the access server is a non-accessible user, perform step 205; If no data exceeds the corresponding threshold, step 203 is performed.
  • Step 203 Determine whether the access service program works normally. If an exception occurs, perform step 205; if the operation is normal, perform step 204.
  • Step 204 Identify that the access server can access the user, and set the monitoring port of the access server to an open state.
  • Step 205 Identify that the access server is inaccessible to the user, and set the monitoring port of the access server to the closed state.
  • Step 301 The instant messaging system DNS detects the monitoring port of the access server according to the set timing. If the monitoring port of the access server is detected to be in an open state, the IP address and load information of the access server are recorded; After the access server is sorted according to the recorded load information, a list of IP addresses of access servers accessible to the user is generated.
  • Step 302 The client DNS sends a request for requesting access to the IP address list message of the access server of the user to the instant messaging system DNS.
  • Step 303 The instant messaging system DNS returns the IP address list of the access server of the accessible user to the client DNS.
  • Step 304 When the client prepares to log in to the instant messaging system, the client sends a login request for domain name address resolution to the client DNS.
  • Step 305 After performing the service parsing on the received login request, the client DNS returns the IP address list of the access server of the access user to the client requesting the login.
  • Step 306 After receiving the IP address list of the access server, the client selects a lighter access server in the list to log in.
  • Step 307 If the load of the access server exceeds the threshold or the access service program is faulty, the monitoring port of the access server is closed.
  • Step 308 According to the set timing length, when the instant messaging system DNS detects the monitoring port of the access server, if the monitoring port of the access server is detected to be closed, the access server cannot access the user; After the monitoring port of the incoming server is detected, update the list of available IP addresses of the access server.
  • Step 309 After a timing period, the client DNS requests the instant messaging system DNS to return a list of IP addresses of the available access servers.
  • Step 310 The instant messaging system DNS returns the updated IP address list of the available access servers to the client DNS.
  • the instant messaging system DNS periodically detects whether the access server can access the user, improves the availability of the IP address list of the access server to which the client DNS requests, and ensures reliable access when the client logs in.
  • the instant messaging system DNS is a highly available system, it avoids the impact on the stability of the system when the DNS of one instant communication system fails.
  • Embodiment 2 is a diagrammatic representation of Embodiment 1:
  • the communication system of this embodiment adds a load balancing device 150 and a second access server 160 to FIG.
  • the second access server 160 is configured to provide an instant communication service for the client 140 accessing the access server.
  • the load balancing device 150 is configured to manage the second access server 160 and apply the instant messaging service requested by the client 140. Assigned to the second access server 160.
  • the information of the load balancing device 150 is pre-configured in the information of the access server of the accessible user that the instant messaging system DNS 120 returns to the client DNS 130.
  • the client 140 cannot log in to the first access server 110.
  • the client 140 logs in according to the information of the load balancing device configured in the access server information of the accessible user, and the load balancing device 150 allocates the connection request of the client 140 to the second access server 160 managed by the client 140. .
  • Step 501 The client sends a login request for domain name address resolution to the client DNS.
  • Step 502 After performing the domain name resolution on the login request sent by the client, the client DNS returns the IP address list of the first access server that can access the user and the IP address of the load balancing device to the client.
  • Step 503 The client selects a lighter access server in the list according to the received IP address list of the first access server to log in.
  • Step 504 When the load of the first access server exceeds a threshold or the access service program is faulty, the monitoring port of the access server is closed.
  • the monitoring port can be directly set to the closed state, so that the new user can be no longer accessed, and the instant communication service of the user accessing the access server is completed.
  • the access server stops working smoothly.
  • Step 505 The instant messaging system DNS timing detects the monitoring port of the first access server, and detects that all the monitoring ports of the first access server are in the closed state, and all the first access servers are inaccessible to the user.
  • Step 506 When the instant messaging system DNS receives the client DNS request and returns the access server information of the accessible user, only the IP address of the pre-configured load balancing device is returned to the client DNS.
  • Step 507 When all the first access servers are inaccessible to the user, the client logs in to the second access server managed by the load balancing device.
  • the client when the client fails to log in using the IP address of the first access server returned by the DNS, the client automatically selects the IP address of the load balancing device to attempt to log in.
  • the client when the first access server is inaccessible to the user, the client logs in to the balance.
  • the device is managed by the second access server, thereby ensuring that the client logs in to the instant messaging system normally, thereby improving the performance of the system and the reliability of the access system.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

L'invention concerne un procédé permettant de résoudre les problèmes relatifs à la capacité d'un système de communication instantanée à grande échelle qui est instable et à l'accès du côté client qui n'est pas fiable. Le procédé de cette invention consiste à obtenir les informations d'accès de chaque serveur d'accès du système de communication instantanée; selon ces informations d'accès, le serveur de noms de domaine du système de communication instantanée fournit les informations du serveur d'accès auquel l'utilisateur peut accéder côté client; selon les informations du serveur d'accès, le côté client sélectionne un serveur d'accès pour accéder au système de communication instantanée. Un système de réalisation d'un message instantané à grande échelle est décrit de manière synchrone.
PCT/CN2007/070771 2007-09-25 2007-09-25 Procédé et système de réalisation d'une communication instantanée à grande échelle WO2009039701A1 (fr)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2007/070771 WO2009039701A1 (fr) 2007-09-25 2007-09-25 Procédé et système de réalisation d'une communication instantanée à grande échelle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2007/070771 WO2009039701A1 (fr) 2007-09-25 2007-09-25 Procédé et système de réalisation d'une communication instantanée à grande échelle

Publications (1)

Publication Number Publication Date
WO2009039701A1 true WO2009039701A1 (fr) 2009-04-02

Family

ID=40510732

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/070771 WO2009039701A1 (fr) 2007-09-25 2007-09-25 Procédé et système de réalisation d'une communication instantanée à grande échelle

Country Status (1)

Country Link
WO (1) WO2009039701A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011137643A1 (fr) * 2010-05-06 2011-11-10 中兴通讯股份有限公司 Client de communication et procédé d'initiation d'un service de communication

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070118750A1 (en) * 2005-10-27 2007-05-24 The Go Daddy Group, Inc. Authenticating a caller initiating a communication session
CN200944605Y (zh) * 2006-07-06 2007-09-05 阿里巴巴公司 一种域名服务器及通信系统
CN101102288A (zh) * 2006-07-06 2008-01-09 阿里巴巴公司 一种实现大型即时通信的方法及系统

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070118750A1 (en) * 2005-10-27 2007-05-24 The Go Daddy Group, Inc. Authenticating a caller initiating a communication session
CN200944605Y (zh) * 2006-07-06 2007-09-05 阿里巴巴公司 一种域名服务器及通信系统
CN101102288A (zh) * 2006-07-06 2008-01-09 阿里巴巴公司 一种实现大型即时通信的方法及系统

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011137643A1 (fr) * 2010-05-06 2011-11-10 中兴通讯股份有限公司 Client de communication et procédé d'initiation d'un service de communication

Similar Documents

Publication Publication Date Title
US11418620B2 (en) Service request management
US6131163A (en) Network gateway mechanism having a protocol stack proxy
KR100570836B1 (ko) 부하 분산 세션 레이블을 이용한 서버간의 부하 분산장치 및 방법
US8271632B2 (en) Remote access providing computer system and method for managing same
CN101102288B (zh) 一种实现大型即时通信的方法及系统
US8479048B2 (en) Root cause analysis method, apparatus, and program for IT apparatuses from which event information is not obtained
US6728748B1 (en) Method and apparatus for policy based class of service and adaptive service level management within the context of an internet and intranet
AU2004288532B2 (en) Method and system for accessing and managing virtual machines
USRE45806E1 (en) System and method for the optimization of database access in data base networks
US20070112911A1 (en) Method and System for Communicating Between Clients In A Computer Network
US6675199B1 (en) Identification of active server cluster controller
JP2008510232A (ja) 多数のリモートアクセスサーバにわたる処理整合性を維持する方法
US20080184354A1 (en) Single sign-on system, information terminal device, single sign-on server, single sign-on utilization method, storage medium, and data signal
US20140067914A1 (en) Computer system and packet transfer method
US20130262681A1 (en) Apparatus and method for providing service availability to a user via selection of data centers for the user
US20110191223A1 (en) Internet Control Management and Accounting in a Utility Computing Environment
JP2008504776A (ja) 動的デバイスアドレス管理のための方法およびシステム
US6675217B1 (en) Recovery of cluster consistency following failover
KR101506250B1 (ko) 가상화 서비스 제공을 위한 가상화 서버 접속 이중화 시스템
WO2023207189A1 (fr) Procédé et système d'équilibrage de charge, support de stockage informatique et dispositif électronique
CN111683162A (zh) 一种基于流量识别的ip地址管理方法和装置
CN200944605Y (zh) 一种域名服务器及通信系统
Gasmelseed et al. Traffic pattern–based load‐balancing algorithm in software‐defined network using distributed controllers
CN114785761B (zh) 物联网操作系统中一种先进的k8s集群互相通信方法
WO2009039701A1 (fr) Procédé et système de réalisation d'une communication instantanée à grande échelle

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: 07816962

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: 07816962

Country of ref document: EP

Kind code of ref document: A1