CN108920266B - Program switching method, intelligent terminal and computer readable storage medium - Google Patents

Program switching method, intelligent terminal and computer readable storage medium Download PDF

Info

Publication number
CN108920266B
CN108920266B CN201810686105.5A CN201810686105A CN108920266B CN 108920266 B CN108920266 B CN 108920266B CN 201810686105 A CN201810686105 A CN 201810686105A CN 108920266 B CN108920266 B CN 108920266B
Authority
CN
China
Prior art keywords
program
switching
sliding
identifier
user
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
CN201810686105.5A
Other languages
Chinese (zh)
Other versions
CN108920266A (en
Inventor
张忠男
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201810686105.5A priority Critical patent/CN108920266B/en
Publication of CN108920266A publication Critical patent/CN108920266A/en
Application granted granted Critical
Publication of CN108920266B publication Critical patent/CN108920266B/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
    • 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
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • 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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The invention discloses a program switching method, which comprises the steps of acquiring at least one recommended application program according to a currently running foreground program when a program switching instruction is received; then acquiring a currently running background program, displaying a background operation page based on a first identifier corresponding to the background program, displaying a second identifier corresponding to a recommended application program, and determining whether a starting instruction triggered by a user based on the first identifier or the second identifier is received within a preset time length; and switching the application program corresponding to the starting instruction to the foreground operation. The invention also discloses an intelligent terminal and a computer readable storage medium. According to the method, the user habit is continuously recorded in the use process of the user according to personalized program recommendation, so that the effect that the recommended program is more accurate the longer the use time is, and the user experience is effectively improved.

Description

Program switching method, intelligent terminal and computer readable storage medium
Technical Field
The present invention relates to the field of mobile communications technologies, and in particular, to a program switching method, an intelligent terminal, and a computer readable storage medium.
Background
With the increasing performance of smartphones and the increasing number of application programs, the number of programs that the smartphones run simultaneously is increasing, and the convenience of switching between different application programs becomes a major problem affecting user experience. Currently, two methods exist for switching between different application programs of a smart phone, one method is that a user presses a home key for a long time, so that the user enters a background, and the application which the user needs to switch is selected, and because the background programs are more, the method is complex in operation and easy to mistakenly select other unnecessary applications; another method is that the user switches back to the main interface of the mobile phone from the current application, then finds the application program in other interfaces and re-opens, and the method belongs to repeated operation because the application program is already in an open state, which is inconvenient to use.
However, when the user switches programs, the target program may not be in the background list, because the background list only provides the most recently used program in the time dimension, not the program most relevant to the currently used program. At this time, if the target program that the user wants to switch is not in the programs ranked at the top, the user may not continue to flip backward, but return to the desktop or the main menu to search for the corresponding program, which would certainly increase the time used by the user when switching programs, resulting in a decrease in user experience.
The foregoing is provided merely for the purpose of facilitating understanding of the technical solutions of the present invention and is not intended to represent an admission that the foregoing is prior art.
Disclosure of Invention
The invention mainly aims to provide a program switching method, an intelligent terminal and a computer readable storage medium, and aims to solve the technical problem that only a recently used program is provided when the current intelligent terminal switches programs.
In order to achieve the above object, the present invention provides a program switching method comprising the steps of:
when a program switching instruction is received, at least one recommended application program is obtained according to a foreground program running currently;
acquiring a background program which is currently running, displaying a background operation page based on a first identifier corresponding to the background program, displaying a second identifier corresponding to a recommended application program on the background operation page, and determining whether a starting instruction triggered by a user based on the first identifier or the second identifier is received within a preset time period;
and when a starting instruction triggered by a user based on the first identifier or the second identifier is received in the preset time period, switching an application program corresponding to the starting instruction to a foreground operation.
Preferably, the background operation interface further comprises at least one slider bar, which is arranged at any position in the screen and used for adjusting the sliding speed of the first mark in the screen.
Preferably, the step of determining whether a start instruction triggered by the user based on the first identifier or the second identifier is received within a preset time period includes:
when a sliding touch signal triggered by the slider bar is detected, determining whether the sliding direction and the sliding distance of the sliding touch signal meet preset conditions;
and when the sliding direction and the sliding distance of the sliding touch signal are determined to meet the preset conditions, controlling the first mark to slide in a screen according to the sliding of the sliding touch signal to switch display.
Preferably, when the sliding touch signal triggered by the slider bar is detected, the step of determining whether the sliding direction and the sliding distance of the sliding touch signal meet a preset condition includes:
when a sliding touch signal triggered by the slider bar is detected, determining whether the sliding distance of the sliding touch signal is larger than a preset distance;
when the sliding distance of the sliding touch signal is larger than a preset distance, determining whether an included angle between the sliding direction of the sliding touch signal and the sliding direction of the slider bar is smaller than a preset threshold value;
and when the included angle between the direction of the sliding touch signal and the sliding direction of the slider bar is smaller than a preset threshold value, determining that the sliding direction and the sliding distance of the sliding touch signal meet preset conditions.
Preferably, after the step of switching the application program corresponding to the start instruction to the foreground operation after the step of receiving the start instruction triggered by the user based on the first identifier or the second identifier within the determined preset time period, the method further includes:
recording a switching operation corresponding to the starting instruction;
and acquiring a user habit record table, and storing switching operation corresponding to the starting instruction in the user habit record table.
Preferably, the step of acquiring at least one recommended application program according to the currently running foreground program when the program switching instruction is received includes:
when a switching instruction triggered by a user is received, acquiring a user habit record in a preset period before the current moment in a user habit record table, wherein the user habit record comprises switching operations among all programs;
and determining a related application program corresponding to the currently running foreground program based on the user habit record in the preset period, and taking the related application program as a recommended application program.
Preferably, the step of determining, based on the user habit record in the preset period, a related application program corresponding to the current running program, and taking the related application program as the recommended application program includes:
when a user habit record in a preset period before the current moment in a user habit record table is obtained, determining related application programs with direct switching relation with the current running program based on the user habit record, and sorting according to a switching frequency descending order;
and selecting at least one related application program as a recommended application program, and acquiring an icon or a thumbnail of the recommended application program as a second identifier for displaying in a background operation page.
Preferably, after the step of determining whether the start instruction triggered by the user based on the first identifier or the second identifier is received within the preset time period, the method further includes:
and canceling the program switching operation corresponding to the program switching instruction when the starting instruction triggered by the user based on the first identifier or the second identifier is not received within the preset time period.
In addition, in order to achieve the above object, the present invention further provides an intelligent terminal, which is characterized in that the intelligent terminal includes: a memory, a processor, and a program switching program stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the program switching method as claimed in any one of the preceding claims.
In addition, in order to achieve the above object, the present invention further provides a computer-readable storage medium, wherein a program switching program is stored on the computer-readable storage medium, and the program switching program when executed by a processor implements the steps of the program switching method according to any one of the above.
According to the scheme, when a program switching instruction is received, at least one recommended application program is obtained according to a currently running foreground program; then acquiring a currently running background program, displaying a background operation page based on a first identifier corresponding to the background program, displaying a second identifier corresponding to a recommended application program on the background operation page, and determining whether a starting instruction triggered by a user based on the first identifier or the second identifier is received within a preset time period; when a starting instruction triggered by a user based on the first identifier or the second identifier is received in a preset time period, switching an application program corresponding to the starting instruction to a foreground operation; the method realizes the recommendation of the program according to individuation, not only displays the background switching interface according to the program which is used recently, but also continuously records the use habit of the user in the use process of the user, thereby achieving the effect that the recommended program is more accurate when the use time is longer, and effectively improving the user experience.
Drawings
FIG. 1 is a schematic diagram of a terminal to which a program switching device belongs in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart of a program switching method according to a first embodiment of the present invention;
FIG. 3 is a detailed flowchart of a step of determining whether a start command triggered by a user based on the first identifier or the second identifier is received within a preset time period in a second embodiment of the program switching method of the present invention;
fig. 4 is a flowchart of a third embodiment of the program switching method according to the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Referring to fig. 1, fig. 1 is a schematic diagram of a terminal structure of a device in a hardware running environment according to an embodiment of the present invention.
The terminal of the embodiment of the invention can be a PC, or can be a mobile terminal device with a display function, such as a smart phone, a tablet personal computer, an electronic book reader, an MP3 (Moving Picture Experts Group Audio Layer III, dynamic image expert compression standard audio layer 3) player, an MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert compression standard audio layer 3) player, a portable computer and the like.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a 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, an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may further include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
Optionally, the terminal may also include a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, and so on. Among other sensors, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display screen according to the brightness of ambient light, and a proximity sensor that may turn off the display screen and/or the backlight when the mobile terminal moves to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and the direction when the mobile terminal is stationary, and the mobile terminal can be used for recognizing the gesture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; of course, the mobile terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like, which are not described herein.
It will be appreciated by those skilled in the art that the terminal structure shown in fig. 1 is not limiting of the terminal and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
As shown in fig. 1, an operating system, a network communication module, a user interface module, and a program switching program may be included in the memory 1005, which is a type of computer storage medium.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a background server and performing data communication with the background server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be used to invoke a program switch program stored in the memory 1005.
In this embodiment, the program switching device includes: the processor 1001 includes a memory 1005, a processor 1001, and a program switching program stored in the memory 1005 and executable on the processor 1001, wherein when the processor 1001 calls the program switching program stored in the memory 1005, the following operations are performed:
when a program switching instruction is received, at least one recommended application program is obtained according to a foreground program running currently;
acquiring a background program which is currently running, displaying a background operation page based on a first identifier corresponding to the background program, displaying a second identifier corresponding to a recommended application program on the background operation page, and determining whether a starting instruction triggered by a user based on the first identifier or the second identifier is received within a preset time period;
and when a starting instruction triggered by a user based on the first identifier or the second identifier is received in the preset time period, switching an application program corresponding to the starting instruction to a foreground operation.
Further, the processor 1001 may call a program switching program stored in the memory 1005, and further perform the following operations:
the background operation interface also comprises at least one sliding block bar which is arranged at any position in the screen and used for adjusting the sliding speed of the first mark in the screen.
Further, the processor 1001 may call a program switching program stored in the memory 1005, and further perform the following operations:
when a sliding touch signal triggered by the slider bar is detected, determining whether the sliding direction and the sliding distance of the sliding touch signal meet preset conditions;
and when the sliding direction and the sliding distance of the sliding touch signal are determined to meet the preset conditions, controlling the first mark to slide in a screen according to the sliding of the sliding touch signal to switch display.
Further, the processor 1001 may call a program switching program stored in the memory 1005, and further perform the following operations:
when a sliding touch signal triggered by the slider bar is detected, determining whether the sliding distance of the sliding touch signal is larger than a preset distance;
when the sliding distance of the sliding touch signal is larger than a preset distance, determining whether an included angle between the sliding direction of the sliding touch signal and the sliding direction of the slider bar is smaller than a preset threshold value;
and when the included angle between the direction of the sliding touch signal and the sliding direction of the slider bar is smaller than a preset threshold value, determining that the sliding direction and the sliding distance of the sliding touch signal meet preset conditions.
Further, the processor 1001 may call a program switching program stored in the memory 1005, and further perform the following operations:
recording a switching operation corresponding to the starting instruction;
and acquiring a user habit record table, and storing switching operation corresponding to the starting instruction in the user habit record table.
Further, the processor 1001 may call a program switching program stored in the memory 1005, and further perform the following operations:
when a switching instruction triggered by a user is received, acquiring a user habit record in a preset period before the current moment in a user habit record table, wherein the user habit record comprises switching operations among all programs;
and determining a related application program corresponding to the currently running foreground program based on the user habit record in the preset period, and taking the related application program as a recommended application program.
Further, the processor 1001 may call a program switching program stored in the memory 1005, and further perform the following operations:
when a user habit record in a preset period before the current moment in a user habit record table is obtained, determining related application programs with direct switching relation with the current running program based on the user habit record, and sorting according to a switching frequency descending order;
and selecting at least one related application program as a recommended application program, and acquiring an icon or a thumbnail of the recommended application program as a second identifier for displaying in a background operation page.
Further, the processor 1001 may call a program switching program stored in the memory 1005, and further perform the following operations:
and canceling the program switching operation corresponding to the program switching instruction when the starting instruction triggered by the user based on the first identifier or the second identifier is not received within the preset time period.
Referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of a program switching method according to the present invention, where the program switching method includes:
step S10, when a program switching instruction is received, at least one recommended application program is obtained according to a foreground program running currently;
in the process of using a mobile phone or other intelligent terminals, users often need to switch between different programs, and the background task switching pages of most mobile phones only provide a recent task list, namely a most recently used program list ordered according to time. However, when the user wants to switch a program in the background, he will only pay attention to the first few programs of the background task switching page, if there is an application program he needs, he will directly switch on, if there is no possibility that he will slide back one to two times, if there is no possibility that he will not slide back any more, he will directly go to the desktop or main menu to find the program opening needed by himself, and complete the switching of the program task. From the above steps, the current background program switching page needs to be improved, especially lacks related program recommendation function.
When a switching instruction triggered by a user is received, a plurality of most relevant recommended application programs are obtained from a user habit record list according to a foreground program which is currently operated, the recommended application programs are generated according to a past switching record of the user, when the program switching is finished each time, a system automatically records the scheme of the program switching, which program is switched from, and the two programs are stored as a switching record. For example, after the user has seen the panning, he is likely to want to browse other shopping programs instead of the programs such as the WeChat that have been used recently, so if he has performed a switch from panning to the Jingdong frequently before, the recommended application program that will be displayed will have the Jingdong. In addition, because the screens of different terminals are different, the number of the recommended application programs displayed is also different, but at least one recommended application program is displayed, and the program with the highest switching frequency is generally displayed according to the switching frequency and is displayed in sequence according to the switching frequency. For example, in the user habit record table, 100 times of switching from panning to kittens, 80 times of switching from panning to kittens, 60 times of switching from panning to amazon, when one recommended application is displayed, the kitten is displayed as the recommended application, two of the recommended applications are permitted to be displayed, the kitten and kitten are displayed, and the kitten is arranged in order from left to right before the kitten is behind the kitten, and when three of the kitten is permitted to be displayed, the kitten, and amazon are arranged in order.
The program switching instruction is slightly different for different terminals, and is determined according to practical situations, for example, the program switching instruction of the apple user is a double click home key. When a switching instruction triggered by a user is received, acquiring a user habit record in a preset period before the current moment in a user habit record table, wherein the user habit record comprises switching operations among all programs; and determining a related application program corresponding to the currently running foreground program based on the user habit record in the preset period, and taking the related application program as a recommended application program. When a user habit record in a preset period before the current moment in a user habit record table is obtained, determining related application programs with direct switching relation with the current running program based on the user habit record, and sorting according to a switching frequency descending order; and selecting at least one related application program as a recommended application program, and acquiring an icon or a thumbnail of the recommended application program as a second identifier for displaying in a background operation page.
Step S20, acquiring a currently running background program, displaying a background operation page based on a first identifier corresponding to the background program, displaying a second identifier corresponding to a recommended application program on the background operation page, and determining whether a starting instruction triggered by a user based on the first identifier or the second identifier is received within a preset time period;
and when a program switching instruction is received, displaying a background operation page, namely a background program switching page. For different terminals, the page forms are slightly different, for example, a lateral sliding display mode and a vertical sliding display mode are adopted, and the specific page forms do not influence the method. The first identifier or the second identifier may be any form capable of representing the program, may be an icon of the application program, may be a thumbnail image, may be a text name, or may be any combination of the above. And displaying a recently used background program on a background operation page, displaying a recommended application program generated by a system, and determining whether a user triggers a starting instruction within a preset time period, for example, clicking an icon or a thumbnail of a certain program to start the program.
In a preferred embodiment, in general, each task of the latest task window is equal in size and a thumbnail of the task is displayed, a recommended application icon can be placed on the latest task window, in order to clarify the primary and secondary relationship and allow for user experience, the recommended application icon cannot be too large, the recommended application cannot be too many, the recommended application cannot be made into a sliding list form, it is ensured that all recommended programs can be completely displayed in the current screen page, the number of recommended applications is 3 to 5 best, and the icon display is started by a circular application.
When a sliding touch signal triggered by the slider bar is detected, determining whether the sliding direction and the sliding distance of the sliding touch signal meet preset conditions; when a sliding touch signal triggered by the slider bar is detected, determining whether the sliding distance of the sliding touch signal is larger than a preset distance; when the sliding distance of the sliding touch signal is larger than a preset distance, determining whether an included angle between the sliding direction of the sliding touch signal and the sliding direction of the slider bar is smaller than a preset threshold value; and when the included angle between the direction of the sliding touch signal and the sliding direction of the slider bar is smaller than a preset threshold value, determining that the sliding direction and the sliding distance of the sliding touch signal meet preset conditions. And when the sliding direction and the sliding distance of the sliding touch signal are determined to meet the preset conditions, controlling the first mark to slide in a screen according to the sliding of the sliding touch signal to switch display.
And step S30, when a starting instruction triggered by a user based on the first identifier or the second identifier is received in a preset time period, switching an application program corresponding to the starting instruction to a foreground operation.
If the user triggers the first identifier or the second identifier within the preset time period, that is, clicks any one identifier of the recommended application or the near-term background application, the program is switched to the foreground operation. The preset time period is determined by a technician according to actual conditions.
Further, in an embodiment, after step S20, the method further includes:
and canceling the program switching operation corresponding to the program switching instruction when the starting instruction triggered by the user based on the first identifier or the second identifier is not received within the preset time period.
If no starting instruction triggered by the user is generated within the preset time, or even if the touch operation of the user is detected, the user is not in effective operation, possibly in misoperation, when the preset time is over, the program switching operation corresponding to the current switching instruction is automatically canceled, the current running foreground program can be returned, the desktop or the main menu can be returned, and the operation after canceling the program switching is determined by a technician according to the actual state.
According to the program switching method, when a program switching instruction is received, at least one recommended application program is obtained according to a currently running foreground program; then acquiring a currently running background program, displaying a background operation page based on a first identifier corresponding to the background program, displaying a second identifier corresponding to a recommended application program on the background operation page, and determining whether a starting instruction triggered by a user based on the first identifier or the second identifier is received within a preset time period; when a starting instruction triggered by a user based on the first identifier or the second identifier is received in a preset time period, switching an application program corresponding to the starting instruction to a foreground operation; the method realizes the recommendation of the program according to individuation, not only displays the background switching interface according to the program which is used recently, but also continuously records the use habit of the user in the use process of the user, thereby achieving the effect that the recommended program is more accurate when the use time is longer, and effectively improving the user experience.
Based on the first embodiment, a second embodiment of the program switching method of the present invention is proposed, and referring to fig. 3, step S20 includes:
step S21, when a sliding touch signal triggered by the slider bar is detected, determining whether the sliding direction and the sliding distance of the sliding touch signal meet preset conditions;
step S22, when it is determined that the sliding direction and the sliding distance of the sliding touch signal meet the preset conditions, controlling the first identifier to switch and display in a sliding manner in the screen according to the sliding of the sliding touch signal.
When a sliding touch signal triggered by the slider bar is detected, determining whether the sliding distance of the sliding touch signal is larger than a preset distance; when the sliding distance of the sliding touch signal is larger than a preset distance, determining whether an included angle between the sliding direction of the sliding touch signal and the sliding direction of the slider bar is smaller than a preset threshold value; and when the included angle between the direction of the sliding touch signal and the sliding direction of the slider bar is smaller than a preset threshold value, determining that the sliding direction and the sliding distance of the sliding touch signal meet preset conditions.
When our recommendation algorithm does not successfully predict the jump application program which the user wants to use, the user still needs to slide a lengthy latest task window, most of program task switching is not satisfactory at present because the sliding speed is unchanged, when the application which the user wants to find is near the end of the list, the user needs to slip from the beginning to the tail, and when the user cannot find, the sliding speed is increased, but the latest task list moving speed is unchanged, which intangibly reduces the user experience. Therefore, the sliding block bar of the latest task list is established below the latest task window, the sliding speed of the latest task list can be intelligently changed according to the sliding speed of the fingers of the user, and the latest task list can be accelerated to slide when the user accelerates to slide, so that the user can more efficiently utilize the latest task list.
According to the program switching method, when a sliding touch signal triggered by the slider bar is detected, whether the sliding direction and the sliding distance of the sliding touch signal meet preset conditions or not is determined; then when the sliding direction and the sliding distance of the sliding touch signal are determined to meet the preset conditions, controlling the first mark to slide in a screen according to the sliding of the sliding touch signal to switch display; the speed-controllable background program switching operation is realized.
Based on the first embodiment, a third embodiment of the program switching method of the present invention is proposed, and referring to fig. 4, step S30, the method further includes:
step S40, recording a switching operation corresponding to the starting instruction;
step S50, a user habit record list is obtained, and switching operation corresponding to the starting instruction is stored in the user habit record list.
When program switching is completed each time, the system automatically records the program switching scheme, which program is switched to from which program, and stores the two programs as a switching record. For example, after the user has seen the panning, he is likely to want to browse other shopping programs instead of the programs such as the WeChat that have been used recently, so if he has performed a switch from panning to the Jingdong frequently before, the recommended application program that will be displayed will have the Jingdong. In addition, because the screens of different terminals are different, the number of the recommended application programs displayed is also different, but at least one recommended application program is displayed, and the program with the highest switching frequency is generally displayed according to the switching frequency and is displayed in sequence according to the switching frequency. For example, in the user habit record table, 100 times of switching from panning to kittens, 80 times of switching from panning to kittens, 60 times of switching from panning to amazon, when one recommended application is displayed, the kitten is displayed as the recommended application, two of the recommended applications are permitted to be displayed, the kitten and kitten are displayed, and the kitten is arranged in order from left to right before the kitten is behind the kitten, and when three of the kitten is permitted to be displayed, the kitten, and amazon are arranged in order.
In addition to the forward switching record, the reverse switching record can be added according to the actual requirement, for example, the reverse switching record from the panning to the jindong can be blurred, namely, the record is one-time switching between the panning and the jindong. For panning, the record to the genipin is added once, and for the genipin, the switch record to panning is also added once.
According to the program switching method provided by the embodiment, switching operation corresponding to the starting instruction is recorded; then obtaining a user habit record table, and storing switching operation corresponding to the starting instruction in the user habit record table; the user habit record is realized, and accurate recommendation of the application to be switched is facilitated.
In addition, an embodiment of the present invention also proposes a computer-readable storage medium, on which a program switching program is stored, which when executed by a processor, implements the operations of:
when a program switching instruction is received, at least one recommended application program is obtained according to a foreground program running currently;
acquiring a background program which is currently running, displaying a background operation page based on a first identifier corresponding to the background program, displaying a second identifier corresponding to a recommended application program on the background operation page, and determining whether a starting instruction triggered by a user based on the first identifier or the second identifier is received within a preset time period;
and when a starting instruction triggered by a user based on the first identifier or the second identifier is received in the preset time period, switching an application program corresponding to the starting instruction to a foreground operation.
Further, the program switching program when executed by the processor further realizes the following operations:
the background operation interface also comprises at least one sliding block bar which is arranged at any position in the screen and used for adjusting the sliding speed of the first mark in the screen.
Further, the program switching program when executed by the processor further realizes the following operations:
when a sliding touch signal triggered by the slider bar is detected, determining whether the sliding direction and the sliding distance of the sliding touch signal meet preset conditions;
and when the sliding direction and the sliding distance of the sliding touch signal are determined to meet the preset conditions, controlling the first mark to slide in a screen according to the sliding of the sliding touch signal to switch display.
Further, the program switching program when executed by the processor further realizes the following operations:
when a sliding touch signal triggered by the slider bar is detected, determining whether the sliding distance of the sliding touch signal is larger than a preset distance;
when the sliding distance of the sliding touch signal is larger than a preset distance, determining whether an included angle between the sliding direction of the sliding touch signal and the sliding direction of the slider bar is smaller than a preset threshold value;
and when the included angle between the direction of the sliding touch signal and the sliding direction of the slider bar is smaller than a preset threshold value, determining that the sliding direction and the sliding distance of the sliding touch signal meet preset conditions.
Further, the program switching program when executed by the processor further realizes the following operations:
recording a switching operation corresponding to the starting instruction;
and acquiring a user habit record table, and storing switching operation corresponding to the starting instruction in the user habit record table.
Further, the program switching program when executed by the processor further realizes the following operations:
when a switching instruction triggered by a user is received, acquiring a user habit record in a preset period before the current moment in a user habit record table, wherein the user habit record comprises switching operations among all programs;
and determining a related application program corresponding to the currently running foreground program based on the user habit record in the preset period, and taking the related application program as a recommended application program.
Further, the program switching program when executed by the processor further realizes the following operations:
when a user habit record in a preset period before the current moment in a user habit record table is obtained, determining related application programs with direct switching relation with the current running program based on the user habit record, and sorting according to a switching frequency descending order;
and selecting at least one related application program as a recommended application program, and acquiring an icon or a thumbnail of the recommended application program as a second identifier for displaying in a background operation page.
Further, the program switching program when executed by the processor further realizes the following operations:
and canceling the program switching operation corresponding to the program switching instruction when the starting instruction triggered by the user based on the first identifier or the second identifier is not received within the preset time period.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented 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) as described above, comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (7)

1. A program switching method, characterized in that the program switching method comprises the steps of:
when a switching instruction triggered by a user is received, acquiring a user habit record in a preset period before the current moment in a user habit record table, wherein the user habit record comprises switching operations among all programs, and the switching operations comprise forward switching operations and reverse switching operations;
based on the user habit record in the preset period, determining a related application program corresponding to a currently running foreground program, and taking the related application program as a recommended application program, wherein the related application program and the foreground program belong to the same application type, and the application type comprises shopping application;
acquiring a background program which is currently running, displaying a background operation page based on a first identifier corresponding to the background program, displaying a second identifier corresponding to a recommended application program on the background operation page, and determining whether a starting instruction triggered by a user based on the first identifier or the second identifier is received within a preset time period, wherein the background operation page further comprises at least one sliding block bar which is arranged at any position in a screen and used for adjusting the sliding speed of the first identifier in the screen;
when a starting instruction triggered by a user based on the first identifier or the second identifier is received in a preset time period, switching an application program corresponding to the starting instruction to foreground operation;
when a sliding touch signal triggered by the slider bar is detected, determining whether the sliding direction and the sliding distance of the sliding touch signal meet preset conditions;
and when the sliding direction and the sliding distance of the sliding touch signal are determined to meet the preset conditions, controlling the first mark to slide in a screen according to the sliding of the sliding touch signal to switch display.
2. The program switching method according to claim 1, wherein the step of determining whether a sliding direction and a sliding distance of the sliding touch signal satisfy a preset condition when the sliding touch signal based on the slider bar trigger is detected comprises:
when a sliding touch signal triggered by the slider bar is detected, determining whether the sliding distance of the sliding touch signal is larger than a preset distance;
when the sliding distance of the sliding touch signal is larger than a preset distance, determining whether an included angle between the sliding direction of the sliding touch signal and the sliding direction of the slider bar is smaller than a preset threshold value;
and when the included angle between the direction of the sliding touch signal and the sliding direction of the slider bar is smaller than a preset threshold value, determining that the sliding direction and the sliding distance of the sliding touch signal meet preset conditions.
3. The program switching method according to claim 1, wherein, when a start instruction triggered by a user based on the first identifier or the second identifier is received within a predetermined period of time, after the step of switching the application program corresponding to the start instruction to a foreground operation, the method further comprises:
recording a switching operation corresponding to the starting instruction;
and acquiring a user habit record table, and storing switching operation corresponding to the starting instruction in the user habit record table.
4. The program switching method as claimed in claim 1, wherein the step of determining the relevant application program corresponding to the current running program based on the user habit record in the preset period of time, and taking the relevant application program as the recommended application program comprises:
when a user habit record in a preset period before the current moment in a user habit record table is obtained, determining related application programs with direct switching relation with the current running program based on the user habit record, and sorting according to a switching frequency descending order;
and selecting at least one related application program as a recommended application program, and acquiring an icon or a thumbnail of the recommended application program as a second identifier for displaying in a background operation page.
5. The program switching method according to claim 1, wherein after the step of determining whether a start instruction triggered by the user based on the first identifier or the second identifier is received within a preset period of time, the method further comprises:
and canceling the program switching operation corresponding to the program switching instruction when the starting instruction triggered by the user based on the first identifier or the second identifier is not received within the preset time period.
6. An intelligent terminal, characterized in that, the intelligent terminal includes: memory, a processor and a program switching program stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the program switching method according to any one of claims 1 to 5.
7. A computer-readable storage medium, on which a program switching program is stored, which, when executed by a processor, implements the steps of the program switching method according to any one of claims 1 to 5.
CN201810686105.5A 2018-06-27 2018-06-27 Program switching method, intelligent terminal and computer readable storage medium Active CN108920266B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810686105.5A CN108920266B (en) 2018-06-27 2018-06-27 Program switching method, intelligent terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810686105.5A CN108920266B (en) 2018-06-27 2018-06-27 Program switching method, intelligent terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108920266A CN108920266A (en) 2018-11-30
CN108920266B true CN108920266B (en) 2023-09-01

Family

ID=64423762

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810686105.5A Active CN108920266B (en) 2018-06-27 2018-06-27 Program switching method, intelligent terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108920266B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110096874A (en) * 2019-03-15 2019-08-06 深圳壹账通智能科技有限公司 Program page security alarm method, apparatus, computer equipment and storage medium
CN110321205B (en) * 2019-04-03 2021-07-30 上海连尚网络科技有限公司 Method and equipment for managing hosted program in hosted program
CN110300223A (en) * 2019-06-25 2019-10-01 维沃移动通信有限公司 A kind of terminal device operating method and terminal device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104679536A (en) * 2013-11-28 2015-06-03 索尼公司 Method and device for starting application program and electronic device
CN105511730A (en) * 2015-12-17 2016-04-20 北京奇虎科技有限公司 Application program switching method and device and terminal
CN106155721A (en) * 2015-04-08 2016-11-23 阿里巴巴集团控股有限公司 The deployment method of application program, the generation method and device of the recommendation page
CN106406996A (en) * 2016-09-05 2017-02-15 努比亚技术有限公司 Management method and device of background application program
CN107045420A (en) * 2017-04-27 2017-08-15 努比亚技术有限公司 Switching method and mobile terminal, the storage medium of application program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104424484B (en) * 2013-09-11 2019-01-15 阿里巴巴集团控股有限公司 Application program switching, the method and device for adding access information

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104679536A (en) * 2013-11-28 2015-06-03 索尼公司 Method and device for starting application program and electronic device
CN106155721A (en) * 2015-04-08 2016-11-23 阿里巴巴集团控股有限公司 The deployment method of application program, the generation method and device of the recommendation page
CN105511730A (en) * 2015-12-17 2016-04-20 北京奇虎科技有限公司 Application program switching method and device and terminal
CN106406996A (en) * 2016-09-05 2017-02-15 努比亚技术有限公司 Management method and device of background application program
CN107045420A (en) * 2017-04-27 2017-08-15 努比亚技术有限公司 Switching method and mobile terminal, the storage medium of application program

Also Published As

Publication number Publication date
CN108920266A (en) 2018-11-30

Similar Documents

Publication Publication Date Title
US10708534B2 (en) Terminal executing mirror application of a peripheral device
CN109062467B (en) Split screen application switching method and device, storage medium and electronic equipment
EP3070659A1 (en) Method, device and terminal for displaying application messages
EP3128411B1 (en) Interface display method, terminal, computer program and recording medium
CN108958867B (en) Task operation method and device for application
JP6337115B2 (en) Application program control method and related apparatus
CN108958580B (en) Display control method and terminal equipment
US20200210061A1 (en) Method, device and storage medium for sharing multimedia resource
US9582172B2 (en) Display control apparatus and method, image display apparatus, and non-transitory computer readable medium
US20170322689A1 (en) Method and device for multi-task management, and computer-readable medium
EP3531258A1 (en) Method for searching for icon, and terminal
JP2016522483A (en) Page rollback control method, page rollback control device, terminal, program, and recording medium
CN108920266B (en) Program switching method, intelligent terminal and computer readable storage medium
CN110825997B (en) Information flow page display method, device, terminal equipment and system
US20180181295A1 (en) Method for displaying information, and terminal equipment
WO2014194713A1 (en) Method,apparatus and computer readable storage medium for displaying video preview picture
WO2016188229A1 (en) Terminal device and method for dynamically adjusting control position
CN112083854A (en) Application program running method and device
CN113253883A (en) Application interface display method and device and electronic equipment
CN108399033B (en) View switching method and device
US11847305B1 (en) Page display method, electronic device and storage medium
CN111078113A (en) Sidebar editing method, mobile terminal and computer-readable storage medium
CN111124584A (en) Shortcut panel display method, terminal and readable storage medium
US20150234546A1 (en) Method for Quickly Displaying a Skype Contacts List and Computer Program Thereof and Portable Electronic Device for Using the Same
CN114647623A (en) Folder processing method, intelligent terminal and storage medium

Legal Events

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