CN107402694B - Application switching method, device and computer-readable storage medium - Google Patents

Application switching method, device and computer-readable storage medium Download PDF

Info

Publication number
CN107402694B
CN107402694B CN201710632294.3A CN201710632294A CN107402694B CN 107402694 B CN107402694 B CN 107402694B CN 201710632294 A CN201710632294 A CN 201710632294A CN 107402694 B CN107402694 B CN 107402694B
Authority
CN
China
Prior art keywords
application
interface
user
icon
display area
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
CN201710632294.3A
Other languages
Chinese (zh)
Other versions
CN107402694A (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 CN201710632294.3A priority Critical patent/CN107402694B/en
Publication of CN107402694A publication Critical patent/CN107402694A/en
Application granted granted Critical
Publication of CN107402694B publication Critical patent/CN107402694B/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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • 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)
  • Telephone Function (AREA)

Abstract

The invention discloses an application switching method, application switching equipment and a computer readable storage medium, wherein the application switching method comprises the following steps: drawing an interface of a first application in a display area of a screen of the terminal, and drawing an icon corresponding to a second application on the interface of the first application, wherein the icon corresponding to the second application is suspended on the interface of the first application; and when the first operation performed by the user is detected, cancelling drawing of the interface of the first application and the icon of the second application, and drawing the interface of the second application in the display area. According to the technical scheme of the invention, the icon of the second application is displayed on the interface of the first application in a suspension mode, so that the user can determine that the application to be switched is the second application according to the icon, and the user can determine whether to switch the application.

Description

