CN101458644A - Document autosave method - Google Patents

Document autosave method Download PDF

Info

Publication number
CN101458644A
CN101458644A CNA200710179398XA CN200710179398A CN101458644A CN 101458644 A CN101458644 A CN 101458644A CN A200710179398X A CNA200710179398X A CN A200710179398XA CN 200710179398 A CN200710179398 A CN 200710179398A CN 101458644 A CN101458644 A CN 101458644A
Authority
CN
China
Prior art keywords
document
input focus
automatically
editing
preserving
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
CNA200710179398XA
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.)
China Digital Video Beijing Ltd
Original Assignee
China Digital Video Beijing 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 China Digital Video Beijing Ltd filed Critical China Digital Video Beijing Ltd
Priority to CNA200710179398XA priority Critical patent/CN101458644A/en
Publication of CN101458644A publication Critical patent/CN101458644A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a document automatically-saving method comprising: monitoring an input focus; automatically saving the document when the input focus is disappeared or deviated. The defects of non-automatic recovery caused by that the software is not saved in time, the saving process is of incorrect manipulation or the editing software is limited by the saving authority in the existing automatic recovery functions can be overcome, the losses caused by no performing automatic recovery or incompletely performing the document editing result recovery of the document editing when encountering suddenness to terminate can be avoided, thereby improving the editing efficiency and the document safety.

Description

