[go: up one dir, main page]

CN106095318A - Application program open method and device - Google Patents

Application program open method and device Download PDF

Info

Publication number
CN106095318A
CN106095318A CN201610431818.8A CN201610431818A CN106095318A CN 106095318 A CN106095318 A CN 106095318A CN 201610431818 A CN201610431818 A CN 201610431818A CN 106095318 A CN106095318 A CN 106095318A
Authority
CN
China
Prior art keywords
application program
state information
interface
closing
active interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610431818.8A
Other languages
Chinese (zh)
Inventor
杜佳男
李英俊
吕小磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610431818.8A priority Critical patent/CN106095318A/en
Publication of CN106095318A publication Critical patent/CN106095318A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure discloses a kind of application program open method and device, belongs to Internet technical field.Described method includes: detecting whether to receive and is implemented in the default gesture instruction that application program image is put on;When receive be implemented in default gesture instruction that described application program image is put on time, obtain the status information of the active interface that described application program stores when the last time closes;Application Program Interface is recovered the content of extremely described application program interface display before the last time closes by the status information according to described active interface.Thus solve in correlation technique, after opening application program, it is impossible to the problem of the content before recovery, the state before being closed by records application program, can the content of quick-recovery application program soon, be user-friendly to, improve the experience of user.

Description