Application switching method, device and computer-readable storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to an application switching method and device, and a computer-readable storage medium.
Background
The current smart phone operating system supports multi-task simultaneous operation, however, limited by the size of the mobile phone screen, each APP (application) usually works in a full screen mode, that is, only one APP can be used at a time.
For example, the following two scenarios: (1) when a user watches the video, the user also needs to check a new message or mail of the WeChat from time to time; (2) the user fills in a registration form on the mobile phone, and needs to input information such as passport number, zip code and the like, and the information is stored in the notebook APP. In both scenarios, two APPs need to be used "simultaneously".
Currently, there are two main solutions, one is split screen and the other is by switching between applications.
Firstly, the method of split screen is not suitable, because even the great six cun screens of size, after carrying out two split screens to the screen, the screen size that every APP occupy all can reduce half, causes the APP interface to zoom, and the typeface of APP, icon obviously diminish, to the inconvenient operation of user.
Application switching is generally done in two ways: one method is to firstly operate and call a task list and then select an APP to be switched from the task list, the method is relatively complicated in operation, at least two operations are needed for completing one switching, namely, the task list is called out, and the APP to be switched is clicked; another is to switch between the most recently used applications by a specific gesture, such as an edge swipe, which has the disadvantage of being less intuitive and the user does not know which APP to switch to before completing the switch. It can be seen that the existing technical solutions are not suitable for frequent switching between two applications.
Disclosure of Invention
The invention mainly aims to provide an application switching method, an application switching device and a computer-readable storage medium, aiming to enable a user to clearly switch to an application before switching the application.
In order to achieve the above object, the present invention provides an application switching method, which includes the following steps: drawing an interface of a first application in a display area of a screen of a terminal, and drawing an icon corresponding to a second application on the interface of the first application, wherein the icon corresponding to the second application is suspended on the interface of the first application; and when a first operation performed by a user is detected, cancelling drawing of the interface of the first application and the icon of the second application, and drawing the interface of the second application in the display area.
Optionally, in the foregoing application switching method, the application switching method further includes the following steps: and after the first operation execution is detected to be finished, cancelling drawing of the interface of the second application, and redrawing the interface of the first application and the icon corresponding to the second application.
Optionally, in the application switching method, the first operation is a touch operation performed by the user on the display area, the icon, or a sensor on the terminal, and the first operation execution is ended when the finger of the user is detached from the display area, the icon, or the sensor.
Optionally, in the application switching method, the application switching method further includes: and after the interface of the second application is drawn, setting the input mode of the second application as a voice input mode.
Optionally, in the application switching method, the step of drawing the icon corresponding to the second application on the interface of the first application specifically includes: and drawing a thumbnail corresponding to the interface of the second application to form an icon corresponding to the second application.
Optionally, before the step of drawing the interface of the first application in the display area of the screen, the application switching method further includes: and calling out a list recording a plurality of currently running applications, and selecting one application from the list as the second application according to a second operation executed by the user.
In order to achieve the above object, the present invention further provides an application switching device, including a screen, a processor, a memory, and a communication bus; the communication bus is used for realizing connection communication between the processor and the memory; the processor is configured to execute an application switching program stored in the memory to implement the steps of: drawing an interface of a first application in a display area of the screen, and drawing an icon corresponding to a second application on the interface of the first application, wherein the icon corresponding to the second application is suspended on the interface of the first application; and when a first operation performed by a user is detected, cancelling drawing of the interface of the first application and the icon of the second application, and drawing the interface of the second application in the display area.
Optionally, in the foregoing application switching device, the processor is further configured to execute the application switching program to implement the following steps: and after the first operation execution is detected to be finished, cancelling drawing of the interface of the second application, and redrawing the interface of the first application and the icon corresponding to the second application.
Optionally, in the foregoing application switching device, the application switching device further includes a sensor, the first operation is a touch operation performed on the display area, the icon, or the sensor by the user, and the execution of the first operation is ended when the finger of the user is separated from the display area, the icon, or the sensor.
Optionally, in the foregoing application switching device, the processor is further configured to execute the application switching program to implement the following steps: and after the interface of the second application is drawn, setting the input mode of the second application as a voice input mode.
Optionally, in the application switching device, in the step of drawing the icon corresponding to the second application on the interface of the first application, the processor is configured to execute the application switching program to implement the following steps: and drawing a thumbnail corresponding to the interface of the second application to form an icon corresponding to the second application.
Optionally, before the step of drawing the interface of the first application in the display area of the screen, the processor is further configured to execute the application switching program to implement the following steps: and calling out a list recording a plurality of currently running applications, and selecting one application from the list as the second application according to a second operation executed by the user.
To achieve the above object, the present invention also provides a computer-readable storage medium storing one or more programs, which are executable by one or more processors to implement the aforementioned steps.
According to the above technical solutions, it can be known that the application switching method, device and computer-readable storage medium of the present invention have at least the following advantages:
according to the technical scheme of the invention, the icon of the second application is displayed on the interface of the first application in a suspension mode, so that the user can determine that the application to be switched is the second application according to the icon, and the user can determine whether to switch the application.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention;
FIG. 2 is a flow diagram of an application switching method according to one embodiment of the present invention;
fig. 3 is an application diagram of an application switching method according to an embodiment of the present invention;
FIG. 4 is a flow diagram of an application switching method according to one embodiment of the present invention;
fig. 5 is an application diagram of an application switching method according to an embodiment of the present invention;
fig. 6 is an application diagram of an application switching method according to an embodiment of the present invention;
FIG. 7 is a block diagram of an application switching device according to one embodiment of the present invention;
fig. 8 is a block diagram of an application switching apparatus according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "part", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no peculiar meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time)
Division-Synchronous Code Division Multiple Access (TD-SCDMA),
FDD-LTE (Frequency Division Duplex Long Term Evolution), TDD-LTE (Time Division Duplex Long Term Evolution), and the like.
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 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 unit 103 may also provide audio output related to a unique function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 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 mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein,
the ambient light sensor may adjust the brightness of the display panel 1061 according to the brightness of ambient light, and the proximity sensor may turn off the display panel 1061 and/or the backlight when the mobile terminal 100 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen,
touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory) may be collected and driven according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 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 interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices 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 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. In addition to this, the present invention is,
the memory 109 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
As shown in fig. 2, an embodiment of the present invention provides an application switching method, where the application switching method of the embodiment includes the following steps:
step S210, drawing an interface of a first application in a display area of a screen of the terminal, and drawing an icon corresponding to a second application on the interface of the first application, where the icon corresponding to the second application is suspended on the interface of the first application.
In this embodiment, types of the first application and the second application are not limited, and applications available on any terminal such as a mobile phone are all applicable to the technical scheme of this embodiment, for example, the second application may specifically be a notebook, a short message, or an instant messaging APP, and such applications are applications that a user needs to frequently use and require the user to frequently switch.
In this embodiment, assuming that the first application is a current APP and the second application is an information APP, as shown in fig. 3, an icon corresponding to the information APP is displayed in a floating window and floats on the current APP interface, and a user can recognize the "information APP" through the icon.
Furthermore, a closing icon is arranged on the floating window, and the user can close the floating window after clicking.
It can be seen that in the technical solution of this embodiment, a user can confirm an application to be switched based on the floating window, thereby determining whether to perform switching.
In the present embodiment, the type of the icon of the second application is not limited, and for example, it may be an icon of the second application on a desktop of a mobile phone.
In step S220, when the first operation performed by the user is detected, the drawing of the interface of the first application and the icon of the second application is cancelled, and the interface of the second application is drawn in the display area.
In this embodiment, the type of the first operation is not limited, for example, the first operation may be a long press, a click, or the like in a specific area or a specific component of a mobile phone, and after the first operation of the user is executed, the application is switched.
According to the technical scheme of the embodiment, the icon of the second application is displayed on the interface of the first application in a floating mode, so that the user can determine whether the application to be switched is the second application according to the icon, and the user can determine whether to switch the application.
As shown in fig. 4, an embodiment of the present invention provides an application switching method, where the application switching method of the embodiment includes the following steps:
step S410, call out a list recording a plurality of currently running applications, and select an application in the list as a second application according to a second operation performed by the user.
In this embodiment, the specific manner of setting the second application is as follows: and calling a task list page for displaying all current concurrent tasks of the local machine, and browsing and marking the task corresponding to the target APP as an information APP (namely, a second application).
In this embodiment, an exemplary view of the task list is shown in fig. 5, where each task corresponds to an APP, and a current interface screenshot of the task is displayed on a list page, each task screenshot has an illuminable icon 510, the default is an "unlit state", and when a user lights the icon, the APP of the task list is marked as an information APP.
Therefore, based on the technical scheme of the embodiment, the user can set the second application swiftly in a mode of calling out the task list and marking.
Further, when the information APP is no longer needed, two methods are provided in the technical solution of this embodiment to cancel the setting of the information APP.
One is to call up the task list as shown in fig. 5 and then to extinguish the icon 510 of the information APP, and the floating window of the information APP is not displayed any more.
The other is that when the 'information APP' floating window is displayed, the closing icon is clicked to close the window. At this time, the identifier of the information APP in the task list is also synchronously extinguished.
In this embodiment, after the user cancels the setting of the information APP, the first operation for switching the APPs is no longer valid.
Step S420, drawing an interface of the first application in a display area of a screen of the terminal, and drawing a thumbnail corresponding to an interface of the second application to form an icon corresponding to the second application, where the icon corresponding to the second application is suspended on the interface of the first application.
In this embodiment, a thumbnail is generated after screenshot is performed on the interface of the second application, and the thumbnail is used as a floating icon, so that a user can intuitively know the current interface content of the second application through the icon, and the user can determine whether to perform application switching.
For example, when the second application is a chat tool, the user can determine whether new information is received according to the icon of the chat tool, so as to determine whether it is necessary to switch to the interface of the chat tool to reply to the new information.
In step S430, when the first operation performed by the user is detected, the drawing of the interface of the first application and the icon of the second application is cancelled, and the interface of the second application is drawn in the display area.
Step S440, after the interface of the second application is drawn, setting the input mode of the second application as a voice input mode.
In this embodiment, if the first operation of the user is finished, that is, the interface of the second application is cancelled and displayed, it is difficult for the user to perform the input operation on the second application at the same time under the condition of maintaining the first operation, and at this time, the input mode of the second application is modified into the voice input mode.
For example, when the first operation is a long press operation and the second application is a chat tool, the user switches the current application to the chat tool through the long press operation and needs to continuously press and keep displaying the interface of the chat tool, and the input mode of the chat tool is automatically set to be a voice input mode, so that the behavior of the user for switching the applications is favorably not in conflict with the behavior for inputting.
And step S450, after the execution of the first operation is detected to be finished, canceling the drawing of the interface of the second application, and redrawing the interface of the first application and the icon corresponding to the second application, wherein the first operation is touch operation performed on a display area, the icon or a sensor on the terminal by a user, and the execution of the first operation is finished when the finger of the user is separated from the display area, the icon or the sensor.
In order to improve the efficiency of switching the applications by the user and avoid the user from performing too many operations to frequently switch the applications, in this embodiment, it is not selected to cancel displaying the interface of the second application and resume displaying the interface of the first application and the icon of the second application by other operations, but resume displaying the interface of the first application and the icon of the second application when the first operation of the user is finished.
In the present embodiment, the type of the sensor is not limited, and the sensor may be a fingerprint sensor on a mobile phone, for example.
In this embodiment, for example, after the user sets the information APP (second application), the current APP (first application) can be used. In the process, the user can quickly switch to the information APP and quickly return to the information APP through some kind of "two-state" interface gesture (i.e. the first operation).
The so-called "dual state" is that there is a gesture, and this gesture carries out and represents "on" respectively, represents "close" after this gesture finishes, and when being in "on" state, information APP switches to the proscenium, and information APP's interface full screen display, and information APP's suspension window is hidden simultaneously, and when being in "off" state, current APP switches to the proscenium, and current APP's interface full screen display, information APP's suspension window simultaneously shows.
In this embodiment, the two-state gesture can be as shown in the following table.
'Kai' 'guan'
1 Finger long press 'information APP' suspension screenshot Finger raising from suspended screenshot
2 Long-press fingerprint sensor Loose fingerprint sensor
Taking the first operation as an example of long-time pressing of the front fingerprint sensor, the process of switching to the information APP is shown in fig. 6, when the thumb of the user leaves the fingerprint sensor, the interface of the current APP and the floating window of the information APP are displayed, and when the thumb of the user presses the fingerprint sensor, the interface of the information APP is displayed.
Based on the technical scheme of the embodiment, aiming at the most common scene of application switching, a technical scheme of application fast switching is provided, which is used for fast switching to another APP and fast returning in the process of using one APP.
As shown in fig. 7, an embodiment of the present invention provides an application switching device comprising a screen 710, a processor 720, a memory 730, and a communication bus 740; communication bus 740 is used to enable communications among processor 720 and memory 730; processor 720 is configured to execute the application switching program stored in memory 730 to perform the following steps:
the method comprises the steps of drawing an interface of a first application in a display area of a screen of the terminal, drawing an icon corresponding to a second application on the interface of the first application, and enabling the icon corresponding to the second application to be suspended on the interface of the first application.
In this embodiment, types of the first application and the second application are not limited, and applications available on any terminal such as a mobile phone are all applicable to the technical scheme of this embodiment, for example, the second application may specifically be a notebook, a short message, or an instant messaging APP, and such applications are applications that a user needs to frequently use and require the user to frequently switch.
In this embodiment, assuming that the first application is a current APP and the second application is an information APP, as shown in fig. 4, an icon corresponding to the information APP is displayed in a floating window and floats on the current APP interface, and a user can recognize the "information APP" through the icon.
Furthermore, a closing icon is arranged on the floating window, and the user can close the floating window after clicking.
It can be seen that in the technical solution of this embodiment, a user can confirm an application to be switched based on the floating window, thereby determining whether to perform switching.
In the present embodiment, the type of the icon of the second application is not limited, and for example, it may be an icon of the second application on a desktop of a mobile phone.
And when the first operation performed by the user is detected, cancelling drawing of the interface of the first application and the icon of the second application, and drawing the interface of the second application in the display area.
In this embodiment, the type of the first operation is not limited, for example, the first operation may be a long press, a click, or the like in a specific area or a specific component of a mobile phone, and after the first operation of the user is executed, the application is switched.
According to the technical scheme of the embodiment, the icon of the second application is displayed on the interface of the first application in a floating mode, so that the user can determine whether the application to be switched is the second application according to the icon, and the user can determine whether to switch the application.
As shown in fig. 8, an embodiment of the present invention provides an application switching device comprising a screen 810, a processor 820, a memory 830, a communication bus 840, a sensor 850; communication bus 840 is used to enable connective communication between processor 820 and memory 830; the processor 820 is configured to execute the application switching program stored in the memory 830 to implement the following steps:
and calling out a list recording a plurality of currently running applications, and selecting one application in the list as a second application according to a second operation executed by the user.
In this embodiment, the specific manner of setting the second application is as follows: and calling a task list page for displaying all current concurrent tasks of the local machine, and browsing and marking the task corresponding to the target APP as an information APP (namely, a second application).
In this embodiment, an exemplary view of the task list is shown in fig. 5, where each task corresponds to an APP, and a current interface screenshot of the task is displayed on a list page, each task screenshot has an illuminable icon 510, the default is an "unlit state", and when a user lights the icon, the APP of the task list is marked as an information APP.
Therefore, based on the technical scheme of the embodiment, the user can set the second application swiftly in a mode of calling out the task list and marking.
Further, when the information APP is no longer needed, two methods are provided in the technical solution of this embodiment to cancel the setting of the information APP.
One is to call up the task list as shown in fig. 5 and then to extinguish the icon 510 of the information APP, and the floating window of the information APP is not displayed any more.
The other is that when the 'information APP' floating window is displayed, the closing icon is clicked to close the window. At this time, the identifier of the information APP in the task list is also synchronously extinguished.
In this embodiment, after the user cancels the setting of the information APP, the first operation for switching the APPs is no longer valid.
The method comprises the steps of drawing an interface of a first application in a display area of a screen of the terminal, drawing a thumbnail corresponding to the interface of a second application to form an icon corresponding to the second application, and enabling the icon corresponding to the second application to be suspended on the interface of the first application.
In this embodiment, a thumbnail is generated after screenshot is performed on the interface of the second application, and the thumbnail is used as a floating icon, so that a user can intuitively know the current interface content of the second application through the icon, and the user can determine whether to perform application switching.
For example, when the second application is a chat tool, the user can determine whether new information is received according to the icon of the chat tool, so as to determine whether it is necessary to switch to the interface of the chat tool to reply to the new information.
And when the first operation performed by the user is detected, cancelling drawing of the interface of the first application and the icon of the second application, and drawing the interface of the second application in the display area.
And after drawing the interface of the second application, setting the input mode of the second application as a voice input mode.
In this embodiment, if the first operation of the user is finished, that is, the interface of the second application is cancelled and displayed, it is difficult for the user to perform the input operation on the second application at the same time under the condition of maintaining the first operation, and at this time, the input mode of the second application is modified into the voice input mode.
For example, when the first operation is a long press operation and the second application is a chat tool, the user switches the current application to the chat tool through the long press operation and needs to continuously press and keep displaying the interface of the chat tool, and the input mode of the chat tool is automatically set to be a voice input mode, so that the behavior of the user for switching the applications is favorably not in conflict with the behavior for inputting.
And after the execution of the first operation is detected to be finished, cancelling the drawing of the interface of the second application, and redrawing the interface of the first application and the icon corresponding to the second application, wherein the first operation is the touch operation of the user on the display area, the icon or the sensor on the terminal, and the execution of the first operation is finished when the finger of the user is separated from the display area, the icon or the sensor.
In order to improve the efficiency of switching the applications by the user and avoid the user from performing too many operations to frequently switch the applications, in this embodiment, it is not selected to cancel displaying the interface of the second application and resume displaying the interface of the first application and the icon of the second application by other operations, but resume displaying the interface of the first application and the icon of the second application when the first operation of the user is finished.
In the present embodiment, the type of the sensor is not limited, and the sensor may be a fingerprint sensor on a mobile phone, for example.
In this embodiment, for example, after the user sets the information APP (second application), the current APP (first application) can be used. In the process, the user can quickly switch to the information APP and quickly return to the information APP through some kind of "two-state" interface gesture (i.e. the first operation).
The so-called "dual state" is that there is a gesture, and this gesture carries out and represents "on" respectively, represents "close" after this gesture finishes, and when being in "on" state, information APP switches to the proscenium, and information APP's interface full screen display, and information APP's suspension window is hidden simultaneously, and when being in "off" state, current APP switches to the proscenium, and current APP's interface full screen display, information APP's suspension window simultaneously shows.
In this embodiment, the two-state gesture can be as shown in the following table.
'Kai' 'guan'
1 Finger long press 'information APP' suspension screenshot Finger raising from suspended screenshot
2 Long-press fingerprint sensor Loose fingerprint sensor
Taking the first operation as an example of long-time pressing of the front fingerprint sensor, the process of switching to the information APP is shown in fig. 6, when the thumb of the user leaves the fingerprint sensor, the interface of the current APP and the floating window of the information APP are displayed, and when the thumb of the user presses the fingerprint sensor, the interface of the information APP is displayed.
Based on the technical scheme of the embodiment, aiming at the most common scene of application switching, a technical scheme of application fast switching is provided, which is used for fast switching to another APP and fast returning in the process of using one APP.
An embodiment of the present invention provides a computer-readable storage medium storing one or more programs, which are executable by one or more processors to implement the steps of the application switching method of the foregoing embodiment.
According to the computer-readable storage medium of the embodiment, the icon of the second application is displayed on the interface of the first application in a floating manner, so that the user can determine that the application to be switched is the second application according to the icon, and the user can determine whether to switch the application.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (7)

