CN109669765B - Application switching method and device - Google Patents

Application switching method and device Download PDF

Info

Publication number
CN109669765B
CN109669765B CN201710964652.0A CN201710964652A CN109669765B CN 109669765 B CN109669765 B CN 109669765B CN 201710964652 A CN201710964652 A CN 201710964652A CN 109669765 B CN109669765 B CN 109669765B
Authority
CN
China
Prior art keywords
screen
application
terminal
application program
mode
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
CN201710964652.0A
Other languages
Chinese (zh)
Other versions
CN109669765A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN202311520689.6A priority Critical patent/CN117311946A/en
Priority to CN201710964652.0A priority patent/CN109669765B/en
Priority to PCT/CN2018/120737 priority patent/WO2019076387A1/en
Publication of CN109669765A publication Critical patent/CN109669765A/en
Application granted granted Critical
Publication of CN109669765B publication Critical patent/CN109669765B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
    • 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
    • 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt

Landscapes

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

Abstract

The invention provides an application switching method and device, by which a first switching request is received; and switching the screen focus from the first application program of the first screen of the terminal to the second application program of the second screen of the terminal according to the first switching request, and continuously running the first application program. According to the method and the device for switching the screen focus, the problem that in the related art, the application on one screen can be suspended in the process of switching the screen focus, so that the user experience is poor can be solved, and the effect of improving the user experience degree is achieved.

Description

