CN111539190A - Online document processing method and device, storage medium and equipment - Google Patents

Online document processing method and device, storage medium and equipment Download PDF

Info

Publication number
CN111539190A
CN111539190A CN202010637918.2A CN202010637918A CN111539190A CN 111539190 A CN111539190 A CN 111539190A CN 202010637918 A CN202010637918 A CN 202010637918A CN 111539190 A CN111539190 A CN 111539190A
Authority
CN
China
Prior art keywords
document
editing
time
loading request
module
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
CN202010637918.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.)
Beijing Lenovo Synergy Technology Co Ltd
Original Assignee
Beijing Lenovo Synergy 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 Beijing Lenovo Synergy Technology Co Ltd filed Critical Beijing Lenovo Synergy Technology Co Ltd
Priority to CN202010637918.2A priority Critical patent/CN111539190A/en
Publication of CN111539190A publication Critical patent/CN111539190A/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
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/126Character encoding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/194Calculation of difference between files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • 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)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Software Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Human Resources & Organizations (AREA)
  • Health & Medical Sciences (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Data Mining & Analysis (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The invention discloses an online document processing method, an online document processing device, a computer readable storage medium and equipment, wherein the online document processing method is applied to a file server and comprises the following steps: receiving a document loading request, wherein the loading request can show the editing operation time range of a document requested to be loaded; screening the editing records which accord with the time range from the editing record set of the document; and outputting the document content corresponding to the loading request according to the editing record. Therefore, when the contents of the two versions of the document are compared, the comparison of the full-text contents of the document is avoided, so that the comparison of the document contents can be realized without reloading the document contents of the two versions, the document comparison efficiency is improved to a great extent, the time selection of the document comparison is more flexible, and the document versions at any two times can be selected for document comparison.

Description

Online document processing method and device, storage medium and equipment
Technical Field
The present invention relates to information display technologies, and in particular, to an online document processing method, an online document processing apparatus, a computer-readable storage medium, and a computer-readable storage device.
Background
The online document supports a plurality of users to share the document, and the users can edit the document together. Typically, online documents change more frequently, and users often need to know about document changes between editing operations, such as: changes to the document in the time between editing operations, and users who make changes to the document.
Currently, when comparing documents of different versions only according to different versions stored by user operation, the online document adopts a method for comparing complete contents of two file contents. Therefore, when the content of the file is more, the problems of low processing efficiency and more data transmission are caused, and the content of the file at any two time points cannot be compared.
Disclosure of Invention
In order to solve the above problems in the online document processing process, embodiments of the present invention creatively provide an online document processing method, an online document processing apparatus, a computer-readable storage medium, and a device.
According to a first aspect of the present invention, there is provided an online document processing method applied to a file server, the method comprising: receiving a document loading request, wherein the loading request can show the editing operation time range of a document requested to be loaded; screening the editing records which accord with the time range from the editing record set of the document; and outputting the document content corresponding to the loading request according to the editing record.
According to an embodiment of the present invention, the filtering the edit records meeting the time range from the edit record set of the document includes: when the loading request shows that the loading of the content of a first historic document at a first set time is requested and the change of the first historic document relative to a second historic document at a second set time is displayed, determining the time range as a time period between the first set time and the second set time; and screening the editing records of the time period between the first set time and the second set time from the editing record set of the document.
According to an embodiment of the invention, the method further comprises: an edit record set is constructed according to the following operations: acquiring operation time and user information for editing a document; generating a unique code of the editing operation according to the operation time and the user information; determining an operation type of the editing operation; and constructing an editing record set of the document according to the operation type and the unique code.
According to a second aspect of the embodiments of the present invention, there is also provided an online document processing method applied to a client, the method including: sending a document loading request, wherein the loading request can show the editing operation time range of the document requested to be loaded; receiving document content corresponding to the loading request, wherein the document content is document content corresponding to the editing record which is obtained by screening from the editing record set of the document and accords with the time range; and converting and generating a display page of the document according to the received document content.
According to a third aspect of the embodiments of the present invention, there is also provided an online document processing apparatus applied to a server, the apparatus including: the document loading method comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving a document loading request, and the loading request can show an editing operation time range of a document requested to be loaded; the screening module is used for screening the editing records which accord with the time range from the editing record set of the document; and the output module is used for outputting the document content corresponding to the loading request according to the editing record.
According to an embodiment of the present invention, the screening module includes: a time determination sub-module which determines the time range as a time period between a first set time and a second set time when the loading request shows that the loading of the content of the first historic document at the first set time is requested and the change of the first historic document relative to the second historic document at the second set time is displayed; and the screening submodule is used for screening the editing records of the time period between the first set time and the second set time from the editing record set of the document.
According to an embodiment of the invention, the apparatus further comprises: a construction module for constructing an edit record set according to the following operations: acquiring operation time and user information for editing a document; generating a unique code of the operation according to the operation time and the user information; determining an operation type of the editing operation; and constructing an editing record set aiming at the document according to the operation type and the unique code.
According to a fourth aspect of the embodiments of the present invention, there is also provided an online document processing apparatus, applied to a client, the apparatus including: the device comprises a request module, a document loading module and a document processing module, wherein the request module is used for sending a document loading request which can show an editing operation time range of a document requested to be loaded; a content receiving module, configured to receive a document content corresponding to the loading request, where the document content is a document content corresponding to an editing record that is obtained by screening from an editing record set of the document and that conforms to the time range; and the conversion module is used for converting and generating the display page of the document according to the received document content.
According to a fifth aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, which includes a set of computer-executable instructions, when executed, for performing the above-mentioned online document processing method.
According to a sixth aspect of the embodiments of the present invention, there is also provided an apparatus, including at least one processor, and at least one memory and a bus connected to the processor; the processor and the memory complete mutual communication through a bus; the processor is used for calling program instructions in the memory so as to execute the online document processing method.
According to the online document processing method, the online document processing device, the computer readable storage medium and the equipment, the editing operation time range of the document requested to be loaded is shown through the loading request, the editing records conforming to the time range are screened from the editing record set of the document, and therefore the document content corresponding to the loading request is output according to the editing records. Therefore, when the contents of the two versions of the document are compared, the comparison of the full-text contents of the document is avoided, so that the comparison of the document contents can be realized without reloading the document contents of the two versions, the document comparison efficiency is improved to a great extent, the time selection of the document comparison is more flexible, and the document versions at any two times can be selected for document comparison.
It is to be understood that the teachings of the present invention need not achieve all of the above-described benefits, but rather that specific embodiments may achieve specific technical results, and that other embodiments of the present invention may achieve benefits not mentioned above.
Drawings
The above and other objects, features and advantages of exemplary embodiments of the present invention will become readily apparent from the following detailed description read in conjunction with the accompanying drawings. Several embodiments of the invention are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which:
in the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
FIG. 1 is a first flow chart illustrating an implementation of an online document processing method according to an embodiment of the present invention;
FIG. 2a is a diagram illustrating an exemplary processing procedure of an application of the online document processing method according to the embodiment of the present invention;
FIG. 2b is a diagram of an exemplary process of the application of the online document processing method according to the embodiment of the present invention;
FIG. 2c is a diagram of an exemplary process of the application of the online document processing method according to the embodiment of the present invention;
FIG. 3 is a flowchart illustrating a second implementation of the online document processing method according to the embodiment of the present invention;
FIG. 4 is a diagram illustrating a process of constructing an edit record set of a document according to an online document processing method;
FIG. 5 is a flow chart showing the third implementation of the online document processing method according to the embodiment of the present invention;
FIG. 6 is a diagram showing the first schematic block diagram of the online document processing device according to the embodiment of the present invention;
FIG. 7 is a diagram showing a second schematic diagram of the composition structure of an online document processing apparatus according to an embodiment of the present invention.
Detailed Description
The principles and spirit of the present invention will be described with reference to a number of exemplary embodiments. It is understood that these embodiments are given only to enable those skilled in the art to better understand and to implement the present invention, and do not limit the scope of the present invention in any way. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
The technical solution of the present invention is further elaborated below with reference to the drawings and the specific embodiments.
It should be noted that, the online document processing method according to the embodiment of the present invention is implemented based on a plurality of clients and a file server. The user can request to load the document and edit and store the document through the client. The file server responds to a loading request of the client, issues document content corresponding to the loading request, and the client receives the document content and loads the document content in a proper mode. After the client side can edit the document, the file name or the version number is determined, and the edited document is uploaded to the file server so as to store the edited document. The specific interaction process between the file server and the client is described in detail in the embodiment of the present invention with reference to the accompanying drawings.
FIG. 1 is a first flow chart illustrating an implementation of an online document processing method according to an embodiment of the present invention.
Referring to fig. 1, an online document processing method according to an embodiment of the present invention is applied to a file server, and at least includes the following operation flows: an operation 101 of receiving a document loading request, where the loading request can show an editing operation time range of a document requested to be loaded; operation 102, screening editing records meeting the time range from the editing record set of the document; and an operation 103 of outputting the document content corresponding to the load request according to the edit record.
In operation 101, a document load request is received, the load request being capable of showing an editing operation time range of a document requested to be loaded.
Specifically, the file server receives a document loading request from the client, and the loading request may be a request for loading document contents at a certain time point. Or on the basis of requesting to load the initial document, selecting the editing record of the document in a time period, and loading the document content after the editing in the time period. In addition, the loading request can also be the version number or the file name of the document, and the saving time of the document can be determined according to the version number or the file name, so that the editing operation time range of the document requested to be loaded shown by the loading request is between the initial uploading time of the document and the saving time of the document.
At operation 102, edit records conforming to a time range are filtered from the set of edit records of the document.
Specifically, the edit record can be divided into an add record and a delete record. The modified record may be recorded as a delete record and an add record. The adding record at least comprises adding time and adding content, and similarly, the deleting record at least comprises deleting content and deleting time. In operation 101, after the editing operation time range of the document requested to be loaded is determined, the editing records conforming to the time range can be filtered from the editing record set of the document by using a simple data filtering operation.
For example, an added record of a document made by a client can be represented by "p { id:1 addId:20190801-u1, … … }", the editing time is 2019.08.01, the editing user is u1, the edited paragraph is paragraph one of the document, and the editing type is added content. "p { id:2 delId:20190801-u3, … … }" represents the added record of the document made by the client, the editing time is 2019.08.01, the editing user is u3, the edited paragraph is paragraph two of the document, and the editing type is deleted content. The modified records of the primary document made by the client are represented by p { id:2 addId:20190801-u2, delId:20190802-u2, … … }, specifically, the added records and the deleted records of the primary document made by the passing client to paragraph two of the document are represented by a primary added record and a primary deleted record, the editing time of the added records is 2019.08.01, the editing time of the editing users is u2, the editing time of the deleted records is 2019.08.01, and the editing users are u 2.
In one embodiment of the invention, the editing records meeting the time range are screened from the editing record set of the document by the following operations: determining a time range as a time period between a first set time and a second set time when a loading request shows that the loading of the content of the first historic document at the first set time is requested and the change of the first historic document relative to the second historic document at the second set time is displayed; and filtering the editing records of the time period between the first set time and the second set time from the editing record set of the documents.
Specifically, the first set time and the second set time may be time points directly selected by the user or time points determined according to the version of the document selected by the user.
In operation 103, the document content corresponding to the load request is output according to the edit record.
The specific operations of operations 101-103 are further described below with reference to FIGS. 2a, 2b, and 2c in specific application examples.
Referring to fig. 2a, a user may select two different times or different versions of a document for comparison at a page of a client document editing system, request to load a comparison result of document contents, after receiving the load request, a server screens out data of a document editing record meeting a time requirement by using a file content service, and sends the data to the client, where the page of the client controls to display the document contents. For example: the loading request is a comparison result of two document versions (version 1 and version 2, where the previous saving may be the document version saved by the user through the client 1 or the document version saved by another client) requested to be loaded by the user through the client 1. And after receiving the loading request, the server determines the storage time of the version 1 and the version 2, and screens the editing records between the storage time of the version 1 and the storage time of the version 2 from the editing records stored by the server. The server outputs the document contents corresponding to the load request to the client 1 based on the screened editing record.
Referring to fig. 2b, the user is free to choose when and what versions of documents to compare, for example: 1. selecting two different versions of the document V1 and V2 for comparison, wherein the storage time of the version V1 is 2019.08.01, and the storage time of the version V2 is 2019.08.03; 2. comparing and selectively loading the document contents according to a time axis, namely determining two time points according to needs, namely comparing and loading the document contents; 3. a comparison of the document version history (e.g., V1) and the latest file contents is selected.
For example: the user may select version 1 (retention time 2019.08.03) and the latest content of the document (current time 2019.08.05), request loading of version 1, and show the change in the content of the document between the time of version 1 retention to the time of retention of the latest document content. It is also possible to request loading of the latest content of the document and show the change in the content of the document between the time of saving version 1 and the time of saving the latest document content.
Referring to fig. 2c, the server maintains a set of edit records for documents from 2019.08.01 to 2019.08.05, and the user needs to compare the contents of the documents at both times 2019.08.03 and 2019.08.05. The server firstly screens editing records of the documents between 2019.08.03-2019.08.05 according to a loading request of document content comparison of the client. As shown in the left side of fig. 2c, the file service content screening is performed, and all the document contents of version 1 which are not deleted before the saving date are selected, that is, the document contents of version 1. Then, the document editing record between the saving time of the version 1 and the saving time of the latest document content is screened out. The document is divided into two columns to display the document content according to the version storage time or the selected document editing time at the client according to the editing record set, and the document content comparison effect can be obtained by controlling the output display of the document content at different times according to the set time of each column.
For example: according to the edit record 'p { id:3 addId:20190802-u2, delId:20190804-u2, … … }', the content of paragraph three of the document is determined to be added by the user u2 at the time of 2019.08.02 and deleted by the user u2 at the time of 2019.08.04, so that the paragraph three of the document can be determined to be deleted by the user2 between the times of 2019.08.03-2019.08.05. According to the edit records of 'p { id:4 addId:20190804-u1, … … }' and 'p { id:5 addId:20190805-u2, … … }', determining that paragraph four of the document is the content of the user1 added at 2019.08.04 time, and paragraph five of the document is the content of the user2 added at 2019.08.05 time.
For "request to load version 1 and show the change of document content between the time of saving version 1 and the time of saving the latest document content", the content corresponding to the lower part of "version 1: 2019.08.03" on the right side in fig. 2c may be used for display, the added content after the date of saving version 1 (2019.08.03) is subjected to blank line occupation, and the deleted record after the date of saving version 1 (2019.08.03) is subjected to highlight display, so that the content of paragraph one is normally displayed, the content of paragraph three is highlighted or displayed with a specific color text, and the content of paragraph four and five is subjected to blank line occupation. Similarly, for "request to load the latest content of the document and show the change of the document content between the time of saving the latest document content in version 1", the corresponding content below "latest: 2019.08.05" on the right side in fig. 2c may be used for display, the deleted content after the date of saving in version 1 (2019.08.03) is not displayed, the empty space is occupied, and the added record after the date of saving in version 1 (2019.08.03) is highlighted. Therefore, the content of the paragraph one is normally displayed, the paragraph three is empty and occupies space, and the document contents of the paragraphs four and five are highlighted or displayed by characters with specific colors.
FIG. 3 is a flowchart illustrating a second implementation of the online document processing method according to the embodiment of the present invention.
Referring to fig. 3, the method for processing an online document according to the present invention at least further includes, on the basis of operations 101 to 103, constructing an edit record set according to the following operation procedures: operation 301, acquiring operation time and user information for performing editing operation on a document; operation 302, generating a unique code of the editing operation according to the operation time and the user information; operation 303, determining an operation type of the editing operation; and an operation 304 of constructing an edit record set of the document according to the operation type and the unique code. The embodiment shown in fig. 3 implements document processing based on operations 101 to 103, and the specific implementation process of the operations 101 to 103 refers to the specific implementation process of the embodiment shown in fig. 1, which is not described herein again.
In operations 301-304, a process for building an edit record set of a document is described, with specific examples below. Referring to fig. 4, the following operations are performed during editing of a document to generate an editing log:
(1) and generating a unique code- 'addId' based on the time stamp and the creator of the document element when the server adds the document page element, wherein the Id actually corresponds to the creation time and the user identification userId of the creator. For example: the user1 in client 1 on the left side of FIG. 4 corresponds to u1 for "p { ID:1 addId:20190801-u1, … … }" in the ID data stored in the server on the right side in FIG. 4.
(2) When page elements containing continuous contents are recorded and 'addId' is different, the page elements of the document need to be split. For example: in FIG. 4, a left-side user1 creates paragraph 2 at 2019-08-01 through a client 1, a user2 deletes paragraph 2 at 2019-08-02 through the client 2, and document page elements need to be split, and editing is recorded as "p { id:2 addId:20190801-u1, addId:20190802-u2 }".
It should be noted that, in the embodiment of the present invention, each of 2019-08-01 and 2019.08.01 indicates that the editing time of the document is 2019, 08 month and 01 day, and other expression forms may be adopted according to the requirement in an actual application example, which is not limited in the present invention.
(3) When the element is deleted from the document, the actual deletion operation is not carried out in the document, but a unique code- 'delId' based on the time stamp and the actual operation user (such as user1 and user 2) of the deletion operation is generated.
(4) And modifying the document content as two-step operation (deleting old element operation and adding new element operation) for editing record.
(5) And all contents of the file are divided into a plurality of document segments to be stored according to the codes of the adding or deleting operations, so that the same document segment can only correspond to one adding or deleting code.
In this way, a complete set of editing records can be formed for editing the document content.
FIG. 5 is a flow chart illustrating a third implementation of the online document processing method according to the embodiment of the present invention.
Referring to fig. 5, the online document processing method according to the embodiment of the present invention is applied to a client, and at least includes the following operations: operation 501, sending a document loading request, where the loading request can show an editing operation time range of a document requested to be loaded; operation 502, receiving a document content corresponding to the loading request, where the document content is a document content corresponding to an editing record conforming to a time range and obtained by screening from an editing record set of a document; and operation 503, converting and generating a display page of the document according to the received document contents.
In operation 501, a document load request is sent, the load request being able to show an editing operation time range of a document requested to be loaded. Specifically, referring to the above operation 101, the document loading request sent by the client is the document loading request received by the file server, which is not described herein again.
In operation 502, a document content corresponding to the loading request is received, where the document content is a document content corresponding to an edit record that matches the time range and is filtered from the edit record set of the document. Specifically, referring to the above detailed description of operation 103, the document content received by the client is the document content corresponding to the loading request output by the file server, and is not described herein again.
In operation 503, a display page of the document is converted and generated according to the received document content.
Specifically, the document content received in operation 502 corresponding to the loading request is a fragment of the document determined after the document is operated, and the conversion and generation of the document display page are basic functions of a client-side document editing system (for example, word software, Excel software, PDF editor, etc.), and are not described herein again.
According to the online document processing method, the online document processing device and the computer-readable storage medium, the editing operation time range of the document requested to be loaded is shown through the loading request, the editing records meeting the time range are screened from the editing record set of the document, and accordingly the document content corresponding to the loading request is output according to the editing records. Therefore, when the contents of the two versions of the document are compared, the comparison of the full-text contents of the document is avoided, so that the comparison of the document contents can be realized without reloading the document contents of the two versions, the document comparison efficiency is improved to a great extent, the time selection of the document comparison is more flexible, and the document versions at any two times can be selected for document comparison.
In addition, the online document processing method can support shared editing of the document. After a document is edited by multiple persons, for more frequent document changes, a user only needs to select time points of two editing processes to determine the document changes between the two editing processes, for example: changes in document content, user information to make the changes to the document, and the like. In addition, when the online electronic document is reviewed, the document change can be quickly and clearly identified according to two time points before and after review. Therefore, the data transmission speed of the document and the timeliness of document loading are effectively improved.
Similarly, based on the above online document processing method, an embodiment of the present invention further provides a computer-readable storage medium, in which a program is stored, and when the program is executed by a processor, the processor is caused to perform at least the following operation steps: an operation 101 of receiving a document loading request, where the loading request can show an editing operation time range of a document requested to be loaded; operation 102, screening editing records meeting the time range from the editing record set of the document; and an operation 103 of outputting the document content corresponding to the load request according to the edit record.
Further, based on the above online document processing method, an embodiment of the present invention further provides an online document processing apparatus, which is applied to a server, and as shown in fig. 6, the apparatus 60 includes: a receiving module 601, configured to receive a document loading request, where the loading request can show an editing operation time range of a document requested to be loaded; a screening module 602, configured to screen editing records that meet a time range from an editing record set of a document; and an output module 603 configured to output the document content corresponding to the loading request according to the editing record.
According to an embodiment of the present invention, the screening module 602 includes: a time determination sub-module that determines a time range as a time period between a first set time and a second set time when the load request shows that the loading of the content of the first historic document at the first set time is requested and the change of the first historic document relative to the second historic document at the second set time is displayed; and the screening submodule is used for screening the editing records of the time period between the first set time and the second set time from the editing record set of the document.
According to an embodiment of the invention, the apparatus 60 further comprises: a construction module for constructing an edit record set according to the following operations: acquiring operation time and user information for editing a document; generating a unique code of the operation according to the operation time and the user information; determining the operation type of the editing operation; and constructing an editing record set aiming at the document according to the operation type and the unique code.
Further, based on the above online document processing method, an embodiment of the present invention further provides an online document processing apparatus 70 applied to a client, as shown in fig. 7, where the apparatus 70 includes: a request module 701, configured to send a document loading request, where the loading request can show an editing operation time range of a document requested to be loaded; a content receiving module 702, configured to receive a document content corresponding to the loading request, where the document content is a document content corresponding to an editing record that is obtained by screening from an editing record set of a document and conforms to a time range; and a conversion module 703 for converting and generating a display page of the document according to the received document content.
Here, it should be noted that: the above description of the embodiment of the online document processing apparatus is similar to the description of the method embodiment shown in fig. 1 to 5, and has similar beneficial effects to the method embodiment shown in fig. 1 to 5, and therefore, the description is omitted. For technical details that are not disclosed in the embodiment of the online document processing apparatus of the present invention, please refer to the description of the method embodiment shown in fig. 1 to 5 of the present invention for understanding, and therefore, for brevity, will not be described again.
In addition, based on the above online document processing method, an embodiment of the present invention further provides a device, where the device includes at least one processor, and at least one memory and a bus connected to the processor; the processor and the memory complete mutual communication through a bus; the processor is used for calling the program instructions in the memory so as to execute the online document processing method.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of a unit is only one logical function division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units; can be located in one place or distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media that can store program codes, such as a removable Memory device, a Read Only Memory (ROM), a magnetic disk, or an optical disk.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods of the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a ROM, a magnetic or optical disk, or other various media that can store program code.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. An online document processing method applied to a file server, the method comprising:
receiving a document loading request, wherein the loading request can show the editing operation time range of a document requested to be loaded;
screening the editing records which accord with the time range from the editing record set of the document; and
and outputting the document content corresponding to the loading request according to the editing record.
2. The method of claim 1, wherein the filtering of the set of editing records of the document for the editing records that fit within the time range comprises:
when the loading request shows that the loading of the content of a first historic document at a first set time is requested and the change of the first historic document relative to a second historic document at a second set time is displayed, determining the time range as a time period between the first set time and the second set time; and
and screening the editing records of the time period between the first set time and the second set time from the editing record set of the document.
3. The method of claim 1, further comprising: an edit record set is constructed according to the following operations:
acquiring operation time and user information for editing a document;
generating a unique code of the editing operation according to the operation time and the user information;
determining an operation type of the editing operation; and
and constructing an editing record set of the document according to the operation type and the unique code.
4. An online document processing method applied to a client, the method comprising:
sending a document loading request, wherein the loading request can show the editing operation time range of the document requested to be loaded;
receiving document content corresponding to the loading request, wherein the document content is document content corresponding to the editing record which is obtained by screening from the editing record set of the document and accords with the time range; and
and converting and generating a display page of the document according to the received document content.
5. An online document processing device applied to a server, the device comprising:
the document loading method comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving a document loading request, and the loading request can show an editing operation time range of a document requested to be loaded;
the screening module is used for screening the editing records which accord with the time range from the editing record set of the document; and
and the output module is used for outputting the document content corresponding to the loading request according to the editing record.
6. The apparatus of claim 5, wherein the screening module comprises:
a time determination sub-module which determines the time range as a time period between a first set time and a second set time when the loading request shows that the loading of the content of the first historic document at the first set time is requested and the change of the first historic document relative to the second historic document at the second set time is displayed; and
and the screening submodule is used for screening the editing records of the time period between the first set time and the second set time from the editing record set of the document.
7. The apparatus of claim 5, further comprising:
a construction module for constructing an edit record set according to the following operations: acquiring operation time and user information for editing a document; generating a unique code of the operation according to the operation time and the user information; determining an operation type of the editing operation; and constructing an editing record set aiming at the document according to the operation type and the unique code.
8. An online document processing device applied to a client, the device comprising:
the device comprises a request module, a document loading module and a document processing module, wherein the request module is used for sending a document loading request which can show an editing operation time range of a document requested to be loaded;
a content receiving module, configured to receive a document content corresponding to the loading request, where the document content is a document content corresponding to an editing record that is obtained by screening from an editing record set of the document and that conforms to the time range; and
and the conversion module is used for converting and generating the display page of the document according to the received document content.
9. A computer-readable storage medium comprising a set of computer-executable instructions that, when executed, perform the online document processing method of any of claims 1-4.
10. A device comprising at least one processor, and at least one memory, bus connected with the processor; the processor and the memory complete mutual communication through a bus; the processor is configured to invoke program instructions in the memory to perform the online document processing method of any of claims 1-4.
CN202010637918.2A 2020-07-06 2020-07-06 Online document processing method and device, storage medium and equipment Pending CN111539190A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010637918.2A CN111539190A (en) 2020-07-06 2020-07-06 Online document processing method and device, storage medium and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010637918.2A CN111539190A (en) 2020-07-06 2020-07-06 Online document processing method and device, storage medium and equipment

Publications (1)

Publication Number Publication Date
CN111539190A true CN111539190A (en) 2020-08-14

Family

ID=71979765

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010637918.2A Pending CN111539190A (en) 2020-07-06 2020-07-06 Online document processing method and device, storage medium and equipment

Country Status (1)

Country Link
CN (1) CN111539190A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112131832A (en) * 2020-09-28 2020-12-25 北京字跳网络技术有限公司 Method and device for reminding task state of online document and electronic equipment
CN115859246A (en) * 2023-02-16 2023-03-28 天津联想协同科技有限公司 Online document authority control method, device, server and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100083136A1 (en) * 2008-09-29 2010-04-01 International Business Machines Corporation Joint editing of an on-line document
CN106021561A (en) * 2016-05-30 2016-10-12 中国南方电网有限责任公司 Page form processing method and device
US20180260166A1 (en) * 2015-11-09 2018-09-13 Nexwriter Limited Portion-Based Document Printing Options
CN110609779A (en) * 2019-08-20 2019-12-24 腾讯科技(深圳)有限公司 Data processing method and device, electronic equipment and computer readable storage medium
CN110968994A (en) * 2019-10-20 2020-04-07 武汉烽火信息集成技术有限公司 Document online editing method and server
CN111104777A (en) * 2018-10-26 2020-05-05 珠海金山办公软件有限公司 Document editing method and device, computer storage medium and terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100083136A1 (en) * 2008-09-29 2010-04-01 International Business Machines Corporation Joint editing of an on-line document
US20180260166A1 (en) * 2015-11-09 2018-09-13 Nexwriter Limited Portion-Based Document Printing Options
CN106021561A (en) * 2016-05-30 2016-10-12 中国南方电网有限责任公司 Page form processing method and device
CN111104777A (en) * 2018-10-26 2020-05-05 珠海金山办公软件有限公司 Document editing method and device, computer storage medium and terminal
CN110609779A (en) * 2019-08-20 2019-12-24 腾讯科技(深圳)有限公司 Data processing method and device, electronic equipment and computer readable storage medium
CN110968994A (en) * 2019-10-20 2020-04-07 武汉烽火信息集成技术有限公司 Document online editing method and server

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112131832A (en) * 2020-09-28 2020-12-25 北京字跳网络技术有限公司 Method and device for reminding task state of online document and electronic equipment
CN115859246A (en) * 2023-02-16 2023-03-28 天津联想协同科技有限公司 Online document authority control method, device, server and storage medium

Similar Documents

Publication Publication Date Title
JP3692054B2 (en) Document structure conversion method, document structure conversion apparatus, and program
CN103907110A (en) Document collaboration
CN102098211B (en) Service Mashup method for dynamic cooperation of client and server, server and client
CN107679417B (en) Method and system for managing user operation authority
JP2010530589A (en) Integrated sharing of electronic documents
CN111818175B (en) Enterprise service bus configuration file generation method, device, equipment and storage medium
US11182745B2 (en) Data processing apparatus, data processing system, data processing method, and non-transitory computer readable medium
US10747728B2 (en) Edit and share unsupported files through instantly generated preview
JP5069794B2 (en) Application development support apparatus, program, and recording medium
CN111539190A (en) Online document processing method and device, storage medium and equipment
JP2008083884A (en) Information processing system and information processing program
CN104011698A (en) Access to supplemental data based on identifier derived from corresponding primary application data
CN112632919A (en) Document editing method and device, computer equipment and storage medium
JP4817932B2 (en) Information processing apparatus, display control method, and program
US20060095449A1 (en) Data managing method, data managing system data managing apparatus, data handling apparatus, computer program, and recording medium
CN111209727A (en) Picture processing method and device, electronic equipment and storage medium
CN113688612A (en) Multimodal sharing of content between documents
US10496708B2 (en) System and method for interactive visual representation of metadata within a networked heterogeneous workflow environment
JPH08123714A (en) System for concentrically converting file format
KR101075023B1 (en) Method for Managing history of document using Link Document and System thereof
CN114281463A (en) Form interface format configuration and interface display method, equipment and medium
US11080238B2 (en) System and method for interactive visual representation of metadata within a networked heterogeneous workflow environment
KR100558268B1 (en) Album publishing system and the method using internet
CN104796570A (en) Communication control method in image forming system, and image forming system
JP6115664B2 (en) Information processing apparatus and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200814