Unlock instant, AI-driven research and patent intelligence for your innovation.

A method and device for synchronizing session information, electronic equipment, and storage medium

A technology that meets the preset requirements of session information and is applied in the field of data processing. It can solve problems such as network impact on query efficiency, business request timeout, and network bandwidth occupation, so as to improve security, query efficiency, and reduce occupation.

Active Publication Date: 2021-07-09
NETEASE (HANGZHOU) NETWORK CO LTD
View PDF14 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] At present, in order to ensure the high availability of the server, multiple servers are usually configured as a load balancing cluster. Due to the existence of the load balancing cluster, the two business requests sent by the same client may be distributed to different load balancing nodes for processing. Different load balancing nodes do not store session information for this client, resulting in service request timeout
[0003] In the existing technology, when a load balancing node needs certain session information, it can query the synchronization server to obtain the session information, but the session information in this way is concentrated on the synchronization server and relies too much on the synchronization server , if the synchronization server loses response, all business requests will time out
[0004] Moreover, the load balancing nodes in the load balancing cluster are usually deployed in different computer rooms. When a certain session information is needed, a cross-machine network query is required, which occupies network bandwidth, and the stability of the network will affect the efficiency of the query, thereby affecting quality of service

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 and device for synchronizing session information, electronic equipment, and storage medium
  • A method and device for synchronizing session information, electronic equipment, and storage medium
  • A method and device for synchronizing session information, electronic equipment, and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] In order to make the above objects, features and advantages of the present application more obvious and comprehensible, the present application will be further described in detail below in conjunction with the accompanying drawings and specific implementation methods. Apparently, the described embodiments are some of the embodiments of the present application, but not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.

[0041] refer to figure 1 , shows a flow chart of the steps of a method for synchronizing session information provided by an embodiment of the present application, the method can be applied to a load balancing node, and the load balancing node can belong to a load balancing cluster, such as using TLS (Transport Layer Security , secure transport layer protocol) game server cluster, there may be multi...

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 present application provides a method and device for synchronizing session information, an electronic device, and a storage medium. The method includes: receiving a session information set sent by a synchronization server meeting preset conditions, and saving it in a local cache; wherein, the The session information set is obtained after the synchronization server aggregates the received session information; when receiving the service request sent by the first client, inquire whether there is any connection with the first client in the session information set. The first session information corresponding to the terminal; when the first session information exists, the first session information is used to send the processing result for the service request to the first client. Through the embodiment of the present application, it is realized that the session information is cached locally, and the session information is queried locally, avoiding excessive dependence on the synchronization server, improving the security of the session information and the efficiency of the query, and reducing the network bandwidth. occupy.

Description

technical field [0001] The present application relates to the field of data processing, in particular to a method and device for synchronizing session information, electronic equipment, and a storage medium. Background technique [0002] At present, in order to ensure the high availability of the server, multiple servers are usually configured as a load balancing cluster. Due to the existence of the load balancing cluster, the two business requests sent by the same client may be distributed to different load balancing nodes for processing. Different load balancing nodes did not store the session information for the client, which caused the service request to time out. [0003] In the existing technology, when a load balancing node needs certain session information, it can query the synchronization server to obtain the session information, but the session information in this way is concentrated on the synchronization server and relies too much on the synchronization server ,...

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 Patents(China)
IPC IPC(8): H04L29/08
CPCH04L67/1095H04L67/146H04L67/1097H04L67/1001H04L67/568
Inventor 刘京洋
Owner NETEASE (HANGZHOU) NETWORK CO LTD