Application switching method and device
Technical Field
The present invention relates to the field of communications, and in particular, to an application switching method and apparatus.
Background
Compared with the traditional single-screen terminal, the double-screen terminal adopts two identical physical screens, has a single-screen mode (traditional mode), a double-screen display mode (large-screen expansion mode and AB-screen mode) and a mirror tent mode, and brings brand-new mobile experience to users as shown in fig. 1, so that the double-screen terminal is a great attempt in the innovation development direction of future mobile phone products.
As the biggest bright point of the dual screen terminal, there is an interactive usage scenario between the dual screen in the extended (large screen) mode and the AB mode, which is different from the conventional single screen terminal. Currently existing dual screen terminal (e.g., dual screen mobile phone terminal) products fall into two categories:
1. the two screens are different in size to form a main mode and an auxiliary mode, the large screen is the same as the traditional single-screen mobile phone, the auxiliary screen displays some time, and the telephone and short message prompt lamps are simple in information and are matched with the main screen for use;
2. two screens are the same screen size:
(1) The two screens are respectively positioned on the front side and the back side of the terminal and cannot be folded and turned over;
(2) The two screens can be folded between 0 and 180 degrees;
based on the AB split screen application interaction scene which exerts the characteristics of the dual-screen terminal, taking streaming media playing and social application as an example of one of typical scenes, when the screen focus is switched from streaming media playing to social application, the user experience is poor due to the fact that windows corresponding to the multimedia related applications are out of focus, and the characteristics of the dual-screen terminal are not exerted.
Therefore, in the related art, an application on one screen may be suspended to run during the process of switching the screen focus, resulting in a problem of poor user experience.
Disclosure of Invention
The embodiment of the invention provides an application switching method and device, which at least solve the problem that in the related art, the application on one screen can be suspended to run in the process of switching the screen focus of a double-screen terminal, so that the user experience is poor.
According to an embodiment of the present invention, there is provided an application switching method including: receiving a first switching request; and switching the screen focus from a first application program of a first screen of the terminal to a second application program of a second screen of the terminal according to the first switching request, and continuously running the first application program.
Optionally, the first application includes one of: streaming media playing application program, timer.
Optionally, before switching the screen focus from the first application to the second application and playing the first application uninterruptedly, the method further comprises: and inquiring the second application program to be an application program which is continuously operated by the first application program under the condition that the second application program is allowed to be switched to.
Optionally, before receiving the first handover request, the method further includes: receiving a conversion request for converting the terminal into a split screen mode, wherein the split screen mode is that different application programs are respectively displayed on the first screen and the second screen of the terminal; and detecting that a forced split screen switch of the terminal is turned on according to the conversion request, and converting to a split screen mode, wherein the turned-on state of the forced split screen switch is used for indicating that all application programs on the terminal can be displayed on the first screen or the second screen.
Optionally, after switching to the split screen mode, the method includes: querying that the first application program is an application program which cannot be displayed on the first screen or the second screen; and switching to a large screen expansion mode and displaying the first application program according to the large screen expansion mode, wherein the large screen expansion mode is a mode that the first screen and the second screen are combined into one screen.
According to another embodiment of the present invention, there is provided an application switching apparatus including: the receiving module is used for receiving a first switching request; and the switching module is used for switching the screen focus from a first application program of a first screen of the terminal to a second application program of a second screen of the terminal according to the first switching request and running the first application program uninterruptedly.
Optionally, the first application includes one of: streaming media playing application program, timer.
Optionally, the receiving module is further configured to receive a request for converting the terminal to a split screen mode, where the split screen mode is that different application programs are respectively displayed on the first screen and the second screen of the terminal; and detecting that a forced split screen switch of the terminal is turned on according to the conversion request, and converting to a split screen mode, wherein the turned-on state of the forced split screen switch is used for indicating that all application programs on the terminal can be displayed on the first screen or the second screen.
According to yet another embodiment of the present invention, there is also provided a storage medium including a stored program, wherein the program, when run, performs the method of any one of the above.
According to yet another embodiment of the present invention, there is also provided a processor for running a program, wherein the program when run performs the method of any of the above.
According to the invention, a first switching request is received; and switching the screen focus from a first application program of a first screen of the terminal to a second application program of a second screen of the terminal according to the first switching request, and continuously running the first application program. The first application program is continuously operated while being switched from the first application program of the first screen of the terminal to the second application program of the second screen of the terminal, so that the first application program can not be suspended, the problem that in the related art, the application on one screen of the dual-screen terminal is suspended in the process of switching the screen focus, and poor user experience is caused can be solved, and the effect of improving the user experience is achieved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiments of the invention and together with the description serve to explain the invention and do not constitute a limitation on the invention. In the drawings:
fig. 1 is a schematic view of a display mode of a related art dual-screen terminal;
fig. 2 is a block diagram of a hardware structure of a mobile terminal to which a handover method is applied according to an embodiment of the present invention;
FIG. 3 is a flow chart of an application switching method according to an embodiment of the invention;
FIG. 4 is a schematic diagram of an application switching method according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a communication flow of an application switching method according to an embodiment of the present invention;
FIG. 6 is a preferred flow chart of an application switching method according to an alternative embodiment of the invention;
fig. 7 is a block diagram of an application switching apparatus according to an embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the drawings in conjunction with embodiments. It should be noted that, in the case of no conflict, the embodiments and features in the embodiments may be combined with each other.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order.
Example 1
The method embodiment provided in the first embodiment of the present application may be executed in a mobile terminal, a computer terminal or a similar computing device. Taking the mobile terminal as an example, fig. 2 is a block diagram of a hardware structure of the mobile terminal to which the handover method is applied according to an embodiment of the present invention. As shown in fig. 2, the mobile terminal 20 may include one or more (only one is shown in the figure) processors 202 (the processors 202 may include, but are not limited to, a processing means such as a microprocessor MCU or a programmable logic device FPGA), a memory 204 for storing data, and a transmission means 206 for communication functions. It will be appreciated by those of ordinary skill in the art that the configuration shown in fig. 2 is merely illustrative and is not intended to limit the configuration of the electronic device described above. For example, the mobile terminal 20 may also include more or fewer components than shown in FIG. 2, or have a different configuration than shown in FIG. 2.
The memory 204 may be used to store software programs and modules of application software, such as program instructions/modules corresponding to the application switching method in the embodiment of the present invention, and the processor 202 executes the software programs and modules stored in the memory 204 to perform various functional applications and data processing, i.e., implement the method described above. Memory 204 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 204 may further include memory located remotely from the processor 202, which may be connected to the mobile terminal 20 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission means 206 is used for receiving or transmitting data via a network. The specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal 20. In one example, the transmission device 206 includes a network adapter (Network Interface Controller, NIC) that can connect to other network devices through a base station to communicate with the internet. In one example, the transmission device 206 may be a Radio Frequency (RF) module for communicating with the internet wirelessly.
In this embodiment, an application switching method running on the mobile terminal is provided, and fig. 3 is a flowchart of an application switching method according to an embodiment of the present invention, as shown in fig. 3, where the flowchart includes the following steps:
step S302, a first switching request is received, wherein the first switching request is used for requesting to switch a screen focus from a first application program of a first screen of a terminal to a second application program of a second screen of the terminal;
step S304, according to the first switching request, the screen focus is switched from the first application program of the first screen of the terminal to the second application program of the second screen of the terminal, and the first application program is continuously operated. For example, according to the first switching request, the first application is not suspended from running in the process of switching the screen focus from the first application of the first screen of the terminal to the second application of the second screen of the terminal.
Through the steps, the first application program is continuously operated while being switched from the first application program of the first screen of the terminal to the second application program of the second screen of the terminal, so that the first application program can not be paused, the problem that in the related art, the application on one screen of the dual-screen terminal can be paused in the screen focus switching process, and the user experience is poor is solved, so that the application program which possibly enters a pause state can normally operate during the screen focus switching process, and the pause can not occur, thereby achieving the effect of improving the user experience. Optionally, the first application program that may enter the pause state includes, but is not limited to, streaming media playing, a timer, etc.; the second application includes, but is not limited to, social software, a browser, other applications, and the like. The timer may be a countdown of the terminal, a stopwatch of the terminal, or a clock of the terminal. The present invention is described below with streaming media playback and timer applications as typical scenarios.
Optionally, after switching the screen focus from the first application to the second application, further comprising: receiving a second switching request, wherein the second switching request is used for requesting to switch the screen focus from the second application program back to the first application program; generating a recovery message for notifying the upper layer application to recover the first application program according to the second switching request; and sending a resume message and a pause message for notifying the upper layer application to pause the first application program to the upper layer application, wherein the pause message is generated according to the first switching request. For example, in the split screen mode, the generated onPause (a pause message for notifying the upper layer application to pause the first application program) is sent to the upper layer application together with the resume message onResume when resuming, so that the integrity of the Activity life cycle is ensured, and the pause action of the application is prevented.
In order to facilitate understanding of the above embodiments, the description will be given by taking an example in which the dual-screen terminal is operated in the AB mode and the AB two screens respectively operate different applications. For example, the AB two screens simultaneously run different applications, where the a screen is a streaming media playing application, and when the screen focus is switched to another B screen, in the related technology, because a window corresponding to the multimedia related application of the a screen is out of focus, a pause message onPause of the current Activity of the application is triggered and reported to an upper layer application, streaming media playing is stopped in onPause processing, and streaming media playing is paused, so that user experience is affected.
The invention processes the pause message and the sending time of the resume message of the streaming media playing (such as a timer) when the streaming media playing (such as the timer) on the screen A is applied to the screen focus switching, for example, when the screen A is switched to the screen B, the application such as the multimedia playing normally runs, the pause condition can not happen, and the user experience is improved.
In order to facilitate the explanation of the process of processing the transmission time of the pause message and resume message of the streaming media play, a brief explanation of Android Activity in order An Zhuocheng follows. Activity is a user interface program that in principle provides the user with an interactive interface function. It is the basic functional unit of Android applications. In the related art, in the normal starting process of an Activity, the calling sequence of the split screen display method information is onCreate- > onStart- > onResume; the message call order is onPause- > onstate- > onDestroy when Activity is stopped, which is a complete life cycle. For interrupt processing, the method is onPause- > onStop, and onStart- > onResume is recovered; if the screen focus program is an Activity with a Theme of semitransparent transparency or Dialog dialogs, the pause information onPause is called when interrupted, and the resume information onResume is called when resumed.
The following describes a procedure for processing a pause message and a transmission time of a resume message of a streaming media play, taking a pause message onPause being invoked when an application is interrupted and a resume message onResume being invoked when the application is resumed as an example.
In the split screen mode, if the pause message onPause (the pause message for notifying the upper layer application to pause the first application program) is caused by the out-of-focus of the first screen, the callback is not called back to the upper layer application, and the onPause and the resume message onResume are sent to the upper layer application together when the pause message onPause is to be resumed, so that the integrity of the Activity life cycle is ensured, and the pause action of the application is prevented. Alternatively, when a request to switch a screen focus from a first application of a first screen of a terminal to a second application of a second screen of the terminal is received, a pause message for notifying to pause the first application is generated, but the pause message is not sent to an upper layer application while the screen focus is switched from the first application to the second application.
Optionally, before switching the screen focus from the first application to the second application and the first application runs uninterruptedly, the method further comprises: and inquiring the second application program to be an application program which is continuously operated by the first application program under the condition of allowing the second application program to be switched. For example, adding whitelist control, only switching to the whitelisted application allows the first application to run operation uninterrupted to control unknown risk. Such as whitelists, may be operator specific to fulfill local needs.
Optionally, when the screen where the application such as the streaming media playing and the timer is located is out of focus, the white list checking is not performed, and the out-of-focus streaming media application is kept to continue playing by using the method for not sending the onPause message. At that time, the streaming media application side may take place with unknown risk due to uncontrollable action time. (white list is used in the present invention).
Optionally, the present invention further provides a method for processing an application that does not support split screen, for example, before receiving the first switching request, the method further includes: receiving a conversion request for converting a terminal into a split screen mode, wherein the split screen mode is that different application programs are respectively displayed on a first screen and a second screen of the terminal; and detecting that a forced split screen switch of the terminal is turned on according to the conversion request, and converting to a split screen mode, wherein the turned-on state of the forced split screen switch is used for indicating that all application programs on the terminal can be displayed on the first screen or the second screen. Alternatively, the forced split-screen switch on may be set in a setting menu of the terminal.
For the convenience of understanding the above embodiments, the description will be given by taking an example in which the dual-screen terminal is operated in the AB mode and the AB two screens are respectively operated with different application programs.
In the related art, part of applications do not support operation in a split screen scene, and the applications cannot be reformed, so that the scenes are controlled from a frame layer, and the applications which do not support split screen display are suitable for a split screen mode through processing on the frame side on the premise of meeting the Google standard, so that user experience is guaranteed, the characteristics of a double-screen machine are brought into play, and the commodity is improved.
For example, in the AB split mode, for some applications that do not support split, the resizableactivity=fales attribute of the application may be forcedly changed from the frame side, so that the application may enter into split display.
However, in the above processing scheme, the application attribute is forcibly changed from the frame side to force the application to enter the split screen mode, which is in violation of the requirement of Google CDD document, and may not pass CTS authentication.
Namely, an application with the attribute of resizableActivity=fales is not allowed to enter a split screen mode in a factory default state, a forced split screen setting item is added in a setting menu, a user is prompted whether to turn on a forced split screen switch before the user switches to an AB mode for the first time, after the application is allowed by the user, the application can enter the split screen mode, and the scheme is feasible with Google confirmation and can normally pass CTS authentication. For example, when a user opens the AB mode for the first time, a pop-up dialog box reminds the user of whether to open the forced split screen switch, the user selects whether to open the forced split screen switch according to the needs, when the user selects to open the forced split screen switch, and when the subsequently opened application is an application which cannot be split, the pop-up dialog box reminds the user of whether to perform forced split screen, and the user selects whether to force split screen according to the needs; when the user selects not to open the forced split screen, the user is prompted that the application is not split screen when the subsequently opened application is an application which is not split screen.
Optionally, after switching to the split screen mode, the method includes: inquiring that the first application program is an application program which can not be displayed on the first screen or the second screen; and switching to a large screen expansion mode and displaying the first application program according to the large screen expansion mode, wherein the large screen expansion mode is a mode that a first screen and a second screen are combined into one screen. For example, a blacklist is set, and applications unsuitable for split-screen display or specific applications which do not want to perform split-screen display are listed in the application blacklist, and the application is opened in a large-screen expansion mode instead of split-screen mode display.
Optionally, when entering the split screen mode, a blacklist is not preset, that is, after the user turns on the forced split screen switch, all applications can enter the split screen for display, and the split screen mode is basically consistent with the experience of a double-screen terminal user. However, some applications unsuitable for split-screen display can also be forced to be split-screen running, bringing unknown risks. (the invention uses blacklists)
In summary, the invention provides a method for interaction and focus switching of a dual-screen application based on an AB split-screen mode, which can use a dual-screen mobile phone terminal with an AB split-screen mode function, and uses application programs such as streaming media playing, a timer, social software, a browser and the like, wherein the dual-screen mobile phone terminal is connected to a network. The specific implementation method comprises the following steps:
the first step: when a user uses the double-screen terminal for the first time, switching to an AB split-screen mode;
and a second step of: whether to enter a split screen mode is confirmed by whether to turn on a forced split screen switch or not through the selection of a user;
and a third step of: entering a split screen mode, and running different applications by the AB two screens;
fourth step: when the screen focus is switched, the applications such as multimedia playing, timers and the like are normal, and no pause occurs.
According to the embodiment, on the premise of meeting the Google specification, certain applications can be displayed in a split screen mode, the characteristics of the double-screen terminal are brought into play, and user experience is improved; and when the screen where the application such as streaming media playing and a timer is located is out of focus, the normal operation is kept, the user experience is improved, and the risk is reduced to the greatest extent through the white list.
In the following, with reference to the drawings, a system is described for the above embodiments, and fig. 4 is a schematic diagram of an application switching method according to an embodiment of the present invention, as shown in fig. 4, where this embodiment provides a method for processing an application that does not support split screen and continuing normal play after a streaming media playing application screen is out of focus, and on the premise that the method conforms to Google related specifications, the application that does not support split screen display is adapted to a split screen mode through processing on a frame side, where the method includes:
step S101: switching to an AB split screen mode by using a double-screen terminal;
step S102: prompting a user to open a forced split screen switch, and opening a frame forced screen focus Activity to reset an attribute re-sizable;
step S103: after a user confirms that the forced split screen switch is turned on, entering a split screen mode, respectively turning on the two screens, checking a blacklist when the application is turned on, turning on the application listed in the blacklist in a large screen expansion mode, and normally turning on the application not listed in the blacklist on the current screen;
step S104: when the screen focus is switched from the streaming media playing application screen to the non-streaming media application screen, checking a white list, and processing the application in the white list in a mode of not sending a pause message;
step S105: the AB two-screen application runs normally, and the streaming media playing application cannot be paused;
the system is divided into a front part and a rear part in the embodiment:
1. entering a split screen mode: S101-S103 in the embodiment are confirmation by the end user that the force split screen switch is turned on to enter the AB mode. Firstly, the user decides to enter the forced split screen mode, secondly, when the application is opened, whether the application which prohibits the split screen display exists in a preset blacklist or not is checked, if the application is not in the blacklist, the application is started, and if the application is in the blacklist, the application is started in the large screen expansion mode.
2. And (3) screen defocusing condition treatment: in the defocus processing of the application screen such as the streaming media and the timer provided in this embodiment, in the step S103, the AB two screens respectively run different application programs, where one screen runs the application such as the streaming media playing and the timer, and the other screen runs other applications. In step S104, when the non-streaming media playing screen is activated, the whitelist is checked, and the applications listed in the whitelist are processed to prevent the onPause message from being sent, so as to ensure that the streaming media applications play normally after the screen focus is switched, and the applications not in the whitelist are processed according to the normal condition, so as to control the possible unknown risks.
Fig. 5 is a communication flow diagram of an application switching method according to an embodiment of the present invention, and fig. 6 is a preferred flow diagram of an application switching method according to an alternative embodiment of the present invention, as shown in fig. 5 and fig. 6, the present embodiment provides a man-machine interaction method from a switching mode to a defocus process for a user and a dual-screen mobile phone terminal, where the conditions are: the user uses the double-screen terminal adopting the scheme;
1. and the user uses the double-screen terminal and enters the AB split-screen mode by using the mode switching function.
2. The user confirms to open the forced split screen mode through a terminal pop-up dialog box;
3. the user starts different applications on the AB screen respectively, wherein one application is an application such as streaming media playing, a timer and the like;
the combination mode is as follows: streaming media playing, timer, etc. applications + social software such as: video short sharing service YOUTUBE+continuous LINE, uku+WeChat and the like; streaming media play, timer, etc. applications + browser, such as: you tube + google browser Chrome, you cool + UC browser, etc.; streaming media playing, timer, etc. applications + other applications such as: you tube+NEWS, tengxun video+Taobao, etc.;
4. when the user switches the screen focus from the application screen such as streaming media playing and timer to the application screen such as non-streaming media and timer, the application such as streaming media playing and timer is normally performed, and the other screen can normally use the application such as social software.
Therefore, the method solves the problem that the double-screen terminal in the related technology has very simple determination of realizing functions in the AB split-screen mode, such as the following conditions: one screen runs streaming media playing, and the other screen runs other software such as social interaction or shopping, but the two applications are not mutually influenced, and the scene is poor in user experience though not found in the current terminal products, but the embodiment of the invention is realized.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present invention.
Example 2
The embodiment also provides an application switching device, which is used for implementing the above embodiment and the preferred implementation, and is not described in detail. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
Fig. 7 is a block diagram of an application switching apparatus according to an embodiment of the present invention, as shown in fig. 7, the apparatus includes:
a receiving module 72, configured to receive a first switching request, where the first switching request is used to request switching of a screen focus from a first application of a first screen of the terminal to a second application of a second screen of the terminal;
and a switching module 74, connected to the receiving module 72, for switching the screen focus from the first application program of the first screen of the terminal to the second application program of the second screen of the terminal according to the first switching request, and running the first application program without interruption.
Optionally, the first application includes one of: streaming media playing application program, timer.
Optionally, the switching module 74 is further configured to receive a second switching request, where the second switching request is used to request switching the screen focus from the second application back to the first application; generating a recovery message for notifying the upper layer application to recover the first application program according to the second switching request; and sending a resume message and a pause message for notifying the upper layer application to pause the first application program to the upper layer application, wherein the pause message is generated according to the first switching request.
Optionally, the receiving module 72 is further configured to receive a request for converting the terminal to a split screen mode, where the split screen mode is that different application programs are respectively displayed on a first screen and a second screen of the terminal; according to the conversion request, detecting that a forced split screen switch is turned on in a setting menu of the terminal, and converting to a split screen mode, wherein the turned-on state of the forced split screen switch is used for indicating that all application programs on the terminal can be displayed on a first screen or a second screen.
It should be noted that each of the above modules may be implemented by software or hardware, and for the latter, it may be implemented by, but not limited to: the modules are all located in the same processor; alternatively, the above modules may be located in different processors in any combination.
Example 3
An embodiment of the present invention also provides a storage medium including a stored program, where the program executes the method of any one of the above.
Alternatively, in the present embodiment, the above-described storage medium may be configured to store program code for performing the steps of:
s1, receiving a first switching request;
s2, switching a screen focus from a first application program of a first screen of a terminal to a second application program of a second screen of the terminal according to a first switching request, and continuously running the first application program.
Optionally, the storage medium is further arranged to store program code for performing the steps of:
s1, the first application program comprises one of the following: streaming media playing application program, timer.
Optionally, the storage medium is further arranged to store program code for performing the steps of: before switching the screen focus from the first application to the second application and the first application runs uninterrupted, further comprising:
s1, inquiring the second application program to be the application program which is continuously operated by the first application program under the condition that the second application program is allowed to be switched to.
Optionally, the storage medium is further arranged to store program code for performing the steps of: before receiving the first handover request, further comprising:
s1, receiving a conversion request for converting a terminal into a split screen mode, wherein the split screen mode is that different application programs are respectively displayed on a first screen and a second screen of the terminal;
s2, detecting that a forced split screen switch is turned on in a setting menu of the terminal according to the conversion request, and converting to a split screen mode, wherein the turned-on state of the forced split screen switch is used for indicating that all application programs on the terminal can be displayed on a first screen or a second screen.
Optionally, the storage medium is further arranged to store program code for performing the steps of: after switching to split screen mode, comprising:
s1, inquiring that a first application program is an application program which cannot be displayed on a first screen or a second screen;
s2, converting to a large screen expansion mode and displaying the first application program according to the large screen expansion mode, wherein the large screen expansion mode is a mode that a first screen and a second screen are combined into one screen.
Alternatively, in the present embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Embodiments of the present invention also provide a processor for running a program, wherein the program when run performs the steps of any of the methods described above.
Optionally, in this embodiment, the above program is configured to execute the following steps:
s1, receiving a first switching request;
s2, switching a screen focus from a first application program of a first screen of a terminal to a second application program of a second screen of the terminal according to a first switching request, and continuously running the first application program.
Optionally, in this embodiment, the above program is configured to execute the following steps:
s1, the first application program comprises one of the following: streaming media playing application program, timer.
Optionally, in this embodiment, the above program is configured to execute the following steps: before switching the screen focus from the first application to the second application and the first application runs uninterrupted, further comprising:
s1, inquiring the second application program to be the application program which is continuously operated by the first application program under the condition that the second application program is allowed to be switched to.
Optionally, in this embodiment, the above program is configured to execute the following steps: before receiving the first handover request, further comprising:
s1, receiving a conversion request for converting a terminal into a split screen mode, wherein the split screen mode is that different application programs are respectively displayed on a first screen and a second screen of the terminal;
s2, detecting that a forced split screen switch is turned on in a setting menu of the terminal according to the conversion request, and converting to a split screen mode, wherein the turned-on state of the forced split screen switch is used for indicating that all application programs on the terminal can be displayed on a first screen or a second screen.
Optionally, in this embodiment, the above program is configured to execute the following steps: after switching to split screen mode, comprising:
s1, inquiring that a first application program is an application program which cannot be displayed on a first screen or a second screen;
s2, converting to a large screen expansion mode and displaying the first application program according to the large screen expansion mode, wherein the large screen expansion mode is a mode that a first screen and a second screen are combined into one screen.
Alternatively, specific examples in this embodiment may refer to examples described in the foregoing embodiments and optional implementations, and this embodiment is not described herein.
It will be appreciated by those skilled in the art that the modules or steps of the invention described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may alternatively be implemented in program code executable by computing devices, so that they may be stored in a memory device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than that shown or described, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps within them may be fabricated into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (11)

