CN112307727A - Online document editing method - Google Patents

Online document editing method Download PDF

Info

Publication number
CN112307727A
CN112307727A CN202011257341.9A CN202011257341A CN112307727A CN 112307727 A CN112307727 A CN 112307727A CN 202011257341 A CN202011257341 A CN 202011257341A CN 112307727 A CN112307727 A CN 112307727A
Authority
CN
China
Prior art keywords
editing
module
document
information
terminal
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
CN202011257341.9A
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.)
Shanghai Yanshu Computer Technology Co ltd
Original Assignee
Shanghai Yanshu Computer 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 Shanghai Yanshu Computer Technology Co ltd filed Critical Shanghai Yanshu Computer Technology Co ltd
Priority to CN202011257341.9A priority Critical patent/CN112307727A/en
Publication of CN112307727A publication Critical patent/CN112307727A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/101Collaborative creation, e.g. joint development of products or services

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Human Resources & Organizations (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Tourism & Hospitality (AREA)
  • Health & Medical Sciences (AREA)
  • Operations Research (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Economics (AREA)
  • Data Mining & Analysis (AREA)
  • Quality & Reliability (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The invention discloses an editing method of an online document, which comprises the following steps: editing saved settings for the online document; step two: when the multiple terminals operate the same article at the same time, judging whether the multiple terminals edit different segments, and processing according to the judgment; step three: when multiple terminals operate the same article, a single terminal triggers a judgment mechanism to judge whether other terminals are editing the article; when the online collaborative written document is edited at multiple terminals simultaneously, the invention can solve the problems of real-time update and editing conflict, so that the problem of real-time update is better solved.

Description

Online document editing method
Technical Field
The invention relates to the technical field of online document editing, in particular to an online document editing method.
Background
With the continuous development of the internet technology, the online collaborative work for document editing reduces the transmission of files among different devices, brings convenience to people, and improves the working efficiency. And web page documents and the like are edited online, users can edit the documents through own terminal equipment respectively, and the server can update synchronously.
When a document is edited simultaneously by multiple terminals in an online collaborative way, the problems of real-time updating and editing conflict often occur, the editing problem is complex, and the editing problem is solved by a system which is not available at present.
An effective solution to the problems in the related art has not been proposed yet.
Disclosure of Invention
The present invention is directed to a method for editing an online document, so as to solve the problems in the background art.
In order to achieve the purpose, the invention provides the following technical scheme: an editing method of an online document comprises the following steps:
the method comprises the following steps: editing saved settings for the online document;
step two: when the multiple terminals operate the same article at the same time, judging whether the multiple terminals edit different segments, and processing according to the judgment;
step three: when multiple terminals operate the same article, a single terminal triggers a judgment mechanism to judge whether other terminals are editing the article.
The detailed editing method, the device and the computer equipment comprise the following steps:
one, online collaborative document editing storage settings
The online document is edited with a segment as a minimum unit, the segment is edited with plain text, and pictures, tables, and the like are added to the document in an insertion form. The content edited by the terminal is transmitted to a back-end server for storage and processing by applying a front-end technology, and a document is output on terminal computer equipment after the terminal triggers a exporting device, wherein the document has a fixed format.
The online document stores the online edited content of the client in a real-time storage mode, and in order to ensure that the data is not lost, after confirming that the client writes information without error, the data is submitted to a background in a button triggering mode and is sent to a server with high data storage safety for storage.
II, judging that different terminals carry out editing operation on different text segments and carrying out corresponding processing
The method comprises the steps that the online document is added with a cooperative function, and when a plurality of terminals collaboratively edit the document online, a front-end page receives terminal data and transmits the terminal data to a background server in real time. And the background running program judges the operated text segments in the online document and judges whether the operated text segments are the same text segment.
And the judgment result is that different terminals edit different paragraphs, the background directly stores the data transmitted by the front end to the server, and feeds back the data to the front end to update the display content of the online document in real time. And editing the same paragraph for different terminals according to the judgment result, and carrying out the next operation by the background.
Thirdly, judging that different terminals carry out editing operation on the same text segment and carrying out corresponding processing
Different terminals edit the same text segment, and two problems of real-time updating and editing conflict need to be solved. The editing operation of the terminal can be triggered, and the background system judges whether other terminals are editing when one terminal edits a section according to the triggering time.
And the first terminal carries out editing operation on the page, clicks the editing text editing frame by a mouse and starts the trigger device. After the trigger device is started, the background system starts the document segment locking device to lock and protect the document segment, and other terminals cannot perform the document segment editing and modifying operation before finishing triggering. And in the document locking state, other terminals carry out editing operation on the page, a mouse clicks and edits the document editing frame, the trigger device is triggered, the background system transmits locking information to the front end, the terminals are limited from carrying out editing operation, and the information for prohibiting the operation is prompted through the page.
When the editing operation of the first terminal on the page is finished, the triggering is finished, the front end receives the information removed by the terminal equipment and transmits the information to the background system, and the background system releases the segment locking device.
Fourth, editing system of online document
The online document editing device comprises a triggering module, an information transmission module, a judgment module and a processing module.
And the trigger module comprises a starting trigger unit and an ending trigger unit. And the terminal equipment operation such as mouse selection, keyboard input and the like is used as a starting triggering condition. And taking terminal behaviors such as terminal equipment operation, mouse removal, no operation within specific time of a keyboard and the like as conditions for finishing triggering. When the starting triggering condition is met, the starting triggering unit in the triggering module is immediately started, the starting triggering information is connected to the processing module through the information module, and the locking unit in the processing module locks the text segment. When the end triggering condition is met, an end triggering unit in the triggering module is connected to the connection processing module through the information module, and a locking unit in the processing module unlocks the text segment.
The information transmission module comprises a front-end receiving unit, a communication transmission unit and a rear-end receiving unit. The information transmission module is used for connecting the trigger module with the judgment module and the processing module respectively, transmitting the operation information of the terminal to the judgment module and the processing module, transmitting the information of the judgment module and the processing module to the terminal, and displaying the processing result on the terminal page.
And the judging module is used for judging whether different terminals simultaneously carry out editing operation on the same text segment or not and judging whether other terminals are editing when one terminal carries out editing on a certain segment.
The processing module comprises an acquisition unit, a storage unit and a locking unit. And after the judgment module judges, the processing module is started. And the information module transmits the information without locking to the acquisition unit to obtain the terminal information, and the terminal information is stored by the storage unit. And judging that other terminals are editing, and locking the text segment in the terminal page by a locking unit in the module.
Fifth, a computer equipment
The present system relates to a computer device having high-speed CPU computing power, long-time reliable operation, strong I/O external data throughput capability, and better extensibility.
Compared with the prior art, the invention has the following beneficial effects:
when the online collaborative written document is edited at multiple terminals simultaneously, the invention can solve the problems of real-time update and editing conflict, so that the problem of real-time update is better solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a flow chart of an online document device according to the present invention.
Detailed Description
The invention is further described with reference to the following drawings and detailed description:
referring to fig. 1, a method for editing an online document includes the steps of:
the method comprises the following steps: editing saved settings for the online document;
step two: when the multiple terminals operate the same article at the same time, judging whether the multiple terminals edit different segments, and processing according to the judgment;
step three: when multiple terminals operate the same article, a single terminal triggers a judgment mechanism to judge whether other terminals are editing the article.
The detailed editing method, the device and the computer equipment comprise the following steps:
one, online collaborative document editing storage settings
The online document is edited with a segment as a minimum unit, the segment is edited with plain text, and pictures, tables, and the like are added to the document in an insertion form. The content edited by the terminal is transmitted to a back-end server for storage and processing by applying a front-end technology, and a document is output on terminal computer equipment after the terminal triggers a exporting device, wherein the document has a fixed format.
The online document stores the online edited content of the client in a real-time storage mode, and in order to ensure that the data is not lost, after confirming that the client writes information without error, the data is submitted to a background in a button triggering mode and is sent to a server with high data storage safety for storage.
II, judging that different terminals carry out editing operation on different text segments and carrying out corresponding processing
The method comprises the steps that the online document is added with a cooperative function, and when a plurality of terminals collaboratively edit the document online, a front-end page receives terminal data and transmits the terminal data to a background server in real time. And the background running program judges the operated text segments in the online document and judges whether the operated text segments are the same text segment.
And the judgment result is that different terminals edit different paragraphs, the background directly stores the data transmitted by the front end to the server, and feeds back the data to the front end to update the display content of the online document in real time. And editing the same paragraph for different terminals according to the judgment result, and carrying out the next operation by the background.
Thirdly, judging that different terminals carry out editing operation on the same text segment and carrying out corresponding processing
Different terminals edit the same text segment, and two problems of real-time updating and editing conflict need to be solved. The editing operation of the terminal can be triggered, and the background system judges whether other terminals are editing when one terminal edits a section according to the triggering time.
And the first terminal carries out editing operation on the page, clicks the editing text editing frame by a mouse and starts the trigger device. After the trigger device is started, the background system starts the document segment locking device to lock and protect the document segment, and other terminals cannot perform the document segment editing and modifying operation before finishing triggering. And in the document locking state, other terminals carry out editing operation on the page, a mouse clicks and edits the document editing frame, the trigger device is triggered, the background system transmits locking information to the front end, the terminals are limited from carrying out editing operation, and the information for prohibiting the operation is prompted through the page.
When the editing operation of the first terminal on the page is finished, the triggering is finished, the front end receives the information removed by the terminal equipment and transmits the information to the background system, and the background system releases the segment locking device.
Fourth, editing system of online document
The online document editing device comprises a triggering module, an information transmission module, a judgment module and a processing module.
And the trigger module comprises a starting trigger unit and an ending trigger unit. And the terminal equipment operation such as mouse selection, keyboard input and the like is used as a starting triggering condition. And taking terminal behaviors such as terminal equipment operation, mouse removal, no operation within specific time of a keyboard and the like as conditions for finishing triggering. When the starting triggering condition is met, the starting triggering unit in the triggering module is immediately started, the starting triggering information is connected to the processing module through the information module, and the locking unit in the processing module locks the text segment. When the end triggering condition is met, an end triggering unit in the triggering module is connected to the connection processing module through the information module, and a locking unit in the processing module unlocks the text segment.
The information transmission module comprises a front-end receiving unit, a communication transmission unit and a rear-end receiving unit. The information transmission module is used for connecting the trigger module with the judgment module and the processing module respectively, transmitting the operation information of the terminal to the judgment module and the processing module, transmitting the information of the judgment module and the processing module to the terminal, and displaying the processing result on the terminal page.
And the judging module is used for judging whether different terminals simultaneously carry out editing operation on the same text segment or not and judging whether other terminals are editing when one terminal carries out editing on a certain segment.
The processing module comprises an acquisition unit, a storage unit and a locking unit. And after the judgment module judges, the processing module is started. And the information module transmits the information without locking to the acquisition unit to obtain the terminal information, and the terminal information is stored by the storage unit. And judging that other terminals are editing, and locking the text segment in the terminal page by a locking unit in the module.
Fifth, a computer equipment
The present system relates to a computer device having high-speed CPU computing power, long-time reliable operation, strong I/O external data throughput capability, and better extensibility.
The first embodiment is as follows:
and selecting a certain text segment by a mouse of certain terminal equipment or inputting characters by a keyboard. The receiving unit in the information delivery module delivers the content to the back-end receiving unit through the communication transmission unit. The judging module analyzes and judges the incoming data and judges whether other terminals are editing the current text segment.
And if the current text segment is edited by other terminal equipment, the content of the text segment is acquired by the acquisition unit in the processing plate to the storage unit, and the storage unit stores the content. In the same time, other devices edit other text sections in the article without being affected, and the acquisition unit and the storage unit in the processing module directly acquire and store the content in the terminal device.
And if other terminal equipment is editing the current editing text segment, the triggering unit in the triggering module is immediately started. The information of the opening trigger is connected to the processing module through the information module, and the locking unit in the processing module locks the text segment. At this time, the terminal device cannot input a device (such as a mouse or a keyboard) to edit the text, and the page will prompt that the text is locked, and not allow other devices to edit.
When the terminal meets the end triggering conditions (a mouse removes a text segment, stops keyboard input and the like), an end triggering unit in the triggering module is connected to the connection processing module through the information module, and a locking unit in the processing module unlocks the text segment. At this time, other terminal devices may edit the text passage.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (6)

1. A method for editing an online document, the method comprising the steps of:
firstly, editing and storing settings of online collaborative documents;
secondly, judging that different terminals carry out editing operation on different text segments and carrying out corresponding processing;
thirdly, judging that different terminals carry out editing operation on the same text segment and carrying out corresponding processing;
fourthly, editing the online document;
and fifthly, computer equipment.
2. The method for editing the online document according to claim 1, wherein the step of editing the storage setting of the online collaborative document comprises: editing the online document by taking the section as a minimum unit, editing the section into plain text editing, and adding pictures, tables and the like to the document in an insertion mode;
transmitting the edited content to a server for storage processing, and outputting a document on computer equipment after triggering a exporting device, wherein the document has a fixed format;
the online document stores the online edited content of the client in a real-time storage mode, and in order to ensure that the data is not lost, after confirming that the client writes information without error, the data is submitted to a background in a button triggering mode and is sent to a server with high data storage safety for storage.
3. The method for editing an online document according to claim 1, wherein the step of determining that different terminals edit different segments and correspondingly process the different segments comprises: the method comprises the steps that a collaborative function is added to an online document, when a plurality of terminals collaboratively edit the document online, a front-end page receives terminal data and transmits the terminal data to a background server in real time;
the background running program judges the operated text segments in the online document and judges whether the operated text segments are the same;
the judgment result is that different terminals edit different paragraphs, the background directly stores the data transmitted by the front end to the server, feeds back the front end, and updates the display content of the online document in real time;
and editing the same paragraph for different terminals according to the judgment result, and carrying out the next operation by the background.
4. The method for editing an online document according to claim 1, wherein the step of determining that different terminals perform editing operations on the same segment and perform corresponding processing comprises: different terminals edit the same text segment, and two problems of real-time updating and editing conflict need to be solved;
the editing operation of the terminal can be triggered, and the background system judges whether other terminals are editing when one terminal edits a section according to the triggering time;
the first terminal carries out editing operation on a page, a mouse clicks an editing text editing frame, and a trigger device is started;
after the trigger device is started, the background system starts a document segment locking device to lock and protect the document segment, and other terminals cannot perform document segment editing and modifying operation before finishing triggering;
in the document locking state, other terminals perform editing operation on the page, a mouse clicks and edits the document editing frame, the trigger device is triggered, the background system transmits locking information to the front end, the terminals are limited from performing editing operation, and information for prohibiting operation is prompted through the page;
when the editing operation of the first terminal on the page is finished, the triggering is finished, the front end receives the information removed by the terminal equipment and transmits the information to the background system, and the background system releases the segment locking device.
5. The method for editing an online document according to claim 1, wherein the system for editing an online document comprises a triggering module, an information transmission module, a judgment module and a processing module;
the trigger module comprises a starting trigger unit and an ending trigger unit; when the starting triggering condition is met, the starting triggering unit in the triggering module is started immediately, the information of the starting triggering is connected to the processing module through the information module, and the locking unit in the processing module locks the text segment;
when the end triggering condition is met, an end triggering unit in the triggering module is connected to the connection processing module through the information module, and a locking unit in the processing module unlocks the text segment;
the information transmission module comprises a front end receiving unit, a communication transmission unit and a rear end receiving unit; the information transmission module is used for connecting the trigger module with the judgment module and the processing module respectively, transmitting the operation information of the terminal to the judgment module and the processing module, transmitting the information of the judgment module and the processing module to the terminal, and displaying the processing result on a terminal page;
the judging module is used for judging whether different terminals simultaneously edit the same text segment or not and judging whether other terminals edit a certain segment or not when one terminal edits the certain segment;
the processing module comprises an acquisition unit, a storage unit and a locking unit;
after the judgment module judges, the data enters a processing module;
the information module transmits the information without locking to the acquisition unit to obtain the terminal information, and the terminal information is stored in the storage unit;
and judging that other terminals are editing, and locking the text segment in the terminal page by a locking unit in the module.
6. The method of claim 1, wherein the computer device is a high speed CPU, I/O external data throughput capability, and extensibility computer device.
CN202011257341.9A 2020-11-12 2020-11-12 Online document editing method Pending CN112307727A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011257341.9A CN112307727A (en) 2020-11-12 2020-11-12 Online document editing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011257341.9A CN112307727A (en) 2020-11-12 2020-11-12 Online document editing method

Publications (1)

Publication Number Publication Date
CN112307727A true CN112307727A (en) 2021-02-02

Family

ID=74325412

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011257341.9A Pending CN112307727A (en) 2020-11-12 2020-11-12 Online document editing method

Country Status (1)

Country Link
CN (1) CN112307727A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112965946A (en) * 2021-03-31 2021-06-15 建信金融科技有限责任公司 Method, device, equipment and computer readable medium for processing document

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092820A (en) * 2011-10-27 2013-05-08 镇江雅迅软件有限责任公司 Implementation of electronic document collaborative editor
CN107491429A (en) * 2017-08-18 2017-12-19 杭州安恒信息技术有限公司 A kind of method for solving to edit document content conflict simultaneously
CN108009243A (en) * 2017-11-30 2018-05-08 云南电网有限责任公司 A kind of multi-user's synchro edit processing system and processing method being directed to document
CN108549623A (en) * 2018-04-12 2018-09-18 北京三快在线科技有限公司 Collaborative document editing control method, device, electronic equipment and storage medium
CN109918601A (en) * 2019-02-03 2019-06-21 广州视源电子科技股份有限公司 Edit methods, device, computer equipment and the storage medium of online document
CN110502488A (en) * 2019-08-14 2019-11-26 北京字节跳动网络技术有限公司 Processing method, device, terminal and the storage medium of online document

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092820A (en) * 2011-10-27 2013-05-08 镇江雅迅软件有限责任公司 Implementation of electronic document collaborative editor
CN107491429A (en) * 2017-08-18 2017-12-19 杭州安恒信息技术有限公司 A kind of method for solving to edit document content conflict simultaneously
CN108009243A (en) * 2017-11-30 2018-05-08 云南电网有限责任公司 A kind of multi-user's synchro edit processing system and processing method being directed to document
CN108549623A (en) * 2018-04-12 2018-09-18 北京三快在线科技有限公司 Collaborative document editing control method, device, electronic equipment and storage medium
CN109918601A (en) * 2019-02-03 2019-06-21 广州视源电子科技股份有限公司 Edit methods, device, computer equipment and the storage medium of online document
CN110502488A (en) * 2019-08-14 2019-11-26 北京字节跳动网络技术有限公司 Processing method, device, terminal and the storage medium of online document

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112965946A (en) * 2021-03-31 2021-06-15 建信金融科技有限责任公司 Method, device, equipment and computer readable medium for processing document
CN112965946B (en) * 2021-03-31 2022-12-13 建信金融科技有限责任公司 Method, device, equipment and computer readable medium for processing document

Similar Documents

Publication Publication Date Title
US10733553B2 (en) Action item extraction for work item creation
CN102414679B (en) Maintaining undo and redo capability across metadata merges
CN102388377B (en) System and method for editing a conversation in a hosted conversation system
CN106951270A (en) A kind of code process method, system and server
CN109660447B (en) Chat data-based information directional capturing method and information management system
CN112307727A (en) Online document editing method
EP3230893B1 (en) Method and system for concurrent collaborative undo operations in computer application software
CN113285866A (en) Information sending method and device and electronic equipment
CN109598001A (en) A kind of information display method, device and equipment
CN115687365A (en) Form processing method, apparatus, storage medium, and program product
CN111506298A (en) Method for carrying out interface visual configuration based on JSON object
CN111367805B (en) Development and debugging method and device
CN100504874C (en) Method, system and apparatus for expanding text collection of same subject
CN113239256A (en) Method for generating website signature and method and device for identifying website
KR100680034B1 (en) Context cognizance enhancing message transform system, and method for the same
CN116402022A (en) Document generation method, device, electronic equipment and storage medium
CN110177145A (en) A method of prevent list from repeating to submit
CN114021053A (en) Page construction method, server, terminal and storage medium
CN109840110B (en) Method, apparatus, device and readable storage medium for processing code message
CN112015409A (en) Webpage editing data synchronization method, device and system and computer storage medium
CN109391541B (en) Information sending method, device, storage medium and equipment
US7743318B2 (en) Order independent batched updates on a text buffer
CN112270626A (en) Enterprise credit line management method, device, storage medium and server
CN112199428B (en) Application management system, method and terminal equipment of functional data block
CN109547327B (en) Information sending method, device, storage medium and equipment

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20210202

WD01 Invention patent application deemed withdrawn after publication