CN104281561A - Data recovery method and electronic equipment - Google Patents

Data recovery method and electronic equipment Download PDF

Info

Publication number
CN104281561A
CN104281561A CN201310284336.0A CN201310284336A CN104281561A CN 104281561 A CN104281561 A CN 104281561A CN 201310284336 A CN201310284336 A CN 201310284336A CN 104281561 A CN104281561 A CN 104281561A
Authority
CN
China
Prior art keywords
data
electronic equipment
display screen
visual representation
display
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
CN201310284336.0A
Other languages
Chinese (zh)
Other versions
CN104281561B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310284336.0A priority Critical patent/CN104281561B/en
Priority to PCT/CN2014/071884 priority patent/WO2015003493A1/en
Publication of CN104281561A publication Critical patent/CN104281561A/en
Application granted granted Critical
Publication of CN104281561B publication Critical patent/CN104281561B/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/274Converting codes to words; Guess-ahead of partial word inputs

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Quality & Reliability (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The embodiment of the invention provides a data recovery method and electronic equipment, and relates to the field of communication. Whether first data and second data are the same or not can be judged through comparison, and an alteration can be marked to a preset identification position with visual identification, so that a user selects records needing recovery by himself, and user experience and the efficiency of data editing are improved. The method includes the steps that the first data and the second data obtained after the first data are modified are obtained; whether the first data and the second data are the same or not can be judged through comparison; if the first data are not identical with the second data, third data are recorded, wherein the third data comprise the modified data of the first data; the visual identification corresponding to the third data is marked to the preset identification position so that the third data can be recovered on the current data according to a recovery instruction if the recovery instruction input by the user according to the visual identification is received.

Description

A kind of method of date restoring and electronic equipment
Technical field
The present invention relates to the communications field, particularly relate to a kind of method and electronic equipment of date restoring.
Background technology
Along with the continuous progress of science and technology, the particularly develop rapidly of integrated circuit technique, mobile terminal has had powerful processing power, and become an integrated information processing platform from simple call instrument, process the data such as text, image on mobile terminals and process data compared on traditional entity data, have the feature such as portability, promptness, therefore, mobile terminal process data also more and more accept by users.
User, when using various terminal to carry out edit-modify to information, usually there will be faulty operation.When faulty operation appears in user, usually wish to cancel faulty operation fast, by date restoring to the state before there is faulty operation.If can not by date restoring to the state before there is faulty operation, user just needs to re-enter.Especially, when input equipment is mobile terminal, because mobile terminal input speed is slow, therefore greatly have impact on the efficiency of editing data.
When text often occurs once to change in prior art, CPU(Central Processing Unit, central processing unit) automatically will record a record, as shown in Figure 1, when there is faulty operation, CPU can recover faulty operation according to the sequencing of record by the mode of linear rollback, namely linearly return back to the order recovery faulty operation of historic state 3, historic state 2, historic state 1 according to present situation.But, in the process realizing date restoring, the data of changing before more of a specified duration, user needs the step of operation more, simultaneously, when user needs the data recovering former step, intermediate user, the mode of linear rollback can not want that the part recovered also has been recovered, and then have impact on the efficiency of editing data.
Summary of the invention
Embodiments of the invention provide a kind of method and electronic equipment of date restoring, can be whether identical with the second data by contrast first data, and change is marked in default flag by visual representation, thus make user select to need the record of reduction voluntarily, improve the efficiency of Consumer's Experience sense and editing data.
For achieving the above object, embodiments of the invention adopt following technical scheme:
First aspect, the embodiment of the present invention provides a kind of method of date restoring, and the method comprises:
Second data of gained after obtaining the first data and revising described first data;
Contrast described first data whether identical with the second data;
If described first data are identical with the second data transformation, then record the 3rd data, wherein, described 3rd data comprise the data be modified of described first data;
The visual representation corresponding with described 3rd data is marked in default flag, if to make to receive the recovery instruction that user inputs according to described visual representation, then recover described 3rd data according to described recovery instruction in current data.
In the implementation that the first is possible, according to first aspect, if described first data are identical with the second data, then do not record described 3rd data.
In the implementation that the second is possible, in conjunction with first aspect or the first possible implementation, the recovery instruction that user inputs according to described visual representation if do not receive, then do not recover described 3rd data in current data.
In the implementation that the third is possible, in conjunction with first aspect or the first possible implementation or the possible implementation of the second, described the visual representation corresponding with described 3rd data is marked in default flag after, described method also comprises:
If receive the query statement that user inputs according to described visual representation, then obtain the 3rd data indicated by described query statement according to described query statement;
According to the resolution of described 3rd data and display screen, for described 3rd data distribute the pixel needed for described 3rd data of display, wherein, described resolution indicates the number of the pixel of described display screen, and the number of the pixel needed for described 3rd data of described display is not more than the number of the pixel of described display screen;
By described 3rd data of described display screen display.
In the 4th kind of possible implementation, in conjunction with first aspect or the first possible implementation to the third possible implementation, described by described 3rd data of described display screen display, also comprise:
The time of described 3rd data is recorded by described display screen display.
In the 5th kind of possible implementation, in conjunction with first aspect or the first possible implementation to the 4th kind of possible implementation, the second data of gained after described first data of described acquisition amendment, specifically comprise:
Periodically or aperiodically obtain the second data of gained after described first data of amendment.
In the 6th kind of possible implementation, in conjunction with first aspect or the first possible implementation to the 5th kind of possible implementation, described default flag is specially navigation bar.
Second aspect, the embodiment of the present invention also provides a kind of electronic equipment, comprising:
Acquisition module, for the second data of gained after obtaining the first data and revising described first data;
Whether contrast module is identical with the second data for contrasting described first data;
Logging modle, if identical with the second data transformation for described first data, then record the 3rd data, wherein, described 3rd data comprise the data be modified of described first data;
Execution module, for the visual representation corresponding with described 3rd data is marked default flag, if to make to receive the recovery instruction that user inputs according to described visual representation, then recover described 3rd data according to described recovery instruction in current data.
In the implementation that the first is possible, according to second aspect, described logging modle, if also identical with the second data for described first data, does not then record described 3rd data.
In the implementation that the second is possible, in conjunction with second aspect or the first possible implementation, described execution module, if also for not receiving the recovery instruction that user inputs according to described visual representation, then do not recover described 3rd data in current data.
In the implementation that the third is possible, in conjunction with second aspect or the first possible implementation or the possible implementation of the second, described electronic equipment, also comprises:
Described acquisition module, if also for receiving the query statement that user inputs according to described visual representation, then obtains the 3rd data indicated by described query statement according to described query statement;
Processing module, for the resolution according to described 3rd data and display screen, for described 3rd data distribute the pixel needed for described 3rd data of display, wherein, described resolution indicates the number of the pixel of described display screen, and the number of the pixel needed for described 3rd data of described display is not more than the number of the pixel of described display screen;
Display module, for showing described 3rd data by described display screen.
In the 4th kind of possible implementation, in conjunction with second aspect or the first possible implementation to the third possible implementation, described display module, also for being recorded the time of described 3rd data by described display screen display.
In the 5th kind of possible implementation, in conjunction with second aspect or the first possible implementation to the 4th kind of possible implementation, described acquisition module, specifically for periodically or aperiodically obtaining the second data of gained after described first data of amendment.
In the 6th kind of possible implementation, in conjunction with second aspect or the first possible implementation to the 5th kind of possible implementation, described default flag is specially navigation bar.
The method of a kind of date restoring that the embodiment of the present invention provides and electronic equipment, by obtaining the second data of gained after the first data and amendment the first data, contrast the first data whether identical with the second data, if the first data are identical with the second data transformation, then record the 3rd data, wherein, 3rd data comprise the data be modified of the first data, and the visual representation corresponding with the 3rd data is marked in default flag, if to make to receive the recovery instruction that user inputs according to visual representation, then in current data, recover the 3rd data according to recovery instruction.Pass through the program, because whether electronic equipment can be identical with the second data by contrast first data, if the first data are identical with the second data transformation, then record the 3rd data, and by visual representation by the 3rd data markers in default flag, thus make user select to need the record of reduction voluntarily, improve the efficiency of Consumer's Experience sense and editing data.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the ordinal relation being recovered faulty operation in prior art by the mode of linear rollback;
The schematic flow sheet one of the method for the date restoring that Fig. 2 provides for the embodiment of the present invention;
The schematic flow sheet two of the method for the date restoring that Fig. 3 provides for the embodiment of the present invention;
The process schematic one of the method for the date restoring that Fig. 4 provides for the embodiment of the present invention;
The process schematic two of the method for the date restoring that Fig. 5 provides for the embodiment of the present invention;
The process schematic three of the method for the date restoring that Fig. 6 embodiment of the present invention provides;
The process schematic four of the method for the date restoring that Fig. 7 embodiment of the present invention provides;
The process schematic five of the method for the date restoring that Fig. 8 embodiment of the present invention provides;
The structural representation one of the electronic equipment that Fig. 9 embodiment of the present invention provides;
The structural representation two of the electronic equipment that Figure 10 embodiment of the present invention provides;
The structural representation one of the electronic installation that Figure 11 provides for the embodiment of the present invention;
The structural representation two of the electronic installation that Figure 12 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention provides a kind of method of date restoring, and as shown in Figure 2, the method comprises:
Second data of gained after S101, electronic equipment obtain the first data and revise the first data.
Along with the continuous progress of science and technology, the particularly develop rapidly of integrated circuit technique, mobile terminal has had powerful processing power, and become an integrated information processing platform from simple call instrument, process the data such as text, image on mobile terminals and process data compared on traditional entity data, have the feature such as portability, promptness, therefore, mobile terminal process data also more and more accept by users.But user, when using various terminal to carry out edit-modify to information, usually there will be faulty operation.When faulty operation appears in user, usually wish to cancel faulty operation fast, by date restoring to the state before there is faulty operation.If can not by date restoring to the state before there is faulty operation, user just needs to re-enter.Especially, when input equipment is mobile terminal, because mobile terminal input speed is slow, therefore greatly have impact on the efficiency of editing data.
The method of a kind of date restoring that the embodiment of the present invention provides, when user is when editing use data, first electronic equipment obtains the second data of gained after the first data and amendment the first data.
Whether S102, electronic equipment contrast the first data identical with the second data.
If S103 first data are identical with the second data transformation, then electronic equipment record the 3rd data.
Wherein, the 3rd data comprise the data be modified of the first data.
After second data of electronic equipment gained after obtaining the first data and amendment the first data, need contrast first data whether identical with the second data, if the first data are identical with the second data transformation, then record the 3rd data.
It should be noted that, after second data of electronic equipment gained after obtaining the first data and amendment the first data, contrast the first data whether identical with the second data, if the first data are identical with the second data transformation, then illustrate that electronic equipment is after obtaining the first data, and before acquisition second data, user has carried out editing using to the first data.The data be modified of electronic equipment record first data, i.e. the 3rd data.
The visual representation corresponding with the 3rd data marks in default flag by S104, electronic equipment, if to make to receive the recovery instruction that user inputs according to visual representation, then electronic equipment recovers the 3rd data according to recovery instruction in current data.
Electronic equipment is after record the 3rd data, and the visual representation corresponding with the 3rd data can be marked in default flag, wherein, default flag is specially navigation bar.By using visual representation to mark the 3rd data on navigation bar, user can the position of quick position the 3rd data, checking the content of the 3rd data, operating to make user to needing the data recovered.
You need to add is that, the method of a kind of date restoring that the embodiment of the present invention provides, flag can be navigation bar, and marker bit can also be that other can mark the 3rd data, with make user can quick position the 3rd data position navigation mark, the present invention does not limit.
When electronic equipment uses visual representation by after in the 3rd data markers to default flag, if when user needs to modify to the data of input, user inputs recovery instruction.Now electronic equipment receives the recovery instruction that user inputs according to visual representation, then electronic equipment recovers the 3rd data according to recovery instruction in current data.
Concrete, how electronic equipment recovers the 3rd data according to recovery instruction in current data will be carried out complete description in the following embodiments, repeat no more herein.
The method of a kind of date restoring that the embodiment of the present invention provides, by obtaining the second data of gained after the first data and amendment the first data, contrast the first data whether identical with the second data, if the first data are identical with the second data transformation, then record the 3rd data, wherein, 3rd data comprise the data be modified of the first data, and the visual representation corresponding with the 3rd data is marked in default flag, if to make to receive the recovery instruction that user inputs according to visual representation, then in current data, recover the 3rd data according to recovery instruction.Pass through the program, because whether electronic equipment can be identical with the second data by contrast first data, if the first data are identical with the second data transformation, then record the 3rd data, and by visual representation by the 3rd data markers in default flag, thus make user select to need the record of reduction voluntarily, improve the efficiency of Consumer's Experience sense and editing data.
The embodiment of the present invention provides a kind of method of date restoring, and as shown in Figure 3, the method comprises:
Second data of gained after S201, electronic equipment obtain the first data and revise the first data.
The method of a kind of date restoring that the embodiment of the present invention provides, when user is when editing use data, first electronic equipment obtains the second data of gained after the first data and amendment the first data.
It should be noted that the method for the date restoring that the embodiment of the present invention provides, after electronic equipment gets the first data, according to subscriber policy, periodically or aperiodically obtains the second data.
Whether S202, electronic equipment contrast the first data identical with the second data.
If S203 first data are identical with the second data transformation, then electronic equipment record the 3rd data.
Wherein, the 3rd data comprise the data be modified of the first data.
After second data of electronic equipment gained after obtaining the first data and amendment the first data, need contrast first data whether identical with the second data, if the first data are identical with the second data transformation, then record the 3rd data.
It should be noted that, after second data of electronic equipment gained after obtaining the first data and amendment the first data, contrast the first data whether identical with the second data, if the first data are identical with the second data transformation, then illustrate that electronic equipment is after obtaining the first data, and before acquisition second data, user has carried out editing using to the first data.The data be modified of electronic equipment record first data, i.e. the 3rd data.
You need to add is that, electronic equipment is obtaining the second data, after contrasting the first data and the second data, according to subscriber policy, electronic equipment can periodically or aperiodically obtain new data, now, the data that electronic equipment gets and the front data once got contrast, if twice data transformation is identical, then illustrates and obtain between this two secondary data at electronic equipment, data have been carried out edit-modify by user, then the data that are modified of electronic equipment record.
The visual representation corresponding with the 3rd data marks in default flag by S204, electronic equipment.
Whether electronic equipment contrasts the first data identical with the second data of gained after amendment the first data, if the first data are identical with the second data transformation, then uses visual representation by the 3rd data markers in default flag.
It should be noted that, use visual representation by the 3rd data markers in default flag, wherein, flag is specially navigation bar.By using visual representation to mark the 3rd data on navigation bar, user can the position of quick position the 3rd data, and check the content of the 3rd data, to make user operate needing the data recovered, wherein, visual representation can be color or symbol.
You need to add is that, the method of a kind of date restoring that the embodiment of the present invention provides, flag can be navigation bar, and marker bit can also be that other can mark the 3rd data, with make user can quick position the 3rd data position navigation mark, the present invention does not limit.
If S205 first data are identical with the second data, then electronic equipment does not record the 3rd data.
After second data of electronic equipment gained after obtaining the first data and amendment the first data, contrast the first data whether identical with the second data, if the first data are identical with the second data, then illustrate that electronic equipment is after record first data, and before record second data, user does not carry out edit-modify to these data, although or user edit-modify has been carried out to these data, but data but do not change, then electronic equipment does not record the 3rd data.
You need to add is that, second data of electronic equipment gained after obtaining amendment first data, contrast the first data whether identical with the second data after, according to subscriber policy, periodically or aperiodically obtain data, now, the data that electronic equipment gets and the front data once got contrast, if two secondary data are identical, then illustrate and obtain between this two secondary data at electronic equipment, user does not carry out edit-modify to these data, or although user has carried out edit-modify to these data, but data but do not change, the data be not then modified need electronic equipment to carry out record.
If S206 receives the query statement that user inputs according to visual representation, then electronic equipment obtains the 3rd data of query statement instruction according to query statement.
When electronic equipment uses visual representation by after in the 3rd data markers to flag, if user needs to check the 3rd marked data, then according to the instruction of visual representation input inquiry.If electronic equipment receives the query statement that user inputs according to visual representation, then obtain the 3rd data of query statement instruction according to query statement.
S207, electronic equipment are according to the resolution of the 3rd data and display screen, for the 3rd data distribute the pixel needed for display the 3rd data, wherein, the number of the pixel of resolution instruction display screen, the number of the pixel of display needed for the 3rd data is not more than the number of the pixel of display screen.
Different display screens has different resolution, and resolution refers to the precision of screen picture, i.e. the display number of pixel that can show.Because the point on display screen screen, line and face are all made up of pixel, the displayable pixel of display is more, and picture is meticulousr, and the information that can show in same screen area is also more, so resolution is one of very important performance index.By electronic equipment, the resolution of present displays can be obtained.
Be understandable that, whole image is imagined as a large-scale chessboard, and resolution is the number of all warps and parallel point of crossing, such as, resolution is the display screen of 1024 × 960, then show a horizontal line comprises 1024 pixels to display screen, and have 960 horizontal lines, namely on display screen, line number is 1024 row, and columns is 960 row, and resolution is the display screen of 640 × 480, represent on display screen and a horizontal line contains 640 pixels, have 480 horizontal lines, namely on display screen, line number is 640 row, and columns is 480 row.
You need to add is that, the resolution of the display screen used due to different users is different, and this detects current environment for use with regard to needing electronic equipment, so that all data can the resolution of the current display of self-adaptation.
So, electronic equipment is after obtaining the 3rd data, electronic equipment can according to the resolution of the 3rd data and display screen, for the 3rd data distribute the pixel needed for these data of display, wherein, the number of the pixel of resolution instruction display screen, the number of the pixel of display needed for data is not more than the number of the pixel of display screen.In order to can full frame guide look the 3rd data, electronic equipment needs the pixel needed for these information of all information distribution of the 3rd data, such as, current display screen has 1000 pixels, and the 3rd data have 10 bytes, so electronic equipment can according to the preset rules of user's formulation, for each byte allocation is less than or equal to 100 pixels, namely show data by being less than or equal to 100 pixels, and then, under a display frame, display the 3rd data.
S208, electronic equipment are by display screen display the 3rd data.
If electronic equipment receives the query statement of user's input, the 3rd data of query statement instruction are then obtained according to query statement, and according to the resolution of the 3rd data and display screen, after the 3rd data distribute the pixel needed for display the 3rd data, by display screen display the 3rd data.
You need to add is that, when what the embodiment of the present invention provided shows the 3rd data by display screen, according to the subscriber policy formulated, the time of record the 3rd data can be shown simultaneously, the 3rd data selecting to need to recover can be more prone to make user, improve Consumer's Experience sense.
If S209 receives the recovery instruction that user inputs according to visual representation, then electronic equipment recovers the 3rd data according to recovery instruction in current data.
In the resolution of electronic equipment according to the 3rd data and display screen, for the 3rd data distribute the pixel needed for display the 3rd data, after display screen display the 3rd data, if user needs to recover these data, user recovers instruction according to visual representation input.If receive the recovery instruction that user inputs according to visual representation, then electronic equipment recovers the 3rd data according to recovery instruction in current data.
If S210 does not receive the recovery instruction that user inputs according to visual representation, then electronic equipment does not recover the 3rd data in current data.
In the resolution of electronic equipment according to the 3rd data and display screen, for the 3rd data distribute the pixel needed for display the 3rd data, after display screen display the 3rd data, if user does not need to recover these data, user does not recover instruction according to visual representation input.If do not receive the recovery instruction that user inputs according to visual representation, then electronic equipment does not recover the 3rd data in current data.
Exemplary, if user edits a text on an electronic device, the virgin state that electronic equipment obtains the text is the first data, as shown in Figure 4, user edits the text subsequently, and it is 10 seconds that electronic equipment arranges the cycle obtaining data, after 10 seconds of acquisition first data, second data of gained after electronic equipment acquisition amendment first data, as shown in Figure 4.Whether electronic equipment contrasts the first data identical with the second data, and electronic equipment knows that the first data are identical with the second data, then do not record any data, afterwards, electronic equipment is according to subscriber policy, periodic acquisition data, after 10 seconds of acquisition second data, electronic equipment obtains new data, as shown in Figure 5, and these data and the second data are compared, the new data that contrast electronic equipment obtains and the second data, electronic equipment knows that the new data of acquisition are identical with the second data transformation, then record the 3rd data (data as in Fig. 5 indicated by arrow), wherein, 3rd data comprise the data be modified of the second data, record the time of record the 3rd data simultaneously, subsequently, the visual representation corresponding with the 3rd data marks in default flag (density bullet as below Fig. 5) by electronic equipment, afterwards, electronic equipment is correlation data periodically, records the time of the data that the data that are modified and record are modified, and with visual representation by the data markers that is modified in default flag, as shown in Figure 6, default marker bit marked the data that two places are modified.
When user wants to recover data, first the data needing to recover are checked, as shown in Figure 7, if electronic equipment receives the query statement that user inputs according to visual representation, the 3rd data of query statement instruction are then obtained according to query statement, and according to the resolution of the 3rd data and display screen, for the 3rd data distribute the pixel needed for display the 3rd data, wherein, the number of the pixel of resolution instruction display screen, the number showing the pixel needed for the 3rd data is not more than the number of the pixel of display screen, and by display screen display the 3rd data.When user finds not need to recover the 3rd data, then do not recover instruction according to visual representation input, electronic equipment does not recover the 3rd data in current data, and data still as shown in Figure 6; When user finds to need to recover the 3rd data, then recover instruction according to visual representation input, electronic equipment recovers the 3rd data in current data, after date restoring as shown in Figure 8.
You need to add is that, if this electronic equipment is touch type electronic equipment, then input inquiry instruction is specifically as follows the default flag (position as in Fig. 7 indicated by arrow) on touch navigation bar, can show the 3rd data indicated by query statement to make this electronic equipment; When user recovers instruction according to visual representation input, be specifically as follows and become from the default flag on touch navigation bar the default flag discharged on touch navigation bar, the recovery instruction receiving user to make this electronic equipment and input according to visual representation, recovers the 3rd data according to recovery instruction in current data.
The method of a kind of date restoring that the embodiment of the present invention provides, by obtaining the second data of gained after the first data and amendment the first data, contrast the first data whether identical with the second data, if the first data are identical with the second data transformation, then record the 3rd data, wherein, 3rd data comprise the data be modified of the first data, and the visual representation corresponding with the 3rd data is marked in default flag, if to make to receive the recovery instruction that user inputs according to visual representation, then in current data, recover the 3rd data according to recovery instruction.Pass through the program, because whether electronic equipment can be identical with the second data by contrast first data, if the first data are identical with the second data transformation, then record the 3rd data, and by visual representation by the 3rd data markers in default flag, thus make user select to need the record of reduction voluntarily, improve the efficiency of Consumer's Experience sense and editing data.
The embodiment of the present invention also provides a kind of electronic equipment 1, and as shown in Figure 9, this electronic equipment 1 comprises:
Acquisition module 10, for obtaining the second data of gained after the first data and amendment the first data.
Whether contrast module 11 is identical with the second data for contrasting the first data.
Logging modle 12, if identical with the second data transformation for the first data, then record the 3rd data, wherein, the 3rd data comprise the data be modified of the first data.
Execution module 13, for the visual representation corresponding with the 3rd data is marked default flag, if to make to receive the recovery instruction that user inputs according to visual representation, then recover the 3rd data according to recovery instruction in current data.
Further, logging modle 12, if also identical with the second data for the first data, does not then record the 3rd data.
Further, execution module 13, if also for not receiving the recovery instruction that user inputs according to visual representation, does not then recover the 3rd data in current data.
Further, as shown in Figure 10, electronic equipment 1, also comprises:
Acquisition module 10, if also for receiving the query statement that user inputs according to visual representation, then obtains the 3rd data indicated by query statement according to query statement.
Processing module 14, for the resolution according to the 3rd data and display screen, for the 3rd data distribute the pixel needed for display the 3rd data, wherein, the number of the pixel of resolution instruction display screen, the number of the pixel of display needed for the 3rd data is not more than the number of the pixel of display screen.
Display module 15, for showing the 3rd data by display screen.
Further, display module 15, also for the time by display screen display record the 3rd data.
Further, acquisition module 10, specifically for periodically or aperiodically obtaining the second data of gained after amendment first data.
Further, default flag is specially navigation bar.
A kind of electronic equipment that the embodiment of the present invention provides, comprise acquisition module, for obtaining the second data of gained after the first data and amendment the first data, contrast module, whether identical with the second data for contrasting the first data, logging modle, if identical with the second data transformation for the first data, then record the 3rd data, wherein, 3rd data comprise the data be modified of the first data, and execution module, for the visual representation corresponding with the 3rd data is marked default flag, if to make to receive the recovery instruction that user inputs according to visual representation, then in current data, recover the 3rd data according to recovery instruction.Pass through the program, because whether electronic equipment can be identical with the second data by contrast first data, if the first data are identical with the second data transformation, then record the 3rd data, and by visual representation by the 3rd data markers in default flag, thus make user select to need the record of reduction voluntarily, improve the efficiency of Consumer's Experience sense and editing data.
The embodiment of the present invention also provides a kind of electronic installation 2, and as shown in figure 11, this electronic installation 2 comprises:
Receiver 20, for obtaining the second data of gained after the first data and amendment the first data.
Whether processor 21 is identical with the second data for contrasting the first data.
Storer 22, if identical with the second data transformation for the first data, then record the 3rd data, wherein, the 3rd data comprise the data be modified of the first data.
Processor 21, also for the visual representation corresponding with the 3rd data is marked default flag, if to make to receive the recovery instruction that user inputs according to visual representation, then recover the 3rd data according to recovery instruction in current data.
Further, storer 22, if also identical with the second data for the first data, does not then record the 3rd data.
Further, processor 21, if also for not receiving the recovery instruction that user inputs according to visual representation, does not then recover the 3rd data in current data.
Further, as shown in figure 12, electronic installation 2, also comprises:
Receiver 20, if also for receiving the query statement that user inputs according to visual representation, then obtains the 3rd data indicated by query statement according to query statement.
Processor 21, for the resolution according to the 3rd data and display screen, for the 3rd data distribute the pixel needed for display the 3rd data, wherein, the number of the pixel of resolution instruction display screen, the number of the pixel of display needed for the 3rd data is not more than the number of the pixel of display screen.
Display 23, for showing the 3rd data by display screen.
Further, display 23, also for the time by display screen display record the 3rd data.
Further, receiver 20, specifically for periodically or aperiodically obtaining the second data of gained after amendment first data.
Further, default flag is specially navigation bar.
A kind of electronic installation that the embodiment of the present invention provides, comprise receiver, for obtaining the second data of gained after the first data and amendment the first data, processor, whether identical with the second data for contrasting the first data, storer, if identical with the second data transformation for the first data, then record the 3rd data, wherein, 3rd data comprise the data be modified of the first data, and processor, also for the visual representation corresponding with the 3rd data is marked default flag, if to make to receive the recovery instruction that user inputs according to visual representation, then in current data, recover the 3rd data according to recovery instruction.Pass through the program, because whether electronic equipment can be identical with the second data by contrast first data, if the first data are identical with the second data transformation, then record the 3rd data, and by visual representation by the 3rd data markers in default flag, thus make user select to need the record of reduction voluntarily, improve the efficiency of Consumer's Experience sense and editing data.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can have been come by the hardware that programmed instruction is relevant, aforesaid program can be stored in a computer read/write memory medium, this program, when performing, performs the step comprising said method embodiment; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of described claim.

Claims (14)

1. a method for date restoring, is characterized in that, comprising:
Second data of gained after obtaining the first data and revising described first data;
Contrast described first data whether identical with the second data;
If described first data are identical with the second data transformation, then record the 3rd data, wherein, described 3rd data comprise the data be modified of described first data;
The visual representation corresponding with described 3rd data is marked in default flag, if to make to receive the recovery instruction that user inputs according to described visual representation, then recover described 3rd data according to described recovery instruction in current data.
2. the method for date restoring according to claim 1, is characterized in that, if described first data are identical with the second data, does not then record described 3rd data.
3. the method for date restoring according to claim 1, is characterized in that, the recovery instruction that user inputs according to described visual representation if do not receive, then do not recover described 3rd data in current data.
4., according to the method for the date restoring in claim 1-3 described in any one, it is characterized in that, described the visual representation corresponding with described 3rd data is marked in default flag after, described method also comprises:
If receive the query statement that user inputs according to described visual representation, then obtain the 3rd data indicated by described query statement according to described query statement;
According to the resolution of described 3rd data and display screen, for described 3rd data distribute the pixel needed for described 3rd data of display, wherein, described resolution indicates the number of the pixel of described display screen, and the number of the pixel needed for described 3rd data of described display is not more than the number of the pixel of described display screen;
By described 3rd data of described display screen display.
5. the method for date restoring according to claim 4, is characterized in that, described by described 3rd data of described display screen display, also comprises:
The time of described 3rd data is recorded by described display screen display.
6. the method for date restoring according to claim 1, is characterized in that, the second data of gained after described first data of described acquisition amendment, specifically comprise:
Periodically or aperiodically obtain the second data of gained after described first data of amendment.
7. the method for date restoring according to claim 1, is characterized in that, described default flag is specially navigation bar.
8. an electronic equipment, is characterized in that, comprising:
Acquisition module, for the second data of gained after obtaining the first data and revising described first data;
Whether contrast module is identical with the second data for contrasting described first data;
Logging modle, if identical with the second data transformation for described first data, then record the 3rd data, wherein, described 3rd data comprise the data be modified of described first data;
Execution module, for the visual representation corresponding with described 3rd data is marked default flag, if to make to receive the recovery instruction that user inputs according to described visual representation, then recover described 3rd data according to described recovery instruction in current data.
9. electronic equipment according to claim 8, is characterized in that, described logging modle, if also identical with the second data for described first data, does not then record described 3rd data.
10. electronic equipment according to claim 8, is characterized in that, described execution module, if also for not receiving the recovery instruction that user inputs according to described visual representation, then do not recover described 3rd data in current data.
11. electronic equipments according to Claim 8 in-10 described in any one, is characterized in that, also comprise:
Described acquisition module, if also for receiving the query statement that user inputs according to described visual representation, then obtains the 3rd data indicated by described query statement according to described query statement;
Processing module, for the resolution according to described 3rd data and display screen, for described 3rd data distribute the pixel needed for described 3rd data of display, wherein, described resolution indicates the number of the pixel of described display screen, and the number of the pixel needed for described 3rd data of described display is not more than the number of the pixel of described display screen;
Display module, for showing described 3rd data by described display screen.
12. electronic equipments according to claim 11, is characterized in that, described display module, also for being recorded the time of described 3rd data by described display screen display.
13. electronic equipments according to claim 8, is characterized in that, described acquisition module, specifically for periodically or aperiodically obtaining the second data of gained after described first data of amendment.
14. electronic equipments according to claim 8, is characterized in that, described default flag is specially navigation bar.
CN201310284336.0A 2013-07-08 2013-07-08 The method and electronic equipment of a kind of data recovery Active CN104281561B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310284336.0A CN104281561B (en) 2013-07-08 2013-07-08 The method and electronic equipment of a kind of data recovery
PCT/CN2014/071884 WO2015003493A1 (en) 2013-07-08 2014-02-07 Data recovery method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310284336.0A CN104281561B (en) 2013-07-08 2013-07-08 The method and electronic equipment of a kind of data recovery

Publications (2)

Publication Number Publication Date
CN104281561A true CN104281561A (en) 2015-01-14
CN104281561B CN104281561B (en) 2017-11-24

Family

ID=52256447

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310284336.0A Active CN104281561B (en) 2013-07-08 2013-07-08 The method and electronic equipment of a kind of data recovery

Country Status (2)

Country Link
CN (1) CN104281561B (en)
WO (1) WO2015003493A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109753484A (en) * 2018-12-18 2019-05-14 维沃移动通信有限公司 A kind of file access pattern method and mobile terminal
CN109947334A (en) * 2017-12-21 2019-06-28 珠海金山办公软件有限公司 A kind of ink marks cancelling method, device and electronic equipment
CN111813303A (en) * 2020-06-10 2020-10-23 维沃移动通信有限公司 Text processing method and device, electronic equipment and readable storage medium
CN113297220A (en) * 2021-05-21 2021-08-24 中国邮政储蓄银行股份有限公司 Data recovery method and device, computer readable storage medium and processor

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106559440B (en) * 2015-09-25 2020-04-28 中兴通讯股份有限公司 Data processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1636173A (en) * 2001-04-09 2005-07-06 西门子公司 Method, databank system and computer program product for designing a technical facility
US20070006605A1 (en) * 2005-07-06 2007-01-11 Kaori Heat Treatment Co., Ltd. Heating and cooling system
CN101196894A (en) * 2006-12-06 2008-06-11 英业达股份有限公司 Graphic file modification information processing method and computer readable memory medium
CN101842768A (en) * 2007-06-08 2010-09-22 苹果公司 Graphical user interface for backup interface

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8135673B2 (en) * 2006-03-22 2012-03-13 The Boeing Company Systems and methods for dynamic display of revision indicia

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1636173A (en) * 2001-04-09 2005-07-06 西门子公司 Method, databank system and computer program product for designing a technical facility
US20070006605A1 (en) * 2005-07-06 2007-01-11 Kaori Heat Treatment Co., Ltd. Heating and cooling system
CN101196894A (en) * 2006-12-06 2008-06-11 英业达股份有限公司 Graphic file modification information processing method and computer readable memory medium
CN101842768A (en) * 2007-06-08 2010-09-22 苹果公司 Graphical user interface for backup interface

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109947334A (en) * 2017-12-21 2019-06-28 珠海金山办公软件有限公司 A kind of ink marks cancelling method, device and electronic equipment
CN109947334B (en) * 2017-12-21 2022-04-05 珠海金山办公软件有限公司 Ink mark canceling method and device and electronic equipment
CN109753484A (en) * 2018-12-18 2019-05-14 维沃移动通信有限公司 A kind of file access pattern method and mobile terminal
CN111813303A (en) * 2020-06-10 2020-10-23 维沃移动通信有限公司 Text processing method and device, electronic equipment and readable storage medium
CN113297220A (en) * 2021-05-21 2021-08-24 中国邮政储蓄银行股份有限公司 Data recovery method and device, computer readable storage medium and processor

Also Published As

Publication number Publication date
WO2015003493A1 (en) 2015-01-15
CN104281561B (en) 2017-11-24

Similar Documents

Publication Publication Date Title
CN104281561A (en) Data recovery method and electronic equipment
CN103500116A (en) Method and system for clearing data generated by application program
CN102799358A (en) Method and device for determining display position of cursor
CN104765528A (en) Display method and device of virtual keyboard
CN104572348A (en) Terminal
CN102023843A (en) Function calling method and device as well as smart card
CN110096413A (en) A kind of disk localization method, system and electronic equipment and storage medium
CN106446027A (en) Information recommendation method and apparatus
CN103927098A (en) Modifying and setting method of Widget function block
CN103543901A (en) Method and device for generating menus
CN104978074A (en) Formula input method and apparatus
CN103020908B (en) The method and apparatus of image noise reduction
CN102902500B (en) Display method and device of data matrix information
CN105704527A (en) Terminal and method for video frame positioning for terminal
CN104899908A (en) Method and device for generating evolution diagram of event group
CN105183310A (en) Information editing method and terminal
CN102999556B (en) Text search method, device and terminal device
CN106775421A (en) Method and mobile terminal that a kind of sectional drawing interface is recovered
CN105843826A (en) Search method and device
CN104572349A (en) Data backup method
CN104667473A (en) Fire hydrant monitoring method and device as well as fire hydrant fault prompting method and device
CN109491557A (en) A kind of icon display method and device
CN103856967A (en) Visualized configuration method for equipment panel in NIS system
CN105630381A (en) Page display method and apparatus
CN105187633A (en) Mobile phone number display method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant