Movatterモバイル変換


[0]ホーム

URL:


CN114818619A - Online document editing processing method and device based on cloud server - Google Patents

Online document editing processing method and device based on cloud server
Download PDF

Info

Publication number
CN114818619A
CN114818619ACN202210735342.2ACN202210735342ACN114818619ACN 114818619 ACN114818619 ACN 114818619ACN 202210735342 ACN202210735342 ACN 202210735342ACN 114818619 ACN114818619 ACN 114818619A
Authority
CN
China
Prior art keywords
editing
user
area
target document
document
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
CN202210735342.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.)
Jiaying Technology Co ltd
Original Assignee
Jiaying 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 Jiaying Technology Co ltdfiledCriticalJiaying Technology Co ltd
Priority to CN202210735342.2ApriorityCriticalpatent/CN114818619A/en
Publication of CN114818619ApublicationCriticalpatent/CN114818619A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Classifications

Landscapes

Abstract

The invention discloses a document online editing processing method and device based on a cloud server, wherein the method comprises the following steps: the method comprises the steps that a target document to be edited is obtained in a cloud server, and the target document is divided into a plurality of editing areas; loading a target document to a local operation end where the user is located; displaying a corresponding user editable area to a user when the target file is opened by using editing software in a local operation terminal; generating a corresponding copy of the editing area; forming an updated copy of the edit region; editing and updating a corresponding editing area of a target document in a cloud server; and converting the updated updating editing area into a byte stream, and loading the byte stream to the local operation terminal to update the target file in the local operation terminal. In the embodiment of the invention, a plurality of users of the same target document can be simultaneously edited and updated, and the updated content is updated to the local operation terminal where the user is located in time, so that the online editing efficiency is improved.

Description

Online document editing processing method and device based on cloud server
Technical Field
The invention relates to the technical field of document editing, in particular to a document online editing processing method and device based on a cloud server.
Background
In daily office work, the editing of electronic documents is a very common office means, and the electronic documents serve as carriers of effective information storage and information transmission and play a very important role in daily office work; due to the development of internet technology, future cloud office will be a remote office trend, but in the prior art, when multiple users perform simultaneous editing on the same target document during cloud office, update operation on the target document at a local operation end of a certain user cannot be performed in real time according to the editing conditions of the multiple users, and due to the fact that the editing of the target document may have a logical relationship of context, when a certain area of the target document is updated, if the target document loaded to the local operation end by other users cannot be updated correspondingly, deviation between the content edited by the relevant user and the updated content of the target document may exist, and the editing efficiency is not high.
Disclosure of Invention
The invention aims to overcome the defects of the prior art, and provides a document online editing processing method and device based on a cloud server, which can be used for simultaneously editing and updating multiple users of the same target document, updating the updated content to a local operation terminal where the users are located in time, and improving the online editing efficiency.
In order to solve the technical problem, an embodiment of the present invention provides a method for online document editing processing based on a cloud server, where the method includes:
the method comprises the steps that a target document to be edited is obtained in a cloud server, and the target document is divided into a plurality of editing areas;
when a user requests to edit the target document, converting the target document into a byte stream according to pages, and loading the byte stream to a local operation end where the user is located based on a paging loading technology;
when the target file is opened by using editing software in the local operation terminal, displaying a corresponding user editable area to the user based on the online editing authority of the user, and displaying a reading view of the user non-editable area in the editing software;
generating a corresponding editing area copy at a local operation terminal based on an area to be edited selected by a user in the user editable area;
monitoring the editing operation of the user on the area to be edited in real time, and updating the copy of the editing area based on the user editable area after the editing operation to form an updated copy of the editing area;
editing and updating the corresponding editing area of the target document in the cloud server by using the updated copy of the editing area;
when the cloud server monitors that the editing area which is not selected by the user in the target document is updated, the updated editing area is converted into a byte stream, and the byte stream is loaded to a local operation terminal to update the target file in the local operation terminal.
Optionally, the dividing the target document into a plurality of editing regions includes:
the target document is divided into a number of editing regions based on a catalog chapter in the target document.
Optionally, the converting the target document into a byte stream by page, and loading the byte stream to the local operating end where the user is located based on a paging loading technology includes:
a user logs in the cloud server to perform authentication operation based on an operation interface of the local operation terminal, and obtains online editing authority of the user on a target document in the cloud server;
and converting the target document into a byte stream according to pages based on the online editing authority, and loading the byte stream to a local operation terminal where the user is located based on a paging loading technology.
Optionally, the converting the target document into a byte stream according to pages based on the online editing authority, and loading the byte stream to a local operation end where the user is located based on a paging loading technology includes:
matching a document encryption algorithm for encrypting the target document and corresponding document keys, and editing encryption algorithms and corresponding editing region keys of a plurality of editing regions in the cloud server based on the online editing authority;
sequentially utilizing the editing encryption algorithms of the plurality of editing areas and the corresponding editing area keys as well as the document encryption algorithm for encrypting the target document and the corresponding document key to carry out editing area encryption and full-text document encryption processing to form an encrypted target document;
and converting the encrypted target document into a byte stream according to pages, and loading the byte stream to a local operation terminal where the user is located according to the pages based on a paging loading technology.
Optionally, when the target file is opened by using the editing software in the local operation end, the method further includes:
and the user decrypts the loaded encrypted target document based on the corresponding document key and the editing area key obtained by the online editing authority.
Optionally, the displaying the corresponding user editable area to the user based on the online editing permission of the user includes:
matching a plurality of editing areas matched with the online editing authority of the user in the target document based on the online editing authority of the user;
identifying whether other user editing areas exist in the plurality of editing areas;
if the editing areas exist, removing the editing areas of other users in the plurality of editing areas, obtaining the residual editing areas, and performing editable display on the residual editing areas serving as the corresponding user editable areas to the users, wherein the reading view display is performed on the editing areas of other users in the editing software;
and if the plurality of editing areas do not exist, the plurality of editing areas are used as corresponding user editable areas to be displayed to the user in an editable mode.
Optionally, the generating a corresponding copy of the editing area at the local operation end based on the area to be edited selected by the user in the user editable area includes:
generating a corresponding editing area copy at the local operation terminal based on an area to be edited selected by a user in the user editable area;
and simultaneously, marking the area to be edited selected by the user in the user editable area as an editing area in the cloud server by using the corresponding editing area copy, and displaying the reading view of the editable area which is not selected as the area to be edited by the user in the editing software.
Optionally, the updating the copy of the editing region based on the user editable region after the editing operation to form an updated copy of the editing region includes:
and synchronously updating the copy of the editing area by utilizing the editable area of the user after the editing operation based on a preset time threshold or the user saving operation to form an updated copy of the editing area.
Optionally, the editing and updating the corresponding editing area of the target document in the cloud server by using the updated copy of the editing area includes:
uploading the updated copy of the editing area to the cloud server, and utilizing the updated copy of the editing area to edit and update the corresponding editing area in the target document in the cloud server in real time.
In addition, an embodiment of the present invention further provides a cloud server-based document online editing processing apparatus, where the apparatus includes:
a dividing module: the system comprises a cloud server, a plurality of editing areas and a plurality of editing units, wherein the cloud server is used for acquiring a target document to be edited and dividing the target document into the plurality of editing areas;
loading a module: the system is used for converting the target document into a byte stream according to pages when a user requests to edit the target document, and loading the byte stream to a local operation end where the user is located based on a paging loading technology;
a display module: the local operation terminal is used for displaying a corresponding user editable area to the user based on the online editing authority of the user when the target file is opened by using editing software in the local operation terminal, and displaying a reading view of the user non-editable area in the editing software;
a copy generation module: the local operation terminal is used for generating a corresponding editing area copy on the basis of the area to be edited selected by the user in the user editable area;
a copy updating module: the system comprises a data processing module, a data processing module and a data processing module, wherein the data processing module is used for monitoring the editing operation of the user on the area to be edited in real time, and updating the copy of the editing area based on the editable area of the user after the editing operation to form an updated copy of the editing area;
an editing and updating module: the system comprises a cloud server, a corresponding editing area copy and a corresponding editing area copy, wherein the cloud server is used for editing and updating a target document in the cloud server by using the updated editing area copy;
local target document update module: and the cloud server is used for converting the updated editing area into a byte stream and loading the byte stream to the local operation terminal to update the target file in the local operation terminal when monitoring that the editing update exists in the non-user-selected editing area in the target document.
In the embodiment of the invention, after the target document is obtained, the target document is divided into a plurality of editing areas, when a user selects a certain editing area for editing, a corresponding editing area copy is generated, when the user edits the selected editing area, the editing area copy is updated to form an updated editing area copy, and the corresponding editing area of the target document is updated in real time by using the updated editing area copy; meanwhile, when the fact that the editing area which is not selected by the user in the target document on the cloud server is edited and updated is detected, the updated editing area which is updated is converted into a byte stream and is loaded to the local operation end to update the target file in the local operation end; therefore, the online editing processing of one target document and a plurality of different users can be realized, and because the editing areas are different, the editing among the different users is not influenced; when each user edits online, the edited and updated content can be updated into a target document in time, and can be quickly updated into a target file loaded into one local operation end, so that users on other local operation ends can know the current editing condition of the target document in time; therefore, a plurality of users of the same target document can be edited and updated simultaneously, the updated content can be updated to the local operation terminal where the user is located in time, and the online editing efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a document online editing processing method based on a cloud server in an embodiment of the present invention;
fig. 2 is a schematic structural composition diagram of a cloud server-based document online editing processing apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
Referring to fig. 1, fig. 1 is a schematic flowchart of a document online editing processing method based on a cloud server according to an embodiment of the present invention.
As shown in fig. 1, a method for online document editing and processing based on a cloud server includes:
s11: the method comprises the steps that a target document to be edited is obtained in a cloud server, and the target document is divided into a plurality of editing areas;
in a specific implementation process of the present invention, the dividing the target document into a plurality of editing regions includes: the target document is divided into a number of editing regions based on a catalog chapter in the target document.
Specifically, a plurality of documents are stored in the cloud server, the documents can be office documents and the like, the document to be edited is listed as a target document to be edited, and the target document to be edited can be obtained in the server; meanwhile, when a certain document is listed as a target document to be edited, dividing the target document to be edited into a plurality of editing areas on the cloud server according to a directory chapter, if the target document is a data table, dividing the target document into a plurality of editing areas according to rows or columns of the data table, and editing the target document on the editing areas divided by the data table without affecting data of other editing areas; therefore, when the division of the editing area of the target document is completed and the related editing operation is performed on the target document according to the editing area for the subsequent different users on line at the same time, the influence of the editing operation cannot be generated, the related editing area is provided for the multiple users to perform online editing on a certain target document at the same time, and the editing efficiency of the target document is improved.
S12: when a user requests to edit the target document, converting the target document into a byte stream according to pages, and loading the byte stream to a local operation end where the user is located based on a paging loading technology;
in a specific implementation process of the present invention, the converting the target document into a byte stream by pages, and loading the byte stream to a local operation end where the user is located based on a paging loading technology includes: a user logs in the cloud server to perform authentication operation based on an operation interface of the local operation terminal, and obtains the online editing permission of the user on a target document in the cloud server; and converting the target document into a byte stream according to pages based on the online editing authority, and loading the byte stream to a local operation terminal where the user is located based on a paging loading technology.
Further, the converting the target document into a byte stream by pages based on the online editing authority, and loading the byte stream to a local operation end where the user is located based on a paging loading technology includes: matching a document encryption algorithm for encrypting the target document and corresponding document keys, and editing encryption algorithms and corresponding editing region keys of a plurality of editing regions in the cloud server based on the online editing authority; sequentially utilizing the editing encryption algorithms of the plurality of editing areas and the corresponding editing area keys and the document encryption algorithm for encrypting the target document and the corresponding document keys to carry out editing area encryption and full-text document encryption processing to form an encrypted target document; and converting the encrypted target document into a byte stream according to pages, and loading the byte stream to a local operation terminal where the user is located according to the pages based on a paging loading technology.
Specifically, a user logs in a cloud server for authentication operation through an operation interface of a local operation terminal, and after the authentication operation is completed, the online editing authority of the user on a target document in the cloud server is obtained; the method comprises the steps that a user uploads the existing user identity authentication information to a cloud server through a local operation terminal, then the cloud server generates an electronic document to be authenticated according to the user identity authentication information and sends the electronic document to the local operation terminal where the user is located, then the user conducts identity dual authentication on the local operation terminal through the electronic document to be authenticated on the cloud server, and after the dual identity authentication is passed, the cloud server sends the online editing permission of a target document to the local operation terminal where the user is located.
After the user obtains the online editing authority of the target document, the user can load the target document on the local operation terminal where the user is located on the cloud server by using the online editing authority on the local operation terminal; before a target document is loaded to a local terminal where a user is located by a cloud server, the cloud server needs to match a document encryption algorithm for encrypting the target document and a corresponding document key, and edit encryption algorithms of a plurality of edit areas and corresponding edit area keys in the cloud server by utilizing online editing authority; firstly, carrying out encryption processing on an editing area of a target document by using an editing encryption algorithm of a plurality of editing areas and corresponding editing area keys, then carrying out encryption processing on the encrypted target document of the editing areas by using a document encryption algorithm and corresponding document keys to obtain an encrypted target document, finally converting the encrypted target document into a byte stream according to pages, and loading the byte stream to a local operation terminal where a user is located according to the pages by a paging loading technology; sending the corresponding key to the local operation terminal where the user is located in an independent mode; after the editing encryption algorithm and the corresponding editing area key encrypt the editing area, the area cannot be correspondingly edited, but the content of the editing area can be displayed, so that a user can view the content of the editing area; therefore, the encrypted target document can be quickly loaded to the local operation terminal where the user is located, and meanwhile, the problem of data loss in the loading process can be effectively prevented.
S13: when the target file is opened by using editing software in the local operation terminal, displaying a corresponding user editable area to the user based on the online editing authority of the user, and displaying a reading view of the user non-editable area in the editing software;
in a specific implementation process of the present invention, when the target file is opened by using the editing software in the local operation end, the method further includes: and the user decrypts the loaded encrypted target document based on the corresponding document key and the editing area key obtained by the online editing authority.
Further, the displaying the corresponding user editable area to the user based on the online editing permission of the user includes: matching a plurality of editing areas matched with the online editing authority of the user in the target document based on the online editing authority of the user; identifying whether other user editing areas exist in the plurality of editing areas; if the editing areas exist, removing the editing areas of other users in the editing areas to obtain the residual editing areas, and performing editable display on the residual editing areas serving as the corresponding user editable areas to the users, wherein the editing areas of other users are displayed in a reading view in the editing software; and if the plurality of editing areas do not exist, the plurality of editing areas are used as corresponding user editable areas to be displayed to the user in an editable mode.
Specifically, after the target file is loaded to the local operation terminal where the user is located, when the user opens the target file by using the editing software carried by the local operation terminal, specifically according to the file type to which the target file belongs, if the target file is a Word file, opening by using office software, and if the target file is a TXT file, opening by using text software; firstly, the loaded target file is decrypted by using the corresponding document key and the corresponding editing area key which are obtained by the online editing authority of the user, and after the decryption is completed, the target file is opened by using the editing software in the local operation terminal.
The target document is divided into a plurality of editing areas in the cloud server, so that a plurality of editing areas matched with the online editing authority of the user in the opened target document need to be matched on the local operation terminal by utilizing the online editing authority of the user; then, whether other user editing areas exist in the plurality of editing areas or not is identified through interaction with the cloud server; if other user editing areas exist, removing the other user editing areas in the plurality of editing areas to obtain the residual editing areas, and performing editable display on the residual editing areas serving as the corresponding user editable areas to the user, wherein the other user editing areas are displayed in a reading view in the editing software; if the plurality of editing areas do not exist, the plurality of editing areas are used as corresponding user editable areas to be displayed editable to the user; other areas which can not be edited by the user only display the reading view of the content to the user, but do not display the editable content; therefore, when a user edits in the selected related area to be edited, the full-text content of the target document can be checked, and the combined editing can be properly carried out according to the full-text content of the target document; the edited content is more fit with the target document, the number of times of modification of the edited content is reduced, and the editing efficiency is higher.
S14: generating a corresponding editing area copy at a local operation terminal based on an area to be edited selected by a user in the user editable area;
in a specific implementation process of the present invention, the generating a corresponding copy of the editing region at the local operation end based on the region to be edited selected by the user in the user-editable region includes: generating a corresponding editing area copy at the local operation terminal based on an area to be edited selected by a user in the user editable area; and simultaneously, marking the area to be edited selected by the user in the user editable area as an editing area in the cloud server by using the corresponding editing area copy, and displaying the reading view of the editable area which is not selected as the area to be edited by the user in the editing software.
Specifically, a user can select a corresponding region to be edited from the displayed user editable region according to actual editing requirements, and after the user selects the region to be edited, a corresponding copy of the editing region is generated on the local operation terminal according to the selected region to be edited, wherein the user of the copy of the editing region saves and updates the content edited by the user on the selected region to be edited according to the user requirements or at intervals of corresponding time; after the copy of the editing area is generated, the corresponding copy of the editing area is utilized to mark the area to be edited selected by the user in the editable area of the user as an editing area in the cloud server; meanwhile, the editable area which is not selected as the area to be edited by the user is displayed in the reading view in the editing software, so that the user can conveniently read and view, other users can not select the editing area to edit, and the user is not influenced by other users during editing, so that editing errors and the like are caused.
S15: monitoring the editing operation of the user on the area to be edited in real time, and updating the copy of the editing area based on the user editable area after the editing operation to form an updated copy of the editing area;
in a specific implementation process of the present invention, the updating the copy of the editing region based on the editable region of the user after the editing operation to form an updated copy of the editing region includes: and synchronously updating the copy of the editing area by utilizing the editable area of the user after the editing operation based on a preset time threshold or the user saving operation to form an updated copy of the editing area.
Specifically, a corresponding monitoring program is started on the local operation terminal, the editing operation of the user on the editable area of the user is monitored in real time through the monitoring program, and after the editing operation of the user on the editable area of the user is monitored, and after a preset time threshold value or a user storage operation is carried out, the copy of the edited area is synchronously updated by using the editable area of the user after the editing operation, so that an updated copy of the edited area is formed.
S16: editing and updating the corresponding editing area of the target document in the cloud server by using the updated copy of the editing area;
in a specific implementation process of the present invention, the using the updated copy of the editing region to edit and update the editing region corresponding to the target document in the cloud server includes: uploading the updated copy of the editing area to the cloud server, and utilizing the updated copy of the editing area to edit and update the corresponding editing area in the target document in the cloud server in real time.
Specifically, the updated copy of the editing area is uploaded to a cloud server, and then the updated copy of the editing area is used for editing and updating the corresponding editing area in the corresponding target document in the cloud server in real time; after the user finishes the related editing, the local operation terminal uploads the latest updated copy of the editing area to the cloud server, and the local terminal executes the deleting operation on the latest updated copy of the editing area and the target document; therefore, the information in the target document is effectively ensured to be safe.
S17: when the cloud server monitors that the editing area which is not selected by the user in the target document is updated, the updated editing area is converted into a byte stream, and the byte stream is loaded to a local operation terminal to update the target file in the local operation terminal.
In the specific implementation process of the invention, after the target document on the cloud server is updated, if the target document is not updated to the local operation terminal where the user is located in time, the user on the local operation terminal cannot obtain the updated target document on the cloud server in the first time, so that the editing of the user in the region to be edited by the local operation terminal may be affected, the edited content may come in and go out with the updated target document on the cloud server, the subsequent re-editing may be required, and the editing efficiency is reduced.
Therefore, whether the target document on the cloud server is updated in the editing area which is not selected by the user needs to be monitored; and when the update exists, converting the update editing area into a byte stream, and loading the byte stream to the local operation end to update the target file in the local operation end.
When the local operation end displays the target document, storing the target document into the running memory of the local operation end according to the divided editing areas, and marking each editing area in the running memory; when the cloud server loads the update editing area to the local operation terminal, the storage content is replaced by using the mark area corresponding to the update editing area in the running memory of the local operation terminal, and meanwhile, the area corresponding to the displayed target document is refreshed and displayed, so that the update display at the local operation terminal can be realized.
In the embodiment of the invention, after the target document is obtained, the target document is divided into a plurality of editing areas, when a user selects one editing area to edit, a corresponding editing area copy is generated, when the user edits the selected editing area, the editing area copy is updated to form an updated editing area copy, and the corresponding editing area of the target document is updated in real time by using the updated editing area copy; meanwhile, when the fact that the editing area which is not selected by the user in the target document on the cloud server is edited and updated is detected, the updated editing area which is updated is converted into a byte stream and is loaded to the local operation end to update the target file in the local operation end; therefore, the online editing processing of one target document and a plurality of different users can be realized, and because the editing areas are different, the editing among different users is not influenced; when each user edits online, the edited and updated content can be updated into a target document in time, and can be quickly updated into a target file loaded into one local operation end, so that users on other local operation ends can know the current editing condition of the target document in time; therefore, a plurality of users of the same target document can be edited and updated simultaneously, the updated content can be updated to the local operation terminal where the user is located in time, and the online editing efficiency is improved.
Example two
Referring to fig. 2, fig. 2 is a schematic structural composition diagram of a document online editing processing apparatus based on a cloud server in an embodiment of the present invention.
As shown in fig. 2, an apparatus for online document editing and processing based on a cloud server, the apparatus comprising:
the dividing module 21: the system comprises a cloud server, a plurality of editing areas and a plurality of editing units, wherein the cloud server is used for acquiring a target document to be edited and dividing the target document into the plurality of editing areas;
in a specific implementation process of the present invention, the dividing the target document into a plurality of editing regions includes: the target document is divided into a number of editing regions based on a catalog chapter in the target document.
Specifically, a plurality of documents are stored in the cloud server, the documents can be office documents and the like, the document to be edited is listed as a target document to be edited, and the target document to be edited can be obtained in the server; meanwhile, when a certain document is listed as a target document to be edited, dividing the target document to be edited into a plurality of editing areas on the cloud server according to a directory chapter, if the target document is a data table, dividing the target document into a plurality of editing areas according to rows or columns of the data table, and editing the target document on the editing areas divided by the data table without affecting data of other editing areas; therefore, when the division of the editing area of the target document is completed and the related editing operation is performed on the target document according to the editing area for the subsequent different users on line at the same time, the influence of the editing operation cannot be generated, the related editing area is provided for the multiple users to perform online editing on a certain target document at the same time, and the editing efficiency of the target document is improved.
The loading module 22: the system comprises a target document processing module, a page conversion module, a page loading module, a page editing module and a page loading module, wherein the page conversion module is used for converting the target document into a byte stream according to pages when a user requests to edit the target document, and loading the byte stream to a local operation end where the user is located based on a paging loading technology;
in a specific implementation process of the present invention, the converting the target document into a byte stream by pages, and loading the byte stream to a local operation end where the user is located based on a paging loading technology includes: a user logs in the cloud server to perform authentication operation based on an operation interface of the local operation terminal, and obtains online editing authority of the user on a target document in the cloud server; and converting the target document into a byte stream according to pages based on the online editing authority, and loading the byte stream to a local operation terminal where the user is located based on a paging loading technology.
Further, the converting the target document into a byte stream by pages based on the online editing authority, and loading the byte stream to a local operation end where the user is located based on a paging loading technology includes: matching a document encryption algorithm for encrypting the target document and corresponding document keys, and editing encryption algorithms and corresponding editing region keys of a plurality of editing regions in the cloud server based on the online editing authority; sequentially utilizing the editing encryption algorithms of the plurality of editing areas and the corresponding editing area keys and the document encryption algorithm for encrypting the target document and the corresponding document keys to carry out editing area encryption and full-text document encryption processing to form an encrypted target document; and converting the encrypted target document into a byte stream according to pages, and loading the byte stream to a local operation terminal where the user is located according to the pages based on a paging loading technology.
Specifically, a user logs in a cloud server for authentication operation through an operation interface of a local operation terminal, and after the authentication operation is completed, the online editing authority of the user on a target document in the cloud server is obtained; the method comprises the steps that a user uploads the existing user identity authentication information to a cloud server through a local operation terminal, then the cloud server generates an electronic document to be authenticated according to the user identity authentication information and sends the electronic document to the local operation terminal where the user is located, then the user conducts identity dual authentication on the local operation terminal through the electronic document to be authenticated on the cloud server, and after the dual identity authentication is passed, the cloud server sends the online editing permission of a target document to the local operation terminal where the user is located.
After the user obtains the online editing authority of the target document, the user can load the target document on the local operation terminal where the user is located on the cloud server by using the online editing authority on the local operation terminal; before a target document is loaded to a local terminal where a user is located by a cloud server, the cloud server needs to match a document encryption algorithm for encrypting the target document and a corresponding document key, and edit encryption algorithms of a plurality of edit areas and corresponding edit area keys in the cloud server by utilizing online editing authority; firstly, carrying out encryption processing on an editing area of a target document by using an editing encryption algorithm of a plurality of editing areas and corresponding editing area keys, then carrying out encryption processing on the encrypted target document of the editing areas by using a document encryption algorithm and corresponding document keys to obtain an encrypted target document, finally converting the encrypted target document into a byte stream according to pages, and loading the byte stream to a local operation terminal where a user is located according to the pages by a paging loading technology; sending the corresponding key to the local operation terminal where the user is located in an independent mode; after the editing encryption algorithm and the corresponding editing area key encrypt the editing area, the area cannot be correspondingly edited, but the content of the editing area can be displayed, so that a user can view the content of the editing area; therefore, the encrypted target document can be quickly loaded to the local operation terminal where the user is located, and meanwhile, the problem of data loss in the loading process can be effectively prevented.
The display module 23: the local operation terminal is used for displaying a corresponding user editable area to the user based on the online editing authority of the user when the target file is opened by using editing software in the local operation terminal, and displaying a reading view of the user non-editable area in the editing software;
in a specific implementation process of the present invention, when the target file is opened by using the editing software in the local operation end, the method further includes: and the user decrypts the loaded encrypted target document based on the corresponding document key and the editing area key obtained by the online editing authority.
Further, the displaying the corresponding user editable area to the user based on the online editing permission of the user includes: matching a plurality of editing areas matched with the online editing authority of the user in the target document based on the online editing authority of the user; identifying whether other user editing areas exist in the plurality of editing areas; if the editing areas exist, removing the editing areas of other users in the plurality of editing areas, obtaining the residual editing areas, and performing editable display on the residual editing areas serving as the corresponding user editable areas to the users, wherein the reading view display is performed on the editing areas of other users in the editing software; and if the plurality of editing areas do not exist, the plurality of editing areas are used as corresponding user editable areas to be displayed to the user in an editable mode.
Specifically, after the target file is loaded to the local operation terminal where the user is located, when the user opens the target file by using the editing software carried by the local operation terminal, specifically according to the file type to which the target file belongs, if the target file is a Word file, opening by using office software, and if the target file is a TXT file, opening by using text software; firstly, the loaded target file is decrypted by using the corresponding document key and the corresponding editing area key which are obtained by the online editing authority of the user, and after the decryption is completed, the target file is opened by using the editing software in the local operation terminal.
The target document is divided into a plurality of editing areas in the cloud server, so that a plurality of editing areas matched with the online editing authority of the user in the opened target document need to be matched on the local operation terminal by utilizing the online editing authority of the user; then, whether other user editing areas exist in the plurality of editing areas or not is identified through interaction with the cloud server; if other user editing areas exist, removing the other user editing areas in the plurality of editing areas to obtain the residual editing areas, and performing editable display on the residual editing areas serving as the corresponding user editable areas to the user, wherein the other user editing areas are displayed in a reading view in the editing software; if the plurality of editing areas do not exist, the plurality of editing areas are used as corresponding user editable areas to be displayed editable to the user; other areas which can not be edited by the user only display the reading view of the content to the user, but do not display the editable content; therefore, when a user edits in the selected related area to be edited, the full-text content of the target document can be checked, and the combined editing can be properly carried out according to the full-text content of the target document; the edited content is more fit with the target document, the number of times of modification of the edited content is reduced, and the editing efficiency is higher.
The copy generation module 24: the local operation terminal is used for generating a corresponding editing area copy on the basis of the area to be edited selected by the user in the user editable area;
in a specific implementation process of the present invention, the generating a corresponding copy of the editing region at the local operation end based on the region to be edited selected by the user in the user-editable region includes: generating a corresponding editing area copy at the local operation terminal based on an area to be edited selected by a user in the user editable area; and simultaneously, marking the area to be edited selected by the user in the user editable area as an editing area in the cloud server by using the corresponding editing area copy, and displaying the reading view of the editable area which is not selected as the area to be edited by the user in the editing software.
Specifically, a user can select a corresponding region to be edited from the displayed user editable region according to actual editing requirements, and after the user selects the region to be edited, a corresponding copy of the editing region is generated on the local operation terminal according to the selected region to be edited, wherein the user of the copy of the editing region saves and updates the content edited by the user on the selected region to be edited according to the user requirements or at intervals of corresponding time; after the copy of the editing area is generated, the corresponding copy of the editing area is utilized to mark the area to be edited selected by the user in the editable area of the user as an editing area in the cloud server; meanwhile, the editable area which is not selected as the area to be edited by the user is displayed in the reading view in the editing software, so that the user can conveniently read and view, other users can not select the editing area to edit, and the user is not influenced by other users during editing, so that editing errors and the like are caused.
The copy update module 25: the system comprises a data processing module, a data processing module and a data processing module, wherein the data processing module is used for monitoring the editing operation of the user on the area to be edited in real time, and updating the copy of the editing area based on the editable area of the user after the editing operation to form an updated copy of the editing area;
in a specific implementation process of the present invention, the updating the copy of the editing region based on the editable region of the user after the editing operation to form an updated copy of the editing region includes: and synchronously updating the copy of the editing area by utilizing the editable area of the user after the editing operation based on a preset time threshold or the user saving operation to form an updated copy of the editing area.
Specifically, a corresponding monitoring program is started on the local operation terminal, the editing operation of the user on the editable area of the user is monitored in real time through the monitoring program, and after the editing operation of the user on the editable area of the user is monitored, and after a preset time threshold value or a user storage operation is carried out, the copy of the edited area is synchronously updated by using the editable area of the user after the editing operation, so that an updated copy of the edited area is formed.
The edit update module 26: the system comprises a cloud server, a corresponding editing area copy and a corresponding editing area copy, wherein the cloud server is used for editing and updating a target document in the cloud server by using the updated editing area copy;
in a specific implementation process of the present invention, the using the updated copy of the editing region to edit and update the corresponding editing region of the target document in the cloud server includes: uploading the updated copy of the editing area to the cloud server, and utilizing the updated copy of the editing area to edit and update the corresponding editing area in the target document in the cloud server in real time.
Specifically, the updated copy of the editing area is uploaded to a cloud server, and then the updated copy of the editing area is used for editing and updating the corresponding editing area in the corresponding target document in the cloud server in real time; after the user finishes the related editing, the local operation terminal uploads the latest updated copy of the editing area to the cloud server, and the local terminal executes the deleting operation on the latest updated copy of the editing area and the target document; therefore, the information in the target document is effectively ensured to be safe.
Local target document update module 27: and the cloud server is used for converting the updated editing area into a byte stream and loading the byte stream to the local operation terminal to update the target file in the local operation terminal when monitoring that the editing update exists in the non-user-selected editing area in the target document.
In the specific implementation process of the invention, after the target document on the cloud server is updated, if the target document is not updated to the local operation terminal where the user is located in time, the user on the local operation terminal cannot obtain the updated target document on the cloud server in the first time, so that the editing of the user in the region to be edited by the local operation terminal may be affected, the edited content may come in and go out with the updated target document on the cloud server, the subsequent re-editing may be required, and the editing efficiency is reduced.
Therefore, whether the target document on the cloud server is updated in the editing area which is not selected by the user needs to be monitored; and when the update exists, converting the update editing area into a byte stream, and loading the byte stream to the local operation end to update the target file in the local operation end.
When the local operation end displays the target document, storing the target document into the running memory of the local operation end according to the divided editing areas, and marking each editing area in the running memory; when the cloud server loads the update editing area to the local operation terminal, the storage content is replaced by using the mark area corresponding to the update editing area in the running memory of the local operation terminal, and meanwhile, the area corresponding to the displayed target document is refreshed and displayed, so that the update display at the local operation terminal can be realized.
In the embodiment of the invention, after the target document is obtained, the target document is divided into a plurality of editing areas, when a user selects one editing area to edit, a corresponding editing area copy is generated, when the user edits the selected editing area, the editing area copy is updated to form an updated editing area copy, and the corresponding editing area of the target document is updated in real time by using the updated editing area copy; meanwhile, when the fact that the editing area which is not selected by the user in the target document on the cloud server is edited and updated is detected, the updated editing area which is updated is converted into a byte stream and is loaded to the local operation end to update the target file in the local operation end; therefore, the online editing processing of one target document and a plurality of different users can be realized, and because the editing areas are different, the editing among the different users is not influenced; when each user edits online, the edited and updated content can be updated into a target document in time, and can be quickly updated into a target file loaded into one local operation end, so that users on other local operation ends can know the current editing condition of the target document in time; therefore, a plurality of users of the same target document can be edited and updated simultaneously, the updated content can be updated to the local operation terminal where the user is located in time, and the online editing efficiency is improved.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
In addition, the document online editing processing method and device based on the cloud server provided by the embodiment of the invention are described in detail, a specific embodiment is adopted to explain the principle and the implementation mode of the invention, and the description of the embodiment is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