1. An application switching method, comprising:
receiving a first switching request;
according to the first switching request, switching a screen focus from a first application program of a first screen of a terminal to a second application program of a second screen of the terminal, and running the first application program continuously, wherein when the first application program is an application program which cannot be displayed on the first screen or the second screen, the terminal is switched from a split screen mode to a large screen expansion mode, and the first application program is displayed according to the large screen expansion mode, wherein the split screen mode is a mode that different application programs are respectively displayed on the first screen and the second screen of the terminal, and the large screen expansion mode is a mode that the first screen and the second screen are combined into one screen.
2. The method of claim 1, wherein the first application comprises one of: streaming media playing application program, timer.
3. The method of claim 1, wherein the second application comprises one of: social software, browser.
4. The method of claim 1, further comprising, prior to switching the screen focus from the first application of a first screen of the terminal to the second application of a second screen of the terminal and without running the first application intermittently:
and inquiring the second application program to be an application program which is continuously operated by the first application program under the condition that the second application program is allowed to be switched to.
5. The method of claim 4, wherein switching screen focus from a first application of a first screen of a terminal to a second application of a second screen of the terminal and running the first application without interruption, comprises:
switching a screen focus from a first application program of a first screen of a terminal to a second application program of a second screen of the terminal, and performing processing of not sending a pause message on the first application program so as to keep the first application program running uninterruptedly.
6. The method of claim 1, further comprising, prior to receiving the first handover request:
receiving a conversion request for converting the terminal into a split screen mode;
and detecting that a forced split screen switch of the terminal is turned on according to the conversion request, and converting to a split screen mode, wherein the turned-on state of the forced split screen switch is used for indicating that all application programs on the terminal can be displayed on the first screen or the second screen.
7. An application switching apparatus, comprising:
the receiving module is used for receiving a first switching request;
and the switching module is used for switching a screen focus from a first application program of a first screen of a terminal to a second application program of a second screen of the terminal according to the first switching request, and continuously running the first application program, wherein when the first application program is an application program which cannot be displayed on the first screen or the second screen, the terminal is converted into a large screen expansion mode from a split screen mode and the first application program is displayed according to the large screen expansion mode, wherein the split screen mode is a mode that different application programs are respectively displayed on the first screen and the second screen of the terminal, and the large screen expansion mode is a mode that the first screen and the second screen are combined into one screen.
8. The apparatus of claim 7, wherein the first application comprises one of: streaming media playing application program, timer.
9. The apparatus of claim 7, wherein the receiving module is further configured to receive a request to switch the terminal to a split screen mode; and detecting that a forced split screen switch of the terminal is turned on according to the conversion request, and converting to a split screen mode, wherein the turned-on state of the forced split screen switch is used for indicating that all application programs on the terminal can be displayed on the first screen or the second screen.
10. A storage medium comprising a stored program, wherein the program when run performs the method of any one of claims 1 to 6.
11. A processor for running a program, wherein the program when run performs the method of any one of claims 1 to 6.
CN201710964652.0A 2017-10-17 2017-10-17 Application switching method and device Active CN109669765B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN202311520689.6A CN117311946A (en) 2017-10-17 2017-10-17 Application switching method and device
CN201710964652.0A CN109669765B (en) 2017-10-17 2017-10-17 Application switching method and device
PCT/CN2018/120737 WO2019076387A1 (en) 2017-10-17 2018-12-12 Application switching method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710964652.0A CN109669765B (en) 2017-10-17 2017-10-17 Application switching method and device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202311520689.6A Division CN117311946A (en) 2017-10-17 2017-10-17 Application switching method and device

