CN104281561B - The method and electronic equipment of a kind of data recovery - Google Patents

The method and electronic equipment of a kind of data recovery Download PDF

Info

Publication number
CN104281561B
CN104281561B CN201310284336.0A CN201310284336A CN104281561B CN 104281561 B CN104281561 B CN 104281561B CN 201310284336 A CN201310284336 A CN 201310284336A CN 104281561 B CN104281561 B CN 104281561B
Authority
CN
China
Prior art keywords
data
electronic equipment
recovery
display screen
visual representation
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.)
Active
Application number
CN201310284336.0A
Other languages
Chinese (zh)
Other versions
CN104281561A (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 present invention provides a kind of method and electronic equipment of data recovery, it is related to the communications field, can whether identical by contrasting the first data and the second data, and change is tagged in default flag by visual representation, so that user voluntarily selects to need the record reduced, improve user experience and edit the efficiency of data.This method includes:Obtain the first data and change the second data of gained after the first data;It is whether identical with the second data to contrast the first data;If the first data are identical with the second data transformation, the 3rd data are recorded, wherein, the 3rd data include the data changed of the first data;Visual representation corresponding with the 3rd data is tagged in default flag, if the recovery inputted to receive user according to visual representation instructs, recovers the 3rd data in current data according to instruction is recovered.

Description

The method and electronic equipment of a kind of data recovery
Technical field
The present invention relates to the method and electronic equipment of the communications field, more particularly to a kind of data recovery.
Background technology
With the rapid development of the continuous progress, particularly integrated circuit technique of science and technology, mobile terminal has had by force Big disposal ability, and it is changed into an integrated information processing platform from simple call instrument, locate on mobile terminals Text, the data such as image are managed compared to the processing data on traditional entity data, there is the features such as portability, promptness, because This, is also increasingly received in mobile terminal processing data by users.
Faulty operation usually occurs when carrying out edit-modify to information using various terminals in user.When user occurs During faulty operation, it is often desirable that can quickly cancel faulty operation, the state restored data to before there is faulty operation.If The state that can not be restored data to before there is faulty operation, user just need to re-enter.Especially when input equipment is shifting During dynamic terminal, because mobile terminal input speed is slow, therefore the efficiency of editor's data is leveraged.
In the prior art when text often occurs once to change, CPU(Central Processing Unit, central processing Device)A record will be recorded automatically, as shown in figure 1, when there is faulty operation, CPU can lead to according to the sequencing of record Cross the mode linearly to retract and recover faulty operation, i.e., historic state 3, historic state 2, historic state are linearly return back to according to present situation 1 order recovery faulty operation.However, during data recovery is realized, the data of more long change before, user needs to grasp The step of making is more, meanwhile, when user needs to recover the data of former steps, the mode linearly to retract can be intermediate user not The part for wanting to recover also is recovered, and then have impact on the efficiency of editor's data.
The content of the invention
Embodiments of the invention provide a kind of method and electronic equipment of data recovery, can by contrast the first data with Whether the second data are identical, and change is tagged in default flag by visual representation, so that user voluntarily selects The record reduced is needed, user experience is improved and edits the efficiency of data.
To reach above-mentioned purpose, embodiments of the invention adopt the following technical scheme that:
In a first aspect, the embodiment of the present invention provides a kind of method of data recovery, this method includes:
Obtain the first data and change the second data of gained after first data;
It is whether identical with the second data to contrast first data;
If first data are identical with the second data transformation, the 3rd data are recorded, wherein, the 3rd packet Include the data changed of first data;
Visual representation corresponding with the 3rd data is tagged in default flag, if to receive user The recovery inputted according to the visual representation instructs, then recovers the 3rd number in current data according to the recovery instruction According to.
In the first possible implementation, if according in a first aspect, first data and the complete phase of the second data Together, then the 3rd data are not recorded.
In second of possible implementation, with reference to first aspect or the first possible implementation, if not receiving The recovery inputted to user according to the visual representation instructs, then does not recover the 3rd data in current data.
In the third possible implementation, with reference to first aspect or the first possible implementation or second can Can implementation, it is described will be after visual representation corresponding with the 3rd data be tagged in default flag, institute Stating method also includes:
If receiving the query statement that user inputs according to the visual representation, institute is obtained according to the query statement State the 3rd data indicated by query statement;
According to the 3rd data and the resolution ratio of display screen, the 3rd data are shown for the 3rd data distribution Required pixel, wherein, the resolution ratio indicates the number of the pixel of the display screen, display the 3rd data Number of the number of required pixel no more than the pixel of the display screen;
3rd data are shown by the display screen.
In the 4th kind of possible implementation, with reference to first aspect or the first possible implementation to the third can The implementation of energy, it is described that 3rd data are shown by the display screen, in addition to:
The time for recording the 3rd data is shown by the display screen.
In the 5th kind of possible implementation, with reference to first aspect or the first possible implementation to the 4th kind can The implementation of energy, the acquisition are changed the second data of gained after first data, specifically included:
Periodically or aperiodically the second data of gained after first data are changed in acquisition.
In the 6th kind of possible implementation, with reference to first aspect or the first possible implementation to the 5th kind can The implementation of energy, the default flag is specially navigation bar.
Second aspect, the embodiment of the present invention also provide a kind of electronic equipment, including:
Acquisition module, for obtaining the first data and changing the second data of gained after first data;
Whether contrast module is identical with the second data for contrasting first data;
Logging modle, if identical with the second data transformation for first data, the 3rd data are recorded, wherein, 3rd data include the data changed of first data;
Execution module, for visual representation corresponding with the 3rd data to be tagged into default flag, so that Instructed if obtaining and receiving the recovery that user inputs according to the visual representation, recover instruction in current data according to described Recover the 3rd data.
In the first possible implementation, according to second aspect, the logging modle, if being additionally operable to first number According to identical with the second data, then the 3rd data are not recorded.
In second of possible implementation, with reference to second aspect or the first possible implementation, the execution Module, it is extensive not in current data if being additionally operable to not receive the recovery instruction that user inputs according to the visual representation Multiple 3rd data.
In the third possible implementation, with reference to second aspect or the first possible implementation or second can The implementation of energy, the electronic equipment, in addition to:
The acquisition module, if being additionally operable to receive the query statement that user inputs according to the visual representation, root The 3rd data indicated by the query statement are obtained according to the query statement;
Processing module, for the resolution ratio according to the 3rd data and display screen, show for the 3rd data distribution Show the pixel needed for the 3rd data, wherein, the resolution ratio indicates the number of the pixel of the display screen, described aobvious Show number of the number no more than the pixel of the display screen of the pixel needed for the 3rd data;
Display module, for showing the 3rd data by the display screen.
In the 4th kind of possible implementation, with reference to second aspect or the first possible implementation to the third can The implementation of energy, the display module, is additionally operable to show the time for recording the 3rd data by the display screen.
In the 5th kind of possible implementation, with reference to second aspect or the first possible implementation to the 4th kind can Can implementation, the acquisition module, specifically for periodically or aperiodically obtaining institute after modification first data The second data obtained.
In the 6th kind of possible implementation, with reference to second aspect or the first possible implementation to the 5th kind can The implementation of energy, the default flag is specially navigation bar.
The method and electronic equipment for a kind of data recovery that the embodiment of the present invention is provided, by obtaining the first data and repairing Change the second data of gained after the first data, whether the first data of contrast and the second data are identical, if the first data count with second According to incomplete same, then the 3rd data are recorded, wherein, the 3rd data include the data changed of the first data, and will be with Visual representation corresponding to 3rd data is tagged in default flag, if defeated according to visual representation to receive user The recovery instruction entered, then recover the 3rd data according to recovery instruction in current data.By the program, due to electronic equipment energy It is enough whether identical by contrasting the first data and the second data, if the first data are identical with the second data transformation, record the Three data, and by visual representation by the 3rd data markers to default flag, so that user voluntarily selects to need The record of reduction, improve user experience and edit the efficiency of data.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the ordinal relation for recovering faulty operation by way of linearly retracting in the prior art;
Fig. 2 is the schematic flow sheet one of the method for data recovery provided in an embodiment of the present invention;
Fig. 3 is the schematic flow sheet two of the method for data recovery provided in an embodiment of the present invention;
Fig. 4 is the process schematic one of the method for data recovery provided in an embodiment of the present invention;
Fig. 5 is the process schematic two of the method for data recovery provided in an embodiment of the present invention;
The process schematic three of the method for Fig. 6 data recoveries provided in an embodiment of the present invention;
The process schematic four of the method for Fig. 7 data recoveries provided in an embodiment of the present invention;
The process schematic five of the method for Fig. 8 data recoveries provided in an embodiment of the present invention;
The structural representation one of Fig. 9 electronic equipments provided in an embodiment of the present invention;
The structural representation two of Figure 10 electronic equipments provided in an embodiment of the present invention;
Figure 11 is the structural representation one of electronic installation provided in an embodiment of the present invention;
Figure 12 is the structural representation two of electronic installation provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
The embodiment of the present invention provides a kind of method of data recovery, as shown in Fig. 2 this method includes:
S101, electronic equipment obtain the first data and change the second data of gained after the first data.
With the rapid development of the continuous progress, particularly integrated circuit technique of science and technology, mobile terminal has had by force Big disposal ability, and it is changed into an integrated information processing platform from simple call instrument, locate on mobile terminals Text, the data such as image are managed compared to the processing data on traditional entity data, there is the features such as portability, promptness, because This, is also increasingly received in mobile terminal processing data by users.However, user is being entered using various terminals to information When edlin is changed, faulty operation usually occurs.When there is faulty operation in user, it is often desirable that can quickly cancel mistake Operation, the state restored data to before there is faulty operation.If it can not restore data to before there is faulty operation State, user just need to re-enter.Especially when input equipment is mobile terminal, because mobile terminal input speed is slow, because This leverages the efficiency of editor's data.
A kind of method of data recovery provided in an embodiment of the present invention, when user uses a data in editor, first Electronic equipment obtains the first data and changes the second data of gained after the first data.
S102, electronic equipment contrast the first data and whether the second data are identical.
If S103, the first data are identical with the second data transformation, electronic equipment records the 3rd data.
Wherein, the 3rd data include the data changed of the first data.
Electronic equipment is obtaining the first data and changed after the first data after the second data of gained, it is necessary to contrast the Whether one data are identical with the second data, if the first data are identical with the second data transformation, record the 3rd data.
It should be noted that electronic equipment obtain the first data and change the first data after gained the second data it Afterwards, the first data are contrasted and whether the second data is identical, if the first data are identical with the second data transformation, illustrate that electronics is set It is standby after the first data are obtained, and before the second data are obtained, user has carried out editor's use to the first data.Electronics Equipment records the data changed of the first data, i.e. the 3rd data.
Visual representation corresponding with the 3rd data is tagged in default flag by S104, electronic equipment, if to cause Receive the recovery that user inputs according to visual representation to instruct, then electronic equipment recovers according to instruction is recovered in current data 3rd data.
Visual representation corresponding with the 3rd data can be tagged to pre- bidding by electronic equipment after the 3rd data are recorded Know on position, wherein, default flag is specially navigation bar.By using the data of visual representation mark the 3rd on navigation bar, User with the position of the data of fast positioning the 3rd, can check the content of the 3rd data, so as to obtain the data that user recovers to needs Operated.
You need to add is that a kind of method for data recovery that the embodiment of the present invention is provided, flag can be navigation Bar, marker bit can also be other can the data of mark the 3rd, enable a user to the position of the data of fast positioning the 3rd Navigation markup, the present invention are not limited.
After electronic equipment uses visual representation by the 3rd data markers to default flag, if user's needs pair When the data of input are modified, user, which inputs, recovers instruction.Now it is defeated according to visual representation to receive user for electronic equipment The recovery instruction entered, then electronic equipment instructs according to recovery recovers the 3rd data in current data.
Specifically, how electronic equipment is according to recovering to instruct in current data, the 3rd data of recovery will be in following embodiments Middle completely to be described, here is omitted.
The method for a kind of data recovery that the embodiment of the present invention is provided, by obtaining the first data of the first data and modification Second data of gained afterwards, contrast the first data and whether the second data are identical, if the first data and the second data transformation phase Together, then the 3rd data are recorded, wherein, the 3rd data include the data changed of the first data, and will be with the 3rd data pair The visual representation answered is tagged in default flag, if the recovery inputted with to receive user according to visual representation refers to Order, then the 3rd data are recovered in current data according to recovery instruction.By the program, because electronic equipment can pass through contrast Whether the first data are identical with the second data, if the first data are identical with the second data transformation, record the 3rd data, and By visual representation by the 3rd data markers to default flag, so that user voluntarily selects to need the record reduced, Improve user experience and edit the efficiency of data.
The embodiment of the present invention provides a kind of method of data recovery, as shown in figure 3, this method includes:
S201, electronic equipment obtain the first data and change the second data of gained after the first data.
A kind of method of data recovery provided in an embodiment of the present invention, when user uses a data in editor, first Electronic equipment obtains the first data and changes the second data of gained after the first data.
It should be noted that the method for data recovery provided in an embodiment of the present invention, the first number is got in electronic equipment According to afterwards, according to subscriber policy, the second data are periodically or aperiodically obtained.
S202, electronic equipment contrast the first data and whether the second data are identical.
If S203, the first data are identical with the second data transformation, electronic equipment records the 3rd data.
Wherein, the 3rd data include the data changed of the first data.
Electronic equipment is obtaining the first data and changed after the first data after the second data of gained, it is necessary to contrast the Whether one data are identical with the second data, if the first data are identical with the second data transformation, record the 3rd data.
It should be noted that electronic equipment obtain the first data and change the first data after gained the second data it Afterwards, the first data are contrasted and whether the second data is identical, if the first data are identical with the second data transformation, illustrate that electronics is set It is standby after the first data are obtained, and before the second data are obtained, user has carried out editor's use to the first data.Electronics Equipment records the data changed of the 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 is got Contrasted with the preceding data once got, if data transformation is identical twice, illustrate to obtain this twice in electronic equipment Between data, data have carried out edit-modify by user, then the data that electronic equipment record is changed.
Visual representation corresponding with the 3rd data is tagged in default flag by S204, electronic equipment.
Whether electronic equipment the first data of contrast are identical with the second data of gained after the first data of modification, if the first data It is identical with the second data transformation, then using visual representation by the 3rd data markers to default flag.
It should be noted that using visual representation by the 3rd data markers to default flag, wherein, flag tool Body is navigation bar.By using the data of visual representation mark the 3rd on navigation bar, user can be with the data of fast positioning the 3rd Position, check the contents of the 3rd data so that the data recovered to needs of user operate, wherein, visual representation Can be color or symbol.
You need to add is that a kind of method for data recovery that the embodiment of the present invention is provided, flag can be navigation Bar, marker bit can also be other can the data of mark the 3rd, enable a user to the position of the data of fast positioning the 3rd Navigation markup, the present invention are not limited.
If S205, the first data are identical with the second data, electronic equipment does not record the 3rd data.
Electronic equipment is obtaining the first data and changed after the first data after the second data of gained, the number of contrast first According to whether identical with the second data, if the first data are identical with the second data, illustrate electronic equipment in the number of record first According to afterwards, and before the second data are recorded, user does not carry out edit-modify to the data, although or user to the data Edit-modify has been carried out, but data do not change but, then electronic equipment does not record the 3rd data.
You need to add is that the second data of electronic equipment gained after the first data of modification are obtained, the number of contrast first According to the second data it is whether identical after, according to subscriber policy, periodically or aperiodically obtain data, now, electronics is set The standby data got are contrasted with the preceding data once got, if data are identical twice, illustrate to set in electronics It is standby to obtain this twice between data, user to data progress edit-modify, although or user the data are carried out Edit-modify, but data do not change but, then the data do not changed need electronic equipment to be recorded.
If S206, receiving the query statement that user inputs according to visual representation, electronic equipment is according to query statement Obtain the 3rd data of query statement instruction.
After electronic equipment uses visual representation by the 3rd data markers to flag, if user needs to check institute 3rd data of mark, then instructed according to visual representation input inquiry.If electronic equipment receives user and marked according to visualization Know the query statement of input, then the 3rd data of query statement instruction are obtained according to query statement.
S207, electronic equipment show the 3rd number according to the 3rd data and the resolution ratio of display screen for the 3rd data distribution According to required pixel, wherein, resolution ratio indicates the number of the pixel of display screen, the pixel needed for the 3rd data of display Number of the number no more than the pixel of display screen.
Different display screens possesses different resolution ratio, and resolution ratio refers to the precision of screen picture, i.e. display institute energy The number of the pixel of display.Because point, line and the face on display screen screen are all made up of pixel, the displayable picture of display Element is more, and picture is finer, and the information that same screen area interior energy is shown is also more, so resolution ratio is individual extremely important One of performance indications.By electronic equipment, the resolution ratio of present displays can be obtained.
It is understood that whole image is imagined as a large-scale chessboard, and resolution ratio is all warps and latitude The number in line crosspoint, for example, resolution ratio is 1024 × 960 display screen, then show to include on a horizontal line on display screen 1024 pixels, and share 960 horizontal lines, i.e., line number is 1024 rows on display screen, and columns arranges for 960, resolution ratio 640 × 480 display screen, represent and contain 640 pixels on display screen on a horizontal line, share 480 horizontal lines, i.e., it is aobvious Line number is 640 rows in display screen, and columns is 480 row.
You need to add is that the resolution ratio of the display screen used due to different users is different, this just needs electronic equipment Current use environment is detected, so that all data are capable of the resolution ratio of adaptive current display.
So, for electronic equipment after the 3rd data are obtained, electronic equipment can be according to the 3rd data and display screen Resolution ratio, the pixel needed for the data is shown for the 3rd data distribution, wherein, of the pixel of resolution ratio instruction display screen Number, the number of the pixel needed for display data are not more than the number of the pixel of display screen.In order to full frame guide look the 3rd Data, electronic equipment need all information for the 3rd data to distribute the pixel needed for these information, for example, current display screen With 1000 pixels, and the 3rd data have 10 bytes, then the preset rules that electronic equipment can be formulated according to user, It is less than or equal to 100 pixels for the distribution of each byte, i.e., shows a data by less than or equal to 100 pixels, and then, Under one display picture, the 3rd data are shown.
S208, electronic equipment show the 3rd data by display screen.
If electronic equipment receives the query statement of user's input, obtain that query statement indicates according to query statement the Three data, and according to the 3rd data and the resolution ratio of display screen, the picture needed for the 3rd data is shown for the 3rd data distribution After vegetarian refreshments, the 3rd data are shown by display screen.
You need to add is that it is provided in an embodiment of the present invention when showing three data by display screen, according to the use of formulation Family strategy, the time of the 3rd data of record can be shown simultaneously, enable a user to be more prone to that selection needs to recover the Three data, improve user experience.
If S209, receiving the recovery instruction that user inputs according to visual representation, electronic equipment instructs according to recovery Recover the 3rd data in current data.
In electronic equipment according to the 3rd data and the resolution ratio of display screen, the 3rd data institute is shown for the 3rd data distribution The pixel needed, after showing the 3rd data by display screen, if user needs to recover the data, user is according to visual Change mark input and recover instruction.If receiving the recovery that user inputs according to visual representation to instruct, electronic equipment is according to extensive The 3rd data of recovery in current data are instructed again.
If S210, not receiving the recovery instruction that user inputs according to visual representation, electronic equipment is not in current number According to the 3rd data of upper recovery.
In electronic equipment according to the 3rd data and the resolution ratio of display screen, the 3rd data institute is shown for the 3rd data distribution The pixel needed, after showing the 3rd data by display screen, if user need not recover to the data, user's not basis Visual representation input recovers instruction.If do not receive the recovery that user inputs according to visual representation to instruct, electronic equipment Recover the 3rd data not in current data.
Exemplary, if user edits a text on an electronic device, electronic equipment obtains the reset condition of the text For the first data, as shown in figure 4, then user enters edlin to the text, it is 10 that electronic equipment, which sets the cycle of acquisition data, Second, after 10 seconds of the first data are obtained, electronic equipment obtains the second data of gained after the first data of modification, as shown in Figure 4. Electronic equipment contrasts the first data and whether the second data are identical, and electronic equipment knows the first data and the complete phase of the second data Together, then any data are not recorded;Afterwards, electronic equipment periodically obtains data, is obtaining the second data according to subscriber policy 10 seconds after, electronic equipment obtains new data, as shown in figure 5, and by the data with the second data compared with, contrast electronics The new data that equipment obtains and the second data, electronic equipment know that the new data of acquisition are identical with the second data transformation, Then record the 3rd data(Data as indicated by arrow in Fig. 5), wherein, the 3rd data include the number changed of the second data According to, while the time of the 3rd data of record is recorded, then, electronic equipment will visual representation mark corresponding with the 3rd data To default flag(Such as the density bullet below Fig. 5)On;Afterwards, electronic equipment periodically correction data, records and is changed Data and time of data for being changed of record, and with visual representation by the data markers changed to default flag On, as shown in fig. 6, marked the data changed at two on preset mark position.
When user wants to recover data, the data for needing to recover are first looked at, if as shown in fig. 7, electronic equipment receives The query statement inputted to user according to visual representation, then the 3rd data of query statement instruction are obtained according to query statement, And according to the 3rd data and the resolution ratio of display screen, the pixel needed for the 3rd data is shown for the 3rd data distribution, its In, the number of the pixel of resolution ratio instruction display screen, show that the number of the pixel needed for the 3rd data is not more than display screen Pixel number, and the 3rd data are shown by display screen.When user finds no need for recovering three data, then not Inputted according to visual representation and recover instruction, electronic equipment recovers the 3rd data not in current data, and data are still such as Fig. 6 institutes Show;When user has found to need to recover three data, then inputted according to visual representation and recover instruction, electronic equipment is current Recover the 3rd data in data, after data recovery as shown in Figure 8.
You need to add is that if the electronic equipment is touch type electronic equipment, input inquiry instruction is specifically as follows tactile Touch the default flag on navigation bar(Position as indicated by arrow in Fig. 7), to enable the electronic equipment to show inquiry The 3rd indicated data of instruction;When user inputs according to visual representation recovers instruction, it is specifically as follows by touch navigation Default flag on bar is changed into discharging the default flag on touch navigation bar, to cause the electronic equipment to receive user's root Instructed according to the recovery of visual representation input, recover the 3rd data in current data according to instruction is recovered.
The method for a kind of data recovery that the embodiment of the present invention is provided, by obtaining the first data of the first data and modification Second data of gained afterwards, contrast the first data and whether the second data are identical, if the first data and the second data transformation phase Together, then the 3rd data are recorded, wherein, the 3rd data include the data changed of the first data, and will be with the 3rd data pair The visual representation answered is tagged in default flag, if the recovery inputted with to receive user according to visual representation refers to Order, then the 3rd data are recovered in current data according to recovery instruction.By the program, because electronic equipment can pass through contrast Whether the first data are identical with the second data, if the first data are identical with the second data transformation, record the 3rd data, and By visual representation by the 3rd data markers to default flag, so that user voluntarily selects to need the record reduced, Improve user experience and edit the efficiency of data.
The embodiment of the present invention also provides a kind of electronic equipment 1, as shown in figure 9, the electronic equipment 1 includes:
Acquisition module 10, for obtaining the first data and changing the second data of gained after the first data.
Whether contrast module 11 is identical for contrasting the first data and the second data.
Logging modle 12, if identical with the second data transformation for the first data, the 3rd data are recorded, wherein, the Three data include the data changed of the first data.
Execution module 13, for visual representation corresponding with the 3rd data to be tagged into default flag, to cause If receiving the recovery that user inputs according to visual representation to instruct, recover the 3rd number in current data according to instruction is recovered According to.
Further, logging modle 12, if it is identical with the second data to be additionally operable to the first data, the 3rd number is not recorded According to.
Further, execution module 13, if being additionally operable to not receive the recovery instruction that user inputs according to visual representation, Then recover the 3rd data not in current data.
Further, as shown in Figure 10, electronic equipment 1, in addition to:
Acquisition module 10, if being additionally operable to receive the query statement that user inputs according to visual representation, according to inquiry Instruction obtains the 3rd data indicated by query statement.
Processing module 14, for the resolution ratio according to the 3rd data and display screen, the 3rd is shown for the 3rd data distribution Pixel needed for data, wherein, the number of the pixel of resolution ratio instruction display screen, show the pixel needed for the 3rd data Number no more than display screen pixel number.
Display module 15, for showing the 3rd data by display screen.
Further, display module 15, it is additionally operable to show the time of the 3rd data of record by display screen.
Further, acquisition module 10, specifically for periodically or aperiodically obtain modification the first data after gained The second data.
Further, default flag is specially navigation bar.
A kind of electronic equipment provided in an embodiment of the present invention, including acquisition module, for obtaining the first data and modification the Second data of gained after one data, whether contrast module is identical for the first data of contrast and the second data, logging modle, If identical with the second data transformation for the first data, the 3rd data are recorded, wherein, the 3rd data include the first data The data changed, and execution module, for visual representation corresponding with the 3rd data to be tagged into default flag, If the recovery inputted with to receive user according to visual representation instructs, recover according to instruction is recovered in current data 3rd data.By the program, because whether electronic equipment can identical by contrasting the first data and the second data, if first Data are identical with the second data transformation, then record the 3rd data, and by visual representation by the 3rd data markers in advance If in flag, so that user voluntarily selects to need the record reduced, improve user experience and edit the efficiency of data.
The embodiment of the present invention also provides a kind of electronic installation 2, and as shown in figure 11, the electronic installation 2 includes:
Receiver 20, for obtaining the first data and changing the second data of gained after the first data.
Whether processor 21 is identical for contrasting the first data and the second data.
Memory 22, if identical with the second data transformation for the first data, the 3rd data are recorded, wherein, the 3rd Data include the data changed of the first data.
Processor 21, it is additionally operable to visual representation corresponding with the 3rd data being tagged in default flag, to cause If receiving the recovery that user inputs according to visual representation to instruct, recover the 3rd number in current data according to instruction is recovered According to.
Further, memory 22, if it is identical with the second data to be additionally operable to the first data, the 3rd number is not recorded According to.
Further, processor 21, if being additionally operable to not receive the recovery instruction that user inputs according to visual representation, Recover the 3rd data not in current data.
Further, as shown in figure 12, electronic installation 2, in addition to:
Receiver 20, if being additionally operable to receive the query statement that user inputs according to visual representation, referred to according to inquiry Order obtains the 3rd data indicated by query statement.
Processor 21, for the resolution ratio according to the 3rd data and display screen, the 3rd number is shown for the 3rd data distribution According to required pixel, wherein, resolution ratio indicates the number of the pixel of display screen, the pixel needed for the 3rd data of display Number of the number no more than the pixel of display screen.
Display 23, for showing the 3rd data by display screen.
Further, display 23, it is additionally operable to show the time of the 3rd data of record by display screen.
Further, receiver 20, specifically for periodically or aperiodically obtain modification the first data after gained Second data.
Further, default flag is specially navigation bar.
A kind of electronic installation provided in an embodiment of the present invention, including receiver, for obtaining the first data and modification first Second data of gained after data, whether processor is identical for the first data of contrast and the second data, memory, if for First data are identical with the second data transformation, then record the 3rd data, wherein, the 3rd data include being changed for the first data Data, and processor is additionally operable to visual representation corresponding with the 3rd data being tagged in default flag, to cause If receiving the recovery that user inputs according to visual representation to instruct, recover the 3rd number in current data according to instruction is recovered According to.By the program, because whether electronic equipment can identical with the second data by contrasting the first data, if the first data and Second data transformation is identical, then records the 3rd data, and identify the 3rd data markers to default by visual representation On position, so that user voluntarily selects to need the record reduced, improve user experience and edit the efficiency of data.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through Programmed instruction related hardware is completed, and foregoing program can be stored in a computer read/write memory medium, the program Upon execution, the step of execution includes above method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or light Disk etc. is various can be with the medium of store program codes.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (14)

  1. A kind of 1. method of data recovery, it is characterised in that including:
    Obtain the first data and change the second data of gained after first data;
    It is whether identical with the second data to contrast first data;
    If first data are identical with the second data transformation, the 3rd data are recorded, wherein, the 3rd data include institute State the data changed of the first data;
    Visual representation corresponding with the 3rd data is tagged in default flag, if with to receive user according to The recovery instruction of the visual representation input, then the 3rd data are recovered in current data according to the recovery instruction;
    Wherein, first data are the data in the second data previous cycle.
  2. 2. the method for data recovery according to claim 1, it is characterised in that if first data and the second data are complete It is exactly the same, then the 3rd data are not recorded.
  3. 3. the method for data recovery according to claim 1, it is characterised in that if not receiving user according to described visual Change the recovery instruction of mark input, then do not recover the 3rd data in current data.
  4. 4. the method for the data recovery according to any one in claim 1-3, it is characterised in that it is described will with it is described After visual representation corresponding to 3rd data is tagged in default flag, methods described also includes:
    If receiving the query statement that user inputs according to the visual representation, looked into according to obtaining the query statement Ask the 3rd indicated data of instruction;
    According to the 3rd data and the resolution ratio of display screen, shown for the 3rd data distribution needed for the 3rd data Pixel, wherein, the resolution ratio indicates the number of the pixel of the display screen, needed for display the 3rd data Pixel number no more than the display screen pixel number;
    3rd data are shown by the display screen.
  5. 5. the method for data recovery according to claim 4, it is characterised in that it is described shown by the display screen described in 3rd data, in addition to:
    The time for recording the 3rd data is shown by the display screen.
  6. 6. the method for data recovery according to claim 1, it is characterised in that after first data are changed in the acquisition Second data of gained, are specifically included:
    Periodically or aperiodically the second data of gained after first data are changed in acquisition.
  7. 7. the method for data recovery according to claim 1, it is characterised in that the default flag is specially to navigate Bar.
  8. 8. a kind of electronic equipment, it is characterised in that including:
    Acquisition module, for obtaining the first data and changing the second data of gained after first data;
    Whether contrast module is identical with the second data for contrasting first data;
    Logging modle, if identical with the second data transformation for first data, the 3rd data are recorded, wherein, it is described 3rd data include the data changed of first data;
    Execution module, for visual representation corresponding with the 3rd data to be tagged into default flag, if to cause Receive the recovery that user inputs according to the visual representation to instruct, then recovered according to the recovery instruction in current data 3rd data;
    Wherein, first data are the data in the second data previous cycle.
  9. 9. electronic equipment according to claim 8, it is characterised in that the logging modle, if being additionally operable to first number According to identical with the second data, then the 3rd data are not recorded.
  10. 10. electronic equipment according to claim 8, it is characterised in that the execution module, if being additionally operable to not receive use The recovery that family inputs according to the visual representation instructs, then does not recover the 3rd data in current data.
  11. 11. according to the electronic equipment described in any one in claim 8-10, it is characterised in that also include:
    The acquisition module, if being additionally operable to receive the query statement that user inputs according to the visual representation, according to institute State the 3rd data indicated by the query statement acquisition query statement;
    Processing module, for the resolution ratio according to the 3rd data and display screen, institute is shown for the 3rd data distribution The pixel needed for the 3rd data is stated, wherein, the resolution ratio indicates the number of the pixel of the display screen, the display institute State number of the number no more than the pixel of the display screen of the pixel needed for the 3rd data;
    Display module, for showing the 3rd data by the display screen.
  12. 12. electronic equipment according to claim 11, it is characterised in that the display module, be additionally operable to by described aobvious Display screen shows the time for recording the 3rd data.
  13. 13. electronic equipment according to claim 8, it is characterised in that the acquisition module, specifically for periodically or non- Periodically the second data of gained after first data are changed in acquisition.
  14. 14. electronic equipment according to claim 8, it is characterised in that the 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 CN104281561A (en) 2015-01-14
CN104281561B true 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)

