Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and system for connecting clients with server and clients as well as server

A connection method and client-side technology, applied in the field of communication, can solve the problems of service quality degradation, connection request cannot be connected normally, interruption, etc., and achieve the effect of stable and reliable operation

Active Publication Date: 2012-03-21
HUAWEI TECH CO LTD
View PDF4 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the number of connection requests per unit time of the client exceeds the processing capacity of the server, the connection requests exceeding the processing capacity will not be able to connect normally
[0006] Faced with this situation, the client has a corresponding reconnection mechanism. When the client fails to connect, it will re-initiate a connection to the server, causing the connection request to increase exponentially, resulting in a decline in service quality or even interruption, resulting in catastrophic s consequence

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for connecting clients with server and clients as well as server
  • Method and system for connecting clients with server and clients as well as server
  • Method and system for connecting clients with server and clients as well as server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] Embodiments of the present invention provide a connection method and system between a client and a server, the client and the server, which can prevent the reconnection request of the client from exceeding the processing capacity of the server when the server is restarted or down, and avoid The server is unavailable or interrupted.

[0031] The present invention will be described in detail below.

[0032] see figure 1 One embodiment of the flow of the connection method between the client and the server in the embodiment of the present invention includes:

[0033] 101. The client acquires random number seed information.

[0034] The client can be various computer terminals connected to the server, and the server includes the web system server, the cloud service system server, the cloud storage server, the cloud antivirus system server, etc. The random number seed information is information containing a random number seed, and the random number seed is a delay random n...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for connecting clients with a server, which comprises the following steps: acquiring random number seed information by the clients; after the clients are disconnected from the server, working out random delay time by the clients according to the random number seed information and random functions, wherein the random delay time is delay time for reconnecting the clients with the server; and after the random delay time passes, sending connecting requests to the server by the clients. Therefore, under the condition that the server is restarted or delayed, in the method for connecting the clients with the server, delay connection is respectively performed by all the clients according to the random delay time respectively calculated by the clients, thereby, the condition that a large number of clients simultaneously ask for connecting with the server is prevented from happening, and the server is avoided interrupting servicing.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a connection method and system between a client and a server, the client and the server. Background technique [0002] In the computer field, there are a large number of client and server architectures. One or more or even a large number of clients connect to the server, interact with the server, and obtain services to meet the needs of the client. [0003] At present, with the needs of business growth, a server may provide services for hundreds of thousands or even millions of clients at the same time, and it often needs to continuously process connection requests from clients. When a server is abnormal, such as restarting or downtime, the disconnected client will immediately request to reconnect to the server to ensure that the client can connect as soon as possible. [0004] However, the total connection capacity of each server is fixed under certain circumstances. Alt...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/56H04L29/08H04L29/06
CPCH04L67/14H04L65/1069
Inventor 王志红
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products