Application program starting method and device
Technical Field
The disclosure relates to the technical field of internet, and in particular to an application program opening method and device.
Background
The android mobile phone is provided with a return key, and the android mobile phone can return to the upper-level interface of the application through the return key. The principle is that when other interfaces are opened, the interface program of the previous application is set to be in an onPause () state or an onStop () state, and when the application is recovered, the program is changed back to be in an onResume () state. The onPause is used when an active interface (Activity) changes to another active interface, the device enters a dormant state (the screen is locked), or a dialog pops up; onsop is used for invisible active interfaces (when there is a dialog box pop-up, the underlying active interface is still visible, so onsop is not called at this time). The actual program is not destroyed, but stored in memory. Once a program is destroyed, the onDestroy () state, it cannot be restored.
In daily use of the mobile phone, the situation that the APP is closed for some reasons is often encountered, but the previous interface needs to be continued later, and since the program is closed, it is troublesome to retrieve the previous application interface step by step, for example, the user watches a movie with the video APP, and the user is closed without watching the movie. If the user wants to watch the movie continuously at night, the user needs to open the app to find the movie content again to continue.
Disclosure of Invention
The disclosure provides an application program starting method and device. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided an application program opening method, including:
detecting whether a preset gesture instruction executed on an application icon is received;
when a preset gesture instruction executed on the application program icon is received, state information of an active interface stored when the application program is closed last time is acquired;
and restoring the interface of the application program to the content displayed on the interface of the application program before the last closing according to the state information of the active interface.
Optionally, before detecting whether a preset gesture instruction executed on the application icon is received, the method may further include:
detecting whether an operation instruction for closing the current application program is received;
when an operation instruction for closing the current application program is received, recording the state information of the active interface of the current application program;
and after the state information of the active interface is stored, closing the current application program.
Optionally, the method may further comprise:
when an operation instruction for closing the current application program is received, acquiring a network link address of a page of the current application program;
after the state information of the active interface is stored, closing the current application program, including:
and after the state information of the active interface and the network link address of the page of the current application program are stored, closing the current application program.
Optionally, the obtaining of the state information of the active interface stored when the application program is closed last time may include:
acquiring state information of an active interface and a network link address of a page, which are stored when the application program is closed for the last time;
the restoring the application program interface to the content displayed on the interface of the application program before the last closing according to the state information of the active interface comprises:
and restoring the application program interface to the content displayed on the interface before the application program is closed last time according to the state information of the active interface and the network link address of the page.
Optionally, after saving the state information of the active interface, closing the current application program may include:
and after the state information of the active interface is stored in a local ROM or a memory, closing the current application program.
Optionally, the preset gesture may be any one of the following gestures:
a first swipe gesture of a single or double finger swipe up; or,
a second swipe gesture of a single or double finger swipe down; or,
a third swipe gesture of a single or double finger swipe to the left; or,
a fourth swipe gesture of a single finger or double fingers swipe to the right.
According to a second aspect of the embodiments of the present disclosure, there is provided an application opening apparatus including:
the first detection module is used for detecting whether a preset gesture instruction executed on an application program icon is received or not;
the first acquisition module is used for acquiring the state information of the active interface stored when the application program is closed last time when a preset gesture instruction executed on the application program icon is received;
and the recovery module is used for recovering the application program interface to the content displayed on the interface of the application program before the last closing according to the state information of the active interface.
Optionally, the apparatus may further comprise:
the second detection module is used for detecting whether an operation instruction for closing the current application program is received or not;
the recording module is used for recording the state information of the active interface of the current application program when receiving an operation instruction for closing the current application program;
and the storage module is used for closing the current application program after the state information of the active interface is stored.
Optionally, the apparatus may further comprise:
the second acquisition module is used for acquiring the network link address of the page of the current application program when receiving an operation instruction for closing the current application program;
the saving module comprises:
and the first saving submodule is used for closing the current application program after saving the state information of the active interface and the network link address of the page of the current application program.
Optionally, the first obtaining module may include:
the acquisition submodule is used for acquiring the state information of the active interface and the network link address of the page, which are stored when the application program is closed for the last time;
the recovery module includes:
and the recovery submodule is used for recovering the application program interface to the content displayed on the interface before the application program is closed last time according to the state information of the active interface and the network link address of the page.
Optionally, the saving module may include:
and the second storage submodule is used for closing the current application program after the state information of the active interface is stored in a local ROM or a memory.
Optionally, the preset gesture may be any one of the following gestures:
a first swipe gesture of a single or double finger swipe up; or,
a second swipe gesture of a single or double finger swipe down; or,
a third swipe gesture of a single or double finger swipe to the left; or,
a fourth swipe gesture of a single finger or double fingers swipe to the right.
According to a third aspect of the embodiments of the present disclosure, there is provided an application opening apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
detecting whether a preset gesture instruction executed on an application icon is received;
when a preset gesture instruction executed on the application program icon is received, state information of an active interface stored when the application program is closed last time is acquired;
and restoring the interface of the application program to the content displayed on the interface of the application program before the last closing according to the state information of the active interface.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the technical scheme, whether a preset gesture instruction executed on an application icon is received or not is detected; when a preset gesture instruction executed on the application program icon is received, state information of an active interface stored when the application program is closed last time is acquired; and restoring the interface of the application program to the content displayed by the interface before the last closing of the application program according to the state information of the active interface. Therefore, the problem that the previous content cannot be recovered after the application program is opened in the related technology is solved, the content of the application program can be rapidly recovered by recording the state of the application program before the application program is closed, the use of a user is facilitated, and the use experience of the user is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart illustrating an application opening method according to an exemplary embodiment.
Fig. 2 is a flowchart illustrating yet another application opening method according to an example embodiment.
Fig. 3 is a flowchart illustrating yet another application opening method according to an example embodiment.
Fig. 4 is a flowchart illustrating yet another application opening method according to an example embodiment.
Fig. 5 is a flowchart illustrating yet another application opening method according to an example embodiment.
Fig. 6 is a block diagram illustrating an application opening apparatus according to an exemplary embodiment.
Fig. 7 is a block diagram illustrating still another application opening apparatus according to another exemplary embodiment.
Fig. 8 is a block diagram illustrating still another application opening apparatus according to another exemplary embodiment.
Fig. 9 is a block diagram illustrating another application opening apparatus according to another exemplary embodiment.
Fig. 10 is a block diagram illustrating another application opening apparatus according to another exemplary embodiment.
Fig. 11 is a block diagram illustrating an application launching device, according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
An Activity interface (Activity) is an application component, which is one of four major components (Activity, Service, Content Provider Content, broadcastereiver broadcast receiver) in an android component. Activity provides a screen, all operations in the Activity are closely related to a user, controls can be displayed on the Activity, events of the user can be monitored and processed to respond, and the Activity is a component responsible for interaction with the user.
Activity has four states: 1. Active/Running, after a new Activity is started to be stacked, it is displayed at the forefront of the screen, the processing is at the top of the stack (Activity stack top), at this time, it is in an Active state which is visible and can interact with the user, called Active or Running state (Active or Running); 2. paused, when Activity loses focus, is placed on top of the stack by a new non-full-screen Activity or a transparent Activity, the state at this time being called Paused (Paused). At this point it remains connected to the window manager and Activity remains alive (keeping all state, member information, and window manager connected), but will be forced to terminate when system memory is extremely low. It is still visible but has lost focus and is therefore not available to interact with the user; 3. stopped, if one Activity is completely covered by another Activity, is called a Stopped state (Stopped). It still maintains all state and member information, but it is no longer visible, so its window is hidden, and when system memory needs to be used elsewhere, the Stopped Activity will be forcibly terminated; 4. if an Activity is in a used or Stopped state, the system can delete the Activity from the memory, and the Android system deletes the Activity in two ways, or requires the Activity to be ended or directly terminates the process of the Activity. When the Activity is again displayed to the user, it must restart and reset the previous state. When an Activity instance is created, destroyed, or another Activity is initiated, it transitions between the four states, which occurs depending on the actions of the user program.
Fig. 1 is a flowchart illustrating an application opening method according to an exemplary embodiment, and the application opening method may include the following steps, as shown in fig. 1.
In step 101, whether a preset gesture instruction executed on an application icon is received is detected.
In step 102, when a preset gesture instruction executed on an application icon is received, state information of an active interface stored when the application is closed last time is acquired.
In step 103, the application program interface is restored to the content displayed by the interface before the application program was closed last time according to the state information of the active interface.
The preset gesture may be, for example, a gesture of sliding a finger up or down an icon of the application. The number of the fingers can be one or more, and it should be noted that the preset gesture is different from a normal gesture of clicking an application icon to open the application. And after detecting the preset gesture, the system acquires the state information of the active interface stored when the application program is closed for the last time, otherwise, the system does not acquire the state information, and if the system only detects the preset gesture, the system normally opens the application program and does not acquire the state information of the active interface stored when the application program is closed for the last time.
The present disclosure can provide a user with the ability to quickly restore the app interface. For example, a user browses through a movie or news log through an app, and after browsing half, the app is closed for some reason. Browsing can be continued directly by executing a preset gesture on the app icon without searching the previous content again after the app is opened.
In summary, in the application program starting method provided in the embodiment of the present disclosure, whether a preset gesture instruction executed on an application program icon is received or not is detected; when a preset gesture instruction executed on the application program icon is received, state information of an active interface stored when the application program is closed last time is acquired; and restoring the interface of the application program to the content displayed by the interface before the last closing of the application program according to the state information of the active interface. Therefore, the problem that the previous content cannot be recovered after the application program is opened in the related technology is solved, the content of the application program can be rapidly recovered by recording the state of the application program before the application program is closed, the use of a user is facilitated, and the use experience of the user is improved.
The first point to be added is that, referring to fig. 2, before step 101, the method may further include step 104 and step 106:
in step 104, whether an operation instruction for closing the current application program is received is detected.
In step 105, when an operation instruction for closing the current application program is received, state information of the active interface of the current application program is recorded.
In step 106, after saving the state information of the active interface, the current application is closed.
The disclosed technology is completely realized through software, and when a mobile phone system detects that a user closes an APP, the section of code is triggered. The whole process is divided into a storage phase and a recovery phase.
Firstly, when the system detects that the application program is closed, the system records the state information of the active interface of the current application program, stores the state information, and can store the state information in the ROM, or store the state information in the memory if the memory is enough. The storage phase is completed.
The system sets special operation gestures in advance, such as gestures of sliding up (down) fingers on an application icon. When the system detects that the user does not normally touch the icon but slides up the icon, the code of the recovery application program is triggered, the stored active interface state information is recovered to the interface, and the recovery stage is completed.
In this embodiment, the application program is closed after the state information of the active interface is saved, so that the application program can be restored to the state before closing, and a user can continue to browse the content before closing the application program, and the user does not need to open the application program and then search the content before closing through multiple operations, thereby facilitating the use of the user.
The second point to be described in addition is that, when the user browses content such as news content or open links before the application is closed, in addition to recording the state information of the active interface, the network link address of the page before the application is closed needs to be saved, otherwise the page cannot be restored, please refer to fig. 3, at this time, the method may further include step 107:
in step 107, when an operation instruction for closing the current application program is received, the network link address of the page of the current application program is acquired.
At this time, step 106 may be implemented as the following step 1061:
in step 1061, after the state information of the active interface and the network link address of the page of the current application program are saved, the current application program is closed.
It should be added that, this embodiment is only to perform step 107 between step 105 and step 1061 as an example, optionally, step 107 may also be performed between step 104 and step 105, and the actual execution sequence of this embodiment is not limited.
For example, when the application is a browser, a user has a corresponding network link address for each page browsed, and when the user closes the browser, the user needs to store the network link address of the page in addition to recording the state information of the active interface, otherwise the page cannot be restored.
For some applications, it is necessary to acquire the network link address of the page to recover the previous page, so in this embodiment, in addition to acquiring the state information of the active interface, the network link address of the page of the current application is also acquired, so that the application can recover the page before closing.
Accordingly, for some applications, when the user wants to restore the page before closing after opening the application again, the user needs to obtain the network link address of the page before closing. Referring to fig. 4, step 102 can be implemented as the following step 1021:
in step 1021, when a preset gesture instruction executed on the application icon is received, state information of the active interface and a network link address of the page, which are stored when the application is closed last time, are acquired.
At this time, step 103 may be implemented as the following step 1031: :
in step 1031, the application interface is restored to the content displayed on the interface before the application was closed last time according to the state information of the active interface and the network link address of the page.
A third point to be added is that, referring to fig. 5, step 106 can be further implemented as the following step 1062:
in step 1062, after the state information of the active interface is saved in the local ROM or the memory, the current application program is closed.
In this embodiment, the state information of the active interface is stored in the local ROM, or if the local memory is large enough, stored in the local ROM. Therefore, the information before the closing of the application program can be stably stored, and the information is not lost to cause unrecoverable things.
Optionally, the preset gesture may be any one of the following gestures:
a first swipe gesture of a single or double finger swipe up; or, a second swipe gesture of a single or double finger swipe down; or, a third swipe gesture of a single or double finger swipe to the left; or a fourth swipe gesture in which a single finger or a double finger swipes to the right.
It should be added that the preset gesture is not limited to the above gestures, and may also be a combined gesture, and the preset gesture may be specifically set according to the use habit of the user, as long as the preset gesture is different from the normal gesture of tapping the icon, and the gesture of tapping the icon by the user does not trigger the operation of restoring the last closed page of the application program, and is only the normal gesture of opening the application program.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods. For details not disclosed in the embodiments of the apparatus of the present disclosure, refer to the embodiments of the method of the present disclosure.
Fig. 6 is a block diagram illustrating an application opening device according to an exemplary embodiment, and as shown in fig. 6, the application opening device may include, but is not limited to: a first detection module 61, a first acquisition module 62 and a recovery module 63.
A first detection module 61 configured to detect whether a preset gesture instruction executed on an application icon is received;
a first obtaining module 62, configured to, when receiving a preset gesture instruction executed on an application icon, obtain state information of an active interface stored when the application was closed last time;
and the restoring module 63 is configured to restore the application program interface to the content displayed by the interface before the last closing of the application program according to the state information of the active interface.
Optionally, as shown in fig. 7, the apparatus may further include:
a second detection module 64 configured to detect whether an operation instruction to close the current application program is received;
a recording module 65 configured to record the state information of the active interface of the current application program when receiving an operation instruction for closing the current application program;
and the saving module 66 is configured to close the current application program after saving the state information of the active interface.
Optionally, as shown in fig. 8, the apparatus may further include:
a second obtaining module 67 configured to obtain a network link address of a page of the current application program when receiving an operation instruction to close the current application program;
a save module 66 comprising:
the first saving sub-module 661 is configured to close the current application after saving the state information of the active interface and the network link address of the page of the current application.
Alternatively, as shown in fig. 9, the first obtaining module 62 may include:
the obtaining sub-module 621 is configured to obtain the state information of the active interface and the network link address of the page, which are stored when the application program is closed last time;
a recovery module 63, comprising:
the restoring sub-module 631 is configured to restore the application interface to the content displayed by the interface before the application was closed last time according to the state information of the active interface and the network link address of the page.
Alternatively, as shown in fig. 10, the saving module 66 may include:
and a second saving submodule 662 configured to close the current application program after saving the state information of the active interface in the local ROM or the memory.
Optionally, the preset gesture may be any one of the following gestures:
a first swipe gesture of a single or double finger swipe up; or,
a second swipe gesture of a single or double finger swipe down; or,
a third swipe gesture of a single or double finger swipe to the left; or,
a fourth swipe gesture of a single finger or double fingers swipe to the right.
In summary, the application opening device provided in the embodiment of the present disclosure detects whether a preset gesture instruction executed on an application icon is received; when a preset gesture instruction executed on the application program icon is received, state information of an active interface stored when the application program is closed last time is acquired; and restoring the interface of the application program to the content displayed by the interface before the last closing of the application program according to the state information of the active interface. Therefore, the problem that the previous content cannot be recovered after the application program is opened in the related technology is solved, the content of the application program can be rapidly recovered by recording the state of the application program before the application program is closed, the use of a user is facilitated, and the use experience of the user is improved.
In this embodiment, the application program is closed after the state information of the active interface is saved, so that the application program can be restored to the state before closing, and a user can continue to browse the content before closing the application program, and the user does not need to open the application program and then search the content before closing through multiple operations, thereby facilitating the use of the user.
For some applications, it is necessary to acquire the network link address of the page to recover the previous page, so in this embodiment, in addition to acquiring the state information of the active interface, the network link address of the page of the current application is also acquired, so that the application can recover the page before closing.
In this embodiment, the state information of the active interface is stored in the local ROM, or if the local memory is large enough, stored in the local ROM. Therefore, the information before the closing of the application program can be stably stored, and the information is not lost to cause unrecoverable things.
An exemplary embodiment of the present disclosure further provides an application opening apparatus, which can implement the application opening method provided by the present disclosure. The device includes:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
detecting whether a preset gesture instruction executed on an application icon is received;
when a preset gesture instruction executed on an application program icon is received, state information of an active interface stored when the application program is closed last time is acquired;
and restoring the interface of the application program to the content displayed on the interface of the application program before the last closing according to the state information of the active interface.
Optionally, before detecting whether a preset gesture instruction executed on the application icon is received, the method may further include:
detecting whether an operation instruction for closing the current application program is received;
when an operation instruction for closing the current application program is received, recording the state information of the active interface of the current application program;
and after the state information of the active interface is stored, closing the current application program.
Optionally, the method may further comprise:
when an operation instruction for closing the current application program is received, acquiring a network link address of a page of the current application program;
after the state information of the active interface is stored, closing the current application program, including:
and after the state information of the active interface and the network link address of the page of the current application program are stored, closing the current application program.
Optionally, the obtaining of the state information of the active interface stored when the application program is closed last time may include:
acquiring state information of an active interface and a network link address of a page, which are stored when the application program is closed for the last time;
the restoring the application program interface to the content displayed on the interface of the application program before the last closing according to the state information of the active interface comprises:
and restoring the application program interface to the content displayed on the interface before the application program is closed last time according to the state information of the active interface and the network link address of the page.
Optionally, after saving the state information of the active interface, closing the current application program may include:
and after the state information of the active interface is stored in a local ROM or a memory, closing the current application program.
Optionally, the preset gesture may be any one of the following gestures:
a first swipe gesture of a single or double finger swipe up; or,
a second swipe gesture of a single or double finger swipe down; or,
a third swipe gesture of a single or double finger swipe to the left; or,
a fourth swipe gesture of a single finger or double fingers swipe to the right.
Fig. 11 is a block diagram illustrating an apparatus for application opening, which is applicable to a terminal device, according to an exemplary embodiment. For example, the apparatus 1200 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
The apparatus 1200 may include one or more of the following components: processing component 1202, memory 1204, power component 1206, multimedia component 1208, audio component 1210, input/output (I/O) interface 1212, sensor component 1214, and communications component 1216.
The processing component 1202 generally controls overall operation of the apparatus 1200, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 1202 may include one or more processors 1220 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 1202 can include one or more modules that facilitate interaction between the processing component 1202 and other components. For example, the processing component 1202 can include a multimedia module to facilitate interaction between the multimedia component 1208 and the processing component 1202.
The memory 1204 is configured to store various types of data to support operation at the apparatus 1200. Examples of such data include instructions for any application or method operating on the device 1200, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1204 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
A power supply component 1206 provides power to the various components of the device 1200. Power components 1206 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for apparatus 1200.
The multimedia components 1208 include a screen that provides an output interface between the device 1200 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1208 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 1200 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
Audio component 1210 is configured to output and/or input audio signals. For example, audio component 1210 includes a Microphone (MIC) configured to receive external audio signals when apparatus 1200 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1204 or transmitted via the communication component 1216. In some embodiments, audio assembly 1210 further includes a speaker for outputting audio signals.
The I/O interface 1212 provides an interface between the processing component 1202 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1214 includes one or more sensors for providing various aspects of state assessment for the apparatus 1200. For example, the sensor assembly 1214 may detect an open/closed state of the apparatus 1200, the relative positioning of the components, such as a display and keypad of the apparatus 1200, the sensor assembly 1214 may also detect a change in the position of the apparatus 1200 or a component of the apparatus 1200, the presence or absence of user contact with the apparatus 1200, orientation or acceleration/deceleration of the apparatus 1200, and a change in the temperature of the apparatus 1200. The sensor assembly 1214 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor assembly 1214 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1214 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communications component 1216 is configured to facilitate communications between the apparatus 1200 and other devices in a wired or wireless manner. The apparatus 1200 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1216 receives the broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1216 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1200 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as memory 1204 comprising instructions, executable by processor 1220 of apparatus 1200 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium, wherein instructions of the storage medium, when executed by a processor of an apparatus 1200, enable the apparatus 1200 to perform the above-mentioned application opening method, the method comprising:
detecting whether a preset gesture instruction executed on an application icon is received;
when a preset gesture instruction executed on the application program icon is received, state information of an active interface stored when the application program is closed last time is acquired;
and restoring the interface of the application program to the content displayed on the interface of the application program before the last closing according to the state information of the active interface.
Optionally, before detecting whether a preset gesture instruction executed on the application icon is received, the method may further include:
detecting whether an operation instruction for closing the current application program is received;
when an operation instruction for closing the current application program is received, recording the state information of the active interface of the current application program;
and after the state information of the active interface is stored, closing the current application program.
Optionally, the method may further comprise:
when an operation instruction for closing the current application program is received, acquiring a network link address of a page of the current application program;
after the state information of the active interface is stored, closing the current application program, including:
and after the state information of the active interface and the network link address of the page of the current application program are stored, closing the current application program.
Optionally, the obtaining of the state information of the active interface stored when the application program is closed last time may include:
acquiring state information of an active interface and a network link address of a page, which are stored when the application program is closed for the last time;
the restoring the application program interface to the content displayed on the interface of the application program before the last closing according to the state information of the active interface comprises:
and restoring the application program interface to the content displayed on the interface before the application program is closed last time according to the state information of the active interface and the network link address of the page.
Optionally, after saving the state information of the active interface, closing the current application program may include:
and after the state information of the active interface is stored in a local ROM or a memory, closing the current application program.
Optionally, the preset gesture may be any one of the following gestures:
a first swipe gesture of a single or double finger swipe up; or,
a second swipe gesture of a single or double finger swipe down; or,
a third swipe gesture of a single or double finger swipe to the left; or,
a fourth swipe gesture of a single finger or double fingers swipe to the right.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (13)