Families Citing this family (5)

* 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
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
CN111813303B (en) * 2020-06-10 2022-01-28 维沃移动通信有限公司 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

Citations (3)

* 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
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 (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070006605A1 (en) * 2005-07-06 2007-01-11 Kaori Heat Treatment Co., Ltd. Heating and cooling system
US8135673B2 (en) * 2006-03-22 2012-03-13 The Boeing Company Systems and methods for dynamic display of revision indicia

Patent Citations (3)

* 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
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

Also Published As

Publication number Publication date
CN104281561A (en) 2015-01-14
WO2015003493A1 (en) 2015-01-15

Similar Documents

Publication Publication Date Title
CN104281561B (en) The method and electronic equipment of a kind of data recovery
CN101833418B (en) Method and device for adding icon in interface and mobile terminal
CN103218123B (en) Method that desktop icons rearrange and touch mobile terminal thereof
CN105843480A (en) Desktop icon adjustment method and apparatus
CN102110148A (en) Folder content showing method and terminal
CN101251964B (en) Electronic map interest point marking method, system and equipment
CN101719095A (en) Method and device for managing regression testing
CN104834438A (en) Desktop display method and device
CN101763218A (en) Input method for handheld equipment
CN103472989B (en) The changing method of a kind of wallpaper and terminal
CN103218166A (en) Method and system for flipping over pages of e-book based on pressure contact screen
CN105005429A (en) Method for showing picture through terminal and terminal
CN101763270A (en) Method for displaying and processing assembly and user equipment
CN104572348A (en) Terminal
CN110096413A (en) A kind of disk localization method, system and electronic equipment and storage medium
CN105740454A (en) Display method and device of picture folder and electronic equipment
CN101299209B (en) Method and device for high bright displaying form editing row
CN104679722A (en) Method and system for data table multi-dimension
CN106210251A (en) A kind of contact person's method for rapidly positioning, system and communication terminal
CN104252494A (en) Method and device for showing scenic spot in electronic map
CN105323368B (en) Batch selection method and its mobile terminal
CN103064583B (en) Displaying block aligning method, displaying block changing method and mobile terminal
CN103399662A (en) Method, system and mobile terminal for reporting coordinate incident of touch screen
CN102479036A (en) Method and device for displaying word size of document
CN105843826A (en) Search 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