CN109408284A - Online document restoration methods and its device, equipment, storage medium - Google Patents

Online document restoration methods and its device, equipment, storage medium Download PDF

Info

Publication number
CN109408284A
CN109408284A CN201811027376.6A CN201811027376A CN109408284A CN 109408284 A CN109408284 A CN 109408284A CN 201811027376 A CN201811027376 A CN 201811027376A CN 109408284 A CN109408284 A CN 109408284A
Authority
CN
China
Prior art keywords
document
identification
online
online document
recovery
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.)
Granted
Application number
CN201811027376.6A
Other languages
Chinese (zh)
Other versions
CN109408284B (en
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.)
Tianjin ByteDance Technology Co Ltd
Original Assignee
Tianjin ByteDance 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 Tianjin ByteDance Technology Co Ltd filed Critical Tianjin ByteDance Technology Co Ltd
Priority to CN201811027376.6A priority Critical patent/CN109408284B/en
Publication of CN109408284A publication Critical patent/CN109408284A/en
Application granted granted Critical
Publication of CN109408284B publication Critical patent/CN109408284B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1464Management of the backup or restore process for networked environments

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention proposes a kind of online document restoration methods, wherein method includes: to receive the recovery request instruction for carrying document identification, and the historical record of terminal device is inquired according to document identification;New Document retrieval prompt information corresponding with document identification is shown to user;It obtains user to be instructed according to the recovery that new Document retrieval prompt information is fed back, new document links corresponding with document identification is generated according to locally store information, so that user accesses the online document after restoring.Hereby it is achieved that recovery of the document content of online editing in the case where server can not be saved in.The embodiment of the present invention also proposes a kind of online document recovery device, a kind of electronic equipment, a kind of non-transient storage media.

Description

