Processing method and system from WebSocket to foreground

A processing system and processing mechanism technology, applied in the transmission system, digital transmission system, data exchange network, etc., can solve problems such as waste, and achieve the effect of less data transmission and reduced bandwidth resources

Pending Publication Date: 2020-08-28
山东汇贸电子口岸有限公司
View PDF11 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the HTTP request may contain a long header, and the real valid data in this long

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
  • Processing method and system from WebSocket to foreground

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0022] In order to enable those skilled in the art to better understand the solutions of the present invention, the present invention will be further described in detail below in conjunction with specific embodiments. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present invention.

[0023] A best embodiment is given below:

[0024] The WebSocket protocol used in the present invention supports full-duplex communication between a client (which runs untrusted code in a controlled environment) and a remote host (which chooses to join the code for communication). The security model used for this is the original-based security model commonly used by web browsers. The protocol includes an open handshake and subsequent messa...

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 relates to the field of Devops assembly lines at an angular front end, and particularly provides a processing method and system from WebSocket to a front end. The system client sends WebSocket connection to a server, and the server responds, the client and the server directly exchange data, and the server regularly detects whether the Pipeline state of Jenkins changes or not and displays the state in a page. Compared with the prior art, the processing method and system based on WebSocket to the front endcan effectively reduce data transmission and bandwidth resources, can monitorthe Pipeline state of Jenkins in real time and display the Pipeline state in a foreground page, and have good popularization value.

Description

technical field [0001] The invention relates to the field of the Devops pipeline of the angular front end, and specifically provides a processing mechanism based on WebSocket to the front end. Background technique [0002] Under the existing technology, in the scene where the front-end and back-end data interact and wait to display a certain state change, most of the foreground polls to request data, waits for the background data to change, and then displays a certain state change on the foreground page. However, the HTTP request may contain a long header, and the really valid data in the long header may be only a small part, which obviously wastes a lot of resources such as width. Contents of the invention [0003] The present invention aims at the deficiencies of the prior art above, and provides a highly practical processing method based on WebSocket to the foreground. [0004] The further technical task of the present invention is to provide a convenient and fast proc...

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): H04L29/08H04L29/06H04L12/26
CPCH04L67/141H04L67/14H04L69/162H04L67/02H04L43/0811
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