The method that a kind of document is preserved automatically
Technical field
The present invention relates to the multimedia making technical field, particularly relate to the automatic store method of a kind of document.
Background technology
In the traditional documents software for editing, as Microsoft Office, in the softwares such as WPS, the preservation of documents editing structure is typically provided with special function button or key combination, makes the user freely preserve the modification result of institute's Edit Document as required.
Moreover, if having taken place suddenly, power failure, computer crash or program stop response, so that the user has to do not having to preserve under the situation that document is revised, automatic hold function in the software for editing also can realize losing or not preserving the recovery of document, and Here it is has used the result of " automatically recover " function of software for editing.
Enable " recovering automatically " function
The document that will when breaking down, allow the automatic recovery of documents editing software edit, must enable the auto restore facility of documents editing software in advance, the user can enter the auto restore facility option interface is set, set Automatic Save Every, the preservation position of system default is cache file folder or original place file.In addition, most of documents editing software all is provided with " recovering automatically " function automatically, serves as to preserve at interval with ten minutes generally.
If the user has chosen " allowing the backstage to preserve " check box simultaneously, then documents editing software will be preserved document automatically with background mode, so that when preserving document, the user can proceed editing.
Automatically recover " and preserve the " document automatically
After outage or the generation of similar problem, recover the document that " preserves " automatically automatically, step is as follows:
Restart documents editing software, then all documents that are in open mode when breaking down all can show automatically.Select " saving as " function, system ejects " saving as " dialog box.In " filename " frame, key in or select the filename of original document, preserve.Occur if any information, when whether inquiry will replace original document,, confirm to replace, or the new file of called after is preserved in addition according to user's needs.Notice that when normally withdrawing from documents editing software, all automatic recovery files of not preserving will be deleted automatically all.
But, in practical operation,, still can occur can't carrying out the situation that original edit-modify document recovers automatically when documents editing is unexpected to be stopped though the user has enabled " recovering automatically " function, roughly comprise following reason:
1, the not automatic as yet saving/restoring file of computer.
2, under the situation of preserving, closed recovery file.
3, may delete recovery file, the common and original Type-Inconsistencies of the extension name of recovery file.
4, document may be a master document, and documents editing software can be created recovery file for independent subdocument, but can't create recovery file for master document.
5, it is grand to use " Visual Basic editing machine (VBE) " to revise." recover " only document creation recovery file of function automatically for revising in the current period.If after the opening document, only revise in VBE in documents editing software, documents editing software will can not think that change has taken place the document so.
In addition, " recovering automatically " function is not equal to normal document storing, after using the documents editing software editing to finish document, still needs to preserve operation.
In sum, still there is weak point in existing " recovering automatically " function, can be at documents editing, especially in important documents editor's the process user is caused damage, therefore be badly in need of the automatic store method of a kind of new document, user's editing operation is monitored, and occur in time carrying out when unusual that file is preserved or whether the inquiry user carries out document storing in editing operation, reduce the loss, improve editorial efficiency and security.
Summary of the invention
The problem that the embodiment of the invention will solve provides the automatic store method of a kind of new document, user's editing operation is monitored, and occurred in time carrying out when unusual that file is preserved or whether the inquiry user carries out document storing in editing operation.
For achieving the above object, the embodiment of the invention proposes the method that a kind of document is preserved automatically on the one hand, may further comprise the steps:
The monitoring input focus;
When input focus disappears or departs from, preserve file automatically.
Wherein, described input focus is specially current by the input focus of Edit Document.
Wherein, described monitoring input focus is specially:
Monitor described input focus and whether be in state of activation;
Monitor described input focus and whether be in the described work editing area for the treatment of editing files.
Wherein, described input focus disappears or departs from and comprises:
Current software for editing is closed, and described input focus disappears;
Or current edit page is switched, and described input focus disappears;
Or editing area is left in current operation, and described input focus departs from.
Wherein, described input focus disappears or departs from and further comprise:
Because of current editing operation is stopped by accident, described input focus disappears or departs from;
Or because of current editing operation is stopped by the user, described input focus disappears or departs from.
Wherein, described automatic preservation is specially:
When current editing operation was stopped by accident, described automatic preservation was directly carried out;
Or, when current editing operation is stopped by the user, ejecting information automatically, the user carries out described automatic preservation after confirming.
Wherein, the store method of described automatic preservation further comprises again:
Replacing original directly preserves;
Or, save as alternative document.
Wherein, the store method of described automatic preservation can be provided with selection according to user's needs.
On the other hand, the embodiment of the invention also provides a kind of computer program, comprises that some assignment instructions are in order to carry out the automatic store method of above-mentioned document.
On the other hand, the embodiment of the invention also provides a kind of storage medium, stores above-mentioned described computer program.
On the other hand, the embodiment of the invention also provides a kind of computer equipment, comprises in order to the software of carrying out aforesaid document automatic protecting method and the hardware that cooperates with software.
The technical scheme of the embodiment of the invention has the following advantages, because adopted the real-time monitoring of user's editing operation, and preserve or preserve the technology of inquiry automatically according to monitored results, so overcome in existing " recovering automatically " function since software preserve untimely, preserve the process maloperation or software for editing is preserved the deficiency that the authority restriction can not recover automatically, and then reached and avoid can not carrying out or can not carry out fully when documents editing operation is unexpected to be stopped the documents editing result and recover loss that the user is caused, improved editorial efficiency and document security.
Description of drawings
Fig. 1 is the schematic flow sheet of the automatic store method of dialog mode document in the embodiment of the invention one;
Fig. 2 is the schematic flow sheet of the automatic store method of acquiescence hold mode document in the embodiment of the invention two.
Embodiment
Below in conjunction with drawings and Examples, the specific embodiment of the present invention is described in further detail:
The automatic store method of a kind of document among the present invention, editing operation to the user is monitored, whether the monitoring input focus is in state of activation, whether be in the work editing area of file destination to be edited, when editing operation owing to outage or software responses stop occurring when unusual, input focus disappears or is not in the work editing area of file destination, automatically carry out file preservation or inquiry user and whether carry out document storing, thereby avoided having reduced loss because of the unexpected influence that stops user's editing progress of editing.
To stop be because user's operation when causing when editing is unexpected, and promptly still under running or the still controllable situation of user, dialog box is ejected in the invention process regular meeting in system, and whether the inquiry user carries out file is preserved and operate.As shown in Figure 1, be the embodiment of the invention one, the schematic flow sheet of the automatic store method of dialogue frame document may further comprise the steps:
Step S101, on control A selected input focus.In practical operation, input focus generally obtains by programmed instruction, and in most of documents editing software, the cursor that flashes is the sign of input focus.
Input focus on step S102, the monitoring control A is monitored this input focus and whether is in state of activation, and whether is in the work editing area for the treatment of editing files.
Step S103, judge whether input focus is in normal condition, promptly whether be in state of activation and be in the editing district that order is compiled file.If input focus is normal, then continue normal editing operation and monitoring, do not carry out the document storing inquiry, return step S102, continue input focus is monitored.
Step S104, unusual as the input focus appearance, promptly input focus disappears or departs from, and then ejects dialog box, and whether inquiry carries out document storing work.Abnormal conditions comprise that specifically current software for editing is closed, and input focus disappears; Or current edit page is switched the input focus disappearance; Or current operation leaves editing area, and input focus departs from.Confirm not preserve as the user, then abandon preserving operation.
Step S105, confirm to preserve, then preserve current edited result as the user.Concrete preserving type is divided into direct preservation and other deposits preservation.Directly preserving is to cover original file with edited result, replaces; Other deposits and preserves is by the mode of revising the file that RNTO is new as a result being deposited in addition, not replacing original.
To stop be when causing owing to force majeure when editing is unexpected, be system because of outage, crash can't turn round or the user since software do not have under the uncontrollable situation of response, the invention process regular meeting is preserved revising the result automatically, inquires no longer whether the user carries out file and preserve operation.As shown in Figure 2, be the embodiment of the invention two, the schematic flow sheet to the automatic store method of acquiescence hold mode document may further comprise the steps:
Step S201, on control A selected input focus.In practical operation, input focus generally obtains by programmed instruction, and in most of documents editing software, the cursor that flashes is the sign of input focus.
Input focus on step S202, the monitoring control A is monitored this input focus and whether is in state of activation, and whether is in the work editing area for the treatment of editing files.
Step S203, judge whether input focus is in normal condition, promptly whether be in state of activation and be in the editing district that order is compiled file.If input focus is normal, then continue normal editing operation and monitoring, do not carry out document storing.
Step S204, unusual as the input focus appearance, promptly input focus disappears or departs from, and then directly preserves.Abnormal conditions specifically comprise computer circuit breaking, system in case of system halt, and software for editing does not have response.Concrete preserving type is divided into direct preservation and other deposits preservation.Directly preserving is to cover original file with edited result, replaces; Other deposits and preserves is by the mode of revising the file that RNTO is new as a result being deposited in addition, not replacing original.New filename has system to obtain automatically, goes out to add numeral as the position, end at old file name, or added special identifier before old file name, to distinguish with original.
The technical scheme of the embodiment of the invention has the following advantages, because adopted the real-time monitoring of user's editing operation, and preserve or preserve the technology of inquiry automatically according to monitored results, so overcome in existing " recovering automatically " function since software preserve untimely, preserve the process maloperation or software for editing is preserved the deficiency that the authority restriction can not recover automatically, and then reached and avoid can not carrying out or can not carry out fully when documents editing operation is unexpected to be stopped the documents editing result and recover loss that the user is caused, improved editorial efficiency and document security.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better embodiment under a lot of situation.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium, comprise that some instructions are with so that a station terminal equipment (can be mobile phone, personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (11)

1, the automatic method of preserving of a kind of document is characterized in that, may further comprise the steps:
The monitoring input focus;
When input focus disappears or departs from, preserve file automatically.
2, the document method of automatically preserving according to claim 1 is characterized in that described input focus is specially current by the input focus of Edit Document.
3, the method for preserving automatically as document as described in the claim 2 is characterized in that described monitoring input focus is specially:
Monitor described input focus and whether be in state of activation;
Monitor described input focus and whether be in the described work editing area for the treatment of editing files.
4, the document method of automatically preserving according to claim 1 is characterized in that described input focus disappears or departs from and comprises:
Current software for editing is closed, and described input focus disappears;
Or current edit page is switched, and described input focus disappears;
Or editing area is left in current operation, and described input focus departs from.
5, the method for preserving automatically as document as described in the claim 4 is characterized in that, described input focus disappears or departs from and further comprise:
Because of current editing operation is stopped by accident, described input focus disappears or departs from;
Or because of current editing operation is stopped by the user, described input focus disappears or departs from.
6, the document method of automatically preserving according to claim 1 is characterized in that described automatic preservation is specially:
When current editing operation was stopped by accident, described automatic preservation was directly carried out;
Or, when current editing operation is stopped by the user, ejecting information automatically, the user carries out described automatic preservation after confirming.
7, the method for preserving automatically as document as described in the claim 6 is characterized in that the store method of described automatic preservation further comprises again:
Replacing original directly preserves;
Or, save as alternative document.
8, the method for preserving automatically as document as described in the claim 6 is characterized in that the store method of described automatic preservation can be provided with selection according to user's needs.
9, a kind of computer program is characterized in that,
Comprise that some assignment instructions are in order to carry out the automatic store method of the described document of aforementioned claim 1-8.
10, a kind of storage medium is characterized in that,
The described computer program of storage claim 9.
11, a kind of computer equipment is characterized in that,
Comprise in order to the software of carrying out the automatic store method of the described document of aforementioned claim 1-8 and the hardware that cooperates with software.
CNA200710179398XA 2007-12-12 2007-12-12 Document autosave method Pending CN101458644A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA200710179398XA CN101458644A (en) 2007-12-12 2007-12-12 Document autosave method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA200710179398XA CN101458644A (en) 2007-12-12 2007-12-12 Document autosave method

Publications (1)

Publication Number Publication Date
CN101458644A true CN101458644A (en) 2009-06-17

Family

ID=40769517

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA200710179398XA Pending CN101458644A (en) 2007-12-12 2007-12-12 Document autosave method

Country Status (1)

Country Link
CN (1) CN101458644A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103369722A (en) * 2012-03-28 2013-10-23 宇龙计算机通信科技(深圳)有限公司 Mobile terminal control method and mobile terminal control apparatus
CN106164908A (en) * 2014-04-02 2016-11-23 微软技术许可有限责任公司 Modern document storing and sync status
WO2018027480A1 (en) * 2016-08-08 2018-02-15 吕秋萍 Automatic saving method for computer, and saving system
WO2018027378A1 (en) * 2016-08-06 2018-02-15 柳柏宏 Information saving method, and saving system
WO2018027481A1 (en) * 2016-08-08 2018-02-15 吕秋萍 Method for collecting user usage data of automatic saving technology, and saving system
WO2018027482A1 (en) * 2016-08-08 2018-02-15 吕秋萍 Information pushing method during automatic saving, and saving system
WO2018027379A1 (en) * 2016-08-06 2018-02-15 柳柏宏 Method for collecting data relating to usage of information saving technology, and saving system
WO2018027380A1 (en) * 2016-08-06 2018-02-15 柳柏宏 Method for indicating ownership of information saving technology, and saving system
CN109857999A (en) * 2018-12-30 2019-06-07 广东一一五科技股份有限公司 A kind of document drafts store method, device, electronic equipment and storage medium
CN110908747A (en) * 2019-10-18 2020-03-24 北京达佳互联信息技术有限公司 Page processing method and device, electronic equipment and storage medium
CN111158565A (en) * 2019-12-27 2020-05-15 杭州迪普科技股份有限公司 Page turning prompting method and device, electronic equipment and storage medium
CN111766991A (en) * 2019-04-01 2020-10-13 珠海金山办公软件有限公司 Method and device for opening document
CN118018677A (en) * 2024-04-10 2024-05-10 深圳云天畅想信息科技有限公司 Video conference interaction method and system and electronic equipment

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103369722A (en) * 2012-03-28 2013-10-23 宇龙计算机通信科技(深圳)有限公司 Mobile terminal control method and mobile terminal control apparatus
US10635540B2 (en) 2014-04-02 2020-04-28 Microsoft Technology Licensing, Llc Modern document save and synchronization status
CN106164908A (en) * 2014-04-02 2016-11-23 微软技术许可有限责任公司 Modern document storing and sync status
WO2018027378A1 (en) * 2016-08-06 2018-02-15 柳柏宏 Information saving method, and saving system
WO2018027379A1 (en) * 2016-08-06 2018-02-15 柳柏宏 Method for collecting data relating to usage of information saving technology, and saving system
WO2018027380A1 (en) * 2016-08-06 2018-02-15 柳柏宏 Method for indicating ownership of information saving technology, and saving system
WO2018027480A1 (en) * 2016-08-08 2018-02-15 吕秋萍 Automatic saving method for computer, and saving system
WO2018027481A1 (en) * 2016-08-08 2018-02-15 吕秋萍 Method for collecting user usage data of automatic saving technology, and saving system
WO2018027482A1 (en) * 2016-08-08 2018-02-15 吕秋萍 Information pushing method during automatic saving, and saving system
CN109857999A (en) * 2018-12-30 2019-06-07 广东一一五科技股份有限公司 A kind of document drafts store method, device, electronic equipment and storage medium
CN111766991A (en) * 2019-04-01 2020-10-13 珠海金山办公软件有限公司 Method and device for opening document
CN111766991B (en) * 2019-04-01 2024-03-29 珠海金山办公软件有限公司 Method and device for opening document
CN110908747A (en) * 2019-10-18 2020-03-24 北京达佳互联信息技术有限公司 Page processing method and device, electronic equipment and storage medium
CN111158565A (en) * 2019-12-27 2020-05-15 杭州迪普科技股份有限公司 Page turning prompting method and device, electronic equipment and storage medium
CN111158565B (en) * 2019-12-27 2021-08-24 杭州迪普科技股份有限公司 Page turning prompting method and device, electronic equipment and storage medium
CN118018677A (en) * 2024-04-10 2024-05-10 深圳云天畅想信息科技有限公司 Video conference interaction method and system and electronic equipment