Online document restoration methods and its device, equipment, storage medium
Technical field
The present invention relates to technical field more particularly to a kind of online document restoration methods and its device, equipment, storage Jie Matter.
Background technique
Currently, more and more enterprise staffs begin to use online document, content is stored in service automatically by online document On device, it is not necessarily to user's operation.
It in the prior art, should when fortuitous event occur and causing the document content of online editing that can not be saved in server Document content will be lost, and can not restore, influence working efficiency, in some instances it may even be possible to the document content that can not be retrieved be caused to lose.
Summary of the invention
The present invention is directed to solve at least some of the technical problems in related technologies.
For this purpose, the first purpose of this invention is to propose a kind of online document restoration methods, to realize online editing Recovery of the document content in the case where server can not be saved in.
Second object of the present invention is to propose a kind of online document recovery device.
Third object of the present invention is to propose a kind of electronic equipment.
Fourth object of the present invention is to propose a kind of non-transient storage media.
In order to achieve the above object, the online document restoration methods of first aspect present invention embodiment, comprising: receive and carry document The recovery request of mark instructs, and the historical record of the terminal device is inquired according to the document identification, wherein the history note Record includes: locally store information;New Document retrieval prompt information corresponding with the document identification is shown to user, wherein institute State the online document content saved when meeting preset condition in editing mode in locally store information;Obtain user's root According to the recovery instruction of the new Document retrieval prompt information feedback, generated and the document identification according to the locally store information Corresponding new document links, so that the user accesses the online document after restoring.
In addition, the online document restoration methods of the embodiment of the present invention, also have following additional technical characteristic:
It optionally, will when monitoring that the online document on terminal device in editing mode meets the preset condition The online document content is saved in the terminal device.
Optionally, described to monitor that the online document on terminal device in editing mode meets the preset condition When, the online document content is saved in the terminal device, comprising: the generation of the page where monitoring the online document The online document content in the event of failure, is saved in the terminal device by code;And/or when monitoring the online document institute In the plug-in unit and the incompatible document of browser, the online document content is saved in the terminal device;And/or When monitoring network connectivity fai_lure, the online document content is saved in the terminal device.
Optionally, when monitoring on terminal device that the online document in editing mode meets preset server and protect When depositing condition, the online document content uploading to server is saved.
Optionally, the historical record further includes server storage information, during recoverys instructs further include: failure mark Know;The method also includes: preset failed storage information is inquired, storage equipment mark corresponding with the failure identification is obtained Know;It is known as that mark is locally stored according to the storage device identification, then the historical record is inquired according to the document identification In locally store information;It is known as server storage mark according to the storage device identification, then according to the document identification Inquire the server storage information in the historical record.
Optionally, before showing new Document retrieval prompt information corresponding with the document identification to user described, also It include: that local storing path corresponding with the document identification is obtained in the locally store information;It is described according to described Ground stores information and generates corresponding with the document identification new document links, comprising: generated according to the local storing path and The corresponding new document links of the document identification.
The online document recovery device of second aspect of the present invention embodiment, comprising: receiving module carries document for receiving The recovery request of mark instructs, and the historical record of the terminal device is inquired according to the document identification, wherein the history note Record includes: locally store information;Restore display module, for showing new Document retrieval corresponding with the document identification to user Prompt information, wherein saved in the locally store information in online document when meeting preset condition in editing mode Hold;Generation module is instructed for obtaining the user according to the recovery of the new Document retrieval prompt information feedback, according to described Locally store information generates new document links corresponding with the document identification, so that online after user access recovery Document.
The electronic equipment of third aspect present invention embodiment, comprising: memory, processor and storage are on a memory and can The computer program run on a processor when the processor executes described program, is realized as described in preceding method embodiment Online document restoration methods.
The non-transient storage media of fourth aspect present invention embodiment, is stored thereon with computer program, which is located Manage the online document restoration methods realized as described in preceding method embodiment when device executes.
Technical solution provided in an embodiment of the present invention may include it is following the utility model has the advantages that
After receiving the recovery request instruction for carrying document identification, the historical record of terminal device is inquired according to document identification, Online document content when meeting preset condition in editing mode is wherein saved, is shown to user corresponding with document identification New Document retrieval prompt information.The recovery instruction that user feed back according to new Document retrieval prompt information is obtained, according to being locally stored Information generates new document links corresponding with document identification, so that user accesses the online document after restoring.It will be unable to save In the historical record for being stored in terminal device to the online document content in editing mode of server, allow users to lead to Online document after crossing the new document links access recovery of locally store information generation, the document content for realizing online editing exist The recovery in the case where server can not be saved in.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partially become from the following description Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, in which:
Fig. 1 is a kind of flow diagram of online document restoration methods provided by the embodiment of the present invention;
Fig. 2 is to be illustrated provided by the embodiment of the present invention according to the process that document identification inquires the historical record of terminal device Figure;
Fig. 3 is a kind of structural schematic diagram of online document recovery device provided by the embodiment of the present invention;
Fig. 4 is the schematic diagram for illustrating the non-transient storage media of embodiment according to the present invention;
Fig. 5 is the hardware structural diagram for illustrating electronic equipment according to an embodiment of the present invention.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, it is intended to is used to explain the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings the method and device thereof, equipment, storage medium of the embodiment of the present invention are described.
It is recognised that existing online document does not have Restoration Mechanism in description based on the above-mentioned prior art, that is, work as appearance When fortuitous event causes the content of editor that can not be saved in server, it may appear that the loss of document content.Therefore, prior art side Case cannot achieve the recovery of fortuitous event Documents content.
In the embodiment of the present invention, obtains user and instructed according to the recovery that new Document retrieval prompt information is fed back, according to local It stores information and generates new document links corresponding with document identification, so that user accesses the online document after restoring.It will be unable to The online document content in editing mode for being saved in server is stored in the historical record of terminal device, is enabled a user to Online document after enough new document links access recoveries generated by locally store information, realizes in the document of online editing Hold the recovery in the case where server can not be saved in.
Specifically, Fig. 1 is a kind of flow diagram of online document restoration methods provided by the embodiment of the present invention, this reality Applying method provided by example can be executed by browser, or the other applications for edit line document execute.It executes The application program of the present embodiment institute providing method may operate in PC (Personal Computer, personal computer) end, ability Field technique personnel could be aware that the end PC is only a kind of possible implementation, which is equally applicable to other electronics and sets It is standby, such as: mobile phone, smart phone, laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD (plate Computer), PMP (portable media player), navigation device, vehicle electronic device, car-mounted display electronics, vehicle electronics backsight The stationary electronic devices of the mobile electronic device of mirror etc. and such as number TV etc..
As shown in Figure 1, the online document restoration methods include:
S101 receives the recovery request instruction for carrying document identification, is remembered according to the history that document identification inquires terminal device Record.
Wherein, historical record includes: locally store information.
Specifically, document identification is unique, can be document title, document code, document cryptographic Hash and other letters The result etc. of several pairs of document operations.
It should be strongly noted that the recovery request instruction for receiving carrying document identification can under different application scenarios To be diversified forms, it is exemplified below:
The first is possible to be achieved in that, browser or other applications interface in display online document content, Receive the click commands of specified function key.
Second possible to be achieved in that, the voice input module of terminal device, receives and restores online document content Phonetic order, such as " restore document XX ", XX is the mark of document.
The third is possible to be achieved in that, browser or other applications interface in display online document content, Code command or specific character instruction are received in online document content.
4th kind possible to be achieved in that, browser or other applications interface in display online document content, Receive the preset combination button instruction of keyboard input.
5th kind possible to be achieved in that, browser or other applications interface in display online document content, Receive the preset path instructions of mouse or touch tablet, touch screen.
6th kind possible to be achieved in that, preset recovery instruction is received in system command executive " recoverXX ", wherein XX is the mark of document.
In addition to the above-mentioned form of expression, the recovery request instruction for carrying document identification is received, can also be above several shapes The combination of formula does not limit this in the present embodiment.
It should be understood that there are many possible modes for the historical record of terminal device, online document content can be Holding time, operation user when online document content saves, online document content occupy the size of memory space, online document The storing path etc. of content can also be the combination of above several forms, not limit this in the present embodiment.Wherein, local Storage information is the corresponding historical record of online document content for being saved in terminal device.
It is emphasized that in different situations, the online document content on terminal device can be saved in terminal and set It is standby or be uploaded to server preservation.
It is a kind of to monitor that the online document on terminal device in editing mode meets preset clothes it might be that working as When device preservation condition of being engaged in, online document content uploading to server is saved.Wherein, preset server preservation condition can be The time interval saved with the last time reaches preset threshold value, and the variation for the content that online document content is saved with the last time reaches Preset threshold value receives the instruction etc. saved to server.
Alternatively possible situation is to preset item when monitoring that the online document on terminal device in editing mode meets When part, online document content is saved in terminal device.Wherein, preset condition includes but is not limited to following situations:
The first situation, in the event of failure, online document content is saved for the code of the page where monitoring online document To terminal device.
Second situation, where monitoring online document when the plug-in unit and incompatible document of browser, by online document Content is saved in terminal device.
Online document content is saved in terminal device when monitoring network connectivity fai_lure by the third situation.
Online document content is saved in terminal device when monitoring server without response by the 4th kind of situation.
In addition to above situation, it can also be the combination of above several situations, do not limited this in the present embodiment.
It might be that another is when monitoring terminal device failure, but editing mode is on terminal device Online document when being still able to satisfy preset server preservation condition, online document content uploading to server is saved.Wherein, The type of failure may be that page load is not complete, and messy code, compulsory withdrawal present procedure etc. occurs in the page.
It should be understood that historical record in S101 can also include that server stores information, for being saved in terminal Equipment and the online document content for being uploaded to server preservation, corresponding historical record is respectively locally store information and server Store information.
By the above-mentioned description to online document content preservation and historical record, it is recognised that when terminal device breaks down When, according to the difference of fault type, online document content may be saved in terminal device, it is also possible to be uploaded to server preservation. In order to determine that the corresponding historical record of document identification is locally store information or server storage information, a kind of possible realization Mode is, further includes failure identification in recovery request instruction.It should be understood that when failure identification is that terminal device breaks down It automatically generates, it is corresponding with online document content, document identification, for the online text not broken down during online editing Shelves content, is not present corresponding failure identification.
Fig. 2 is to be illustrated provided by the embodiment of the present invention according to the process that document identification inquires the historical record of terminal device Figure inquires the historical record of terminal device as shown in Fig. 2, being based on method flow shown in FIG. 1 according to document identification in S101 Sub-step specifically includes:
S201 inquires preset failed storage information, obtains storage device identification corresponding with failure identification.
Specifically, preset failed storage information includes the corresponding relationship of failure identification and storage device identification, failure mark Know and automatically generated when monitoring that terminal device breaks down according to fault type, failure identification, which can be divided into, is locally stored mark Mark two major classes are stored with server.
Further, mark, which is locally stored, to be finely divided according to the corresponding fault type of failure identification, according to page generation Code failure, plug-in unit be incompatible, network connectivity fai_lure, server carry out the refinement of failure identification without fault types such as responses.
It should be strongly noted that the failure identification after refinement can correspond to different local storing paths.It should be understood that , different faults type and the online document content that is locally saved can be stored under different local storing paths, By counting the quantity of the online document content under different paths, that is, it can be appreciated that the fault type that terminal device often occurs, mention Awake user repairs failure in time.
Similar, server storage mark can also be finely divided according to the corresponding fault type of failure identification, herein no longer It repeats.
S202 is known as that mark is locally stored according to storage device identification, then according in document identification query history record Locally store information.
S203 is known as server storage mark according to storage device identification, is then recorded according to document identification query history In server store information.
Illustrate for greater clarity according to document identification inquire terminal device historical record process, below into Row for example:
The first situation, user carry out the editor of online document in a browser, and unexpected browser is forced to exit, but The failure does not influence online document content uploading to server and saves.User opens browser next time, and input recovery request refers to It enables, has been determined that the online document content has been uploaded to server according to failure identification, further, has been inquired according to document identification Server in historical record stores information, finds online document content under the compulsory withdrawal failure storing path of server Storing path.
Second situation, user carry out the editor of online document in a browser, network connectivity fai_lure, online document occur Content can not be uploaded to server preservation, and online document content is saved in terminal device.User checks online document next time When content, browser is opened, input recovery request instruction has determined that the online document content is saved in end according to failure identification End equipment, further, according to the locally store information in document identification query history record, from local network connectivity fai_lure The storing path of online document content is found under storing path.
S102 shows new Document retrieval prompt information corresponding with document identification to user.
Wherein, online document content when meeting preset condition in editing mode is saved in locally store information.
It should be understood that editing mode will be at that time if the case where meeting preset condition has occurred before Online document content is saved in terminal device, extensive in order to prompt user to carry out the online document content for being stored in terminal device It is multiple, then the recovery prompt information of new document is shown to user.
S103 obtains user and is instructed according to the recovery that new Document retrieval prompt information is fed back, raw according to locally store information At new document links corresponding with document identification, so that user accesses the online document after restoring.
Wherein, restore to show new Document retrieval prompt information corresponding with document identification to user in instruction needs and S102 Mode match.
It should be noted that showing new Document retrieval prompt information corresponding with document identification to user, display mode can To be pop-up, dialog box, voice, picture, animation etc., the combination of above several forms can also be, in the present embodiment not to this It limits.
The first is possible to be achieved in that, pops up pop-up, the online document content of local old version is provided in pop-up Preview, ask the user whether local old version being restored to new document, then the recovery fed back instruction be restore in pop-up to The clicking operation of new document key.
Second possible to be achieved in that, pops up dialog box, is asked the user whether in dialog box by local history version Originally it is restored to new document, then the recovery instruction fed back is that the clicking operation of key is confirmed in dialog box.
The third is possible to be achieved in that, asks the user whether local old version being restored to new text by voice Shelves, then the recovery instruction fed back is the phonetic order for agreeing to restore.
4th kind possible to be achieved in that, pops up picture or animation, represents the figure for returning to old version by showing Piece or animation ask the user whether local old version being restored to new document, then the recovery instruction fed back be to picture or The operational order for agreeing to restore is represented in person's animation.
It is emphasized that having very in such a way that locally store information generates new document links corresponding with document identification It is a variety of.One kind is possible to be achieved in that, before showing new Document retrieval prompt information corresponding with document identification to user, Local storing path corresponding with document identification is obtained in locally store information, according to the generation of local storing path and document identification Corresponding new document links.Alternatively possible is achieved in that, shows new Document retrieval corresponding with document identification to user Before prompt information, the compressed data of online document content corresponding with document identification is obtained in locally store information, will be pressed Contracting data decompression is condensed to a transient document, generates new document links corresponding with document identification according to the transient document.
It, can be using dialog box, mail, short it should be understood that new document links show there are many modes of user The modes such as letter, IM (Instant Messaging, instant messaging) message, can also be the combination of the above several ways, this implementation It is not limited this in example.
It is emphasized that the online document after restoring can cover the online document for being currently at editing mode, may be used also To generate an independent document, coexisted with the online document for being currently at editing mode.
In conclusion online document restoration methods provided by the embodiment of the present invention, receive the recovery for carrying document identification Request instruction inquires the historical record of terminal device according to document identification, shows new document corresponding with document identification to user Restore prompt information.User is obtained to be instructed according to the recovery that new Document retrieval prompt information is fed back, it is raw according to locally store information At new document links corresponding with document identification, so that user accesses the online document after restoring.Hereby it is achieved that online compile Recovery of the document content collected in the case where server can not be saved in.
In order to realize above-described embodiment, the embodiment of the present invention also proposes that a kind of online document recovery device, Fig. 3 are the present invention A kind of structural schematic diagram of online document recovery device provided by embodiment, as shown in figure 3, the online document recovery device packet Include: receiving module 110 restores display module 120, generation module 130.
Receiving module 110 is inquired terminal according to document identification and is set for receiving the recovery request instruction for carrying document identification Standby historical record, wherein historical record includes: locally store information.
Restore display module 120, for showing new Document retrieval prompt information corresponding with document identification to user, In, online document content when meeting preset condition in editing mode is saved in locally store information.
Generation module 130 is instructed for obtaining user according to the recovery that new Document retrieval prompt information is fed back, according to local It stores information and generates new document links corresponding with document identification, so that user accesses the online document after restoring.
It should be noted that aforementioned be also applied for the implementation to the explanation based on online document restoration methods embodiment The online document recovery device of example, details are not described herein again.
In conclusion online document recovery device provided by the embodiment of the present invention, receives the recovery for carrying document identification Request instruction inquires the historical record of terminal device according to document identification, shows new document corresponding with document identification to user Restore prompt information.User is obtained to be instructed according to the recovery that new Document retrieval prompt information is fed back, it is raw according to locally store information At new document links corresponding with document identification, so that user accesses the online document after restoring.Hereby it is achieved that online compile Recovery of the document content collected in the case where server can not be saved in.
In order to realize above-described embodiment, the embodiment of the present invention also proposes a kind of non-transient storage media, is stored thereon with meter Calculation machine program realizes the online document restoration methods as described in preceding method embodiment when the program is executed by processor.
Fig. 4 is the schematic diagram for illustrating the non-transient storage media of embodiment according to the present invention.As shown in figure 4, according to this The non-transient storage media 300 of inventive embodiments, is stored thereon with non-transient computer readable instruction 301.When the non-transient meter When calculation machine readable instruction 301 is run by processor, the complete of the online document restoration methods of various embodiments of the present invention above-mentioned is executed Portion or part steps.
In order to realize above-described embodiment, the embodiment of the present invention also proposes a kind of electronic equipment, comprising: memory, processor And the computer program that can be run on a memory and on a processor is stored, when the processor executes described program, realize Online document restoration methods as described in preceding method embodiment.
Fig. 5 is the hardware structural diagram for illustrating electronic equipment according to an embodiment of the present invention.Electronic equipment can be with each Kind of form is implemented, and the electronic equipment in the present invention can include but is not limited to such as mobile phone, smart phone, notebook electricity Brain, PDA (personal digital assistant), PAD (tablet computer), PMP (portable media player), is led at digit broadcasting receiver The mobile electronic device of boat device, vehicle electronic device, car-mounted display electronics, vehicle electronics rearview mirror etc. and such as number The stationary electronic devices of TV, desktop computer etc..
As shown in figure 5, electronic equipment 1100 may include wireless communication unit 1110, A/V (audio/video) input unit 1120, user input unit 1130, sensing unit 1140, output unit 1150, memory 1160, interface unit 1170, control Device 1180 and power supply unit 1190 etc..Fig. 5 shows the electronic equipment with various assemblies, it should be understood that not It is required that implementing all components shown.More or fewer components can alternatively be implemented.
Wherein, wireless communication unit 1110 allows the radio between electronic equipment 1100 and wireless communication system or network Communication.A/V input unit 1120 is for receiving audio or video signal.What user input unit 1130 can be inputted according to user Order generates key input data with the various operations of controlling electronic devices.Sensing unit 1140 detects the current of electronic equipment 1100 State, the position of electronic equipment 1100, user take the presence or absence of touch input of electronic equipment 1100, electronic equipment 1100 Acceleration or deceleration to, electronic equipment 1100 is mobile and direction etc., and generates the operation for being used for controlling electronic devices 1100 Order or signal.Interface unit 1170 be used as at least one external device (ED) connect with electronic equipment 1100 can by connect Mouthful.Output unit 1150 is configured to provide output signal with vision, audio and/or tactile manner.Memory 1160 can be deposited The software program etc. of processing and control operation that storage is executed by controller 1180, or can temporarily store oneself through output or The data that will be exported.Memory 1160 may include the storage medium of at least one type.Moreover, electronic equipment 1100 can be with It cooperates with the network storage device for the store function for executing memory 1160 by network connection.The usually control electricity of controller 1180 The overall operation of sub- equipment.In addition, controller 1180 may include for reproducing or the multi-media module of multimedia playback data. The handwriting input executed on the touchscreen or picture can be drawn input and be known by controller 1180 with execution pattern identifying processing It Wei not character or image.Power supply unit 1190 receives external power or internal power and is provided under the control of controller 1180 Operate electric power appropriate needed for each element and component.
The various embodiments of online document restoration methods proposed by the present invention can be to use such as computer software, hard The computer-readable medium of part or any combination thereof is implemented.Hardware is implemented, online document recovery side proposed by the present invention The various embodiments of method can be believed by using application-specific IC (ASIC), digital signal processor (DSP), number It is number processing unit (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), processor, controller, micro- Controller, microprocessor is designed to execute at least one of electronic unit of function described herein to implement, some In the case of, the various embodiments of online document restoration methods proposed by the present invention can be implemented in controller 1180.For Software implementation, the various embodiments of online document restoration methods proposed by the present invention can with allow to execute at least one function Or the individual software module of operation is implemented.Software code can be by the software application write with any programming language appropriate Program (or program) is implemented, and software code can store in memory 1160 and executed by controller 1180.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should Computer software product can store in non-transient storage media, as magnetic disk, CD, read-only memory (ROM) or with Machine storage memory (RAM) etc., including some instructions are used so that a computer equipment (can be personal computer, take Business device or the network equipment etc.) execute method described in certain parts of each embodiment or embodiment.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features; And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and Range.

