CN117692420A - Instant collaborative editing system based on Web communication protocol and implementation method thereof - Google Patents

Instant collaborative editing system based on Web communication protocol and implementation method thereof Download PDF

Info

Publication number
CN117692420A
CN117692420A CN202311438292.2A CN202311438292A CN117692420A CN 117692420 A CN117692420 A CN 117692420A CN 202311438292 A CN202311438292 A CN 202311438292A CN 117692420 A CN117692420 A CN 117692420A
Authority
CN
China
Prior art keywords
server
client
data
communication protocol
web
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
Application number
CN202311438292.2A
Other languages
Chinese (zh)
Inventor
许黛妮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Aerospace Smart City System Technology Co ltd
Original Assignee
Shenzhen Aerospace Smart City System Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Aerospace Smart City System Technology Co ltd filed Critical Shenzhen Aerospace Smart City System Technology Co ltd
Priority to CN202311438292.2A priority Critical patent/CN117692420A/en
Publication of CN117692420A publication Critical patent/CN117692420A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/06Message adaptation to terminal or network requirements
    • H04L51/066Format adaptation, e.g. format conversion or compression
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses an instant collaborative editing system based on a Web communication protocol and an implementation method thereof, wherein the system comprises a client, a server and a communication module, wherein the client is connected with the server to process the sending and receiving of data; the server is used for processing the connection request of the client, managing the connection and exchanging data; the communication module utilizes a web-based communication protocol to define a data frame format and a handshake process between a client and a server, wherein the data frame format comprises a specific frame header, and the frame header is used for identifying a data type and a frame length; the handshake process includes sending an HTTP request to the server when the client wishes to establish a connection, and after the server receives the request, verifying the validity of the client request, and after the handshake is successful, exchanging data with the client. The system of the present invention aims to provide a more flexible, real-time and cross-platform collaborative editing experience, reducing some of the limitations and disadvantages of conventional methods and online collaborative platforms.

Description