CN202210735342.2A2022-06-272022-06-27Online document editing processing method and device based on cloud serverPendingCN114818619A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202210735342.2ACN114818619A (en)2022-06-272022-06-27Online document editing processing method and device based on cloud server

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202210735342.2ACN114818619A (en)2022-06-272022-06-27Online document editing processing method and device based on cloud server

Publications (1)

Publication NumberPublication Date
CN114818619Atrue CN114818619A (en)2022-07-29

Family

ID=82523148

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202210735342.2APendingCN114818619A (en)2022-06-272022-06-27Online document editing processing method and device based on cloud server

Country Status (1)

CountryLink
CN (1)CN114818619A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN115081404A (en)*2022-08-222022-09-20佳瑛科技有限公司Block chain-based shared document editing management method and device
CN115146598A (en)*2022-09-062022-10-04天津联想协同科技有限公司File collaborative editing method and device, network disk and storage medium
CN115344688A (en)*2022-10-182022-11-15北京国电通网络技术有限公司 Service data display method, device, electronic device and computer readable medium
CN115794252A (en)*2022-11-232023-03-14天翼电信终端有限公司 File management method based on cloud office system website plug-in
CN116738943A (en)*2023-08-142023-09-12佳瑛科技有限公司File content oriented sharing editing method and related device based on cloud server
CN118821216A (en)*2024-07-162024-10-22金钱猫科技股份有限公司 A file authorization method and terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102262620A (en)*2011-08-042011-11-30无锡永中软件有限公司Document cooperation method
US20120185759A1 (en)*2011-01-132012-07-19Helen BalinskySystem and method for collaboratively editing a composite document
CN114021531A (en)*2021-11-182022-02-08北京索为系统技术股份有限公司 Document collaborative editing method, device, electronic device and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20120185759A1 (en)*2011-01-132012-07-19Helen BalinskySystem and method for collaboratively editing a composite document
CN102262620A (en)*2011-08-042011-11-30无锡永中软件有限公司Document cooperation method
CN114021531A (en)*2021-11-182022-02-08北京索为系统技术股份有限公司 Document collaborative editing method, device, electronic device and storage medium

