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

Method and system for monitoring equipment in real time through browser, and server

A real-time monitoring and server technology, applied in the field of network data, can solve problems such as affecting customer experience, wasting server resources, and heavy server load, achieving full-duplex communication, avoiding access to servers, and reducing additional burdens.

Active Publication Date: 2018-10-16
BYD CO LTD
View PDF7 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, implementing instant messaging through the traditional HTTP request mode will cause the browser to continuously send requests to the server. However, the traditional Http response contains a lot of redundant information, but the useful data contained in it may only be a small value, and the data obtained most of the time may be the same as the last time, which will take up a lot of bandwidth and waste a lot of server resources. If many customers use browsers to send polls, then the server The load is heavy, and the response to customers is slow, which affects the customer experience

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 system for monitoring equipment in real time through browser, and server
  • Method and system for monitoring equipment in real time through browser, and server
  • Method and system for monitoring equipment in real time through browser, and server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary and are intended to explain the present invention and should not be construed as limiting the present invention.

[0022] At present, the technology used by most websites to realize instant messaging is polling. Polling means that the browser sends an HTTP request to the server at a specific time interval (such as every 1 second), and then the server returns the latest data to the client's browser.

[0023] Currently, the polling effect can be realized through the AJAX method in Comet ("server push" based on HTTP long connection) technology. However, although this technology can achieve full-duplex communication, it still needs to be request...

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 discloses a method and system for monitoring equipment in real time through a browser, and a WebSocket server. The method comprises the steps: building first connection between the WebSocket server and station terminal equipment, and receiving the state information transmitted by the station terminal equipment through the first connection; building a second connection with a client browser, and transmitting the state information of the station terminal equipment to the client browser through the second connection, so as to enable the client browser to initialize the contents of atarget monitoring webpage according to the state information; receiving the state change information transmitted by the station terminal equipment when the state of the station terminal equipment changes; and pushing the state change information to a client, so as to enable the client server to update the equipment state information on the target monitoring website according to the state change information. Therefore, the method truly achieves the full-duplex communication between the webpage and the server, achieves the active pushing of the new data to the client server, and reduces the load of the server.

Description

technical field [0001] The invention relates to the technical field of network data, in particular to a method, a system and a WebSocket server for real-time monitoring of equipment through a browser. Background technique [0002] At present, the technology used by most websites to realize instant messaging is polling. Polling is at a specific time interval (such as every 1 second), the browser sends an HTTP request (extensible hypertext transfer request) to the server, and then the server returns the latest data to the client's browser. [0003] However, implementing instant messaging through the traditional HTTP request mode will cause the browser to continuously send requests to the server. However, the traditional Http response contains a lot of redundant information, but the useful data contained in it may only be a small value, and the data obtained most of the time may be the same as the last time, which will take up a lot of bandwidth and waste a lot of server resou...

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): H04L29/08H04L29/06H04L12/58
CPCH04L51/04H04L67/02H04L67/1095H04L69/162
Inventor 王飞舟
Owner BYD CO LTD
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