A method, server and system for heartbeat mechanism

A heartbeat mechanism and server technology, applied in the field of computer networks, can solve problems such as inability to identify heartbeat request message clients, achieve broad market application prospects, achieve network security and efficiency, and reduce hidden dangers

Inactive Publication Date: 2008-01-16
HUAWEI TECH CO LTD
View PDF0 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0016] The purpose of one or more embodiments of the present invention is to provide a method, server and system for implementing a heartbeat mechanis

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
  • A method, server and system for heartbeat mechanism
  • A method, server and system for heartbeat mechanism
  • A method, server and system for heartbeat mechanism

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0044] The specific implementation manners of the embodiments of the present invention will be further elaborated below with reference to the accompanying drawings.

[0045] As shown in Fig. 1, it is a flowchart of the first embodiment of the method of the present invention, including the steps:

[0046] S101. The server receives the login request from the client, and if the authentication is successful, it returns login response information to the client, and the login response information contains the heartbeat interval;

[0047] S102: The client sends a heartbeat request message according to the specified heartbeat interval according to the login response information;

[0048] S103: The server side judges whether client recognition is required according to the heartbeat request message, if yes, go to step S104, otherwise, go to step S105;

[0049] S104: The server performs client recognition, and if the recognition passes, enter step S105; otherwise, end the process;

[0050] S...

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 inventive embodiment discloses a method realizing heartbeat mechanism, which includes the following steps: a server judges whether to need client identification, according to the heartbeat request information of logging response information sending by the client; if need, carry out client identification; if not, return heartbeat response information; and if pass the identification, return heartbeat response information. The invention also discloses a server realizing heartbeat mechanism, which includes a logging response information return unit, used to return logging response information; a client identification judgment unit, used to judge whether to need client identification, and carry out the client identification if so; a client identification unit, used to carry out client identification according to heartbeat request information; a heartbeat request response unit, used to generate heartbeat response information. The invention also discloses a system realizing heartbeat mechanism, which includes a client side and a server side. The invention can realize selective identification on the client side.

Description

technical field [0001] The invention relates to the technical field of computer networks, in particular to a method, a server end and a system for realizing a heartbeat mechanism. Background technique [0002] With the development of network technology, there are new requirements for the connection between client and server. As a result, various technical solutions based on the client-server model continue to emerge. After the client logs in to the server, in order: 1. The server and the client can know each other's status at that time, and determine whether the other party can receive and process messages; 2. The server can correctly locate the address of the client and send a message to the client end to send a message. This requires a connection to be maintained between the client and the server. [0003] In the method for realizing the heartbeat connection between the client and the server in the prior art, there is a network heartbeat monitoring method based on UDP (...

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
IPC IPC(8): H04L12/56H04L12/24H04L12/58
Inventor 宋立岩
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products