Publications (2)

Publication Number Publication Date
CN109669765A CN109669765A (en) 2019-04-23
CN109669765B true CN109669765B (en) 2024-01-23

Family

ID=66139746

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202311520689.6A Pending CN117311946A (en) 2017-10-17 2017-10-17 Application switching method and device
CN201710964652.0A Active CN109669765B (en) 2017-10-17 2017-10-17 Application switching method and device

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202311520689.6A Pending CN117311946A (en) 2017-10-17 2017-10-17 Application switching method and device

Country Status (2)

Country Link
CN (2) CN117311946A (en)
WO (1) WO2019076387A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112788422A (en) * 2019-11-04 2021-05-11 海信视像科技股份有限公司 Display device
CN112882626B (en) * 2021-02-19 2022-09-23 联想(北京)有限公司 Display control method, electronic device and storage medium
CN113703903A (en) * 2021-09-10 2021-11-26 广州朗国电子科技股份有限公司 Split screen display method and device
CN114217763B (en) * 2022-02-22 2022-05-20 麒麟软件有限公司 Window double-screen cooperative display method compatible with Android application on Linux
CN117130696A (en) * 2023-03-14 2023-11-28 荣耀终端有限公司 Interface jumping method, device and storage medium of application program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007114665A1 (en) * 2006-04-06 2007-10-11 Samsung Electronics Co., Ltd. Apparatus for providing multiple screens and method of dynamically configuring multiple screens
CN105005427A (en) * 2014-04-23 2015-10-28 中兴通讯股份有限公司 Window management method and apparatus
CN106537319A (en) * 2016-10-31 2017-03-22 北京小米移动软件有限公司 Screen-splitting display method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104793839B (en) * 2014-01-20 2019-08-06 中兴通讯股份有限公司 A kind of display control method and system of touch screen interface
CN104133629A (en) * 2014-07-10 2014-11-05 深圳市中兴移动通信有限公司 Double-screen interaction method and mobile terminal
CN106527894A (en) * 2016-10-28 2017-03-22 努比亚技术有限公司 Mobile terminal and display control method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007114665A1 (en) * 2006-04-06 2007-10-11 Samsung Electronics Co., Ltd. Apparatus for providing multiple screens and method of dynamically configuring multiple screens
CN105005427A (en) * 2014-04-23 2015-10-28 中兴通讯股份有限公司 Window management method and apparatus
CN106537319A (en) * 2016-10-31 2017-03-22 北京小米移动软件有限公司 Screen-splitting display method and device