Claims (9)

1. a kind of online document restoration methods, which comprises the following steps:
The recovery request instruction for carrying document identification is received, is remembered according to the history that the document identification inquires the terminal device Record, wherein the historical record includes: locally store information;
New Document retrieval prompt information corresponding with the document identification is shown to user, wherein in the locally store information Save online document content when meeting preset condition in editing mode;
It obtains the user to be instructed according to the recovery of the new Document retrieval prompt information feedback, according to the locally store information New document links corresponding with the document identification are generated, so that the user accesses the online document after restoring.
2. the method as described in claim 1, which is characterized in that further include:
When monitoring that the online document on terminal device in editing mode meets the preset condition, by the online document Content is saved in the terminal device.
3. method according to claim 2, which is characterized in that described when monitoring to exist on terminal device in editing mode When on-line documentation meets the preset condition, the online document content is saved in the terminal device, comprising:
The online document content in the event of failure, is saved in the end by the code of the page where monitoring the online document End equipment;And/or
Where monitoring the online document when plug-in unit and the incompatible document of browser, by the online document content It is saved in the terminal device;And/or
When monitoring network connectivity fai_lure, the online document content is saved in the terminal device.
4. the method as described in claim 1, which is characterized in that
It, will when monitoring that the online document in editing mode meets preset server preservation condition on terminal device The online document content uploading to server saves.
5. the method as described in claim 1, which is characterized in that the historical record further includes server storage information, described Restore in instruction further include: failure identification;The method also includes:
Preset failed storage information is inquired, storage device identification corresponding with the failure identification is obtained;
It is known as that mark is locally stored according to the storage device identification, then the historical record is inquired according to the document identification In locally store information;
It is known as server storage mark according to the storage device identification, then the history is inquired according to the document identification and remembered Server in record stores information.
6. the method as described in claim 1, which is characterized in that it is described show to user it is corresponding with the document identification new Before Document retrieval prompt information, further includes:
Local storing path corresponding with the document identification is obtained in the locally store information;
It is described that new document links corresponding with the document identification are generated according to the locally store information, comprising:
New document links corresponding with the document identification are generated according to the local storing path.
7. a kind of online document recovery device characterized by comprising
Receiving module inquires the terminal according to the document identification for receiving the recovery request instruction for carrying document identification The historical record of equipment, wherein the historical record includes: locally store information;
Restore display module, for showing new Document retrieval prompt information corresponding with the document identification to user, wherein institute State the online document content saved when meeting preset condition in editing mode in locally store information;
Generation module is instructed for obtaining the user according to the recovery of the new Document retrieval prompt information feedback, according to institute State locally store information and generate corresponding with the document identification new document links so that after user access recovery On-line documentation.
8. a kind of electronic equipment characterized by comprising memory, processor and storage are on a memory and can be in processor The computer program of upper operation when the processor executes described program, is realized as claimed in any one of claims 1 to 6 online Document recovery method.
9. a kind of non-transient storage media, is stored thereon with computer program, which is characterized in that when the program is executed by processor Realize such as online document restoration methods as claimed in any one of claims 1 to 6.
CN201811027376.6A 2018-09-04 2018-09-04 Online document recovery method and device, equipment and storage medium thereof Active CN109408284B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811027376.6A CN109408284B (en) 2018-09-04 2018-09-04 Online document recovery method and device, equipment and storage medium thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811027376.6A CN109408284B (en) 2018-09-04 2018-09-04 Online document recovery method and device, equipment and storage medium thereof