1. An application switching method, characterized in that the application switching method comprises the following steps:
drawing an interface of a first application in a display area of a screen of a terminal, and drawing an icon corresponding to a second application on the interface of the first application, wherein the icon corresponding to the second application is suspended on the interface of the first application;
when a first operation performed by a user is detected, cancelling drawing of an interface of the first application and an icon of the second application, and drawing an interface of the second application in the display area;
and after the first operation execution is detected to be finished, cancelling drawing of the interface of the second application, and redrawing the interface of the first application and the icon corresponding to the second application.
2. The application switching method according to claim 1, wherein the first operation is a touch operation performed by the user on the display area, the icon, or a sensor on the terminal, and the first operation execution ends when the finger of the user is detached from the display area, the icon, or the sensor.
3. The application switching method according to claim 1, wherein the step of drawing the icon corresponding to the second application on the interface of the first application specifically includes:
and drawing a thumbnail corresponding to the interface of the second application to form an icon corresponding to the second application.
4. The application switching method according to claim 1, further comprising, before the step of drawing the interface of the first application in the display area of the screen of the terminal:
and calling out a list recording a plurality of currently running applications, and selecting one application from the list as the second application according to a second operation executed by the user.
5. An application switching device, comprising a screen, a processor, a memory, and a communication bus; the communication bus is used for realizing connection communication between the processor and the memory; the processor is configured to execute an application switching program stored in the memory to implement the steps of:
drawing an interface of a first application in a display area of the screen, and drawing an icon corresponding to a second application on the interface of the first application, wherein the icon corresponding to the second application is suspended on the interface of the first application;
when a first operation performed by a user is detected, cancelling drawing of an interface of the first application and an icon of the second application, and drawing an interface of the second application in the display area;
and after the first operation execution is detected to be finished, cancelling drawing of the interface of the second application, and redrawing the interface of the first application and the icon corresponding to the second application.
6. The application switching device according to claim 5, further comprising a sensor, wherein the first operation is a touch operation of the user on the display area, the icon, or the sensor, and wherein the execution of the first operation ends when the finger of the user is separated from the display area, the icon, or the sensor.
7. A computer readable storage medium, characterized in that the computer readable storage medium stores one or more programs which are executable by one or more processors to implement the steps of the method of any one of claims 1 to 4.
CN201710632294.3A 2017-07-28 2017-07-28 Application switching method, device and computer-readable storage medium Active CN107402694B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710632294.3A CN107402694B (en) 2017-07-28 2017-07-28 Application switching method, device and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710632294.3A CN107402694B (en) 2017-07-28 2017-07-28 Application switching method, device and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN107402694A CN107402694A (en) 2017-11-28
CN107402694B true CN107402694B (en) 2020-12-29

