CN104199676A - Method and device for restoring interface content - Google Patents
Method and device for restoring interface content Download PDFInfo
- Publication number
- CN104199676A CN104199676A CN201410063346.6A CN201410063346A CN104199676A CN 104199676 A CN104199676 A CN 104199676A CN 201410063346 A CN201410063346 A CN 201410063346A CN 104199676 A CN104199676 A CN 104199676A
- Authority
- CN
- China
- Prior art keywords
- state information
- running state
- program
- described program
- file
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of the invention provides a method for restoring interface content. The method comprises the steps that the operating state information of a program is collected in the program operating process, and the operating state information of the program is stored; an instruction starting the program is received, and whether the operating state information of the program needs to be loaded or not is judged; if the operating state information of the program needs to be loaded, the operating state information of the program is matched and loaded, and the interface content of the program is restored. The embodiment of the invention further provides a corresponding device for restoring the interface content. Through the method and device for restoring the interface content, the operating state information of the program can be stored in real time, therefore, when the program is started again, the operating state information stored before can be loaded, the interface content generated before the program is turned off is restored, and user experience is improved.
Description
Technical field
The present invention relates to field of computer technology, relate in particular to a kind of method and device that reduces interface content.
Background technology
Progressively enhancing along with various function of application, their accessible tasks also become increasingly complex, user is when using application program to process a certain task, halfway may be because of various former thereby interruptions, for example user has other business to need to process midway, computer system fault, or power-off etc.The interruption that task the is processed achievement that representative of consumer does not obtain before is all wasted, because present application program mostly provides the function of Save and restore, uses this function, and user can work on from the place of preserving last time when opening this program next time.
But the save and restore feature that these programs provide is generally all fairly simple, take office word as example, its the hold function content that just simple preservation user has inputted, can not preserve the running state of programs that comprises various operation informations, like this when user starts word again, program recovery can only be the content that user has inputted, but can not close front interface content by recovery routine, user still needs to spend the regular hour and goes to recall or reproduce its of situation during running program last time like this, obviously like this can experience and cause very large impact user.
Summary of the invention
The embodiment of the present invention provides a kind of method and device that reduces interface content, in order to solve in prior art, exist can not reducing program running state information problem.
On the one hand, the embodiment of the present invention provides a kind of method of reducing interface content, comprising:
The running state information of collection procedure in program operation process, and preserve the running state information of described program;
Receive the instruction that starts described program, judge whether to load the running state information of described program;
If desired load the running state information of described program, mate the running state information of described program and load, reduce the interface content of described program.
On the other hand, the embodiment of the present invention provides a kind of device that reduces interface content, comprising:
Storage unit, for the running state information at program operation process collection procedure, and preserves the running state information of described program;
Judging unit, for receiving the instruction that starts described program, judges whether to load the running state information of described program;
Reduction unit, for if desired loading the running state information of described program, mates the running state information of described program and loads, and reduces the interface content of described program.
Method and the device of the reduction interface content that the employing embodiment of the present invention provides, the running state information of collection procedure in program operation process, and the running state information of save routine, receive the instruction of start-up routine, judge whether to need the running state information of loading procedure, if desired the running state information of loading procedure, the running state information of matcher loading, the interface content of reducing program, the running state information of save routine that can be real-time, like this when this program starts again, the running state information of preserving before just can loading, interface content before reducing program is closed, improved user's experience.
Accompanying drawing explanation
A kind of method schematic diagram that reduces interface content that shown in Fig. 1 is that the embodiment of the present invention provides;
A kind of method flow diagram that reduces interface content that shown in Fig. 2 is that the embodiment of the present invention provides;
The structural representation of a kind of device that reduces interface content that shown in Fig. 3 is that the embodiment of the present invention provides;
It shown in Fig. 4, is the structural representation of the device of the another kind reduction interface content that provides of the embodiment of the present invention.
Embodiment
In embodiments of the present invention, the running state information of collection procedure in program operation process, and the running state information of save routine, receive the instruction of start-up routine, judge whether to need the running state information of loading procedure, if desired the running state information of loading procedure, the running state information of matcher loading, the interface content of reducing program, the running state information of save routine that can be real-time, like this when this program starts again, the running state information of preserving before just can loading, interface content before reducing program is closed, improved user's experience.
Below describe the method for the reduction interface content that the embodiment of the present invention provides in detail.
Figure 1 shows that the method schematic diagram of the reduction interface content that one embodiment of the invention provides, according to this figure, each step be described in detail in detail as follows:
Step 101, in program operation process the running state information of collection procedure, and preserve the running state information of described program;
Wherein, described in program operation process the running state information of collection procedure, and preserve the running state information of described program, comprising:
According to the time interval setting in advance, the running state information of collection procedure in program operation process, and preserve the running state information of described program; Or
That according to user, submits to holds instruction, the running state information of collection procedure in program operation process, and preserve the running state information of described program.
Wherein, the running state information of the described program of described preservation, comprising:
The running state information of described program is converted into a file, and in described file, record transforms the time of the running state information of described program;
Described file is kept to this locality, or described file is uploaded onto the server and preserved.
In another embodiment, when the running state information of save routine, also comprise: delete and transform the running state information file that described running state of programs information is kept at the described program in this locality or server before; Or
Preserve the running state information file of the described program within Preset Time section.
Step 102, reception start the instruction of described program, judge whether to load the running state information of described program;
Wherein, program may normally be closed by user, also may close because a variety of causes is improper, no matter because which kind of reason is closed, the embodiment of the present invention is not formed to impact.When program starts again, just can load the running state information of preserving before bolt down procedure.
Wherein, described in judge whether to load the running state information of described program, comprising:
Whether prompting user needs to reduce the interface content of described program;
According to described user's indication, judge whether to load the running state information of described program.
Step 103, if desired load the running state information of described program, mate the running state information of described program and load, reduce the interface content of described program.
Wherein, the running state information of the described program of described coupling also loads, and comprising:
In this locality or server, mate the running state information file of described program, and in described program, load the running state information file of described program.
The running state information of the program described in previous embodiment comprises: the operation that described program is being carried out, and the implementation progress of described operation, and carry out the data that described operation produces.
The method of the reduction interface content that the employing embodiment of the present invention provides, the running state information of collection procedure in program operation process, and the running state information of save routine, receive the instruction of start-up routine, judge whether to need the running state information of loading procedure, if desired the running state information of loading procedure, the running state information of matcher loading, the interface content of reducing program, the running state information of save routine that can be real-time, like this when this program starts again, the running state information of preserving before just can loading, interface content before reducing program is closed, improved user's experience.
A kind of method flow diagram that reduces interface content that Figure 2 shows that one embodiment of the invention provides.In conjunction with the method for disclosed reduction interface content in previous embodiment, the present embodiment introduce in detail reduction interface content method flow in each step.
Step 101, in the middle of the process of program operation, save routine running state information;
Wherein, the running state information of save routine automatically, the time interval of automatically preserving can be configured voluntarily by user, also can adopt the default configuration of program; Can also manually be preserved by user, for example, use shortcut Ctrl+S to trigger hold-over command.
The running state information of the program of preserving comprises: the operation that described program is being carried out, and the implementation progress of described operation, and carry out the data that described operation produces.
The running state information of program is converted into a file, and in this document, record transforms the time of the running state information of described program;
Described file is kept to this locality, or described file is uploaded onto the server and preserved.
Step 102, stop;
The program of moving may cause closing due to the impact of environment (power-off, suspension) or the reason of program itself, certainly, may be also because user initiatively selects to quit a program.The embodiment of the present invention does not limit this.
Step 103, restart program, load the running state information of preserving, the interface content before reducing program is closed.
Wherein, can before the running state information of loading procedure, point out user whether to need load operating status information, and after obtaining affirmative answer, load.
The method of the reduction interface content that the employing embodiment of the present invention provides, the running state information of collection procedure in program operation process, and the running state information of save routine, receive the instruction of start-up routine, judge whether to need the running state information of loading procedure, if desired the running state information of loading procedure, the running state information of matcher loading, the interface content of reducing program, the running state information of save routine that can be real-time, like this when this program starts again, the running state information of preserving before just can loading, interface content before reducing program is closed, improved user's experience.
The structural representation of a kind of device that reduces interface content that Figure 3 shows that one embodiment of the invention provides.Following according to this figure, introduce a kind of device that reduces interface content, in order to implement the method for disclosed reduction interface content in previous embodiment.
Storage unit 301, for the running state information at program operation process collection procedure, and preserves the running state information of described program;
Judging unit 302, for receiving the instruction that starts described program, judges whether to load the running state information of described program;
Reduction unit 302, for if desired loading the running state information of described program, mates the running state information of described program and loads, and reduces the interface content of described program.
Wherein, described storage unit 301 is for the running state information at program operation process collection procedure, and preserves the running state information of described program, comprising:
According to the time interval setting in advance, the running state information of collection procedure in program operation process, and preserve the running state information of described program; Or
That according to user, submits to holds instruction, the running state information of collection procedure in program operation process, and preserve the running state information of described program.
Described storage unit 301 is preserved the running state information of described program, comprising:
The running state information of described program is converted into a file, and in described file, record transforms the time of the running state information of described program;
Described file is kept to this locality, or described file is uploaded onto the server and preserved.
After the running state information of program is preserved, described storage unit 301 also for:
Delete and transform the running state information file that described running state of programs information is kept at the described program in this locality or server before; Or
Preserve the running state information file of the described program within Preset Time section.
The running state information of the described program of described reduction unit 303 coupling also loads, and comprising:
In this locality or server, mate the running state information file of described program, and in described program, load the running state information file of described program.
Figure 4 shows that the schematic diagram of the device of the another kind reduction interface content that one embodiment of the invention provides.According to this figure, can find out, judging unit 302 comprises prompting subelement 321 and judgment sub-unit 322, and wherein said prompting subelement 321 is for pointing out user whether to need to reduce the interface content of described program;
Described judgment sub-unit 322, for according to described user's indication, judges whether to load the running state information of described program.
In the device of the reduction interface content of introducing in previous embodiment, the running state information of described program comprises:
The operation that described program is being carried out, the implementation progress of described operation, and carry out the data that described operation produces.
The device of the reduction interface content that the employing embodiment of the present invention provides, the running state information of collection procedure in program operation process, and the running state information of save routine, receive the instruction of start-up routine, judge whether to need the running state information of loading procedure, if desired the running state information of loading procedure, the running state information of matcher loading, the interface content of reducing program, the running state information of save routine that can be real-time, like this when this program starts again, the running state information of preserving before just can loading, interface content before reducing program is closed, improved user's experience.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can complete by the relevant hardware of programmed instruction, aforesaid program can be stored in read/write memory medium, this program, when carrying out, is carried out the step that comprises said method embodiment; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc, CD, network node, schedulers.
Finally it should be noted that: these are only the preferred embodiments of the present invention, be not limited to the present invention, although the present invention is had been described in detail with reference to previous embodiment, for a person skilled in the art, its technical scheme that still can record aforementioned each embodiment is modified, or part technical characterictic is wherein equal to replacement.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.
Claims (14)
1. reduce the method for interface content, it is characterized in that, comprising:
The running state information of collection procedure in program operation process, and preserve the running state information of described program;
Receive the instruction that starts described program, judge whether to load the running state information of described program;
If desired load the running state information of described program, mate the running state information of described program and load, reduce the interface content of described program.
2. method according to claim 1, is characterized in that, described in program operation process the running state information of collection procedure, and preserve the running state information of described program, comprising:
According to the time interval setting in advance, the running state information of collection procedure in program operation process, and preserve the running state information of described program; Or
That according to user, submits to holds instruction, the running state information of collection procedure in program operation process, and preserve the running state information of described program.
3. method according to claim 1, is characterized in that, the running state information of the described program of described preservation, comprising:
The running state information of described program is converted into a file, and in described file, record transforms the time of the running state information of described program;
Described file is kept to this locality, or described file is uploaded onto the server and preserved.
4. method according to claim 3, is characterized in that, also comprises:
Delete and transform the running state information file that described running state of programs information is kept at the described program in this locality or server before; Or
Preserve the running state information file of the described program within Preset Time section.
5. method according to claim 1, is characterized in that, described in judge whether to load the running state information of described program, comprising:
Whether prompting user needs to reduce the interface content of described program;
According to described user's indication, judge whether to load the running state information of described program.
6. method according to claim 3, is characterized in that, the running state information of the described program of described coupling also loads, and comprising:
In this locality or server, mate the running state information file of described program, and in described program, load the running state information file of described program.
7. according to the method described in any one in claim 1-6, it is characterized in that, the running state information of described program comprises:
The operation that described program is being carried out, the implementation progress of described operation, and carry out the data that described operation produces.
8. reduce the device of interface content, it is characterized in that, comprising:
Storage unit, for the running state information at program operation process collection procedure, and preserves the running state information of described program;
Judging unit, for receiving the instruction that starts described program, judges whether to load the running state information of described program;
Reduction unit, for if desired loading the running state information of described program, mates the running state information of described program and loads, and reduces the interface content of described program.
9. device according to claim 8, is characterized in that, described storage unit is used for the running state information at program operation process collection procedure, and preserves the running state information of described program, comprising:
According to the time interval setting in advance, the running state information of collection procedure in program operation process, and preserve the running state information of described program; Or
That according to user, submits to holds instruction, the running state information of collection procedure in program operation process, and preserve the running state information of described program.
10. device according to claim 8, is characterized in that, described storage unit is preserved the running state information of described program, comprising:
The running state information of described program is converted into a file, and in described file, record transforms the time of the running state information of described program;
Described file is kept to this locality, or described file is uploaded onto the server and preserved.
11. devices according to claim 10, is characterized in that, described storage unit also for:
Delete and transform the running state information file that described running state of programs information is kept at the described program in this locality or server before; Or
Preserve the running state information file of the described program within Preset Time section.
12. devices according to claim 8, is characterized in that, described judging unit comprises prompting subelement and judgment sub-unit, and described prompting subelement is for pointing out user whether to need to reduce the interface content of described program;
Described judgment sub-unit, for according to described user's indication, judges whether to load the running state information of described program.
13. devices according to claim 10, is characterized in that, described reduction unit mates the running state information of described program and loads, and comprising:
In this locality or server, mate the running state information file of described program, and in described program, load the running state information file of described program.
Device in 14. according to Claim 8-13 described in any one, is characterized in that, the running state information of described program comprises:
The operation that described program is being carried out, the implementation progress of described operation, and carry out the data that described operation produces.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410063346.6A CN104199676A (en) | 2014-02-24 | 2014-02-24 | Method and device for restoring interface content |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410063346.6A CN104199676A (en) | 2014-02-24 | 2014-02-24 | Method and device for restoring interface content |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104199676A true CN104199676A (en) | 2014-12-10 |
Family
ID=52084973
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410063346.6A Pending CN104199676A (en) | 2014-02-24 | 2014-02-24 | Method and device for restoring interface content |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104199676A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105117239A (en) * | 2015-07-24 | 2015-12-02 | 上海修源网络科技有限公司 | Operating system reboot method and apparatus |
CN105204844A (en) * | 2015-08-20 | 2015-12-30 | 上海斐讯数据通信技术有限公司 | Application interface storage and recovery method and system, and electronic equipment |
CN105988897A (en) * | 2015-02-12 | 2016-10-05 | 广东欧珀移动通信有限公司 | Recovery method and device of backup data of mobile terminal |
CN106649698A (en) * | 2016-12-19 | 2017-05-10 | 宇龙计算机通信科技(深圳)有限公司 | Information processing method and information processing device |
CN106855808A (en) * | 2016-12-30 | 2017-06-16 | 硕诺科技(深圳)有限公司 | It is a kind of to accelerate the system and method that application starts response |
CN108124006A (en) * | 2017-12-19 | 2018-06-05 | 江苏航天龙梦信息技术有限公司 | Conference system powers off scene reproducing method |
CN109976823A (en) * | 2017-12-27 | 2019-07-05 | Tcl集团股份有限公司 | A kind of application program launching method, device and terminal device |
CN110633111A (en) * | 2018-05-30 | 2019-12-31 | 中兴通讯股份有限公司 | Method and device for accelerating application interface loading speed |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101371250A (en) * | 2006-01-12 | 2009-02-18 | 微软公司 | Capturing and restoring application state after unexpected application shutdown |
CN101561780A (en) * | 2008-04-18 | 2009-10-21 | 北京闻言科技有限公司 | Method for storing status of application program with file |
CN101882092A (en) * | 2010-05-11 | 2010-11-10 | 中兴通讯股份有限公司 | Management method and device for application program |
CN103092777A (en) * | 2010-12-28 | 2013-05-08 | 微软公司 | Storing and resuming application runtime state |
-
2014
- 2014-02-24 CN CN201410063346.6A patent/CN104199676A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101371250A (en) * | 2006-01-12 | 2009-02-18 | 微软公司 | Capturing and restoring application state after unexpected application shutdown |
CN101561780A (en) * | 2008-04-18 | 2009-10-21 | 北京闻言科技有限公司 | Method for storing status of application program with file |
CN101882092A (en) * | 2010-05-11 | 2010-11-10 | 中兴通讯股份有限公司 | Management method and device for application program |
CN103092777A (en) * | 2010-12-28 | 2013-05-08 | 微软公司 | Storing and resuming application runtime state |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105988897A (en) * | 2015-02-12 | 2016-10-05 | 广东欧珀移动通信有限公司 | Recovery method and device of backup data of mobile terminal |
CN105117239A (en) * | 2015-07-24 | 2015-12-02 | 上海修源网络科技有限公司 | Operating system reboot method and apparatus |
CN105204844A (en) * | 2015-08-20 | 2015-12-30 | 上海斐讯数据通信技术有限公司 | Application interface storage and recovery method and system, and electronic equipment |
CN106649698A (en) * | 2016-12-19 | 2017-05-10 | 宇龙计算机通信科技(深圳)有限公司 | Information processing method and information processing device |
CN106649698B (en) * | 2016-12-19 | 2020-12-22 | 宇龙计算机通信科技(深圳)有限公司 | Information processing method and information processing device |
CN106855808A (en) * | 2016-12-30 | 2017-06-16 | 硕诺科技(深圳)有限公司 | It is a kind of to accelerate the system and method that application starts response |
CN108124006A (en) * | 2017-12-19 | 2018-06-05 | 江苏航天龙梦信息技术有限公司 | Conference system powers off scene reproducing method |
CN108124006B (en) * | 2017-12-19 | 2021-07-30 | 江苏航天龙梦信息技术有限公司 | Method for reproducing power-off scene of conference system |
CN109976823A (en) * | 2017-12-27 | 2019-07-05 | Tcl集团股份有限公司 | A kind of application program launching method, device and terminal device |
CN110633111A (en) * | 2018-05-30 | 2019-12-31 | 中兴通讯股份有限公司 | Method and device for accelerating application interface loading speed |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104199676A (en) | Method and device for restoring interface content | |
CN105144063B (en) | Software application automatically saves mode and manual preservation mode | |
US10438004B2 (en) | Dual-system electronic apparatus and terminal | |
US9164748B2 (en) | Information backup method and apparatus | |
CN106971120B (en) | Method and device for realizing file protection and computing equipment | |
CN104615691B (en) | A kind of method of mobile terminal and data storage | |
US20140222761A1 (en) | Terminal Backup and Recovery Method | |
CN104503790B (en) | The management method and system of a kind of application version, intelligent terminal | |
CN107426800B (en) | Method and device for reducing power consumption of terminal and smart card | |
CN102346697A (en) | Method and system for backing up and recovering Android package (APK) and mobile terminal | |
CN103324507A (en) | Method and apparatus for updating terminal preset application program | |
CN102937990A (en) | Method and device for cleaning files | |
CA2710416C (en) | Method and device for application archiving | |
CN103942126A (en) | Electronic device and data backup method thereof | |
CN104899049A (en) | File deletion method and device | |
WO2017113317A1 (en) | File editing method and file editor | |
CN105279047A (en) | Data backup device and method and data recovery method and device | |
CN101873217B (en) | Ethernet power supply equipment restart control method and device thereof | |
CN103037076A (en) | State backup reduction method and device of mobile terminal | |
CN202444513U (en) | Mobile terminal information backup system | |
CN104765631B (en) | A kind of application recovery method and device of mobile terminal | |
CN105868057B (en) | A kind of method, apparatus and mobile terminal of data processing | |
CN109358988A (en) | A kind of restoration methods, device, system and the readable storage medium storing program for executing of cloud Backup Data | |
CN105975365A (en) | Method and system for automatically restoring user settings of mobile terminal | |
CN103297454B (en) | For expanding smart mobile phone, the method for panel computer SD card memory capacity |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20141210 |
|
RJ01 | Rejection of invention patent application after publication |