Publications (2)

Publication Number Publication Date
CN109408284A true CN109408284A (en) 2019-03-01
CN109408284B CN109408284B (en) 2020-11-20

Family

ID=65463852

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811027376.6A Active CN109408284B (en) 2018-09-04 2018-09-04 Online document recovery method and device, equipment and storage medium thereof

Country Status (1)

Country Link
CN (1) CN109408284B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110569492A (en) * 2019-09-09 2019-12-13 中国工商银行股份有限公司 Online document generation method with attachment and server
CN110968994A (en) * 2019-10-20 2020-04-07 武汉烽火信息集成技术有限公司 Document online editing method and server
CN112835849A (en) * 2021-02-01 2021-05-25 读书郎教育科技有限公司 Method for rapidly and greatly reducing volume of design document
CN113392070A (en) * 2021-07-07 2021-09-14 百果园技术(新加坡)有限公司 Online document management method, device, system, equipment and storage medium
CN114791996A (en) * 2022-04-15 2022-07-26 北京百度网讯科技有限公司 Information processing method, device, system, electronic device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102693399A (en) * 2012-05-18 2012-09-26 孙巍 System and method for on-line separation and recovery of electronic documents
CN106970858A (en) * 2017-03-09 2017-07-21 浙江中诚工程管理科技有限公司 A kind of project management information backup method and system
CN107391768A (en) * 2017-09-12 2017-11-24 广州酷狗计算机科技有限公司 Web data processing method, device, equipment and computer-readable recording medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102693399A (en) * 2012-05-18 2012-09-26 孙巍 System and method for on-line separation and recovery of electronic documents
CN106970858A (en) * 2017-03-09 2017-07-21 浙江中诚工程管理科技有限公司 A kind of project management information backup method and system
CN107391768A (en) * 2017-09-12 2017-11-24 广州酷狗计算机科技有限公司 Web data processing method, device, equipment and computer-readable recording medium

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110569492A (en) * 2019-09-09 2019-12-13 中国工商银行股份有限公司 Online document generation method with attachment and server
CN110968994A (en) * 2019-10-20 2020-04-07 武汉烽火信息集成技术有限公司 Document online editing method and server
CN110968994B (en) * 2019-10-20 2024-02-27 武汉烽火信息集成技术有限公司 Document online editing method and server
CN112835849A (en) * 2021-02-01 2021-05-25 读书郎教育科技有限公司 Method for rapidly and greatly reducing volume of design document
CN113392070A (en) * 2021-07-07 2021-09-14 百果园技术(新加坡)有限公司 Online document management method, device, system, equipment and storage medium
CN113392070B (en) * 2021-07-07 2024-05-14 百果园技术(新加坡)有限公司 Online document management method, device, system, equipment and storage medium
CN114791996A (en) * 2022-04-15 2022-07-26 北京百度网讯科技有限公司 Information processing method, device, system, electronic device and storage medium

