CN112165510A - Collaborative visualization server - Google Patents
Collaborative visualization server Download PDFInfo
- Publication number
- CN112165510A CN112165510A CN202010910363.4A CN202010910363A CN112165510A CN 112165510 A CN112165510 A CN 112165510A CN 202010910363 A CN202010910363 A CN 202010910363A CN 112165510 A CN112165510 A CN 112165510A
- Authority
- CN
- China
- Prior art keywords
- visualization
- server
- collaborative
- client
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a collaborative visualization server which comprises a visualization event queue, a visualization event circulation single thread, a thread pool, a resource analysis module and a buffer module, wherein the visualization event queue, the visualization event circulation single thread, the thread pool, the resource analysis module and the buffer module are sequentially connected, and the visualization event queue, the visualization event circulation single thread, the thread pool, the resource analysis module and the buffer module are all contained in the server. The server and the client have a port for bidirectional connection, the bidirectional connection is carried out, information in the client is transmitted to the node.js-based collaborative visualization server for visualization processing, and then the information is transmitted to the client through the bidirectional transmission connection, so that the visualization requirement of collaborative users is met. The collaborative visualization server has the characteristics of wide range of visualization information and low use cost, and is suitable for popularization and application.
Description
Technical Field
The invention belongs to the technical field of collaborative visualization, relates to a collaborative visualization server, and particularly relates to a node.js-based collaborative visualization server.
Background
The WebSocket protocol is a full-duplex communication protocol which is formulated by the HyBi Working Group in 2011 and is used for realizing communication between a client and a server in the true sense based on TCP, is positioned in an application layer in an OSI model, and is set as accurate RFC6455 by IETF and subjected to filling specification by RFC 7936. The WebSocket protocol comprises two high-level components, wherein one component is a parameter used for protocol negotiation and establishment during handshaking of the HTTP protocol, and the other component is a binary information framing system which plays a supporting role in transmitting transmitted information, text and binary information. The WebSocket protocol enables data transmission between the client and the server to be simple, and the client browser and the server can establish a long-time bidirectional communication channel between the client browser and the server for data transmission by establishing one-time bidirectional connection.
The WebSocket protocol and the HTTP have the common characteristic that the functions of the WebSocket protocol and the HTTP are realized on the basis of the TCP protocol, the association only exists in the initial stage of connection establishment of the WebSocket protocol, information in the initial stage of connection of the WebSocket protocol needs to be transmitted through the HTTP protocol, and after the bidirectional connection is established, the information can be transmitted through the bidirectional transmission channel without using the HTTP protocol.
At present, the collaborative visualization requirements which can be provided in the market have some limitations, for example, visualization can be performed only for a certain type of collaborative information, and the scope of the visualized information is limited; the use cost is high.
Disclosure of Invention
The invention aims to overcome the defects in the prior art and provide a collaborative visualization server.
The technical scheme is as follows:
a collaborative visualization server comprises a visualization event queue, a visualization event circulation single thread, a thread pool, a resource analysis module and a buffer module, wherein the visualization event queue, the visualization event circulation single thread, the thread pool, the resource analysis module and the buffer module are sequentially connected, and the visualization event queue, the visualization event circulation single thread, the thread pool, the resource analysis module and the buffer module are all contained in the server.
And further, the server and the client have a port for bidirectional connection, bidirectional connection is carried out, information in the client is transmitted to the node.js-based collaborative visualization server for visualization processing, and then the information is transmitted to the client through the bidirectional transmission connection, so that the visualization requirement of collaborative users is met.
Compared with the prior art, the invention has the beneficial effects that:
the collaborative visualization server has the characteristics of wide range of visualization information and low use cost, and is suitable for popularization and application.
Drawings
FIG. 1 is a schematic diagram of a collaborative visualization server in an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating data transmission and processing of a visualization server.
Detailed Description
The technical solutions of the present invention will be described in further detail with reference to the accompanying drawings and the detailed description.
As shown in fig. 1, the node.js-based collaborative visualization server of the present invention includes a visualization event queue, a visualization event loop single thread, a thread pool, a resource parsing module, and a buffering module. When the client 1 in fig. 1 transmits a message to the collaborative visualization server, first, the visualization event queue module 3 in the collaborative visualization server 2 in fig. 1 is reached to perform a party of an event; secondly, the visualized event cycle single-thread module 4 in fig. 1 performs a cycle process on the event transmitted by the previous module, so as to avoid the transmission blockage of the event; thirdly, the thread pool 5 in FIG. 1 is reached to perform the centralized processing of the transmission events; after the thread pool is processed, the thread pool is transmitted to a resource analysis module 6 in fig. 1, and a client request event is analyzed to obtain a required resource; finally, the data is transmitted to the buffer module 7 in fig. 1, which checks a buffer amount of the client data, and if there is no data accumulation, the parsed resource is transmitted to the client through the buffer module.
Fig. 2 shows a schematic diagram of data transmission and processing of the visualization server, and the processes shown by the clients 1 to 10 in fig. 2 are what the client 1 to the collaborative visualization server 2 in fig. 1 need to go through, and a connection is established on the basis of a protocol through a network connection 9 process, and a bidirectional data transmission channel 10 is established after the network connection is established, so as to better facilitate message event transmission between the client 1 and the collaborative visualization server 2 in fig. 1. The process of transmitting the request for processing 11 and transmitting the required resource 8 in fig. 2 refers to the process from the visualization event queue module 3 to the buffer module 7 in fig. 1, and the transmission through the required resource 8 is finally transmitted to the client.
The above description is only a preferred embodiment of the present invention, and the scope of the present invention is not limited thereto, and any simple modifications or equivalent substitutions of the technical solutions that can be obviously obtained by those skilled in the art within the technical scope of the present invention are within the scope of the present invention.
Claims (2)
1. A collaborative visualization server, characterized by: the system comprises a visual event queue, a visual event cycle single thread, a thread pool, a resource analysis module and a buffer module, wherein the visual event queue, the visual event cycle single thread, the thread pool, the resource analysis module and the buffer module are sequentially connected, and the visual event queue, the visual event cycle single thread, the thread pool, the resource analysis module and the buffer module are all contained in a server.
2. The collaborative visualization server of claim 1, wherein: the server and the client have a port for bidirectional connection, the bidirectional connection is carried out, information in the client is transmitted to the node.js-based collaborative visualization server for visualization processing, and then the information is transmitted to the client through the bidirectional transmission connection, so that the visualization requirement of collaborative users is met.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010910363.4A CN112165510A (en) | 2020-09-02 | 2020-09-02 | Collaborative visualization server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010910363.4A CN112165510A (en) | 2020-09-02 | 2020-09-02 | Collaborative visualization server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112165510A true CN112165510A (en) | 2021-01-01 |
Family
ID=73858763
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010910363.4A Pending CN112165510A (en) | 2020-09-02 | 2020-09-02 | Collaborative visualization server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112165510A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105426326A (en) * | 2015-11-05 | 2016-03-23 | 上海斐讯数据通信技术有限公司 | High-concurrency queue storage method and system |
CN109766093A (en) * | 2019-01-17 | 2019-05-17 | 宜创(北京)科技有限公司 | Cooperate with method, apparatus, electronic equipment and the storage medium of real-time edition |
-
2020
- 2020-09-02 CN CN202010910363.4A patent/CN112165510A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105426326A (en) * | 2015-11-05 | 2016-03-23 | 上海斐讯数据通信技术有限公司 | High-concurrency queue storage method and system |
CN109766093A (en) * | 2019-01-17 | 2019-05-17 | 宜创(北京)科技有限公司 | Cooperate with method, apparatus, electronic equipment and the storage medium of real-time edition |
Non-Patent Citations (2)
Title |
---|
李雅楠: "基于Node.js的协同可视化工具的设计与实现", 《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》 * |
李颜翎: "基于Node.js的团队协作工具的设计与实现", 《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107018147B (en) | Internet of things communication method and system and gateway module | |
CN104253857B (en) | Virtual WEB real-time Communication for Power agency is with and related methods, system back-to-back | |
Loreto et al. | Known issues and best practices for the use of long polling and streaming in bidirectional http | |
US8726149B2 (en) | Method and system for providing reduced-size hypertext content to a limited-display client device | |
CN106817341B (en) | A kind of Session Initiation Protocol throttling Transmission system and method towards mobile Internet | |
CN105763619B (en) | The method and device that client and server-side are communicated | |
EP2779579A1 (en) | Method, device, and system for realizing voip call in cloud computing environment | |
EP2083547A1 (en) | Improvements in or relating to communications | |
US10142229B2 (en) | Concealed datagram-based tunnel for real-time communications | |
CN111683158B (en) | MQTT protocol communication method for realizing synchronous request response | |
CA2445221A1 (en) | Method of controlling loop-back process in ethernet passive optical network | |
CN102307212A (en) | Method for realizing page-turning synchronization | |
CN113691547B (en) | HTTPS head enhancement method of 5G UPF network element | |
CN108683653A (en) | A kind of active message push system based on WebSocket | |
WO2011088711A1 (en) | Method and system for updating web page data | |
CN105933435A (en) | Real-time query method based on Internet of Things | |
CN105391804A (en) | Remote invocation method capable of reducing transmission flow | |
US10158587B2 (en) | Communication between a web application instance connected to a connection server and a calling entity other than said connection server | |
CN101969461A (en) | Method for implementing white board clear screen synchronization on webpage | |
CN107846609B (en) | Real-time transmission method, device and system for control room data | |
US6965765B2 (en) | Transactional message-queue communication for wirelessly networked devices system and method | |
CN113132477A (en) | Real-time transmission interaction method and system for browser terminal and equipment | |
CN110417875B (en) | Method, system, equipment and storage medium for docking between cloud servers | |
EP3065387A1 (en) | Method and device for achieving matching between acquisition system and analysis system | |
CN112165510A (en) | Collaborative visualization server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210101 |