Also Published As

Publication number Publication date
WO2019076387A1 (en) 2019-04-25
CN117311946A (en) 2023-12-29
CN109669765A (en) 2019-04-23

Similar Documents

Publication Publication Date Title
CN109669765B (en) Application switching method and device
JP6386092B2 (en) Network selection method, apparatus, program, and recording medium
JP7383006B2 (en) Communication methods and devices
CN103607660A (en) Intelligent television interface switching control method and control apparatus
CN113014972B (en) Screen projection method, device and system
US20210092164A1 (en) Method for internet protocol based multimedia subsystem registration and device, communication device, and storage medium
CN104104992A (en) Multi-screen interaction method, device and system
WO2019137155A1 (en) Screen display mode switching method and device, storage medium and electronic device
US9350852B1 (en) Intelligent auto screen lock
CN105187871A (en) NFC-based data transmission method for mobile terminal and television terminal and system thereof
CN113365234B (en) Calling method and device and electronic equipment
CN111669799A (en) Network connection method and device and electronic equipment
CN104994427A (en) Method and system for configuring and managing self-start-up of smart television desktop
US20160285949A1 (en) Wireless login-based remote control method and device
CN104092831B (en) A kind of system and method in cell-phone lock screen display content
CN101958974A (en) Method for taking video as screen saver and mobile terminal
CN114143586A (en) Split screen display sharing method, system, storage medium and intelligent screen
US9942378B2 (en) Display device and method for implementing incoming notification function with respect to MHL signal source
CN105721919A (en) Application switching processing method, application switching processing device and smart set-top box equipment
CN105022598A (en) Method for managing display communication connection
CN113784406A (en) Call initiating method and electronic equipment
KR102328431B1 (en) Method, device and storage medium for processing paging collision in dual sim card mobile phone
CN105760048A (en) Method and device for processing notice
CN107040949B (en) Network residing method, device and computer readable storage medium
CN106488470B (en) Method, device and terminal for realizing Miracast and wireless hotspot coexistence

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