Method, system and device for client to have stateless access to cluster, and medium

A technology for accessing clusters and cluster systems, applied in the field of client access clusters, can solve the problems of reduced scalability, waste of resources, and the inability to trigger the judgment method of client session data expiration, so as to improve systemicity and reliability. Effect

Active Publication Date: 2020-03-17
福建星网智慧软件有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The technical problem to be solved by the present invention is to provide a method, system, device and medium for client stateless access to the cluster, which can effectively solve the waste of resources and performance failure caused by the stateful access of the client to the cluster system , reduced reliability, reduced scalability, and the failure of specific execution servers in the cluster system cannot trigger the problem of judging the expiration of client session data

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, system and device for client to have stateless access to cluster, and medium
  • Method, system and device for client to have stateless access to cluster, and medium
  • Method, system and device for client to have stateless access to cluster, and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] see figure 1 As shown, the method for the stateless access of the client to the cluster of the present invention includes:

[0032] Server registration process: Accept the registration of all servers in the cluster system that can perform access or session timeout tasks through a task assignment service, and obtain access execution servers or session timeout execution servers;

[0033] Access distribution process: when receiving a client access request, randomly select one of the access execution servers through the task distribution service to process the client's access request task; after the client's access is successful, The client's session data is stored in a redis cache server;

[0034] Session timeout processing allocation process: After the client's session data is successfully cached, one of the session timeout execution servers is randomly selected through the task allocation service to access the redis cache server to perform session timeout processing on ...

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 provides a method, system and device for a client to have stateless access to a cluster, and a medium, and the method comprises the steps: a server registration process: receiving the registration of all servers capable of executing an access or session timeout task in a cluster system through a task distribution service, and obtaining an access execution server or a session timeoutexecution server; an access allocation process: when a client access request is received, randomly selecting one access execution server for processing an access request task of the client through thetask allocation service; after the access is successful, storing the session data in a redis cache server; and a session timeout processing allocation process: randomly selecting one session timeoutexecution server through the task allocation service to perform session timeout processing on the session data of the redis cache server. The idle resources of clusters can be fully utilized, and theperformance and reliability of the clusters are effectively improved.

Description

technical field [0001] The invention relates to a method, system, equipment and medium for a client to access a cluster. Background technique [0002] The trunking communication system is a mobile communication system used for group dispatching and command communication, and is mainly used in the field of professional mobile communication. The available channels of the system can be shared by all users of the system, and have the function of automatic channel selection. It is a multi-purpose and high-efficiency wireless dispatching communication system for sharing resources, sharing costs, and sharing channel equipment and services. Clustering is a relatively popular communication technology at present. It can obtain benefits such as performance, reliability, and scalability at low cost, so it is widely used. [0003] Generally, if the client wants to call the services of the cluster system, it needs to access the cluster system first, and then call other services of the cl...

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): H04W4/06H04W24/02H04W28/08
CPCH04W4/06H04W24/02H04W28/08
Inventor 郑一鸣王尾俤
Owner 福建星网智慧软件有限公司
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