CN112596883B - Application switching method and device, storage medium and electronic equipment - Google Patents

Application switching method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN112596883B
CN112596883B CN202011568679.6A CN202011568679A CN112596883B CN 112596883 B CN112596883 B CN 112596883B CN 202011568679 A CN202011568679 A CN 202011568679A CN 112596883 B CN112596883 B CN 112596883B
Authority
CN
China
Prior art keywords
terminal application
application
terminal
display direction
background
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
CN202011568679.6A
Other languages
Chinese (zh)
Other versions
CN112596883A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai Technology Co Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai 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 Guangdong Oppo Mobile Telecommunications Corp Ltd, Shenzhen Huantai Technology Co Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202011568679.6A priority Critical patent/CN112596883B/en
Publication of CN112596883A publication Critical patent/CN112596883A/en
Application granted granted Critical
Publication of CN112596883B publication Critical patent/CN112596883B/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/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/48Indexing scheme relating to G06F9/48
    • G06F2209/482Application
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/48Indexing scheme relating to G06F9/48
    • G06F2209/484Precedence

Landscapes

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

Abstract

The application discloses an application switching method, an application switching device, a storage medium and electronic equipment, wherein the method comprises the following steps: if the terminal gesture is detected to be switched from the first state to the second state, a first terminal application running in a system foreground and a display direction supported by the first terminal application are obtained, a second terminal application running in a system background and a display direction supported by the second terminal application are obtained, and if the display direction supported by the first terminal application is not matched with the second state and the display direction supported by the second terminal application is matched with the second state, the second terminal application is switched to the system foreground and the first terminal application is switched to the system background. By adopting the method and the device, the application program which accords with the display direction of the background of the system is directly switched to the foreground of the system through the switching of the gesture of the terminal, the steps required by switching the application programs of the background of the system are reduced, the operation time of application switching is saved, and the using effect of the terminal is improved.

Description

Application switching method and device, storage medium and electronic equipment
Technical Field
The present application relates to the field of computer technologies, and in particular, to an application switching method, an application switching device, a storage medium, and an electronic device.
Background
At present, many applications in terminals such as mobile phones and tablet computers support the use of a horizontal screen, when a foreground application of the terminal is in a horizontal screen state, if a situation that a background vertical screen application needs to be switched occurs, for example, information needing to be replied in time is received, the corresponding vertical screen application needs to be opened in a background mode, and when the situation is processed, the corresponding vertical screen application needs to be switched to the original horizontal screen application by the same method, and the same steps are required when the vertical screen application is switched to the horizontal screen, so that the number of steps and the time required for switching the horizontal screen application are long, and the use effect of the terminal is affected.
Disclosure of Invention
The embodiment of the application provides an application switching method, an application switching device, a storage medium and electronic equipment, which can directly switch an application program conforming to the display direction of a system background to a system foreground through the switching of the gesture of a terminal, reduce the steps required by switching the application programs of the foreground and the background, save the operation time of application switching and improve the use effect of the terminal. The technical scheme is as follows:
in a first aspect, an embodiment of the present application provides an application switching method, where the method includes:
If the terminal gesture is detected to be switched from the first state to the second state, a first terminal application running in a system foreground and a display direction supported by the first terminal application are acquired;
acquiring a second terminal application running in a system background and a display direction supported by the second terminal application;
and if the display direction supported by the first terminal application is not matched with the second state and the display direction supported by the second terminal application is matched with the second state, switching the second terminal application to the system foreground and switching the first terminal application to the system background.
In a second aspect, an embodiment of the present application provides an application switching apparatus, including:
the gesture detection module is used for acquiring a first terminal application running in a system foreground and a display direction supported by the first terminal application if the gesture of the terminal is detected to be switched from a first state to a second state;
the background application acquisition module is used for acquiring a second terminal application running in the background of the system and a display direction supported by the second terminal application;
and the application switching module is used for switching the second terminal application to the system foreground and switching the first terminal application to the system background if the display direction supported by the first terminal application is not matched with the second state and the display direction supported by the second terminal application is matched with the second state.
In a third aspect, embodiments of the present application provide a computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the above-described method steps.
In a fourth aspect, an embodiment of the present application provides an electronic device, which may include: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the above-mentioned method steps.
The technical scheme provided by the embodiments of the application has the beneficial effects that at least:
in one or more embodiments of the present application, if it is detected that the terminal gesture is switched from the first state to the second state, a first terminal application running in a system foreground and a display direction supported by the first terminal application are obtained, a second terminal application running in a system background and a display direction supported by the second terminal application are obtained, and if the display direction supported by the first terminal application does not match with the second state and the display direction supported by the second terminal application does match with the second state, the second terminal application is switched to the system foreground and the first terminal application is switched to the system background. The application program which accords with the display direction of the background of the system is directly switched to the foreground of the system through the switching of the gesture of the terminal, so that the steps required for switching the application programs of the background are reduced, the operation time for switching the application is saved, and the use effect of the terminal is improved.
Drawings
In order to more clearly illustrate the embodiments of the application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is an exemplary schematic diagram of a terminal gesture provided by an embodiment of the present application;
fig. 2 is a flow chart of an application switching method according to an embodiment of the present application;
fig. 3 is a schematic flow chart of an application switching method according to an embodiment of the present application;
fig. 4a is an exemplary schematic diagram of terminal gesture determination by a front camera according to an embodiment of the present application;
FIG. 4b is an exemplary diagram of an application identification display provided by an embodiment of the present application;
fig. 5 is a flow chart of an application switching method according to an embodiment of the present application;
FIG. 5a is an exemplary diagram of an application switch provided by an embodiment of the present application;
fig. 6 is a schematic structural diagram of an application switching device according to an embodiment of the present application;
Fig. 7 is a schematic structural diagram of an application switching device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a background application acquisition module according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
In the description of the present application, it should be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In the description of the present application, it should be noted that, unless expressly specified and limited otherwise, "comprise" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus. The specific meaning of the above terms in the present application will be understood in specific cases by those of ordinary skill in the art. Furthermore, in the description of the present application, unless otherwise indicated, "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
The application switching method provided by the embodiment of the application can be realized by depending on a computer program and can be operated on an application switching device based on a von neumann system. The computer program may be integrated in the application or may run as a stand-alone tool class application. The application switching device in the embodiment of the application can be as follows, but is not limited to: terminal devices such as mobile phones, personal computers, tablet computers, handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem can also be modules used for controlling terminal applications of the terminal devices to perform system foreground-background switching in the terminal devices. The system foreground in the embodiment of the application is used for displaying the application process of the terminal application, the terminal application of the system foreground can interact, such as the game application which is in operation, the video application which is in video playing on a screen and the like, and the terminal application which is in operation of the system foreground.
The display direction in the embodiment of the application is used for indicating that the terminal application can display an application interface based on the state of the terminal gesture, and the display direction comprises a horizontal screen display direction and a vertical screen display direction, and the display direction of the terminal application is matched with the terminal gesture when the terminal application runs, and referring to fig. 1, an exemplary schematic diagram of the terminal gesture is provided in the embodiment of the application, for example, the left side of fig. 1 is the horizontal screen state of a terminal device, when the terminal device is in the horizontal screen state, the terminal application running in the foreground of the system can be displayed in the horizontal screen state, namely, the horizontal screen display direction is matched with the terminal gesture of the terminal device, the right side of fig. 1 is the vertical screen state of the terminal device, and when the terminal device is in the vertical screen state, the terminal application running in the foreground of the system can be displayed in the vertical screen state, namely, the vertical screen display direction is also matched with the terminal gesture. The terminal gesture in the embodiment of the application can be determined according to a gyroscope built in the application switching device, and also can be determined according to the position relative to the head of a user. In the embodiment of the application, the first state is the terminal gesture before switching, the second state is the terminal gesture after switching, and the first state and the second state can be the horizontal screen state or the vertical screen state, but the first state and the second state are different, when the first state is the horizontal screen state, the second state is the vertical screen state, and when the first state is the vertical screen state, the second state is the horizontal screen state.
The application switching method provided by the application is described in detail below with reference to specific embodiments.
Referring to fig. 2, a flowchart of an application switching method is provided in an embodiment of the present application. As shown in fig. 2, the method of the embodiment of the present application may include the following steps S101 to S103.
S101, if the terminal gesture is detected to be switched from the first state to the second state, a first terminal application running in a system foreground and a display direction supported by the first terminal application are acquired.
Specifically, when the application switching device detects that the terminal gesture changes, the terminal gesture before the change is confirmed as a first state, the terminal gesture after the change is confirmed as a second state, the terminal application running in the foreground of the system at the moment is acquired, the terminal application is confirmed as a first terminal application, and meanwhile, the display direction supported by the terminal application is also acquired, namely, the display direction of the terminal application in the foreground of the system at the present, and the display direction supported by the terminal application can also be acquired at the same time. It is understood that the display direction of the first terminal application matches the first state. The application switching device can detect the terminal gesture, the terminal gesture can be detected through a built-in gyroscope, or the head image of the user can be captured through a front camera, and the position of the head of the user relative to the application switching device is analyzed to judge the terminal gesture.
S102, a second terminal application running in the background of the system and a display direction supported by the second terminal application are obtained.
Specifically, the application switching device may acquire a terminal application running in the background of the system at this time, determine the terminal application running in the background of the system as a second terminal application, and simultaneously acquire a display direction supported by the second terminal application, that is, a display direction of the second terminal application in the foreground of the system at present.
And S103, if the display direction supported by the first terminal application is not matched with the second state and the display direction of the second terminal application is matched with the second state, switching the second terminal application to the system foreground and switching the first terminal application to the system background.
Specifically, the application switching device acquires the display direction of the first terminal application and the display direction of the second terminal application, and if the display direction of the first terminal application is not matched with the second state and the display direction of the second terminal application is matched with the second state, the application switching device switches the second terminal application to the system foreground and switches the first terminal application to the system background. Optionally, the application switching device may determine whether the display direction of the second terminal application is matched with the second state by comparing the display direction of the second terminal application with the display direction of the first terminal application, and when the display direction of the second terminal application is different from the display direction of the first terminal application, the application switching device may determine that the display direction of the second terminal application is matched with the second state.
In the embodiment of the application, if the terminal gesture is detected to be switched from the first state to the second state, the first terminal application running in the system foreground and the display direction supported by the first terminal application are acquired, the second terminal application running in the system background and the display direction supported by the second terminal application are acquired, and if the display direction supported by the first terminal application is not matched with the second state and the display direction supported by the second terminal application is matched with the second state, the second terminal application is switched to the system foreground and the first terminal application is switched to the system background. The application program which accords with the display direction of the background of the system is directly switched to the foreground of the system through the switching of the gesture of the terminal, so that the steps required for switching the application programs of the background are reduced, the operation time for switching the application is saved, and the use effect of the terminal is improved.
Referring to fig. 3, a flowchart of an application switching method is provided in an embodiment of the present application. As shown in fig. 3, the method of the embodiment of the present application may include the following steps S201 to S207.
S201, detecting that the terminal gesture is switched from the first state to the second state.
Specifically, the application switching device may detect the terminal gesture through a built-in gyroscope, or may acquire the head image of the user through the front camera, analyze the position of the application switching device relative to the head of the user to determine the terminal gesture, please refer to fig. 4a, for the embodiment of the present application, an exemplary schematic diagram of terminal gesture determination through the front camera is provided, taking the application switching device as a terminal device such as a mobile phone, etc. as an example, when the application switching device takes the vertical direction of the front camera in the vertical screen state as an X axis, and when the vertical direction of the head of the user acquired by the front camera is the same as the X axis direction, the application switching device confirms the head image acquired at this time as a vertical image, and when the vertical direction of the head of the user acquired by the front camera is 90 ° with the X axis direction, the application switching device confirms the head image acquired at this time as a horizontal image, and when the head of the front camera acquires the head of the user as a vertical image, the terminal gesture at this time is in the vertical screen state, and when the head of the front camera acquires the head of the user is in the horizontal screen state, the terminal gesture at this time is in the horizontal state. When the application switching device detects that the terminal gesture is changed, the terminal gesture before being changed is confirmed to be in a first state, and the terminal gesture after being changed is confirmed to be in a second state.
When detecting that the terminal gesture is switched from the first state to the second state, the application switching device detects whether a running terminal application exists in the current system foreground, and confirms the terminal application as the first terminal application. If no running terminal application exists in the system foreground at the moment, S202 is executed; if there is a running terminal application in the system foreground at this time, S203 is executed.
S202, controlling the terminal desktop to display in the display direction matched with the second state.
Specifically, if the system foreground does not have any running terminal application, the system foreground does not display any process of the terminal application, then the display screen displays the terminal desktop, where the terminal desktop is used to display information such as an icon of the terminal application in the terminal device, an electric quantity of the terminal device, and a time, and when the application switching device detects that the terminal gesture is switched from the first state to the second state, and when the system foreground does not have the terminal application running, the application switching device controls the terminal desktop to display in a display direction matched with the second state, for example, when the first state is a vertical screen state, the terminal desktop displays in the vertical screen display direction before the terminal gesture changes, and displays in the horizontal screen display direction after the terminal gesture changes, it can be understood that when the terminal desktop displays in the horizontal screen display direction, the icon of the terminal application on the terminal desktop, the electric quantity of the terminal device, and the time of the terminal device rearrange in the horizontal screen display direction.
Optionally, the terminal desktop in the horizontal screen display direction and the terminal desktop in the vertical screen display direction may be preset, may be automatically generated based on the initial setting in the application switching device, or may be respectively set and stored in the application switching device, and when the terminal gesture is changed and the system foreground does not operate the terminal application, the corresponding terminal desktop may be invoked to display according to the terminal gesture.
S203, a first terminal application running in a system foreground and a display direction supported by the first terminal application are obtained. ,
see S101 for details, and are not described here again.
It will be appreciated that some terminal applications may support both landscape display and portrait display, such as gaming applications where both landscape and portrait may be operated, video applications where both landscape and portrait may be playing video, etc. When the running terminal application exists in the system foreground at this time, the application switching device acquires the terminal application running in the system foreground and confirms the terminal application as the first terminal application, and also judges whether the display direction supported by the first terminal application is matched with the second state.
If the display direction supported by the first terminal application matches the second state, executing S204; if the display direction supported by the first terminal application does not match the second state, S205 is executed.
S204, controlling the first terminal application to display in the display direction matched with the second state.
Specifically, if the supportable display direction of the first terminal application is matched with the second state, the application switching device controls the first terminal application to display in the display direction matched with the second state, that is, when the second state is a horizontal screen state, the first terminal application is switched to the horizontal screen display direction, and when the second state is a vertical screen state, the first terminal application is switched to the vertical screen display direction.
S205, acquiring an alternative terminal application set of the system background, acquiring the priority of each alternative terminal application in the alternative terminal application set, and acquiring a second terminal application set in the alternative terminal application set based on the priority.
Specifically, when the display direction supported by the first terminal application is not matched with the second state, the application switching device may acquire an alternative terminal application set of the system background, where the alternative terminal application set may include all applications in the system background, or may also include a designated application, where the designated application may be set in the application switching device, and the terminal application set as the designated application may be added to the alternative terminal application set to become the alternative terminal application no matter whether the terminal application is in the system background or not. The application switching device may further obtain the priority of each candidate terminal application in the candidate terminal application set, where the setting manner of the priority may be initial setting in the application switching device, or may be set and stored in the application switching device, including but not limited to: the priority is set according to the time period when each candidate terminal application is switched to the background of the system, the priority is set according to the historical opening times of each candidate terminal application, the priority is set according to the historical use time period of each candidate terminal application, and the like, and it is understood that the priority can be set in an appointed manner in the application switching device to appoint the priority of a certain or some candidate terminal applications. The application switching device confirms the target number of the candidate terminal applications before acquisition as a second terminal application set according to the priority of each candidate terminal application from high to low, wherein the target number can be initial setting in the application switching device or can be set and stored in the application switching device.
Optionally, in addition to the obtaining the second terminal application set through the above priority ranking, the candidate terminal applications in the suspension duration of the system background is smaller than the target duration in the candidate terminal application set may be obtained, and the candidate terminal applications are formed into the second terminal application set, where the suspension duration refers to a duration in which an application process of each candidate terminal application is suspended in the system background, and the target duration may be an initial setting of the application switching device, or may be set and stored in the application switching device.
S206, in the second terminal application set, acquiring a second terminal application with the display direction matched with the second state, and displaying the application identification of the second terminal application.
Specifically, the application switching device may acquire a second terminal application in which the display direction of the application process suspended in the system background is matched with the second state in the second terminal application set, and display an application identifier of the second terminal application in a fixed area of the display screen. It can be understood that the number of second terminal applications satisfying the matching of the display direction with the second state may be 0, or may be one, or may be a plurality of:
When the number of the second terminal applications meeting the complaint conditions is 0, the application switching device controls the first terminal application to continue to run in the system foreground;
when the number of the second terminal applications meeting the conditions is 1, the application switching device can directly switch the second terminal applications to the system foreground and switch the first terminal applications to the system background;
when the second terminal application satisfying the above condition is plural, S207 is executed.
Optionally, the display direction of the first terminal application is necessarily matched with the first state, whether the display direction of the second terminal application is matched with the second state is determined, whether the display direction of the second terminal application is the same as the display direction of the first terminal application or not may be determined, if so, the display direction of the second terminal application is not matched with the second state, and if not, the display direction of the second terminal application is matched with the second state. The application switching device can acquire a first display direction field of the first terminal application and a second application display field of the second terminal application, wherein the first display direction field and the second application display field are display direction fields representing the current display direction of the terminal application, and the terminal application can write into the application switching device according to the current display direction of the terminal application, or the application switching device can acquire the current display direction of the terminal application and write the current display direction of the terminal application. For example, when the terminal application is a landscape display direction, the application display field is 1, and when the terminal application is a portrait display direction, the display direction field is 0.
S207, when a confirmation instruction for the application identification is received, the second terminal application is switched to the system foreground, and the first terminal application is switched to the system background.
Specifically, when receiving a confirmation instruction for an application identifier, the application switching device switches a second terminal application corresponding to the confirmation instruction to a system foreground, and switches a first terminal application to a system background. The confirmation instruction is a confirmation instruction of the user to the second terminal application displaying the application identifier, and the confirmed second terminal application is the terminal application that the user wants to switch to the system foreground, and the user may click the application representation of the corresponding second terminal application to send the confirmation instruction, or the user speaks the name of the corresponding second terminal application to send the confirmation instruction.
Referring to fig. 4b, an exemplary schematic diagram of application identifier display is provided for an embodiment of the present application, a first terminal application of a system foreground is a game terminal application, a first state is a horizontal screen state, a user changes a terminal gesture to a vertical screen state, an application identifier of a second terminal application is displayed on a display screen by an application switching device, the user clicks an application identifier of an instant messaging terminal application to be switched, the application switching device switches the corresponding instant messaging terminal application to the system foreground, and switches the original game terminal application to the system background.
In the embodiment of the application, if the terminal gesture is detected to be switched from the first state to the second state, whether the terminal desktop is switched, the first terminal application is switched or the application is switched is determined by judging whether the system foreground has the running terminal application and whether the terminal application running in the foreground supports the second state display, so that the terminal gesture switching can meet more conditions, and the using effect is improved. If the display direction supported by the first terminal application is not matched with the second state, the second terminal application running in the background of the system is obtained by judging the matching condition of the priority, the display state and the second state and an application confirmation instruction, more terminal applications which can be switched to the foreground can be provided for selection, more various conditions are met, the using effect is further improved, the second terminal application is switched to the foreground of the system, and the first terminal application is switched to the background of the system. The application program with the display state of the background of the system is directly switched to the foreground of the system through the switching of the gesture of the terminal, so that the steps required for switching the application programs of the background are reduced, the operation time for switching the application is saved, and the use effect of the terminal is improved.
It can be understood that, when receiving the notification from the application, the switching of the terminal application may be triggered so as to view and reply to the received notification, so that, besides the selection method of the second terminal application switched to the system foreground in S205-S207, the terminal application to be switched to the system foreground may also be selected according to the received message. Referring to fig. 5, a flowchart of an application switching method is provided in an embodiment of the present application. As shown in fig. 5, the method of the embodiment of the present application may include the following steps S301 to S308.
And S301, when a plurality of prompt messages sent by an application server are received, the prompt messages are displayed, each background terminal application corresponding to each prompt message in the prompt messages is determined in a system background, and a background terminal application set is generated based on each background terminal application.
Specifically, the application switching device may receive a plurality of prompt messages sent by the application server, where the application switching device may display the plurality of prompt messages, and one application server may be a plurality of servers, and corresponds to one terminal application in the system background and stores application data of the terminal application, and the application server may push the prompt messages, for example, data update information, hot spot announcement, or communication messages received by the application server from other terminal applications, to the application switching device where the terminal application corresponding to the application server is located, where a display method of the prompt messages includes, but is not limited to, popup window display, prompt tone, and the like. The application switching device confirms the terminal applications corresponding to the prompt messages in the background of the system as background terminal applications, and confirms the set of the background terminal applications as a background terminal application set. At this time, the background terminal application needs to be switched to the system foreground so as to view and process the prompt message of the background terminal application.
S302, detecting that the terminal gesture is switched from the first state to the second state.
See S201 for details, and will not be described here.
When detecting that the terminal gesture is switched from the first state to the second state, the application switching device detects whether a running terminal application exists in the current system foreground, and confirms the terminal application as the first terminal application.
If the running terminal application does not exist in the system foreground at the moment, S303 is executed; if there is a running terminal application in the system foreground at this time, S304 is executed.
S303, controlling the terminal desktop to display in the display direction matched with the second state.
See S202 for details, and will not be described here.
S304, a first terminal application running in a system foreground and a display direction supported by the first terminal application are obtained.
See S101 for details, and are not described here again.
S305, acquiring the priority of each background terminal application in the background terminal application set, acquiring a second terminal application in the background terminal application set based on the priority, and acquiring the display direction supported by the second terminal application.
Specifically, if the display direction supported by the first terminal application is not matched with the second state, the application switching device may acquire the priority of each background terminal application in the background terminal application combination of the system background, where the setting mode of the priority may be initial setting in the application switching device, or may be set and stored in the application switching device, including but not limited to: the priority is set according to the time period when each background terminal application is switched to the system background, the priority is set according to the historical opening times of each background terminal application, the priority is set according to the historical use time period of each background terminal application, and the like, and it is understood that the priority can be designated and set in the application switching device to designate the priority of one or some background terminal applications. The application switching device obtains one background terminal application with the highest priority according to the priority of each background terminal application from high to low, and confirms the background terminal application as a second terminal application.
Optionally, in addition to obtaining the second terminal application through the priority ranking, in the background terminal application set, a background terminal application with a suspension duration smaller than a target duration in a system background may be obtained, and if only one background terminal application meets the condition, the background terminal application is confirmed to be the second terminal application; if there are a plurality of background terminal applications meeting the condition, the background terminal application with the minimum suspension duration can be confirmed as the second terminal application. The suspension duration refers to duration that an application process of each background terminal application is suspended in a system background, and the target duration can be initial setting of an application switching device or can be set and stored in the application switching device.
Optionally, in addition to the obtaining of the second terminal application through the priority ranking, the application switching device may further display an application identifier of each background terminal application in the background terminal application in a fixed area of the display screen. If the application switching device receives a confirmation instruction aiming at the application identifier, the background terminal application corresponding to the confirmation instruction is confirmed to be a second terminal application, and the display direction supported by the second terminal application is acquired. The confirmation instruction is a confirmation instruction of a user to the background terminal application displaying the application identifier, the confirmed background terminal application is the terminal application which the user wants to switch to the system foreground, the user clicks the application representation of the corresponding background terminal application to send the confirmation instruction, or the user speaks the name of the corresponding background terminal application to send the confirmation instruction.
S306, a first display direction field of the first terminal application and a second display direction field of the second terminal application are obtained.
Specifically, the application switching device obtains a first display direction field of the first terminal application and a second application display field of the second terminal application, where the first display direction field and the second application display field are display direction fields representing a current display direction of the terminal application, and the first display direction field and the second application display field can be written into the application switching device by the terminal application according to the current display direction of the terminal application, or can be written into the terminal application after the current display direction of the terminal application is obtained by the application switching device. For example, when the terminal application is a landscape display direction, the application display field is 1, and when the terminal application is a portrait display direction, the display direction field is 0.
S307, when the second display direction field and the first display direction field are different, confirming that the display direction supported by the first terminal application is not matched with the second state, and that the display direction supported by the second terminal application is matched with the second state.
Specifically, the display direction of the first terminal application is necessarily matched with the first state, whether the display direction of the second terminal application is matched with the second state is determined, whether the display direction of the second terminal application is the same as the display direction of the first terminal application can be determined, if so, the display direction of the second terminal application is not matched with the second state, and if not, the display direction of the second terminal application is matched with the second state. Therefore, when the application switching device judges that the second display direction field and the first display direction field are different, it is confirmed that the display direction supported by the first terminal application is not matched with the second state, and the display direction supported by the second terminal application is matched with the second state.
And S308, if the display direction supported by the first terminal application is not matched with the second state and the display direction supported by the second terminal application is matched with the second state, switching the second terminal application to the system foreground and switching the first terminal application to the system background.
See S103 for details, and are not described here again.
Referring to fig. 5a, an exemplary schematic diagram of application switching is provided for an embodiment of the present application, where a first terminal application running in a system foreground is a game terminal application, a second terminal application is an instant communication terminal application, and when the first terminal application is used, a prompt message from the second terminal application is received, and at this time, the first state is a horizontal screen state, and when the terminal gesture is switched to a vertical screen state, the second terminal application with a display direction being a vertical screen display direction, that is, the instant communication terminal application is switched to the system foreground, and the first terminal application, that is, the game terminal application is switched to the system background.
In the embodiment of the application, the prompt information received at the background of the system is displayed, the terminal application with the prompt information is confirmed to be a background terminal application set, if the terminal gesture is detected to be switched from the first state to the second state, whether the display of the terminal desktop is switched, the display of the first terminal application is switched or the application is switched is determined by judging whether the running terminal application at the foreground of the system is supported by the second state or not, so that the terminal gesture switching can meet more conditions, the using effect is improved, the second terminal application is acquired through the priority of each background terminal application in the background terminal application or an application confirmation instruction, and when the display direction of the second terminal application is matched with the second state, the second terminal application is switched to the system foreground, and the first terminal application is switched to the system background. The application program which accords with the display direction of the background of the system is directly switched to the foreground of the system through the switching of the gesture of the terminal, so that the steps required for switching the application programs of the background are reduced, the operation time for switching the application is saved, and the use effect of the terminal is improved. Meanwhile, terminal applications sending prompt information can be switched to a system foreground through terminal posture switching, and the using effect is further improved.
The application switching device provided by the embodiment of the application will be described in detail with reference to fig. 6 to 8. It should be noted that, the application switching device in fig. 6 to fig. 8 is used to execute the method of the embodiment of fig. 2 to fig. 5, and for convenience of explanation, only the portion relevant to the embodiment of the present application is shown, and specific technical details are not disclosed, please refer to the embodiment of fig. 2 to fig. 5 of the present application.
Referring to fig. 6, a schematic structural diagram of an application switching device according to an exemplary embodiment of the present application is shown. The application switching means may be implemented as all or part of the device by software, hardware or a combination of both. The device 1 comprises a gesture detection module 11, a background application acquisition module 12 and an application switching module 13.
The gesture detection module 11 is configured to obtain a first terminal application running in a system foreground and a display direction supported by the first terminal application if it is detected that the gesture of the terminal is switched from a first state to a second state;
the background application obtaining module 12 is configured to obtain a second terminal application running in the background of the system and a display direction supported by the second terminal application;
and the application switching module 13 is configured to switch the second terminal application to the system foreground and switch the first terminal application to the system background if the display direction supported by the first terminal application does not match the second state and the display direction supported by the second terminal application matches the second state.
In this embodiment, if it is detected that the terminal gesture is switched from the first state to the second state, the display directions supported by the first terminal application and the first terminal application running in the system foreground are obtained, the display directions supported by the second terminal application and the second terminal application running in the system background are obtained, and if the display directions supported by the first terminal application do not match with the second state and the display directions supported by the second terminal application match with the second state, the second terminal application is switched to the system foreground and the first terminal application is switched to the system background. The application program which accords with the display direction of the background of the system is directly switched to the foreground of the system through the switching of the gesture of the terminal, so that the steps required for switching the application programs of the background are reduced, the operation time for switching the application is saved, and the use effect of the terminal is improved.
Fig. 7 is a schematic structural diagram of an application switching device according to an exemplary embodiment of the present application. The application switching means may be implemented as all or part of the device by software, hardware or a combination of both. The device 1 comprises a gesture detection module 11, a background application acquisition module 12, an application switching module 13, a terminal desktop switching module 14, a support state judgment module 15, a prompt information display module 16 and a direction field acquisition module 17.
The gesture detection module 11 is configured to obtain a first terminal application running in a system foreground and a display direction supported by the first terminal application if it is detected that the gesture of the terminal is switched from a first state to a second state;
the background application obtaining module 12 is configured to obtain a second terminal application running in the background of the system and a display direction supported by the second terminal application;
specifically, please refer to fig. 8, a schematic structural diagram of a background application acquisition module is provided for an embodiment of the present application. As shown in fig. 8, the background application acquiring module 12 may include:
an application identifier display unit 121, configured to display an application identifier of each of the background terminal applications;
and the confirmation instruction execution unit 122 is configured to, when receiving a confirmation instruction for the application identifier, confirm the background terminal application corresponding to the confirmation instruction as a second terminal application, and obtain a display direction supported by the second terminal application.
An application switching module 13, configured to switch the second terminal application to the system foreground and switch the first terminal application to the system background if the display direction supported by the first terminal application does not match the second state and the display direction supported by the second terminal application matches the second state;
The terminal desktop switching module 14 is configured to control the terminal desktop to display in the display direction matched with the second state if it is detected that the running first terminal application does not exist in the system foreground;
and if the first terminal application running in the system foreground is detected, executing the step of acquiring the first terminal application running in the system foreground and the display direction supported by the first terminal application.
A support state judging module 15, configured to control, if a display direction supported by the first terminal application matches the second state, the first terminal application to display in the display direction matched with the second state;
and if the display direction of the first terminal application is not matched with the second state, executing the step of acquiring the second terminal application running in the background of the system and the display direction supported by the second terminal application.
A prompt information display module 16, configured to display a plurality of prompt messages sent by an application server when the plurality of prompt messages are received;
determining each background terminal application corresponding to each prompt message in the multiple prompt messages in a system background, and generating a background terminal application set based on each background terminal application;
Optionally, the background application obtaining module 12 is specifically configured to obtain a priority of each background terminal application in the background terminal application set, and obtain, based on the priority, a second terminal application in the background terminal application set, and obtain a display direction supported by the second terminal application;
optionally, the background application obtaining module 12 is specifically configured to obtain, in the background terminal application set, a second terminal application that is located in the background of the system and has a suspension duration that is less than a target duration, and obtain a display direction supported by the second terminal.
A direction field obtaining module 17, configured to obtain a first display direction field of the first terminal application and a second display direction field of the second terminal application;
and when the second display direction field is different from the first display direction field, confirming that the display direction supported by the first terminal application is not matched with the second state, and that the display direction supported by the second terminal application is matched with the second state.
In this embodiment, the prompt information received at the background of the system is displayed, the terminal application with the prompt information is confirmed to be a background terminal application set, if the condition that the terminal gesture is switched from the first state to the second state is detected, whether the terminal application running at the foreground of the system has the terminal application running at the foreground or not supports the second state display is determined by judging whether the terminal application is displayed at the desktop of the system, whether the first terminal application is displayed and switched or the application is switched, so that the terminal gesture switching can meet more conditions, the using effect is improved, the second terminal application is acquired through the priority or the application confirmation instruction of each background terminal application in the background terminal application, when the first terminal application does not support the second state display, the second terminal application running at the background of the system is acquired through judging the matching condition of the priority, the display direction and the second state and the application confirmation instruction, more terminal applications capable of being switched to the foreground can be provided for selection, the more diversified conditions are met, the using effect is further improved, and the second terminal application is switched to the foreground of the system, and the first terminal application is switched to the background. The application program which accords with the display direction of the background of the system is directly switched to the foreground of the system through the switching of the gesture of the terminal, so that the steps required for switching the application programs of the background are reduced, the operation time for switching the application is saved, and the use effect of the terminal is improved. Meanwhile, terminal applications sending prompt information can be switched to a system foreground through terminal posture switching, and the using effect of the terminal is further improved.
It should be noted that, when the application switching apparatus provided in the foregoing embodiment performs the application switching method, only the division of the foregoing functional modules is used as an example, and in practical application, the foregoing functional allocation may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the application switching device and the application switching method embodiment provided in the foregoing embodiments belong to the same concept, which embody the detailed implementation process in the method embodiment, and are not described herein again.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
The embodiment of the present application further provides a computer storage medium, where the computer storage medium may store a plurality of instructions, where the instructions are adapted to be loaded by a processor and execute the application switching method according to the embodiment shown in fig. 1 to 5a, and the specific execution process may refer to the specific description of the embodiment shown in fig. 1 to 5a, which is not repeated herein.
The present application further provides a computer program product, where at least one instruction is stored, where the at least one instruction is loaded by the processor and executed by the processor, where the specific execution process may refer to the specific description of the embodiment shown in fig. 1-5 a, and details are not repeated herein.
Referring to fig. 9, a schematic structural diagram of an electronic device is provided in an embodiment of the present application. As shown in fig. 9, the electronic device 1000 may include: at least one processor 1001, at least one network interface 1004, a user interface 1003, a memory 1005, at least one communication bus 1002.
Wherein the communication bus 1002 is used to enable connected communication between these components.
The user interface 1003 may include a Display screen (Display) and a Camera (Camera), and the optional user interface 1003 may further include a standard wired interface and a wireless interface.
The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), among others.
Wherein the processor 1001 may include one or more processing cores. The processor 1001 connects various parts within the entire electronic device 1000 using various interfaces and lines, and performs various functions of the electronic device 1000 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 1005, and invoking data stored in the memory 1005. Alternatively, the processor 1001 may be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA). The processor 1001 may integrate one or a combination of several of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), and a modem, etc. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the display screen; the modem is used to handle wireless communications. It will be appreciated that the modem may not be integrated into the processor 1001 and may be implemented by a single chip.
The Memory 1005 may include a random access Memory (Random Access Memory, RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 1005 includes a non-transitory computer readable medium (non-transitory computer-readable storage medium). The memory 1005 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 1005 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the above-described respective method embodiments, etc.; the storage data area may store data or the like referred to in the above respective method embodiments. The memory 1005 may also optionally be at least one storage device located remotely from the processor 1001. As shown in fig. 9, an operating system, a network communication module, a user interface module, and an application switching application program may be included in the memory 1005, which is one type of computer storage medium.
In the electronic device 1000 shown in fig. 9, the user interface 1003 is mainly used for providing an input interface for a user, and acquiring data input by the user; and the processor 1001 may be configured to invoke the application switching application program stored in the memory 1005, and specifically perform the following operations:
If the terminal gesture is detected to be switched from the first state to the second state, a first terminal application running in a system foreground and a display direction supported by the first terminal application are acquired;
acquiring a second terminal application running in a system background and a display direction supported by the second terminal application;
and if the display direction supported by the first terminal application is not matched with the second state and the display direction supported by the second terminal application is matched with the second state, switching the second terminal application to the system foreground and switching the first terminal application to the system background.
In one embodiment, before executing the acquisition of the first terminal application running in the system foreground and the display direction supported by the first terminal application, the processor 1001 further performs the following operations:
if the fact that the running first terminal application does not exist in the system foreground is detected, controlling a terminal desktop to display in a display direction matched with the second state;
and if the first terminal application running in the system foreground is detected, executing the step of acquiring the first terminal application running in the system foreground and the display direction supported by the first terminal application.
In one embodiment, before executing the second terminal application running in the background of the acquisition system and the display direction supported by the second terminal application, the processor 1001 further performs the following operations:
if the display direction supported by the first terminal application is matched with the second state, controlling the first terminal application to display in the display direction matched with the second state;
and if the display direction of the first terminal application is not matched with the second state, executing the step of acquiring the second terminal application running in the background of the system and the display direction supported by the second terminal application.
In one embodiment, before executing the step of acquiring the first terminal application running in the system foreground and the display direction supported by the first terminal application if the processor 1001 detects that the terminal gesture is switched from the first state to the second state, the following operations are further executed:
when a plurality of prompt messages sent by an application server are received, the prompt messages are displayed;
and determining each background terminal application corresponding to each prompt message in the multiple prompt messages in a system background, and generating a background terminal application set based on each background terminal application.
In one embodiment, the processor 1001 specifically performs the following operations when executing the second terminal application running in the background of the acquisition system and the display direction supported by the second terminal application:
the priority of each background terminal application in the background terminal application set is obtained, a second terminal application is obtained in the background terminal application set based on the priority, and the display direction supported by the second terminal application is obtained.
In one embodiment, the processor 1001 obtains the priority of each background terminal application in the background terminal application set, obtains a second terminal application in the background terminal application set based on the priority, and obtains a display direction supported by the second terminal application, and specifically performs the following operations:
and acquiring a second terminal application which is positioned at the background of the system and has a suspension time length smaller than a target time length from the background terminal application set, and acquiring a display direction supported by the second terminal.
In one embodiment, the processor 1001 specifically performs the following operations when executing the second terminal application running in the background of the acquisition system and the display direction supported by the second terminal application:
Displaying application identifiers of all the background terminal applications in the background terminal applications;
and when a confirmation instruction aiming at the application identifier is received, confirming the background terminal application corresponding to the confirmation instruction as a second terminal application, and acquiring a display direction supported by the second terminal application.
In one embodiment, before executing the step of determining that the display direction supported by the first terminal application does not match the second state, the processor 1001 further executes the following operations:
acquiring a first display direction field of the first terminal application and a second display direction field of the second terminal application;
and when the second display direction field is different from the first display direction field, confirming that the display direction supported by the first terminal application is not matched with the second state, and that the display direction supported by the second terminal application is matched with the second state.
In this embodiment, the prompt information received at the background of the system is displayed, the terminal application with the prompt information is confirmed to be a background terminal application set, if the condition that the terminal gesture is switched from the first state to the second state is detected, whether the terminal application running at the foreground of the system has the terminal application running at the foreground or not supports the second state display is determined by judging whether the terminal application is displayed at the desktop of the system, whether the first terminal application is displayed and switched or the application is switched, so that the terminal gesture switching can meet more conditions, the using effect is improved, the second terminal application is acquired through the priority or the application confirmation instruction of each background terminal application in the background terminal application, when the first terminal application does not support the second state display, the second terminal application running at the background of the system is acquired through judging the matching condition of the priority, the display direction and the second state and the application confirmation instruction, more terminal applications capable of being switched to the foreground can be provided for selection, the more diversified conditions are met, the using effect is further improved, and the second terminal application is switched to the foreground of the system, and the first terminal application is switched to the background. The application program which accords with the display direction of the background of the system is directly switched to the foreground of the system through the switching of the gesture of the terminal, so that the steps required for switching the application programs of the background are reduced, the operation time for switching the application is saved, and the use effect of the terminal is improved. Meanwhile, terminal applications sending prompt information can be switched to a system foreground through terminal posture switching, and the using effect of the terminal is further improved.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in accordance with the embodiments may be accomplished by way of a computer program stored on a computer readable storage medium, which when executed may comprise the steps of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory, a random access memory, or the like.
The foregoing disclosure is illustrative of the present application and is not to be construed as limiting the scope of the application, which is defined by the appended claims.

Claims (11)

1. An application switching method, the method comprising:
if the terminal gesture is detected to be switched from the first state to the second state, a first terminal application running in a system foreground and a display direction supported by the first terminal application are acquired;
acquiring a second terminal application running in a system background and a display direction supported by the second terminal application;
if the display direction supported by the first terminal application is not matched with the second state and the display direction supported by the second terminal application is matched with the second state, switching the second terminal application to the system foreground and switching the first terminal application to the system background;
The first terminal application is a terminal application running in a system foreground, the second terminal application is a terminal application running in a system background, and if a plurality of terminal applications run in the system background, the terminal application with the highest priority is confirmed as the second terminal application.
2. The method of claim 1, further comprising, prior to the obtaining the second terminal application running in the background of the system and the display directions supported by the second terminal application:
if the display direction supported by the first terminal application is matched with the second state, controlling the first terminal application to display in the display direction matched with the second state;
and if the display direction of the first terminal application is not matched with the second state, executing the step of acquiring the second terminal application running in the background of the system and the display direction supported by the second terminal application.
3. The method of claim 1, further comprising, prior to the acquiring the first terminal application running in the system foreground and the display directions supported by the first terminal application:
if the fact that the running first terminal application does not exist in the system foreground is detected, controlling a terminal desktop to display in a display direction matched with the second state;
And if the first terminal application running in the system foreground is detected, executing the step of acquiring the first terminal application running in the system foreground and the display direction supported by the first terminal application.
4. The method according to claim 1, further comprising, before the acquiring the first terminal application running in the system foreground and the display direction supported by the first terminal application if the terminal gesture is detected to be switched from the first state to the second state:
when a plurality of prompt messages sent by an application server are received, the prompt messages are displayed;
and determining each background terminal application corresponding to each prompt message in the multiple prompt messages in a system background, and generating a background terminal application set based on each background terminal application.
5. The method according to claim 4, wherein the obtaining the second terminal application running in the background of the system and the display direction supported by the second terminal application includes:
the priority of each background terminal application in the background terminal application set is obtained, a second terminal application is obtained in the background terminal application set based on the priority, and the display direction supported by the second terminal application is obtained.
6. The method of claim 5, wherein the obtaining the priority of each background terminal application in the set of background terminal applications, and obtaining a second terminal application in the set of background terminal applications based on the priority, and obtaining a display direction supported by the second terminal application, comprises:
and acquiring a second terminal application which is positioned at the background of the system and has a suspension time length smaller than a target time length from the background terminal application set, and acquiring a display direction supported by the second terminal.
7. The method according to claim 4, wherein the obtaining the second terminal application running in the background of the system and the display direction supported by the second terminal application includes:
displaying application identifiers of all background terminal applications in the background terminal application set;
and when a confirmation instruction aiming at a target application identifier in the application identifiers is received, confirming the background terminal application corresponding to the target application identifier as a second terminal application, and acquiring a display direction supported by the second terminal application.
8. The method of claim 1, further comprising, before the display direction supported by the first terminal application does not match the second state and the display direction supported by the second terminal application matches the second state:
Acquiring a first display direction field of the first terminal application and a second display direction field of the second terminal application;
and when the second display direction field is different from the first display direction field, confirming that the display direction supported by the first terminal application is not matched with the second state, and that the display direction supported by the second terminal application is matched with the second state.
9. An application switching apparatus, the apparatus comprising:
the gesture detection module is used for acquiring a first terminal application running in a system foreground and a display direction supported by the first terminal application if the gesture of the terminal is detected to be switched from a first state to a second state;
the background application acquisition module is used for acquiring a second terminal application running in the background of the system and a display direction supported by the second terminal application;
the application switching module is used for switching the second terminal application to the system foreground and switching the first terminal application to the system background if the display direction supported by the first terminal application is not matched with the second state and the display direction supported by the second terminal application is matched with the second state;
The first terminal application is a terminal application running in a system foreground, the second terminal application is a terminal application running in a system background, and if a plurality of terminal applications run in the system background, the terminal application with the highest priority is confirmed as the second terminal application.
10. A computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the method steps of any one of claims 1 to 8.
11. An electronic device, comprising: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps of any of claims 1-8.
CN202011568679.6A 2020-12-25 2020-12-25 Application switching method and device, storage medium and electronic equipment Active CN112596883B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011568679.6A CN112596883B (en) 2020-12-25 2020-12-25 Application switching method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011568679.6A CN112596883B (en) 2020-12-25 2020-12-25 Application switching method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN112596883A CN112596883A (en) 2021-04-02
CN112596883B true CN112596883B (en) 2023-10-24

Family

ID=75202386

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011568679.6A Active CN112596883B (en) 2020-12-25 2020-12-25 Application switching method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN112596883B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115017487B (en) * 2021-11-22 2023-03-28 荣耀终端有限公司 Switching method for login account of electronic equipment and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009289039A (en) * 2008-05-29 2009-12-10 Sharp Corp Portable terminal, application selection method, program, and recording medium
CN103677580A (en) * 2012-09-13 2014-03-26 北京三星通信技术研究有限公司 Method and device for triggering application program rapidly
WO2017120894A1 (en) * 2016-01-15 2017-07-20 华为技术有限公司 Display method and terminal
CN108205411A (en) * 2017-09-30 2018-06-26 中兴通讯股份有限公司 Display changeover method and device, terminal
CN110554829A (en) * 2018-06-03 2019-12-10 苹果公司 apparatus and method for interacting with an application-switching user interface
CN112068947A (en) * 2020-09-23 2020-12-11 深圳市欢太科技有限公司 Application program entering method and device, terminal equipment and computer readable medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5949421B2 (en) * 2012-10-11 2016-07-06 富士通株式会社 Information processing apparatus, execution priority changing method, and program

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009289039A (en) * 2008-05-29 2009-12-10 Sharp Corp Portable terminal, application selection method, program, and recording medium
CN103677580A (en) * 2012-09-13 2014-03-26 北京三星通信技术研究有限公司 Method and device for triggering application program rapidly
WO2017120894A1 (en) * 2016-01-15 2017-07-20 华为技术有限公司 Display method and terminal
CN108351794A (en) * 2016-01-15 2018-07-31 华为技术有限公司 A kind of method and terminal of display
CN108205411A (en) * 2017-09-30 2018-06-26 中兴通讯股份有限公司 Display changeover method and device, terminal
CN110554829A (en) * 2018-06-03 2019-12-10 苹果公司 apparatus and method for interacting with an application-switching user interface
CN112068947A (en) * 2020-09-23 2020-12-11 深圳市欢太科技有限公司 Application program entering method and device, terminal equipment and computer readable medium

Also Published As

Publication number Publication date
CN112596883A (en) 2021-04-02

Similar Documents

Publication Publication Date Title
CN108363593B (en) Application program preloading method and device, storage medium and terminal
CN108614722B (en) Application program preloading method and device, storage medium and terminal
CN110582078B (en) Bluetooth pairing method and device, storage medium and electronic equipment
CN104898952B (en) A kind of terminal split screen implementation method and terminal
CN109062479B (en) Split screen application switching method and device, storage medium and electronic equipment
CN113938456B (en) Session message overhead processing method and device
CN108595224B (en) Application program prompting method and device, storage medium and terminal
EP3575963A2 (en) Method for preloading application, storage medium, and terminal
CN108549519B (en) Split screen processing method and device, storage medium and electronic equipment
CN105389173B (en) Interface switching display method and device based on long connection task
CN108614655B (en) Split screen display method and device, storage medium and electronic equipment
CN108647056B (en) Application program preloading method and device, storage medium and terminal
CN111767108A (en) Application program label generation method, application interface display method and device
CN109032732B (en) Notification display method and device, storage medium and electronic equipment
CN111459586A (en) Remote assistance method, device, storage medium and terminal
CN113794795B (en) Information sharing method and device, electronic equipment and readable storage medium
US9823778B2 (en) Method and apparatus for controlling touch device, and touch device
CN106648281B (en) Screenshot method and device
CN112596883B (en) Application switching method and device, storage medium and electronic equipment
CN111447139A (en) Method and device for realizing private chat conversation of multiple persons in instant messaging and electronic equipment
CN107835305B (en) Information input method and device for terminal equipment with screen
CN107930126B (en) Game reservation data processing method and device and mobile terminal
WO2018113751A1 (en) Method for setting communication shortcut and electronic device
CN107729136B (en) Processing priority configuration method and device based on FPGA
CN110427135B (en) Method, device, terminal and storage medium for determining application call

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