HTTP and WebSocket collaborative distributed state synchronization method
A state synchronization and distributed technology, applied in the field of data communication, can solve the problems of not being simple enough, limited scalability, etc., and achieve the effect of solving user authentication and client IP tracking
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0039] The present invention will be further described below in conjunction with accompanying drawing and exemplary embodiment:
[0040] Such as figure 1 Shown is a flow chart of a distributed state synchronization method in which HTTP and WebSocket cooperate in an embodiment of the present invention, and the specific steps include:
[0041] Step S1: WebSocket server cluster initialization, each WebSocket server node initializes and generates a concurrent hash table and heartbeat detection thread: deploys a WebSocket server cluster, configures the initial URL of the server cluster, and initializes and generates a concurrent hash table and heartbeat when each WebSocket server node in the cluster starts Detection thread; the initial URL of the server cluster includes the WSS protocol applicable to the browser end, the WSS protocol applicable to the APP end, and the WS protocol; the concurrent hash table adopts a Key-Value storage structure, including a session hash table session...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com