Similar Documents

Publication Publication Date Title
CN101458644A (en) Document autosave method
CN101458643A (en) Document autosave apparatus
CN101641681A (en) Self-managed processing device
CN101788936B (en) Snapshot backup and restoration method and device when in running of mobile terminal
CN102779080B (en) Method for generating snapshot, method and device for data recovery by using snapshot
CN101694778B (en) Method for preventing loss of data and movable data memory
CN105511862A (en) Information copy paste method and copy paste device
CN101111017A (en) Mobile terminal for backup and recovery of software and data and method thereof
CN103324549A (en) Method for realizing sleep standby and communication terminal
CN104156273A (en) System exception repair method, system exception repair device and mobile terminal
CN102722426A (en) One-key backup and recovery system for mobile phone data
CN101739311A (en) Method and device for carrying out safety backup on memory data
CN101699407A (en) Method and device for restoring terminal operation and data
CN104407940A (en) Method for quickly recovering CDP system
CN103049343B (en) Operating system blue screen restoration methods and device
CN100465913C (en) Configuration of recovery device and method thereof
CN105426268B (en) A kind of method of file system corruption when preventing the protective relaying device from powering off
US6892288B2 (en) System for making automatic backup copies of computer files when a personal computer is switched off
CN101763490B (en) Data movement method for flash intelligent card
EP2835935B1 (en) Method for processing online upgrade, and apparatus thereof
CN101022633B (en) Allocation data recovering method, system and device
CN105335244A (en) Application program recovery method
CN100520796C (en) Computer safety proxy self-guard method
CN102289476A (en) Method for recording transaction log
CN102073558B (en) Method for realizing safety and integrity of files in smart card

Legal Events

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

Application publication date: 20090617