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

Method and device for establishing high-performance network long connection

A method for establishing a long-term connection and a technology for long-term connection, applied in the field of high-performance network long-term connection establishment method and device, can solve the problems of server memory idling, system crash, message delay, etc., and achieve unified management, service stability, and simple access. Effect

Pending Publication Date: 2022-01-11
工银科技有限公司 +1
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] 1) Unable to uniformly manage service endpoints
[0004] Existing technologies only provide the ability to create, use, and recycle a single connection, and cannot directly realize unified viewing and scheduling of all online connections
[0005] 2) Message delay and loss problems are obvious in high concurrency scenarios
[0006] Existing technologies are implemented based on a synchronization mechanism. There is no message buffering mechanism. In high-concurrency scenarios, messages may be delayed, blocked, or even lost.
[0007] 3) A single application cannot support multiple scenarios
[0008] Existing technologies can only implement a set of logic for important nodes such as connection creation and message processing, and cannot support the coexistence of multiple long-term connection services
[0009] 4) Incompatible with multiple abnormal situations
Once the above situation occurs, the memory of the server may be idle, causing the system to crash

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 device for establishing high-performance network long connection
  • Method and device for establishing high-performance network long connection
  • Method and device for establishing high-performance network long connection

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0092] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some, not all, embodiments of the application. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0093] It should be noted that the method and device for establishing a high-performance network long connection provided by this application can be used in the financial field, and can also be used in any field other than the financial field. The high-performance network long connection establishment method and device provided by this application The field of application is not limited.

[0094] In fields such as instant messaging and data monitoring, the client may need to share data from the 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 invention provides a method and device for establishing high-performance network long connection, relates to the fields of communication and finance, and the method comprises the following steps: establishing a long connection with a client according to a long connection establishment request of the client; selecting a corresponding tracker from pre-created trackers according to the type of the client, and monitoring the state of the long connection by using the selected tracker; wherein the states comprise creation, disconnection and operation; and sending a message corresponding to the state to the client by using a pre-constructed splitter. According to the invention, an open universal high-performance network long connection engine can be provided, so that high-availability long connection service can be quickly constructed.

Description

technical field [0001] This application relates to the communication field, can be used in the financial field, and is specifically a method and device for establishing a high-performance network long connection. Background technique [0002] In instant messaging, data monitoring and other fields where clients need to share server data in real time, timed polling and long connection are two commonly used technical solutions. Due to timed polling, there are disadvantages such as high data sharing delay and high client resource consumption. , the technical solution of long connection is more favored by developers. The existing long connection technology based on Java language is realized by Websocket protocol, which provides a basic long connection service endpoint life cycle management API. The creation, use and destruction of persistent connection service endpoints, together with the encapsulation of the client, can support the conventional data sharing requirements between ...

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): H04L67/141H04L67/02H04L69/16H04L41/045H04L51/00
CPCH04L67/141H04L67/02H04L69/162H04L51/00
Inventor 俎旭袁翔宇王会庆孙忠良
Owner 工银科技有限公司
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