Family

ID=60401693

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710632294.3A Active CN107402694B (en) 2017-07-28 2017-07-28 Application switching method, device and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN107402694B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108234295B (en) * 2017-12-29 2021-04-02 努比亚技术有限公司 Display control method of group function control, terminal and computer readable storage medium
CN108255565B (en) * 2018-01-29 2020-07-17 维沃移动通信有限公司 Application pushing method and mobile terminal
CN109947979B (en) * 2018-08-22 2021-09-21 Oppo广东移动通信有限公司 Song identification method, device, terminal and storage medium
CN109284041A (en) * 2018-09-18 2019-01-29 维沃移动通信有限公司 A kind of application interface switching method and mobile terminal
CN112771834A (en) * 2018-10-10 2021-05-07 深圳市欢太科技有限公司 Game access method and related equipment
CN110187815B (en) * 2019-01-24 2022-03-01 青岛海信移动通信技术股份有限公司 Terminal and processing method
CN111124587B (en) * 2020-01-03 2023-11-21 北京小米移动软件有限公司 Interface display method and device, terminal equipment and storage medium
CN111240551B (en) * 2020-01-21 2021-12-28 维沃移动通信有限公司 Application program control method and electronic equipment
CN113645351B (en) * 2020-04-24 2022-10-28 华为技术有限公司 Application interface interaction method, electronic device and computer-readable storage medium
CN112241229B (en) * 2020-10-20 2022-10-04 北京字节跳动网络技术有限公司 Terminal display control method, device, terminal and storage medium
CN112732368B (en) * 2020-12-31 2024-04-09 维沃移动通信有限公司 Program running method and device and electronic equipment
CN113805745B (en) * 2021-08-12 2022-09-20 荣耀终端有限公司 Control method of suspension window and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104516676A (en) * 2015-01-09 2015-04-15 深圳市创凯电子有限公司 Method and device for quickly switching pages
CN105630280A (en) * 2015-10-29 2016-06-01 东莞酷派软件技术有限公司 Multi-application switching method and apparatus
CN105700776A (en) * 2016-02-25 2016-06-22 努比亚技术有限公司 Device and method for switching background programs
CN105786485A (en) * 2016-02-04 2016-07-20 上海卓易科技股份有限公司 Mobile terminal and background display method for applications thereof
CN106775313A (en) * 2016-12-07 2017-05-31 北京奇虎科技有限公司 Split screen method of controlling operation thereof and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9612732B2 (en) * 2014-11-13 2017-04-04 Microsoft Technology Licensing, Llc Content transfer to non-running targets

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104516676A (en) * 2015-01-09 2015-04-15 深圳市创凯电子有限公司 Method and device for quickly switching pages
CN105630280A (en) * 2015-10-29 2016-06-01 东莞酷派软件技术有限公司 Multi-application switching method and apparatus
CN105786485A (en) * 2016-02-04 2016-07-20 上海卓易科技股份有限公司 Mobile terminal and background display method for applications thereof
CN105700776A (en) * 2016-02-25 2016-06-22 努比亚技术有限公司 Device and method for switching background programs
CN106775313A (en) * 2016-12-07 2017-05-31 北京奇虎科技有限公司 Split screen method of controlling operation thereof and mobile terminal