Also Published As

Publication number Publication date
CN109408284B (en) 2020-11-20

Similar Documents

Publication Publication Date Title
CN109408284A (en) Online document restoration methods and its device, equipment, storage medium
CN105144063B (en) Software application automatically saves mode and manual preservation mode
US9754240B2 (en) Method for quickly recovering from task interruption
US9990059B2 (en) Ink modes
CN101371250B (en) Capturing and restoring application state after unexpected application shutdown
CN102223363B (en) System and method for generating persistent sessions in a graphical interface for managing communication sessions
EP3472766A1 (en) Workflow visualization platform
CN104426944B (en) Information feedback method, device and terminal
CN103853548A (en) Method and system for deep links in application contexts
US20120005596A1 (en) Saving and restoring collaborative applications in context
CN105335435B (en) File management method and information processing equipment
CN105051722A (en) Auto-complete with persisted atomically linked entities
CN104156201A (en) Device and method for generating a user interface for activating multiple applications
CN101777014A (en) Backup processing method and device
CN110908837B (en) Application program exception handling method and device, electronic equipment and storage medium
CN101641688B (en) Definable application assistant
CN103902404A (en) Method and device for media file backup and user equipment
CN103399865A (en) Method and device for multi-media file generation
CN105335045A (en) Desktop icon change method and system
CN106547676A (en) A kind of user operation method for recording and terminal
CN102004632A (en) Method and device for setting time information
US11112938B2 (en) Method and apparatus for filtering object by using pressure
JP2006277771A (en) Terminal device and operation history recording method for computer network
CN117114618A (en) To-be-handled item follow-up method, system, computer equipment and storage medium
CN108427560A (en) API file management methods, server and storage medium

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
GR01 Patent grant
GR01 Patent grant