Instant collaborative editing system based on Web communication protocol and implementation method thereof
Technical Field
The invention belongs to the technical field of computers, and particularly relates to an instant collaborative editing system based on a Web communication protocol and an implementation method thereof.
Background
As businesses and organizations become increasingly digital, work documents, meeting records, and project management become more dependent on online tools. Such a digital office environment requires more online collaboration tools to support multi-person editing and real-time discussion. Globalization and distributed teams are becoming more common, and team members may be scattered around the world. In order to effectively cooperate, an online cooperation tool is needed, which can bridge the geographic distance and provide real-time interaction and information sharing. With the increase of tele-work and distributed teams worldwide, real-time collaborative editing becomes particularly important. Many projects require multiple persons to collaboratively write, edit, and review documents, and conventional file sharing and version control tools are no longer adequate. As concerns over data privacy and security increase, users need to be able to fully control their access rights.
Prior art solutions include using local documents and passing files back and forth in an email or file sharing service. This approach has version control problems and synchronization problems because multiple users editing files simultaneously can cause conflicts. Also conventional collaborative editing tools typically use file locks or version control systems, which may also cause version conflict and synchronization problems when multiple users attempt to edit the same file, may require manual resolution of the conflict, and synchronization operations are not real-time. Some real-time collaborative editing tools allow multiple users to collaborate in real-time on the same document, but typically require a specific application or platform. Also traditional collaborative editing tools are typically limited to desktop applications and do not support cross-platform and real-time collaboration.
In summary, the problems of the prior art solutions mainly include:
version conflict and synchronization problems: conventional collaborative editing tools typically use file locks or version control systems that may cause version conflict and synchronization problems when multiple users attempt to edit the same file. This may require manual resolution of the conflict and the synchronization operation is not real-time.
Limitations: traditional collaborative editing tools are typically limited to desktop applications and do not support cross-platform and real-time collaboration.
Complexity: some real-time collaborative editing tools require the use of dedicated desktop applications, which may increase the learning curve and complexity of the user.
Relying on third party services: some real-time collaborative editing tools may rely on specific third party services or cloud storage, which may lead to data security and privacy issues.
Data privacy and security: some real-time collaborative editing tools store documents and data that may raise data privacy and security concerns, especially for sensitive information.
Disclosure of Invention
The invention aims at the problems, provides an instant collaborative editing system based on a Web communication protocol and an implementation method thereof, and aims to easily and cooperatively work in a simple and powerful way, and can safely transmit without being limited by regions and systems.
According to a first aspect of embodiments of the present disclosure, there is provided an instant collaborative editing system based on a Web communication protocol, the system including a client, a server, and a communication module for implementing communication between the client and the server, where the client processes transmission and reception of data by establishing a connection with the server; the server is used for processing the connection request of the client, managing connection and exchanging data; the communication module defines a data frame format and a handshake process between the client and the server by using a web-based communication protocol, wherein the data frame format comprises a specific frame header, and the frame header is used for identifying a data type and a frame length; the handshake process includes sending an HTTP request to the server when the client wishes to establish a connection, and after the server receives the request, verifying the validity of the client request, and after the handshake is successful, exchanging data with the client.
In an embodiment, the web-based communication protocol further defines that data transmissions between the client and the server are each encrypted using a secure socket layer protocol for protecting data security during transmission.
In an embodiment, the data frame is a text frame or a binary frame.
In one embodiment, the server is a web server application.
In an embodiment, the server is a stand-alone server or a message module integrated into an existing web server.
In one embodiment, when the server processes multiple connections, each connection has a unique identifier.
In an embodiment, the communication module further defines a control frame for the protocol including closing the connection and controlling the heartbeat.
In an embodiment, the data frame is a single frame or a plurality of fragment frames.
According to a second aspect of the embodiments of the present disclosure, there is provided a method for implementing the above-mentioned instant collaborative editing system based on a Web communication protocol, the method including:
providing a front-end interface for the interaction of the client and the server by using a user interface layer, wherein the user interface layer processes the input and output of the client;
realizing business logic and processing of the interaction between the client and the server by using an application layer;
realizing the core business rule and processing logic of the interaction between the client and the server by utilizing a business logic layer;
utilizing a data access layer to realize data source interaction between the client and the server;
storing and managing data in the server using a data storage layer;
and the application layer performs data retrieval and updating through interaction with the data access layer.
In an embodiment, the user interface layer is a graphical user interface or a command line interface.
The technical scheme provided by the embodiment of the disclosure is as follows: an instant collaborative editing system based on a Web communication protocol and an implementation method thereof meet the use scene of real-time collaborative editing and can effectively improve the collaborative work efficiency; the method can be used on various devices, operating systems and browsers, and provides convenient cross-platform support; all data transmissions are encrypted using secure sockets layer (SSL/TLS) protocol to protect the security of the data during transmission; more efficient, convenient and real-time collaborative editing is provided through the use of Web technology, real-time communication and cross-platform support. The method for instant collaborative editing based on the Web communication protocol aims at providing more flexible, real-time and cross-platform collaborative editing experience, and reduces some limitations and disadvantages of the traditional method and an online collaborative platform. The specific effects include:
real-time synchronization: based on a Web communication protocol, real-time synchronization can be realized by using a real-time communication technology, so that a plurality of users can share and edit documents in real time, and version conflict and synchronization problems are reduced;
cross-platform support: based on Web technology, users can access on various devices and platforms without installing special desktop application programs;
no third party dependence: the method based on the Web communication protocol can be operated independently generally, does not need to rely on specific third party service or cloud storage, and improves the data security and privacy;
openness and customization: the developer can customize the collaborative editing application to meet specific requirements without being limited by a specific platform;
it is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention
FIG. 1 is a schematic diagram of an instant collaborative editing system based on a Web communication protocol in an embodiment of the invention;
fig. 2 is a schematic diagram of a method for implementing a Web communication protocol-based instant collaborative editing system in accordance with an embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
Before discussing exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart depicts steps as a sequential process, many of the steps may be implemented in parallel, concurrently, or with other steps. Furthermore, the order of the steps may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figures. The processes may correspond to methods, functions, procedures, subroutines, and the like.
The embodiment of the invention provides the following embodiments aiming at an instant collaborative editing system based on a Web communication protocol and an implementation method thereof:
embodiment 1 is used for explaining an instant collaborative editing system based on a Web communication protocol, as shown in fig. 1, the system includes a client, a server, and a communication module for implementing communication between the client and the server, where the client processes data transmission and reception by establishing a connection with the server; the server is used for processing the connection request of the client, managing connection and exchanging data; the communication module defines a data frame format and a handshake process between the client and the server by using a web-based communication protocol, wherein the data frame format comprises a specific frame header, and the frame header is used for identifying a data type and a frame length; the handshake process includes sending an HTTP request to the server when the client wishes to establish a connection, and after the server receives the request, verifying the validity of the client request, and after the handshake is successful, exchanging data with the client.
The web-based communication protocol also defines that data transmissions between the client and the server are both encrypted using secure sockets layer (SSL/TLS) protocol for protecting the security of the data during transmission. The SSL/TLS implementation is based on asymmetric key exchange (public key and private key), random number generation, digital certificate verification, and symmetric key generation and use, so as to ensure confidentiality, integrity and identity authentication of communication. This procedure enables both parties to securely conduct encrypted communications. The data frame is a text frame or a binary frame. The server is a web server application. The server is a stand-alone server or a messaging module integrated into an existing web server. When the server processes multiple connections, each connection has a unique identifier. The communication module also defines control frames for the protocol including closing the connection and controlling the heartbeat. The data frame is a single frame or a plurality of fragment frames.
In particular, the client is part of a Web browser or mobile application, which is responsible for establishing a connection with the server and handling the sending and receiving of data. The client may send text or binary data to the server over the connection while receiving response data from the server.
The server is a web server application responsible for handling connection requests for clients, managing connections and handling data exchanges. The server needs to support the relevant network protocols in order to be able to handle the connection and the data frames correctly. The server may be a stand-alone server or may be a message module integrated into an existing Web server. The server may handle multiple connections simultaneously, each with a unique identifier.
The communication module defines the format of the data frame, the handshake procedure and the connection management rules using a web-based communication protocol. This protocol should be built on top of TCP and support full duplex communication using bi-directional communication. The data frames may be text frames (for text data) or binary frames (for binary data), each having a specific frame header for identifying the data type and the length of the frame.
The communication protocol also defines control frames for protocol control, such as closing connection, heartbeat, etc., when the client wants to establish connection, it will send an HTTP request to the server, after the server receives the request, it will perform a handshake process, and after the handshake is successful, the two parties can start data exchange through connection. The client and the server send and receive data frames over a connection of the web protocol. The data frame may be a single frame or may be divided into multiple fragment frames to support the transmission of large data. The data exchange may be unidirectional (client sent to server or vice versa) or bidirectional.
The developer can customize the collaborative editing application to meet specific requirements without being limited by a specific platform, specifically by providing a series of extension points: such as API support: by providing a standardized API interface, so that a developer can communicate with an application; such as script support: scripts are allowed to be written to extend the functionality of the application. These scripts typically use scripting languages (e.g., javaScript) to perform certain tasks such as automation, data conversion, etc.
In addition to the above modules, the Web communication protocol-based instant collaborative editing system may include other components, however, since these components are not related to the contents of the embodiments of the present disclosure, illustration and description thereof are omitted herein.
Another embodiment is a method for implementing the instant collaborative editing system based on the Web communication protocol, as shown in fig. 2, and the method includes:
providing a front-end interface for the interaction of the client and the server by using a user interface layer, wherein the user interface layer processes the input and output of the client;
realizing business logic and processing of the interaction between the client and the server by using an application layer;
realizing the core business rule and processing logic of the interaction between the client and the server by utilizing a business logic layer;
utilizing a data access layer to realize data source interaction between the client and the server;
storing and managing data in the server using a data storage layer;
and the application layer performs data retrieval and updating through interaction with the data access layer.
Preferably, the user interface layer is a graphical user interface or a command line interface.
Specifically, the user interface layer: the user interface layer is a front-end interface for user interaction with the system that handles user input and output. A user may interact with the system through a Graphical User Interface (GUI) or Command Line Interface (CLI).
Application layer: the application layer contains the business logic and processing of the system and is responsible for coordinating various functions and operations. Such as: processing requests and commands passed by the user interface layer, implementing business rules and logic, including data processing, computing, authentication, etc., interacting with the data access layer to retrieve and update data.
Business logic layer: the business logic layer contains the core business rules and processing logic of the system, and is generally independent of the data access layer and is responsible for processing complex business operations.
Data access layer: the data access layer is used to interact with a data source (typically a database) to perform read, write, update and delete operations on the data.
Data storage layer: the data storage layer is a place for actually storing data, stores and manages the data in the system, provides data persistence, ensures that the data cannot be lost after the system is closed or crashed, and processes backup, recovery and maintenance of the data.
In summary, the technical schemes provided by the embodiments above, an instant collaborative editing system based on a Web communication protocol and an implementation method thereof, which satisfy the use scenario of real-time collaborative editing, and can effectively improve the collaborative work efficiency; the method can be used on various devices, operating systems and browsers, and provides convenient cross-platform support; all data transmissions are encrypted using secure sockets layer (SSL/TLS) protocol to protect the security of the data during transmission; more efficient, convenient and real-time collaborative editing is provided through the use of Web technology, real-time communication and cross-platform support. The method for instant collaborative editing based on the Web communication protocol aims at providing more flexible, real-time and cross-platform collaborative editing experience, and reduces some limitations and disadvantages of the traditional method and an online collaborative platform. The specific effects include:
real-time synchronization: based on a Web communication protocol, real-time synchronization can be realized by using a real-time communication technology, so that a plurality of users can share and edit documents in real time, and version conflict and synchronization problems are reduced;
cross-platform support: based on Web technology, users can access on various devices and platforms without installing special desktop application programs;
no third party dependence: the method based on the Web communication protocol can be operated independently generally, does not need to rely on specific third party service or cloud storage, and improves the data security and privacy;
openness and customization: the developer can customize the collaborative editing application to meet specific requirements without being limited by a particular platform.
In this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, or apparatus.
The foregoing is a further detailed description of the invention in connection with the preferred embodiments, and it is not intended that the invention be limited to the specific embodiments described. It will be apparent to those skilled in the art that several simple deductions or substitutions may be made without departing from the spirit of the invention, and these should be considered to be within the scope of the invention.

Claims (10)

1. The instant collaborative editing system based on the Web communication protocol is characterized by comprising a client, a server and a communication module for realizing communication between the client and the server, wherein the client processes data transmission and reception by establishing connection with the server; the server is used for processing the connection request of the client, managing connection and exchanging data; the communication module defines a data frame format and a handshake process between the client and the server by using a web-based communication protocol, wherein the data frame format comprises a specific frame header, and the frame header is used for identifying a data type and a frame length; the handshake process includes sending an HTTP request to the server when the client wishes to establish a connection, and after the server receives the request, verifying the validity of the client request, and after the handshake is successful, exchanging data with the client.
2. The Web-based communication protocol instant collaborative editing system of claim 1, wherein the Web-based communication protocol further defines that data transmissions between the client and the server are each encrypted using a secure socket layer protocol for securing data during transmission.
3. The Web communication protocol based instant collaborative editing system of claim 1, wherein the data frame is a text frame or a binary frame.
4. The Web communication protocol based instant collaborative editing system of claim 1 wherein the server is a Web server application.
5. The Web communication protocol based instant collaborative editing system of claim 1 wherein the server is a stand alone server or a messaging module integrated into an existing Web server.
6. The Web communication protocol based instant collaborative editing system of claim 1 wherein when the server handles a plurality of connections, each connection has a unique identifier.
7. The Web communication protocol-based instant collaborative editing system of claim 1, wherein the communication module further defines a control frame for control of protocols including closing connections and heartbeats.
8. The Web communication protocol based instant collaborative editing system of claim 1, wherein the data frame is a single frame or a plurality of fragment frames.
9. A method of implementing the Web communication protocol-based instant collaborative editing system of any of claims 1-6, the method comprising:
providing a front-end interface for the interaction of the client and the server by using a user interface layer, wherein the user interface layer processes the input and output of the client;
realizing business logic and processing of the interaction between the client and the server by using an application layer;
realizing the core business rule and processing logic of the interaction between the client and the server by utilizing a business logic layer;
utilizing a data access layer to realize data source interaction between the client and the server;
storing and managing data in the server using a data storage layer;
and the application layer performs data retrieval and updating through interaction with the data access layer.
10. The method of a Web communication protocol based instant collaborative editing system according to claim 9, wherein the user interface layer is a graphical user interface or a command line interface.
CN202311438292.2A 2023-11-01 2023-11-01 Instant collaborative editing system based on Web communication protocol and implementation method thereof Pending CN117692420A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311438292.2A CN117692420A (en) 2023-11-01 2023-11-01 Instant collaborative editing system based on Web communication protocol and implementation method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311438292.2A CN117692420A (en) 2023-11-01 2023-11-01 Instant collaborative editing system based on Web communication protocol and implementation method thereof

Publications (1)

Publication Number Publication Date
CN117692420A true CN117692420A (en) 2024-03-12

Family

ID=90137910

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311438292.2A Pending CN117692420A (en) 2023-11-01 2023-11-01 Instant collaborative editing system based on Web communication protocol and implementation method thereof

Country Status (1)

Country Link
CN (1) CN117692420A (en)

Similar Documents

Publication Publication Date Title
CN108416577B (en) Block chain service system
US9674240B2 (en) Systems and computer program products and methods and media for operating a scalable, private practice tele-consultation service
KR101590076B1 (en) Method for managing personal information
TW574641B (en) A system and method for manipulating a computer file and/or program
CA2944218C (en) Secure workflow and data management facility
US7233992B1 (en) Computerized method and system for managing the exchange and distribution of confidential documents
US9716692B2 (en) Technology-agnostic application for high confidence exchange of data between an enterprise and third parties
US8874951B1 (en) Private peer-to-peer network platform for secure collaborative production and management of digital assets
US20020042829A1 (en) Method and system for a distributed network computing system for providing application services
EA002411B1 (en) System and method for using a workspace data manager to access, manipulate and synchronize network data
EA007778B1 (en) Application generator
CN1307565C (en) Output management system and method for enabling access to private network resources
US20020111999A1 (en) System and method for remote control of software and an attached device
CN111382985A (en) To-do message integrated pushing system and working method
CN106131092A (en) A kind of method and device of telnet server
US9332405B2 (en) Short message backup method, mobile terminal, and server
CN101175089A (en) Data transmission method between server and client terminal based on HTTP protocol and .NET structure
CN102902934A (en) Integration and interactive operation system for unknowable host
US20120096408A1 (en) System and method for establishing a collaborative workspace
CN102012925B (en) Page data generation method, data reviewing method and data exchange entry system
CN117692420A (en) Instant collaborative editing system based on Web communication protocol and implementation method thereof
US20090313276A1 (en) Process and device for data conversion, and computer-readable recording medium storing data conversion program
CN113836573B (en) User information processing method and device based on distributed storage
CN117527840A (en) All-purpose card management platform system for resident service
CN113205309A (en) Multi-person collaboration method for complex form file based on private cloud

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