Cited By (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN115081404A (en)*2022-08-222022-09-20佳瑛科技有限公司Block chain-based shared document editing management method and device
CN115081404B (en)*2022-08-222022-11-15佳瑛科技有限公司Block chain-based shared document editing management method and device
CN115146598A (en)*2022-09-062022-10-04天津联想协同科技有限公司File collaborative editing method and device, network disk and storage medium
CN115344688A (en)*2022-10-182022-11-15北京国电通网络技术有限公司 Service data display method, device, electronic device and computer readable medium
CN115344688B (en)*2022-10-182022-12-23北京国电通网络技术有限公司Business data display method and device, electronic equipment and computer readable medium
CN115794252A (en)*2022-11-232023-03-14天翼电信终端有限公司 File management method based on cloud office system website plug-in
CN116738943A (en)*2023-08-142023-09-12佳瑛科技有限公司File content oriented sharing editing method and related device based on cloud server
CN118821216A (en)*2024-07-162024-10-22金钱猫科技股份有限公司 A file authorization method and terminal

Similar Documents

PublicationPublication DateTitle
CN114818619A (en)Online document editing processing method and device based on cloud server
US11238165B2 (en)File encryption method, file decryption method, electronic device, and storage medium
CN113378236B (en)Evidence data online security notarization platform and security method
US9014372B2 (en)Video file encryption and decryption method, device, and mobile terminal
US20090290708A1 (en)Generating and Securing Archive Keys
CN112632007B (en)Log storage and extraction method, device, equipment and storage medium
US11829498B2 (en)Real-time dynamic blockchain securitization platform
EP2778953A1 (en)Encoded-search database device, method for adding and deleting data for encoded search, and addition/deletion program
CN114186264A (en) Data random encryption and decryption method, device and system
WO2020044095A1 (en)File encryption method and apparatus, device, terminal, server, and computer-readable storage medium
CN111414635A (en)File encryption and decryption method, device, equipment and storage medium
CN113468599A (en)File storage certificate method, device, system, equipment and storage medium
CN114756887B (en) A method and device for encrypting and storing sensitive information blocks in files
RU2001128432A (en) Device for processing data and method for processing data
CN104239753A (en)Tamper detection method for text documents in cloud storage environment
KR102417814B1 (en)Electronic document management server that supports security settings for some content embedded in electronic documents based on member identification information and operating method thereof
CN113821820B (en)Method, device, medium and equipment for encrypting and decrypting resources in splitting mode
CN102855419A (en)Copyright protection method for data files of intelligent terminals
CN110378133B (en)File protection method and device, electronic equipment and storage medium
CN118862119A (en) Data security processing method and system
CN115136540A (en)Encryption method, terminal device, encryption system, and program
CN106471510A (en)Compound document accesses
CN118013553A (en)Method for encrypting text editing appointed content
CN111984941A (en) File processing method, device, terminal device and readable storage medium
CN115862895A (en)Online chronic disease inquiry management method and device based on Internet cloud platform

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication

Application publication date:20220729

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp