CN106775325B - Mobile terminal and control method thereof - Google Patents

Mobile terminal and control method thereof Download PDF

Info

Publication number
CN106775325B
CN106775325B CN201611220528.5A CN201611220528A CN106775325B CN 106775325 B CN106775325 B CN 106775325B CN 201611220528 A CN201611220528 A CN 201611220528A CN 106775325 B CN106775325 B CN 106775325B
Authority
CN
China
Prior art keywords
application
intent information
mobile terminal
last access
access record
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611220528.5A
Other languages
Chinese (zh)
Other versions
CN106775325A (en
Inventor
李爵宇
李军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201611220528.5A priority Critical patent/CN106775325B/en
Publication of CN106775325A publication Critical patent/CN106775325A/en
Application granted granted Critical
Publication of CN106775325B publication Critical patent/CN106775325B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/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)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a mobile terminal and a control method thereof, wherein the mobile terminal comprises: a receiving unit configured to receive a first operation for a first application; the judging unit is used for judging whether a last access record related to the first application exists or not; the first control unit is used for displaying the last access record if the last access record related to the first application exists; and the second control unit is used for starting the first application to a first interface matched with the last access record when detecting a second operation aiming at the last access record. By adopting the technical scheme of the invention, the problem that the first interface of the first application before leaving the first application cannot be returned due to the jump between the applications is solved.

Description

Mobile terminal and control method thereof
Technical Field
The invention relates to the technical field of terminal control, in particular to a mobile terminal and a control method thereof.
Background
With more and more applications installed on the mobile terminal, the requirement of the user on convenience is higher and higher. The inventors have found that applications may sometimes jump from application to application during use.
For example, during the use of a first application, a first function is opened by a first interface of the first application, and when the first application executes the first function, the first application jumps to a second application associated with the first application for proceeding. However, in actual use, the following problems often occur: after jumping to the second application again, the user cannot return to the first interface of the first application through a back key, but directly exits the current second application and returns to the desktop.
Disclosure of Invention
In view of the above, the present invention is directed to a mobile terminal and a control method thereof, which solve the problem that a first interface of a first application before leaving the first application cannot be returned due to a jump between applications.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
the present invention provides a mobile terminal, comprising:
a receiving unit configured to receive a first operation for a first application;
the judging unit is used for judging whether a last access record related to the first application exists or not;
the first control unit is used for displaying the last access record if the last access record related to the first application exists;
and the second control unit is used for starting the first application to a first interface matched with the last access record when detecting a second operation aiming at the last access record.
In the foregoing solution, optionally, the mobile terminal further includes:
a third control unit, configured to obtain intention (Intent) information of each preset application currently running on the mobile terminal; respectively recording the latest Intent information corresponding to each preset application; wherein the preset application comprises a first application.
In the foregoing solution, optionally, the third control unit is further configured to:
when an interface corresponding to the Intent information is started each time, the Intent information is sent to a corresponding preset application through an Activity Management System (AMS), and meanwhile, the Intent information is sent to a Package Manager Service (PMS) and recorded by the PMS.
In the foregoing solution, optionally, the determining unit is further configured to:
searching whether Intent information corresponding to the first application exists or not;
and if so, judging that the last access record related to the first application exists.
In the foregoing solution, optionally, the second control unit is further configured to:
obtaining Intent information corresponding to the first application;
and sending the Intent information to the first application, and starting the first application to a first interface matched with the last access record based on the Intent information.
The invention also provides a control method, which is applied to the mobile terminal and comprises the following steps:
receiving a first operation for a first application;
judging whether a last access record related to the first application exists or not;
if the last access record related to the first application exists, displaying the last access record;
and when a second operation aiming at the last access record is detected, starting the first application to a first interface matched with the last access record.
In the foregoing solution, optionally, before the receiving the first operation for the first application, the method further includes:
acquiring intention (Intent) information of each preset application currently running by the mobile terminal;
respectively recording the latest Intent information corresponding to each preset application; wherein the preset application comprises a first application.
In the foregoing scheme, optionally, the obtaining Intent information of each preset application currently running on the mobile terminal includes:
when an interface corresponding to the Intent information is started each time, the Intent information is sent to the corresponding preset application through the AMS, and meanwhile, the Intent information is sent to the PMS and recorded by the PMS.
In the foregoing solution, optionally, the determining whether there is a last access record associated with the first application includes:
searching whether Intent information corresponding to the first application exists or not;
and if so, judging that the last access record related to the first application exists.
In the foregoing solution, optionally, the starting the first application to the first interface matched with the last access record includes:
obtaining Intent information corresponding to the first application;
and sending the Intent information to the first application, and starting the first application to a first interface matched with the last access record based on the Intent information.
The invention provides a mobile terminal and a control method thereof, which receive a first operation aiming at a first application; judging whether a last access record related to the first application exists or not; if the last access record related to the first application exists, displaying the last access record; when a second operation aiming at the last access record is detected, starting the first application to a first interface matched with the last access record; therefore, when a first operation on a first application icon on the desktop of the mobile terminal is received, the last access record related to the first application can be provided, and when a second operation is received, the first application is started to the first interface matched with the last access record, so that the problem that the first interface of the first application before the first application cannot be returned due to the jump between the applications is solved.
Drawings
Fig. 1 is a schematic hardware configuration diagram of an alternative mobile terminal implementing various embodiments of the present invention;
FIG. 2 is a diagram of a wireless communication system for the mobile terminal shown in FIG. 1;
fig. 3 is a schematic flow chart illustrating an implementation of a control method according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of an interface of application 1 before returning to application 1 by long-pressing an icon of application 1 on a desktop according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
So that the manner in which the features and aspects of the embodiments of the present invention can be understood in detail, a more particular description of the embodiments of the invention, briefly summarized above, may be had by reference to the embodiments, some of which are illustrated in the appended drawings.
A terminal implementing various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the description of the embodiments of the present invention, and have no specific meaning in themselves. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the embodiments of the present invention may include terminals such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a Personal Digital Assistant (PDA), a tablet computer (PAD), a Portable Multimedia Player (PMP), a navigation device, and the like, and fixed terminals such as a digital TV, a desktop computer, and the like. In the following, it is assumed that the terminal is a mobile terminal. However, it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for moving purposes.
Fig. 1 is a schematic hardware configuration of a mobile terminal implementing various embodiments of the present invention.
The mobile terminal 100 may include an audio/video (a/V) input unit 120, a user input unit 130, an output unit 150, a memory 160, an interface unit 170, a controller 180, and a power supply unit 190, and the like. Fig. 1 illustrates a mobile terminal having various components, but it is to be understood that not all illustrated components are required to be implemented. More or fewer components may alternatively be implemented. Elements of the mobile terminal will be described in detail below.
The a/V input unit 120 is used to receive an audio or video signal. The a/V input unit 120 may include a camera 121 and a microphone 1220, and the camera 121 processes image data of still pictures or video obtained by an image capturing apparatus in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 151. The image frames processed by the camera 121 may be stored in the memory 160 (or other storage medium), and two or more cameras 1210 may be provided according to the construction of the mobile terminal. The microphone 122 may receive sounds (audio data) via the microphone in a phone call mode, a recording mode, a voice recognition mode, or the like, and can process such sounds into audio data. The microphone 122 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The user input unit 130 may generate key input data according to a command input by a user to control various operations of the mobile terminal. The user input unit 130 allows a user to input various types of information, and may include a keyboard, dome sheet, touch pad (e.g., a touch-sensitive member that detects changes in resistance, pressure, capacitance, and the like due to being touched), scroll wheel, joystick, and the like. In particular, when the touch pad is superimposed on the display unit 151 in the form of a layer, a touch screen may be formed.
The interface unit 170 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The identification Module may store various information for authenticating a User using the mobile terminal 100 and may include a User Identity Module (UIM), a Subscriber Identity Module (SIM), a Universal Subscriber Identity Module (USIM), and the like. In addition, a device having an identification module (hereinafter, referred to as an "identification device") may take the form of a smart card, and thus, the identification device may be connected with the mobile terminal 100 via a port or other connection means. The interface unit 170 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal and the external device.
In addition, when the mobile terminal 100 is connected with an external cradle, the interface unit 170 may serve as a path through which power is supplied from the cradle to the mobile terminal 100 or may serve as a path through which various command signals input from the cradle are transmitted to the mobile terminal. Various command signals or power input from the cradle may be used as signals for recognizing whether the mobile terminal is accurately mounted on the cradle. The output unit 150 is configured to provide output signals (e.g., audio signals, video signals, alarm signals, vibration signals, etc.) in a visual, audio, and/or tactile manner. The output unit 150 may include a display unit 151, an audio output module 152, an alarm unit 153, and the like.
The display unit 151 may display information processed in the mobile terminal 100. For example, when the mobile terminal 100 is in a phone call mode, the display unit 151 may display a User Interface (UI) or a Graphical User Interface (GUI) related to a call or other communication (e.g., text messaging, multimedia file downloading, etc.). When the mobile terminal 100 is in a video call mode or an image capturing mode, the display unit 151 may display a captured image and/or a received image, a UI or GUI showing a video or an image and related functions, and the like.
Meanwhile, when the display unit 151 and the touch pad are overlapped with each other in the form of a layer to form a touch screen, the display unit 151 may serve as an input device and an output device. The Display unit 151 may include at least one of a Liquid Crystal Display (LCD), a Thin Film Transistor LCD (TFT-LCD), an Organic Light-Emitting Diode (OLED) Display, a flexible Display, a three-dimensional (3D) Display, and the like. Some of these displays may be configured to be transparent to allow a user to see from the outside, which may be referred to as transparent displays, and a typical transparent display may be, for example, a Transparent Organic Light Emitting Diode (TOLED) display or the like. Depending on the particular desired implementation, the mobile terminal 100 may include two or more display units (or other display devices), for example, the mobile terminal may include an external display unit (not shown) and an internal display unit (not shown). The touch screen may be used to detect a touch input pressure as well as a touch input position and a touch input area.
The audio output module 152 may convert audio data received by the wireless communication unit 110 or stored in the memory 160 into an audio signal and output as sound when the mobile terminal is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output module 152 may provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output module 152 may include a speaker, a buzzer, and the like.
The alarm unit 153 may provide an output to notify the mobile terminal 100 of the occurrence of an event. Typical events may include call reception, message reception, key signal input, touch input, and the like. In addition to audio or video output, the alarm unit 153 may provide output in different ways to notify the occurrence of an event. For example, the alarm unit 153 may provide an output in the form of vibration, and when a call, a message, or some other incoming communication (communicating communication) is received, the alarm unit 153 may provide a tactile output (i.e., vibration) to inform the user thereof. By providing such a tactile output, the user can recognize the occurrence of various events even when the user's mobile phone is in the user's pocket. The alarm unit 153 may also provide an output notifying the occurrence of an event via the display unit 151 or the audio output module 152.
The memory 160 may store software programs or the like for processing and controlling operations performed by the controller 180, or may temporarily store data (e.g., a phonebook, messages, still images, videos, etc.) that has been output or is to be output. Also, the memory 160 may store data regarding various ways of vibration and audio signals output when a touch is applied to the touch screen.
The Memory 160 may include at least one type of storage medium including a flash Memory, a hard disk, a multimedia card, a card-type Memory (e.g., SD or DX Memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic Memory, a magnetic disk, an optical disk, etc. Also, the mobile terminal 100 may cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
The controller 180 generally controls the overall operation of the mobile terminal. For example, the controller 180 performs control and processing related to voice calls, data communications, video calls, and the like. In addition, the controller 180 may include a multimedia module 181 for reproducing (or playing back) multimedia data, and the multimedia module 181 may be constructed within the controller 180 or may be constructed separately from the controller 180. The controller 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
The power supply unit 190 receives external power or internal power and provides appropriate power required to operate various elements and components under the control of the controller 180.
The various embodiments described herein may be implemented in a computer-readable medium using, for example, computer software, hardware, or any combination thereof. For a hardware implementation, the embodiments described herein may be implemented using at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a processor, a controller, a microcontroller, a microprocessor, and an electronic unit designed to perform the functions described herein, and in some cases, such embodiments may be implemented in the controller 180. For a software implementation, the implementation such as a process or a function may be implemented with a separate software module that allows performing at least one function or operation. The software codes may be implemented by software applications (or programs) written in any suitable programming language, which may be stored in the memory 160 and executed by the controller 180.
Up to now, the mobile terminal has been described in terms of its functions. Hereinafter, a slide-type mobile terminal among various types of mobile terminals, such as a folder-type, bar-type, swing-type, slide-type mobile terminal, and the like, will be described as an example for the sake of brevity. Accordingly, the present invention can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
The mobile terminal 100 as shown in fig. 1 may be configured to operate with communication systems such as wired and wireless communication systems and satellite-based communication systems that transmit data via frames or packets.
A communication system in which a mobile terminal according to an embodiment of the present invention is operable will now be described with reference to fig. 2.
Such communication systems may use different air interfaces and/or physical layers. For example, the air interface used by the communication System includes, for example, Frequency Division Multiple Access (FDMA), Time Division Multiple Access (TDMA), Code Division Multiple Access (CDMA), and Universal Mobile Telecommunications System (UMTS) (in particular, Long Term Evolution (LTE)), global System for Mobile communications (GSM), and the like. By way of non-limiting example, the following description relates to a CDMA communication system, but such teachings are equally applicable to other types of systems.
Referring to fig. 2, the CDMA wireless communication system may include a plurality of Mobile terminals 100, a plurality of Base Stations (BSs) 270, a Base Station Controller (BSC) 275, and a Mobile Switching Center (MSC) 280. The MSC280 is configured to interface with a Public Switched Telephone Network (PSTN) 290. The MSC280 is also configured to interface with a BSC275, which may be coupled to the base station 270 via a backhaul. The backhaul may be constructed according to any of several known interfaces including, for example, E1/T1, ATM, IP, PPP, frame Relay, HDSL, ADSL, or xDSL. It will be understood that a system as shown in fig. 2 may include multiple BSCs 275.
Each BS270 may serve one or more sectors (or regions), each sector covered by a multi-directional antenna or an antenna pointing in a particular direction being radially distant from the BS 270. Alternatively, each partition may be covered by two or more antennas for diversity reception. Each BS270 may be configured to support multiple frequency allocations, with each frequency allocation having a particular frequency spectrum (e.g., 1.25MHz, 5MHz, etc.).
The intersection of partitions with frequency allocations may be referred to as a CDMA channel. The BS270 may also be referred to as a Base Transceiver Subsystem (BTS) or other equivalent terminology. In such a case, the term "base station" may be used to generically refer to a single BSC275 and at least one BS 270. The base stations may also be referred to as "cells". Alternatively, each sector of a particular BS270 may be referred to as a plurality of cell sites.
As shown in fig. 2, a Broadcast Transmitter (BT) 295 transmits a Broadcast signal to the mobile terminal 100 operating within the system. A broadcast receiving module 111 as shown in fig. 1 is provided at the mobile terminal 100 to receive a broadcast signal transmitted by the BT 295. In fig. 2, several Global Positioning System (GPS) satellites 300 are shown. The satellite 300 assists in locating at least one of the plurality of mobile terminals 100.
In fig. 2, a plurality of satellites 300 are depicted, but it is understood that useful positioning information may be obtained with any number of satellites. The GPS module 115 as shown in fig. 1 is generally configured to cooperate with satellites 300 to obtain desired positioning information. Other techniques that can track the location of the mobile terminal may be used instead of or in addition to GPS tracking techniques. In addition, at least one GPS satellite 300 may selectively or additionally process satellite DMB transmission.
As a typical operation of the wireless communication system, the BS270 receives reverse link signals from various mobile terminals 100. The mobile terminal 100 is generally engaged in conversations, messaging, and other types of communications. Each reverse link signal received by a particular base station 270 is processed within the particular BS 270. The obtained data is forwarded to the associated BSC 275. The BSC provides call resource allocation and mobility management functions including coordination of soft handoff procedures between BSs 270. The BSCs 275 also route the received data to the MSC280, which provides additional routing services for interfacing with the PSTN 290. Similarly, the PSTN290 interfaces with the MSC280, the MSC interfaces with the BSCs 275, and the BSCs 275 accordingly control the BS270 to transmit forward link signals to the mobile terminal 100.
Based on the hardware structure of the mobile terminal and the communication system, in order to better realize the convenience of the application operation of the user in the mobile terminal, the invention provides various embodiments of the method.
Example one
Fig. 3 is a schematic flow chart of an implementation of a control method according to an embodiment of the present invention, where the control method in this example is applied to a mobile terminal, and as shown in fig. 3, the control method mainly includes the following steps:
step 301: a first operation for a first application is received.
Here, the first operation may be a long-press operation, a double-click operation, a single-click operation, a triple-click operation, or the like.
In this embodiment, the first operation may be set by a user according to a usage habit.
In one embodiment, the receiving a first operation for a first application includes:
receiving a first operation of a user on a first application icon on a desktop of the mobile terminal.
Thus, after returning to the desktop, the last access record associated with the first application can still be invoked by performing the first operation.
In one embodiment, the receiving a first operation for a first application includes:
and receiving a first operation of a first application icon on a display interface of a second application by a user.
In this way, when the mobile terminal displays the display interface of the second application, the icon of the first application on the interface of the mobile terminal is triggered, and the last access record related to the first application can still be called by executing the first operation.
Further, prior to the receiving the first operation for the first application, the method further comprises:
acquiring intention (Intent) information of each preset application currently running by the mobile terminal;
respectively recording the latest Intent information corresponding to each preset application; wherein the preset application comprises a first application.
Here, the preset application may be selected by the user according to its own needs.
Of course, the preset application may also be set by the mobile terminal according to the use condition of the user for each application.
Here, the use case includes a use frequency, a number of uses, and the like within a preset time period.
That is, the mobile terminal does not care about Intent information of all applications on the mobile terminal; but only the Intent information of the preset application on the mobile terminal.
Of course, it should be noted that the preset application may be any application on the mobile terminal.
When the preset application is cancelled, the mobile terminal records the latest Intent information corresponding to all currently running applications.
The Intent is mainly to solve communication among various components of the Android application.
The Android is responsible for finding a corresponding component according to the description of the Intent, transmitting the Intent to the called component and completing calling of the component.
Therefore, Intent acts as a media intermediary, and specifically provides the related information of mutual calling of the components, thereby realizing the decoupling between the caller and the callee.
For example, in a contact maintenance application, when we click on a contact list screen (assuming that the corresponding Activity is listActivity), we want to jump out the contact detailed information screen (assuming that the corresponding Activity is detail Activity)
In order to achieve the purpose, the listActivity needs to construct an Intent for telling the system that we need to do a 'view' action, a view object corresponding to the action is 'a contact', then a startActivity (Intent) is called, the constructed Intent is imported, the system finds the Activity meeting the Intent requirement in ManiFest according to the description in the Intent, the system calls the found Activity, namely the detail Activity, and finally the Intent is imported, and the detail Activity executes corresponding operation according to the description in the Intent.
As an optional implementation manner, the obtaining of the Intent information of each preset application currently running by the mobile terminal includes:
when an interface corresponding to the Intent information is started each time, the Intent information is sent to a corresponding preset application through an Activity Management System (AMS), and meanwhile, the Intent information is sent to a Package Manager Service (PMS) and recorded by the PMS.
The AMS is the most core service in the Android and is mainly responsible for starting, switching and scheduling components in the system, managing and scheduling application processes and the like.
The PMS is responsible for managing the Package of the system, including installation and uninstallation of the APK, query of information and the like.
As an optional implementation manner, the respectively recording the latest event information corresponding to each preset application includes:
the PMS judges whether the Intent information related to the preset application is stored or not each time the PMS receives the Intent information related to the preset application, and if the Intent information related to the preset application is stored, the stored Intent information related to the preset application is updated to the received Intent information related to the preset application; and if not, storing the newly received Intent information related to the preset application.
For example, the PMS stores therein: marking the intent information from the interface A of the application M to the interface B of the application M as the q1 st intent information; the intent information from the interface B of the application X to the interface D of the application Y is recorded as the q2 nd intent information; then it is determined that,
if the newly received intent information of the PMS is as follows: marking the intent information from the interface B of the application M to the interface C of the application M as the q3 th intent information; then, the previous q1 st intent information needs to be updated to the q2 nd intent information;
if the newly received intent information of the PMS is as follows: the intent information of the W interface used for starting the application K is marked as q4intent information; then, since the intent information related to the application K has not been previously stored, the q4intent information is stored.
In one embodiment, the PMS allocates different data blocks for different preset applications, each for storing the latest intent information associated with the corresponding preset application.
Therefore, the intent information is convenient to search, and if the intent information can be searched, the searched intent information is the latest intent information corresponding to the preset application.
Step 302: determining whether there is a last access record associated with the first application.
In an optional embodiment, the determining whether there is a last access record associated with the first application includes:
searching whether Intent information corresponding to the first application exists or not;
and if so, judging that the last access record related to the first application exists.
Here, whether Intent information corresponding to the first application exists may be searched for from the PMS.
Step 303: and if the last access record related to the first application exists, displaying the last access record.
Here, the form of displaying the last access record may be:
and displaying in the form of pictures with preset size.
It should be noted that, when the last access record is triggered and displayed through the first operation, other function options related to the first application may also be displayed, such as an uninstall operation, a share operation, and the like.
Step 304: and when a second operation aiming at the last access record is detected, starting the first application to a first interface matched with the last access record.
Here, the second operation is to characterize viewing the first interface that matches the last access record. Here, the second operation may be a click operation or a trigger operation corresponding to a preset trajectory.
As an optional implementation approach, the launching the first application to a first interface matching the last access record includes:
obtaining Intent information corresponding to the first application;
and sending the Intent information to the first application, and starting the first application to a first interface matched with the last access record based on the Intent information.
In the embodiment of the invention, a first operation aiming at a first application is received; judging whether a last access record related to the first application exists or not; if the last access record related to the first application exists, displaying the last access record; when a second operation aiming at the last access record is detected, starting the first application to a first interface matched with the last access record; therefore, when a first operation on a first application icon on the desktop of the mobile terminal is received, the last access record related to the first application can be provided, and when a second operation is received, the first application is started to the first interface matched with the last access record, so that the problem that the first interface of the first application before the first application cannot be returned due to jumping among applications is solved, and the use experience of a user is improved.
Example two
Fig. 4 is a schematic flow chart of an interface of the application 1 before the application 1 is returned by long-pressing the icon of the application 1 on the desktop according to the embodiment of the present invention, and as shown in fig. 4, the intent information from the interface a of the application 1 to the interface B of the application 1 is marked as first intent information; the intent information from the interface B of the application 1 to the interface C of the application 1 is recorded as second intent information; the intent information from the C interface of the application 1 to the D interface of the application 3 is recorded as third intent information; and recording the intent information from the D interface of the application 3 to the E interface of the application 5 as fourth intent information.
In the PMS, the second intent information of the application 1, the third intent information of the application 3, and the fourth intent information of the application 5 are recorded.
That is, the latest intent information with the application is stored. For example, when the application 1 jumps from the interface A to the interface B, the first intent information of the application 1 is recorded in the PMS, and after the application 1 jumps from the interface B to the interface C, the first intent information of the application 1 is updated to the second intent information of the application 1in the PMS.
In this embodiment, a queue is created in the PMS for storing the intent information of each application when it left the last time. The intent information is sent to a corresponding application through AMS when an interface is started each time, at the moment, the intent information is sent to the PMS, and the PMS records the intent information; and if the information is the intent information of the same application, the latest intent information is stored in the queue. The desktop application will obtain a record through the PMS whether the current application has been used last time. When the desktop application icon is pressed for a long time, a popup menu displays a last-time use interface. And the user clicks the interface, and the intent information is sent to the corresponding application so as to start the corresponding interface.
By recording the intent information, when a user displays a menu by long-pressing an application 1 icon on a desktop of the mobile terminal, a record of the latest access to the application 1 is loaded. When the user opens the record, the interface before leaving the application 1, namely the interface C of the application 1 is directly opened.
EXAMPLE III
Fig. 5 is a schematic diagram of a composition structure of a mobile terminal according to an embodiment of the present invention, and as shown in fig. 5, the mobile terminal includes a receiving unit 51, a determining unit 52, a first control unit 53, and a second control unit 54; wherein the content of the first and second substances,
the receiving unit 51 is configured to receive a first operation for a first application;
the judging unit 52 is configured to judge whether there is a last access record related to the first application;
the first control unit 53 is configured to display the last access record if the last access record related to the first application exists;
the second control unit 54 is configured to, when detecting a second operation for the last access record, start the first application to the first interface matched with the last access record.
Further, optionally, the mobile terminal further includes:
a third control unit 55, configured to obtain intention Intent information of each preset application currently running in the mobile terminal; respectively recording the latest Intent information corresponding to each preset application; wherein the preset application comprises a first application.
As an embodiment, the third control unit 55 is further configured to:
when an interface corresponding to the Intent information is started each time, the Intent information is sent to the corresponding preset application through the AMS, and meanwhile, the Intent information is sent to the PMS and recorded by the PMS.
As an embodiment, the determining unit 52 is specifically configured to:
searching whether Intent information corresponding to the first application exists or not;
and if so, judging that the last access record related to the first application exists.
As an embodiment, the second control unit 54 is specifically configured to:
obtaining Intent information corresponding to the first application;
and sending the Intent information to the first application, and starting the first application to a first interface matched with the last access record based on the Intent information.
Those skilled in the art will understand that the functions implemented by the processing units in the mobile terminal shown in fig. 5 can be understood by referring to the related description of the control method. Those skilled in the art will appreciate that the processing units in the mobile terminal shown in fig. 5 may be implemented by a program running on a processor, and may also be implemented by specific logic circuits.
The specific structure of the receiving unit 51, the judging unit 52, the first controlling unit 53, the second controlling unit 54, and the third controlling unit 55 in the mobile terminal described in the above embodiments may correspond to a processor in practical application. The specific structure of the processor may be a Central Processing Unit (CPU), a Microprocessor (MCU), a Digital Signal Processor (DSP), a Programmable Logic Controller (PLC), or other electronic components or a collection of electronic components having a Processing function. The processor includes executable codes, the executable codes are stored in a storage medium, the processor can be connected with the storage medium through a communication interface such as a bus, and when the corresponding functions of specific units are executed, the executable codes are read from the storage medium and executed. The portion of the storage medium used to store the executable code is preferably a non-transitory storage medium.
The mobile terminal according to the embodiment solves the problem that the first interface of the first application before the first application cannot be returned due to the jump between the applications.
The technical schemes described in the embodiments of the present invention can be combined arbitrarily without conflict.
In the embodiments provided in the present invention, it should be understood that the disclosed method and intelligent device may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one second processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention.

Claims (8)

1. A mobile terminal, characterized in that the mobile terminal comprises:
the receiving unit is used for receiving a first operation of a user on a first application icon on a second application display interface, wherein the first operation is used for calling a last access record related to the first application;
the judging unit is used for searching whether the intent information corresponding to the first application exists in the PMS, wherein only the latest intent information related to a preset application is stored in the PMS;
the first control unit is used for judging that a last access record related to the first application exists and displaying the last access record if the intent information corresponding to the first application exists in the PMS;
and the second control unit is used for starting the first application to a first interface matched with the last access record when detecting a second operation aiming at the last access record.
2. The mobile terminal of claim 1, wherein the mobile terminal further comprises:
the third control unit is used for acquiring intention Intent information of each preset application currently running by the mobile terminal; respectively recording the latest Intent information corresponding to each preset application; wherein the preset application comprises a first application.
3. The mobile terminal of claim 2, wherein the third control unit is further configured to:
when an interface corresponding to the Intent information is started each time, the Intent information is sent to the corresponding preset application through the activity management system AMS, and meanwhile, the Intent information is sent to the packet manager service PMS and recorded by the PMS.
4. The mobile terminal of claim 1, wherein the second control unit is further configured to:
obtaining Intent information corresponding to the first application;
and sending the Intent information to the first application, and starting the first application to a first interface matched with the last access record based on the Intent information.
5. A control method is applied to a mobile terminal, and is characterized by comprising the following steps:
receiving a first operation of a user on a first application icon on a second application display interface, wherein the first operation is used for calling a last access record related to the first application;
searching whether the intent information corresponding to the first application exists in a PMS, wherein only the latest intent information related to a preset application is stored in the PMS;
if the intent information corresponding to the first application exists in the PMS, judging that a last access record related to the first application exists, and displaying the last access record;
and when a second operation aiming at the last access record is detected, starting the first application to a first interface matched with the last access record.
6. The method of claim 5, wherein prior to receiving the first operation for the first application, the method further comprises:
acquiring intention Intent information of each preset application currently running by the mobile terminal;
respectively recording the latest Intent information corresponding to each preset application; wherein the preset application comprises a first application.
7. The method according to claim 6, wherein the obtaining Intent information of each preset application currently running on the mobile terminal comprises:
when an interface corresponding to the Intent information is started each time, the Intent information is sent to the corresponding preset application through the activity management system AMS, and meanwhile, the Intent information is sent to the packet manager service PMS and recorded by the PMS.
8. The method of claim 5, wherein the launching the first application to the first interface that matches the last access record comprises:
obtaining Intent information corresponding to the first application;
and sending the Intent information to the first application, and starting the first application to a first interface matched with the last access record based on the Intent information.
CN201611220528.5A 2016-12-26 2016-12-26 Mobile terminal and control method thereof Active CN106775325B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611220528.5A CN106775325B (en) 2016-12-26 2016-12-26 Mobile terminal and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611220528.5A CN106775325B (en) 2016-12-26 2016-12-26 Mobile terminal and control method thereof

Publications (2)

Publication Number Publication Date
CN106775325A CN106775325A (en) 2017-05-31
CN106775325B true CN106775325B (en) 2020-08-28

Family

ID=58926431

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611220528.5A Active CN106775325B (en) 2016-12-26 2016-12-26 Mobile terminal and control method thereof

Country Status (1)

Country Link
CN (1) CN106775325B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107562317B (en) * 2017-08-30 2021-01-15 努比亚技术有限公司 Display method and terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019841A (en) * 2012-11-23 2013-04-03 广东欧珀移动通信有限公司 Method and terminal of quickly switching application programs
CN105912226A (en) * 2016-04-11 2016-08-31 北京小米移动软件有限公司 Method and apparatus for displaying pages in application
CN106020947A (en) * 2016-05-06 2016-10-12 青岛海信移动通信技术股份有限公司 An application program switching method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019841A (en) * 2012-11-23 2013-04-03 广东欧珀移动通信有限公司 Method and terminal of quickly switching application programs
CN105912226A (en) * 2016-04-11 2016-08-31 北京小米移动软件有限公司 Method and apparatus for displaying pages in application
CN106020947A (en) * 2016-05-06 2016-10-12 青岛海信移动通信技术股份有限公司 An application program switching method and device

Also Published As

Publication number Publication date
CN106775325A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN106844029B (en) Self-management Android process freezing and unfreezing device and method
CN105487802B (en) Screen projection management method, device and system
CN106776017B (en) Device and method for cleaning application memory and garbage
CN106547439B (en) Method and device for processing message
CN105740008B (en) Device and method for forbidding chained start of application program
CN105704539A (en) Video sharing device and video sharing method
CN105577532B (en) Application message processing method and device based on keywords and mobile terminal
CN106982273B (en) Mobile terminal and control method thereof
CN106130734A (en) The control method of mobile terminal and control device
CN105760057A (en) Screenshot device and method
CN109101447B (en) Method and terminal for parallel execution of OTG function and charging function
CN105718166A (en) Display interface skip device and method
CN106598538B (en) Instruction set updating method and system
CN105760055A (en) Mobile terminal and control method thereof
CN106851114B (en) Photo display device, photo generation device, photo display method, photo generation method and terminal
CN106371704B (en) Application shortcut layout method of screen locking interface and terminal
CN105227771B (en) Picture transmission method and device
CN105791588A (en) Mobile terminal desktop setting device and mobile terminal desktop setting method
CN106445825B (en) Debugging method and device
CN107027113B (en) SIM card activation method and mobile terminal
CN107197084B (en) Method for projection between mobile terminals and first mobile terminal
CN105722142A (en) Mobile terminal and multilink-based data streaming method
CN106569670B (en) Device and method for processing application
CN106412877B (en) Activation method and activation device for mobile terminal SIM card
CN105744061B (en) Eye print recognition interaction device and method

Legal Events

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