1. An application opening method is characterized by comprising the following steps:
detecting whether a preset gesture instruction executed on an application icon is received;
when a preset gesture instruction executed on the application program icon is received, state information of an active interface stored when the application program is closed last time is acquired;
and restoring the interface of the application program to the content displayed on the interface of the application program before the last closing according to the state information of the active interface.
2. The method of claim 1, wherein prior to detecting whether a preset gesture instruction executed on an application icon is received, the method further comprises:
detecting whether an operation instruction for closing the current application program is received;
when an operation instruction for closing the current application program is received, recording the state information of the active interface of the current application program;
and after the state information of the active interface is stored, closing the current application program.
3. The method of claim 2, further comprising:
when an operation instruction for closing the current application program is received, acquiring a network link address of a page of the current application program;
after the state information of the active interface is stored, closing the current application program, including:
and after the state information of the active interface and the network link address of the page of the current application program are stored, closing the current application program.
4. The method of claim 3, wherein the obtaining the state information of the active interface stored by the application program when the application program was closed last time comprises:
acquiring state information of an active interface and a network link address of a page, which are stored when the application program is closed for the last time;
the restoring the application program interface to the content displayed on the interface of the application program before the last closing according to the state information of the active interface comprises:
and restoring the application program interface to the content displayed on the interface before the application program is closed last time according to the state information of the active interface and the network link address of the page.
5. The method of claim 2, wherein closing the current application after saving the state information of the active interface comprises:
and after the state information of the active interface is stored in a local ROM or a memory, closing the current application program.
6. The method according to any one of claims 1-5, wherein the preset gesture is any one of the following gestures:
a first swipe gesture of a single or double finger swipe up; or,
a second swipe gesture of a single or double finger swipe down; or,
a third swipe gesture of a single or double finger swipe to the left; or,
a fourth swipe gesture of a single finger or double fingers swipe to the right.
7. An application opening apparatus, comprising:
the first detection module is used for detecting whether a preset gesture instruction executed on an application program icon is received or not;
the first acquisition module is used for acquiring the state information of the active interface stored when the application program is closed last time when a preset gesture instruction executed on the application program icon is received;
and the recovery module is used for recovering the application program interface to the content displayed on the interface of the application program before the last closing according to the state information of the active interface.
8. The apparatus of claim 7, further comprising:
the second detection module is used for detecting whether an operation instruction for closing the current application program is received or not;
the recording module is used for recording the state information of the active interface of the current application program when receiving an operation instruction for closing the current application program;
and the storage module is used for closing the current application program after the state information of the active interface is stored.
9. The apparatus of claim 8, further comprising:
the second acquisition module is used for acquiring the network link address of the page of the current application program when receiving an operation instruction for closing the current application program;
the saving module comprises:
and the first saving submodule is used for closing the current application program after saving the state information of the active interface and the network link address of the page of the current application program.
10. The apparatus of claim 9, wherein the first obtaining module comprises:
the acquisition submodule is used for acquiring the state information of the active interface and the network link address of the page, which are stored when the application program is closed for the last time;
the recovery module includes:
and the recovery submodule is used for recovering the application program interface to the content displayed on the interface before the application program is closed last time according to the state information of the active interface and the network link address of the page.
11. The apparatus of claim 8, wherein the saving module comprises:
and the second storage submodule is used for closing the current application program after the state information of the active interface is stored in a local ROM or a memory.
12. The device according to any one of claims 7-11, wherein the preset gesture is any one of the following gestures:
a first swipe gesture of a single or double finger swipe up; or,
a second swipe gesture of a single or double finger swipe down; or,
a third swipe gesture of a single or double finger swipe to the left; or,
a fourth swipe gesture of a single finger or double fingers swipe to the right.
13. An application opening apparatus, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
detecting whether a preset gesture instruction executed on an application icon is received;
when a preset gesture instruction executed on the application program icon is received, state information of an active interface stored when the application program is closed last time is acquired;
and restoring the interface of the application program to the content displayed on the interface of the application program before the last closing according to the state information of the active interface.
CN201610431818.8A 2016-06-16 2016-06-16 Application program open method and device Pending CN106095318A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610431818.8A CN106095318A (en) 2016-06-16 2016-06-16 Application program open method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610431818.8A CN106095318A (en) 2016-06-16 2016-06-16 Application program open method and device

Publications (1)

Publication Number Publication Date
CN106095318A true CN106095318A (en) 2016-11-09

Family

ID=57235492

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610431818.8A Pending CN106095318A (en) 2016-06-16 2016-06-16 Application program open method and device

Country Status (1)

Country Link
CN (1) CN106095318A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106648796A (en) * 2016-12-29 2017-05-10 宇龙计算机通信科技(深圳)有限公司 Application processing method and device
CN106802803A (en) * 2017-01-06 2017-06-06 腾讯科技(深圳)有限公司 The method and apparatus of application data treatment
CN107179914A (en) * 2017-06-13 2017-09-19 深圳天珑无线科技有限公司 Application processing method and device
CN107562526A (en) * 2017-08-25 2018-01-09 深圳市沃特沃德股份有限公司 Intelligent terminal opens the method and device of application program
CN107578309A (en) * 2017-08-29 2018-01-12 苏州市那美网络科技有限公司 A kind of scenario reduction system and its implementation based on mobile electric business APP
CN107608771A (en) * 2017-08-16 2018-01-19 深圳天珑无线科技有限公司 Mobile terminal and its open application program method and with store function device
CN107765853A (en) * 2017-10-13 2018-03-06 广东欧珀移动通信有限公司 Application closing method, device, storage medium and electronic equipment
CN109840168A (en) * 2019-02-14 2019-06-04 北京字节跳动网络技术有限公司 Software rejuvenation method, apparatus, terminal and medium
CN111142996A (en) * 2019-12-13 2020-05-12 深圳拓邦股份有限公司 Page display method, system, mobile terminal and storage medium
CN111417929A (en) * 2018-12-29 2020-07-14 深圳市大疆创新科技有限公司 Interface display method and control terminal
CN111459714A (en) * 2019-01-18 2020-07-28 珠海金山办公软件有限公司 Application processing method and device, computer storage medium and terminal
CN111597009A (en) * 2018-09-21 2020-08-28 Oppo广东移动通信有限公司 Application program display method, device and terminal device
CN109117212B (en) * 2017-06-23 2021-03-30 北京嘀嘀无限科技发展有限公司 Method, system, terminal and computer device for recovering information display

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102508700A (en) * 2011-09-30 2012-06-20 广州市动景计算机科技有限公司 Method and device for quickly recovering webpage of mobile terminal
US20130263034A1 (en) * 2012-03-29 2013-10-03 Nest Labs, Inc. User Interfaces for HVAC Schedule Display and Modification on Smartphone or Other Space-Limited Touchscreen Device
CN103955478A (en) * 2014-03-31 2014-07-30 北京奇虎科技有限公司 Display method and device for closed webpage label and/or browser window
CN104331235A (en) * 2014-01-10 2015-02-04 广州三星通信技术研究有限公司 Method and device for switching application activity

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102508700A (en) * 2011-09-30 2012-06-20 广州市动景计算机科技有限公司 Method and device for quickly recovering webpage of mobile terminal
US20130263034A1 (en) * 2012-03-29 2013-10-03 Nest Labs, Inc. User Interfaces for HVAC Schedule Display and Modification on Smartphone or Other Space-Limited Touchscreen Device
CN104331235A (en) * 2014-01-10 2015-02-04 广州三星通信技术研究有限公司 Method and device for switching application activity
CN103955478A (en) * 2014-03-31 2014-07-30 北京奇虎科技有限公司 Display method and device for closed webpage label and/or browser window

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106648796A (en) * 2016-12-29 2017-05-10 宇龙计算机通信科技(深圳)有限公司 Application processing method and device
CN106802803A (en) * 2017-01-06 2017-06-06 腾讯科技(深圳)有限公司 The method and apparatus of application data treatment
US11231959B2 (en) 2017-01-06 2022-01-25 Tencent Technology (Shenzhen) Company Limited Foreground and background switching entry generation and display following quit operations
CN107179914A (en) * 2017-06-13 2017-09-19 深圳天珑无线科技有限公司 Application processing method and device
CN109117212B (en) * 2017-06-23 2021-03-30 北京嘀嘀无限科技发展有限公司 Method, system, terminal and computer device for recovering information display
CN107608771A (en) * 2017-08-16 2018-01-19 深圳天珑无线科技有限公司 Mobile terminal and its open application program method and with store function device
CN107562526A (en) * 2017-08-25 2018-01-09 深圳市沃特沃德股份有限公司 Intelligent terminal opens the method and device of application program
CN107578309A (en) * 2017-08-29 2018-01-12 苏州市那美网络科技有限公司 A kind of scenario reduction system and its implementation based on mobile electric business APP
CN107765853A (en) * 2017-10-13 2018-03-06 广东欧珀移动通信有限公司 Application closing method, device, storage medium and electronic equipment
CN111597009A (en) * 2018-09-21 2020-08-28 Oppo广东移动通信有限公司 Application program display method, device and terminal device
CN111597009B (en) * 2018-09-21 2023-08-04 Oppo广东移动通信有限公司 Application program display method, device and terminal equipment
CN111417929A (en) * 2018-12-29 2020-07-14 深圳市大疆创新科技有限公司 Interface display method and control terminal
CN111459714A (en) * 2019-01-18 2020-07-28 珠海金山办公软件有限公司 Application processing method and device, computer storage medium and terminal
CN109840168A (en) * 2019-02-14 2019-06-04 北京字节跳动网络技术有限公司 Software rejuvenation method, apparatus, terminal and medium
CN109840168B (en) * 2019-02-14 2021-11-02 北京字节跳动网络技术有限公司 Software recovery method, device, terminal and medium
CN111142996A (en) * 2019-12-13 2020-05-12 深圳拓邦股份有限公司 Page display method, system, mobile terminal and storage medium
CN111142996B (en) * 2019-12-13 2023-12-29 深圳拓邦股份有限公司 Page display method, page display system, mobile terminal and storage medium

Similar Documents

Publication Publication Date Title
CN106095318A (en) Application program open method and device
EP3848789B1 (en) Method and device for information processing, terminal, server and storage medium
US10649648B2 (en) Method and apparatus for screen capture processing
JP6072362B2 (en) Application program processing method, apparatus, program, and storage medium
EP3337146B1 (en) Method and apparatus for displaying notification message
CN107870712B (en) Screenshot processing method and device
CN104636106B (en) Image display method and device, terminal device
CN105786507B (en) Display interface switching method and device
EP3128411B1 (en) Interface display method, terminal, computer program and recording medium
WO2017084183A1 (en) Information displaying method and device
WO2016011717A1 (en) Message push method and device for light application, terminal and server
WO2017080084A1 (en) Font addition method and apparatus
CN107885571B (en) Display page control method and device
CN107688477B (en) Setting item processing method and device for setting item processing
JP2017532618A (en) Information processing method and apparatus
WO2017181544A1 (en) Method and device for managing task of instant messaging application
CN108984098B (en) Information display control method and device based on social software
CN107229637A (en) A kind of webpage collection method and device
CN105117115B (en) A kind of method and apparatus for showing electronic document
US11112951B2 (en) Method, device and storage medium for displaying content in notification bar
CN104536640B (en) Background picture inspection method and device
CN105824513A (en) Message processing method and apparatus
CN105677406A (en) Application operating method and device
CN114356476B (en) Content display method, content display device, electronic equipment and storage medium
CN112486604B (en) Toolbar setting method and device for setting toolbar

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20161109