Also Published As

Publication number Publication date
CN107402694A (en) 2017-11-28

Similar Documents

Publication Publication Date Title
CN107402694B (en) Application switching method, device and computer-readable storage medium
CN107977132B (en) Information display method and mobile terminal
CN107734175B (en) Notification message prompting method and mobile terminal
CN111143015B (en) Screen capturing method and electronic equipment
CN107729160B (en) Application control method, mobile terminal and computer-readable storage medium
CN109814786B (en) Image storage method and terminal equipment
CN108073458B (en) Memory recovery method, mobile terminal and computer-readable storage medium
CN108874280B (en) Screen division method, terminal and computer readable storage medium
CN109901695B (en) Screen power-saving display method, mobile terminal and computer-readable storage medium
CN107765941B (en) Icon display method, terminal and computer readable storage medium
CN107613095B (en) Incoming call processing method and mobile terminal
CN108449513B (en) Interactive regulation and control method, equipment and computer readable storage medium
CN110569119B (en) Background application program management method and terminal
CN109847348B (en) Operation interface control method, mobile terminal and storage medium
CN109710130B (en) Display method and terminal
CN110971510A (en) Message processing method and electronic equipment
CN108920040B (en) Application icon sorting method and mobile terminal
CN111475066B (en) Background switching method of application program and electronic equipment
CN107864086B (en) Information rapid sharing method, mobile terminal and computer readable storage medium
CN111190515A (en) Shortcut panel operation method, device and readable storage medium
CN109126127B (en) Game control method, dual-screen mobile terminal and computer-readable storage medium
CN109067975B (en) Contact person information management method and terminal equipment
CN109521916B (en) File processing method based on flexible screen, mobile terminal and storage medium
CN109799937B (en) Input control method, input control equipment and computer readable storage medium
CN109710168B (en) Screen touch method and device and computer readable storage medium

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