Detailed Description
Referring to the drawings, wherein like reference numbers refer to like elements, the principles of the present application are illustrated as being implemented in a suitable computing environment. The following description is based on illustrated embodiments of the application and should not be taken as limiting the application with respect to other embodiments that are not detailed herein.
In the description that follows, specific embodiments of the present application will be described with reference to steps and symbols executed by one or more computers, unless otherwise indicated. Accordingly, these steps and operations will be referred to, several times, as being performed by a computer, the computer performing operations involving a processing unit of the computer in electronic signals representing data in a structured form. This operation transforms the data or maintains it at locations in the computer's memory system, which may be reconfigured or otherwise altered in a manner well known to those skilled in the art. The data maintains a data structure that is a physical location of the memory that has particular characteristics defined by the data format. However, while the principles of the application have been described in language specific to above, it is not intended to be limited to the specific form set forth herein, and it will be recognized by those of ordinary skill in the art that various of the steps and operations described below may be implemented in hardware.
The term module, as used herein, may be considered a software object executing on the computing system. The various components, modules, engines, and services described herein may be viewed as objects implemented on the computing system. The apparatus and method described herein may be implemented in software, but may also be implemented in hardware, and are within the scope of the present application.
The terms "first", "second", and "third", etc. in this application are used to distinguish between different objects and not to describe a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or modules is not limited to only those steps or modules listed, but rather, some embodiments may include other steps or modules not listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
An execution main body of the split-screen display method may be the split-screen display device provided in the embodiment of the present application, or an electronic device integrated with the split-screen display device, where the split-screen display device may be implemented in a hardware or software manner. The electronic device may be a smart phone, a tablet computer, a palm computer, a notebook computer, or a desktop computer.
Referring to fig. 1, fig. 1 is a schematic view of an application scenario of a split-screen display method according to an embodiment of the present application. The display interface of the electronic equipment is a target application, wherein the target application supports split screen display. At this time, when the electronic device receives the split-screen operation of the user, if it is recognized that one key is pressed for a long time, the display interface of the electronic device is divided into two sub-display interfaces, and the two sub-display interfaces respectively display the target application and other preset applications supporting split-screen display. One of the sub-display interfaces displays a first target application, and the other sub-display interface displays other preset applications A1-A9 supporting split screen display.
Referring to fig. 2, fig. 2 is a schematic flow chart of a split-screen display method according to an embodiment of the present application. The specific process of the split-screen display method provided by the embodiment of the application can be as follows:
101, when a screen splitting instruction is received, dividing the display interface into a first sub-display interface and a second sub-display interface.
The split screen command is preset in advance. For example, when a key length of the electronic device is recognized, the screen splitting instruction is considered to be received, or when a certain specific gesture is recognized for the display interface, the screen splitting instruction is considered to be received. The key may be a menu key, a multitasking key, a return key, or the like, which is located on the same side as the display interface, or may be a sound key, a function key, or the like, located on the side of the electronic device. The particular gesture may be a two-finger swipe gesture, a three-finger swipe gesture, a middle region left-right swipe gesture, etc.
When a screen splitting instruction is received, dividing the display interface into a first sub-display interface and a second sub-display interface, wherein the sum of the areas of the first sub-display interface and the second sub-display interface is equal to the area of the display interface. The display interface is the whole display area of the display screen of the electronic equipment.
And 102, determining a currently running target application, and displaying the target application on the first sub-display interface.
When an application runs in the foreground of the electronic equipment, a screen splitting instruction is received, and whether the application is the application supporting screen splitting or not is detected. And if the application is the application supporting split screen, controlling the display interface to enter a split screen display mode, and simultaneously determining that the application is the target application. And after the target application is determined, displaying the target application on the first sub-display interface.
And 103, selecting a plurality of preset applications supporting split screen display from a plurality of applications of the electronic equipment.
The electronic equipment is provided with a plurality of applications, the applications are screened, and a plurality of preset applications supporting split screen display are selected from the screened applications.
The system file of the application installed on the electronic equipment can be internally provided with a label for supporting split screen display, and during screening, whether the application supports split screen display can be judged only by acquiring the label.
If the application installed on the electronic equipment does not have a label for judging whether split screen display is supported, the application can be reported to the server, the server judges the application, if so, the server sends support information to the electronic equipment, and the electronic equipment receives the support information, corresponds the support information with the application and stores the support information. And if the information is not supported, sending unsupported information to the electronic equipment, receiving the unsupported information by the electronic equipment, and corresponding and storing the unsupported information and the application.
And 104, sequencing according to the use frequency of the plurality of preset applications to obtain a preset ranking.
The method comprises the steps of firstly obtaining the use frequency of a plurality of preset applications, wherein the use frequency can be the use frequency in a non-split screen display mode, can also be the use frequency in a split screen display mode, and can also be the total use frequency, namely the sum of the use frequencies in the non-split screen display mode and the split screen display mode. After the use frequencies of the preset applications are obtained, the preset applications are sequenced according to the use frequencies to obtain a preset ranking.
The preset ranking can be sequentially ordered from large to small according to the use frequency, and can also be sequentially ordered from small to large according to the use frequency. If the use frequencies of two or more preset applications are the same, the preset applications can be sorted according to the alphabetical order of the names of the preset applications.
And 105, displaying the link icons of the plurality of preset applications on the second sub-display interface according to the preset ranking.
And after the preset ranking of the preset applications according to the use frequency is obtained, displaying the link icons of the preset applications on a second sub-display interface.
For example, according to the preset ranking, the first row is arranged from left to right, when one row is full, the next row is arranged, and so on.
In some embodiments, the step of displaying the link icons of the plurality of preset applications on the second sub-display interface according to the preset ranking may include:
dividing the second sub-display interface into a main display area and a sub-display area, wherein the sub-display area surrounds the main display area;
acquiring a first number of display link icons accommodated in a main display area;
displaying the link icons of the preset applications in the first number in the preset ranking in the main display area, and displaying the link icons of the preset applications in the first number in the preset ranking in the secondary display area.
And dividing the second sub-display interface into a main display area and a sub-display area, wherein the sub-display area surrounds the main display area. And then acquiring the capacity of the main display area, namely the number of link icons which can be displayed in the main display area, displaying the link icons of the first few preset applications in the preset ranking in the main display area, and displaying other applications in the secondary display area. Therefore, the link icons in the main display area can be highlighted, the use frequency of the link icons in the main display area is higher, the use probability of a user is higher, and the link icons are placed in the middle to be triggered conveniently.
It should be noted that, in the main display area, the sub-display area surrounds the main display area, the main display area is in the middle of the second sub-display interface, and the sub-display area is in the edge of the second sub-display interface. If the second sub-display interface is the lower half part of the display interface, the main display area is the middle position of the second sub-display interface, the sub-display areas are two sides and the bottom of the second sub-display interface, and the upper part of the second sub-display interface is adjacent to the first sub-display interface, so that the second sub-display interface is not drawn into the sub-display area but drawn into the main display area. That is, a portion of the second sub-display interface adjacent to the first sub-display interface is also the main display area.
In some embodiments, after the step of displaying the link icons of the plurality of preset applications on the second sub-display interface, the method may further include:
amplifying and displaying link icons of a plurality of preset applications ranked before a first preset name according to a preset scale;
and displaying the link icons of the plurality of preset applications ranked after the second preset ranking in a second reduced mode according to the preset scale.
After the link icons of the plurality of preset applications are displayed on the second sub-display interface, the link icons of the plurality of preset applications ranked before the first preset name are displayed in a first enlarged mode according to a preset proportion, and the link icons of the plurality of preset applications ranked after the second preset name are displayed in a second reduced mode according to the preset proportion. The first preset ranking can be set according to the size of the second sub-display interface, or can be set according to the link icon that needs to be displayed on the second sub-display interface, for example, the first preset ranking can be set to the fourth, and then the third ranking is displayed in an enlarged manner. The second preset rank may be set to the 6 th last, then the last five zoomed out displays are ranked. The first preset proportion may be set according to a blank area between two adjacent link icons, and the blank area is not adjacent after being enlarged and displayed, the first preset proportion may be 110%, 120%, and the like, and the second preset proportion may be 90%, 80%, and the like. After the first preset proportion and the second preset proportion are amplified or reduced for display, the link icon can be obviously distinguished from the link icon which is not amplified or reduced for display, and the user can conveniently check the link icon.
While the enlarged display is performed, other methods can be used to enhance the display effect, such as rotating the link icon after the enlarged display, cycling the display between the original size display and the enlarged display, and the like. The reduced link icon may be grayed out to be distinguished from other link icons, which are colored, at the same time as the reduced display.
It should be noted that other methods for enhancing the display effect can be used alone, and not used together with the enlarged display, such as rotating the link icon after the enlarged display. The reduced link icon may be grayed out to be distinguished from other link icons, which are colored.
Referring to fig. 3, fig. 3 is another schematic flow chart of a split-screen display method according to an embodiment of the present application. The specific process of the split-screen display method provided by the embodiment of the application can also be as follows:
and 201, when a screen splitting instruction is received, dividing the display interface into a first sub-display interface and a second sub-display interface.
The split screen command is preset in advance. For example, when a key length of the electronic device is recognized, the screen splitting instruction is considered to be received, or when a certain specific gesture is recognized for the display interface, the screen splitting instruction is considered to be received. The key may be a menu key, a multitasking key, a return key, or the like, which is located on the same side as the display interface, or may be a sound key, a function key, or the like, located on the side of the electronic device. The particular gesture may be a two-finger swipe gesture, a three-finger swipe gesture, a middle region left-right swipe gesture, etc.
When a screen splitting instruction is received, dividing the display interface into a first sub-display interface and a second sub-display interface, wherein the sum of the areas of the first sub-display interface and the second sub-display interface is equal to the area of the display interface. The display interface is the whole display area of the display screen of the electronic equipment.
And 202, determining a currently running target application and displaying the target application on the first sub-display interface.
When an application runs in the foreground of the electronic equipment, a screen splitting instruction is received, and whether the application is the application supporting screen splitting or not is detected. And if the application is the application supporting split screen, controlling the display interface to enter a split screen display mode, and simultaneously determining that the application is the target application. And after the target application is determined, displaying the target application on the first sub-display interface.
And 203, selecting a plurality of preset applications supporting split screen display from a plurality of applications of the electronic equipment.
The electronic equipment is provided with a plurality of applications, the applications are screened, and a plurality of preset applications supporting split screen display are selected from the screened applications.
The system file of the application installed on the electronic equipment can be internally provided with a label for supporting split screen display, and during screening, whether the application supports split screen display can be judged only by acquiring the label.
If the application installed on the electronic equipment does not have a label for judging whether split screen display is supported, the application can be reported to the server, the server judges the application, if so, the server sends support information to the electronic equipment, and the electronic equipment receives the support information, corresponds the support information with the application and stores the support information. And if the information is not supported, sending unsupported information to the electronic equipment, receiving the unsupported information by the electronic equipment, and corresponding and storing the unsupported information and the application.
And 204, sequencing according to the use frequencies of the plurality of preset applications to obtain a first candidate ranking.
The method comprises the steps of firstly obtaining the use frequency of a plurality of preset applications, wherein the use frequency can be the use frequency in a non-split screen display mode, can also be the use frequency in a split screen display mode, and can also be the total use frequency, namely the sum of the use frequencies in the non-split screen display mode and the split screen display mode. And after the use frequencies of the plurality of preset applications are obtained, sequencing the plurality of preset applications according to the use frequencies to obtain a to-be-selected rank.
The rank to be selected can be sequentially ordered from large to small according to the use frequency, and can also be sequentially ordered from small to large according to the use frequency. If the use frequencies of two or more preset applications are the same, the preset applications can be sorted according to the alphabetical order of the names of the preset applications.
And 205, sorting according to the relevance of the plurality of preset applications and the target application to obtain a second candidate rank.
After the target application is determined, obtaining a plurality of association degrees of each preset application in the plurality of preset applications and the target application, namely obtaining the association degree of each preset application and the target application, thereby obtaining the plurality of association degrees of the plurality of preset applications. The association degree may be obtained through history information of the electronic device, for example, when the foreground application is the target application, the number of times of switching from the target application to a certain preset application directly is obtained, or the number of times of switching from the target application to the desktop and then from the desktop to the certain preset application is obtained, and then the association degree between the target application and the certain preset application is calculated according to the number of times of switching, where the greater the number of times of switching, the greater the association degree.
It should be noted that the number of times of switching includes not only the number of times of switching from the target application to a preset application, but also the number of times of switching from a preset application to a target application.
For example, when the foreground application is the target application, after the target application is switched to the background application, within a preset time (e.g., within 1 minute), the number of times of starting a certain preset application is obtained, or the number of times of switching the certain preset application in the background to the foreground application is obtained, and the association degree between the target application and the certain preset application is calculated according to the number of times of use, wherein the greater the number of times of use, the greater the association degree.
It should be noted that the application that switches from the foreground to the background may be a preset application, and the number of times of use may be the number of times of starting the target application, or the number of times of use of switching the target application from the background to the foreground.
And after the target application is determined, the names of the target application and the preset applications are sent to a server, and the server analyzes the target application according to the big data and then obtains the association degree of each preset application and the target application. When the server performs big data analysis, the big data analysis method not only includes the times of mutual switching between the target application and the plurality of preset applications and the times of use within preset time, but also includes current time, network environment, residual capacity and the like. The current time is the system time of the electronic device, and the network environment is the current network mode, including a WIFI network, a mobile communication network, and the like, and may also include the current network speed, the network quality, and the like.
And after obtaining a plurality of association degrees of the plurality of preset applications and the target application, sequencing according to the association degrees of the plurality of preset applications and the target application to obtain a second to-be-selected rank.
And 206, calculating the first candidate ranking and the second candidate ranking to obtain a preset ranking.
And after the first to-be-selected ranking and the second to-be-selected ranking are obtained, calculating the first to-be-selected ranking and the second to-be-selected ranking to obtain a final preset ranking. The calculation can assign a value to each rank of the first to-be-selected rank and the second to-be-selected rank, then add corresponding values of the preset application in the two to-be-selected ranks to obtain a final value, and then sort according to the final value to obtain the preset rank.
In addition, operations of different weights can be performed on the values of the first to-be-selected rank and the second to-be-selected rank, for example, the value of the first to-be-selected rank is multiplied by 0.8, the value of the second to-be-selected rank is multiplied by 1.2, then the values subjected to full-time operation are added to obtain a final value, and then the final value is sorted to obtain the preset rank.
And 207, acquiring the current display mode of the display interface, wherein the display mode comprises horizontal screen display and vertical screen display.
The current display mode of the display interface can be obtained through identification of modules such as a gyroscope and the like in the system.
And 208, if the display interface is displayed in a horizontal screen mode, arranging the link icons of the plurality of preset applications in the second sub-display interface from the edge of the display interface to the first display sub-interface according to the preset ranking.
And if the display interface is horizontal screen display, the second sub-display interface of the first sub-display interface box is horizontal screen display and is adjacent to the left and the right. At this time, according to the preset ranking, the link icons of the plurality of preset applications are arranged in the second sub-display interface from the edge of the display interface to the first sub-display interface. No matter the horizontal screen is left or right, the link icons of the preset applications are arranged from the edge of the display interface to the middle, the link icons with the front rank are close to the manipulator of the user, and the manipulator of the user can conveniently trigger the preset applications with the front rank.
In some embodiments, for example, referring to fig. 4, the link icons of the predetermined applications may be arranged in a vertical direction, and after one row is full, the link icons are arranged in a second row towards the middle, and the second row is also arranged from the top side. I.e. the preset rank is closer to the edge of the display interface at the front and closer to the middle at the back.
In some embodiments, the link icons of the plurality of predetermined applications may be arranged in the horizontal direction, and after one row is full, the second row is arranged, and the second row is also arranged from the edge. I.e. the preset rank is closer to the edge of the display interface at the front and closer to the middle at the back.
And 209, if the display interface is displayed by a vertical screen, acquiring the operator of the current user.
And if the display interface is displayed by a vertical screen, the second sub-display interface of the first sub-display interface box is also displayed by the vertical screen and is adjacent up and down. At this time, the operation hand of the current user, that is, which hand of the user the electronic apparatus is held by, is acquired.
And 210, if the manipulator of the user is the right hand, ranking the link icons of the preset applications in the second sub-display interface from the right hand side of the user to the left hand side of the user according to the preset ranking.
And if the operating hand of the user is the right hand, at the moment, according to the preset ranking, arranging the link icons of the plurality of preset applications in the second sub-display interface from the right hand side of the user to the left hand side of the user. No matter the screen is in a positive vertical screen or a reverse vertical screen, the link icons of the preset applications are arranged from the right hand side of the user to the left hand side of the user, the link icons which are arranged at the front side are close to the manipulator of the user, and the manipulator of the user can conveniently trigger the preset applications which are arranged at the front side.
In some embodiments, for example, referring to fig. 5, the link icons of the predetermined applications may be arranged in a vertical direction, and after one row is full, the link icons are arranged in a second row towards the other side, and the second row is also arranged from the top edge of the second sub-display interface. I.e. the preset rank is closer to the right hand of the user in the front and closer to the left hand in the back.
In some embodiments, the link icons of the plurality of preset applications may be arranged in the horizontal direction, and after one row is full, the second row is arranged, and the second row is also arranged from the right-hand side.
And 211, if the manipulator of the user is the left hand, ranking the link icons of the preset applications from the left hand side of the user to the right hand side of the user in the second sub-display interface according to the preset ranking.
And if the manipulator of the user is the left hand, at the moment, according to the preset ranking, arranging the link icons of the preset applications in the second sub-display interface from the left hand side of the user to the right hand side of the user. No matter the screen is in a positive vertical screen or a reverse vertical screen, the link icons of the preset applications are arranged from the left hand side of the user to the right hand side of the user, the link icons which are ranked at the front are close to the manipulator of the user, and the manipulator of the user can conveniently trigger the preset applications which are ranked at the front.
In some embodiments, the link icons of the plurality of predetermined applications may be arranged in a vertical direction, and after one column is full, the link icons are arranged in a second column towards the other side, and the second column is also arranged from the top edge of the second sub-display interface. I.e. the preset rank is closer to the left hand of the user in the front and closer to the right hand in the back.
In some embodiments, the link icons of the plurality of preset applications may be arranged in the horizontal direction, and after one row is full, the second row is arranged, and the second row is also arranged from the left-hand side.
As can be seen from the above, in the split-screen display method according to the embodiment of the present application, when a split-screen instruction is received, a display interface is divided into a first sub-display interface and a second sub-display interface; then determining a currently running target application, and displaying the target application on a first sub-display interface; selecting a plurality of preset applications supporting split-screen display from a plurality of applications of the electronic equipment; sequencing according to the use frequency of a plurality of preset applications to obtain a preset rank; and finally, displaying the link icons of the plurality of preset applications on a second sub-display interface according to the preset ranking. When a screen splitting instruction is received, determining a currently running target application and displaying the currently running target application on a first sub-display interface, then selecting a plurality of preset applications supporting screen splitting, then sequencing the plurality of preset applications, and finally displaying link icons of the plurality of preset applications on a second sub-display interface according to a sequencing result. The user can conveniently select the required preset application from the second sub-display interface quickly, the user does not need to quit the split screen mode to start the preset application, and then the user enters the split screen model again, so that the operation is simplified, the user can directly start the preset application from the second sub-display interface quickly, and the preset application is arranged according to the preset sequence, so that the user can conveniently select the application required by the user.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a split-screen display device according to an embodiment of the present application. The split-screen display apparatus 400 is applied to an electronic device, and the split-screen display apparatus 400 includes a split-screen module 410, a target application determining module 420, a selecting module 430, a sorting module 440, and a display module 450, as follows:
the screen splitting module 410 is configured to, when a screen splitting instruction is received, split the display interface into a first sub-display interface and a second sub-display interface;
the target application determining module 420 is configured to determine a currently running target application and display the target application on the first sub-display interface;
a selecting module 430, configured to select multiple preset applications that support split-screen display from multiple applications of the electronic device;
the sorting module 440 is configured to sort according to the use frequencies of the plurality of preset applications to obtain a preset rank;
the display module 450 is configured to display the link icons of the multiple preset applications on the second sub-display interface according to the preset ranking.
Referring to fig. 7, fig. 7 is another schematic structural diagram of a split-screen display device according to an embodiment of the present application. The sorting module 440 includes a first candidate ranking obtaining sub-module 441, a second candidate ranking obtaining sub-module 442, and a preset ranking obtaining sub-module 443.
The first candidate ranking obtaining sub-module 441 is configured to rank according to the use frequencies of the multiple preset applications, so as to obtain a first candidate ranking.
The second candidate rank obtaining sub-module 442 is configured to sort according to the association degrees of the multiple preset applications and the target application, so as to obtain a second candidate rank.
The preset ranking obtaining sub-module 443 is configured to calculate the first to-be-selected ranking and the second to-be-selected ranking to obtain the preset ranking.
In some embodiments, the display module includes a zoom-in display sub-module and a zoom-out display sub-module.
And the amplification display sub-module is used for amplifying and displaying the link icons of the plurality of preset applications ranked before the first preset name according to a preset proportion.
And the narrowing display sub-module is used for narrowing and displaying the link icons of the plurality of preset applications ranked after the second preset name according to the preset proportion.
In some embodiments, the display module includes a dividing sub-module, a first number obtaining sub-module, and a display sub-module.
The dividing submodule is used for dividing the second sub-display interface into a main display area and a secondary display area, and the secondary display area surrounds the main display area;
a first number obtaining submodule for obtaining a first number of display link icons accommodated in the main display area;
and the display sub-module is used for displaying the link icons of the preset applications in the first number in the preset ranking in the main display area and displaying the link icons of the preset applications in the second display area after the first number in the preset ranking.
In some embodiments, the display module includes a display mode acquisition sub-module and an arrangement sub-module.
The display mode acquisition submodule is used for acquiring the current display mode of the display interface, and the display mode comprises horizontal screen display and vertical screen display;
and the arrangement sub-module is used for arranging the link icons of the plurality of preset applications in the second sub-display interface from the edge of the display interface to the first display sub-interface according to the preset ranking if the display interface is displayed in a horizontal screen mode.
In some embodiments, the display module further comprises a manipulator acquisition module.
The manipulator acquisition module is used for acquiring the manipulator of the current user if the display interface is displayed by a vertical screen;
the arrangement sub-module is further used for arranging the link icons of the plurality of preset applications in the second sub-display interface from the right hand side of the user to the left hand side of the user according to the preset ranking if the manipulator of the user is the right hand;
the arrangement sub-module is further used for arranging the link icons of the plurality of preset applications from the left hand side of the user to the right hand side of the user in the second sub-display interface according to the preset ranking if the manipulator of the user is the left hand.
As can be seen from the above, in the split-screen display device according to the embodiment of the present application, first, when receiving a split-screen instruction, the split-screen module 410 divides the display interface into a first sub-display interface and a second sub-display interface; then the target application determining module 420 determines the currently running target application and displays the target application on the first sub-display interface; then, the selecting module 430 selects a plurality of preset applications supporting split-screen display from the plurality of applications of the electronic device; the reordering module 440 performs ordering according to the use frequencies of the plurality of preset applications to obtain a preset rank; finally, the display module 450 displays the link icons of the preset applications on the second sub-display interface according to the preset ranking. When a screen splitting instruction is received, determining a currently running target application and displaying the currently running target application on a first sub-display interface, then selecting a plurality of preset applications supporting screen splitting, then sequencing the plurality of preset applications, and finally displaying link icons of the plurality of preset applications on a second sub-display interface according to a sequencing result. The user can conveniently select the required preset application from the second sub-display interface quickly, the user does not need to quit the split screen mode to start the preset application, and then the user enters the split screen model again, so that the operation is simplified, the user can directly start the preset application from the second sub-display interface quickly, and the preset application is arranged according to the preset sequence, so that the user can conveniently select the application required by the user.
The embodiment of the application also provides the electronic equipment. Referring to fig. 8, an electronic device 500 includes a processor 501 and a memory 502. The processor 501 is electrically connected to the memory 502.
The processor 500 is a control center of the electronic device 500, and is connected to various parts of the whole electronic device through various interfaces and lines, and executes various functions of the electronic device 500 and processes data by running or loading a computer program stored in the memory 502 and calling data stored in the memory 502, thereby implementing automatic change of the material information of the electronic device.
The memory 502 may be used to store software programs and modules, and the processor 501 executes various functional applications and data processing by running the computer programs and modules stored in the memory 502. The memory 502 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, a computer program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to use of the electronic device, and the like. Further, the memory 502 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 502 may also include a memory controller to provide the processor 501 with access to the memory 502.
In this embodiment, the processor 501 in the electronic device 500 loads instructions corresponding to one or more processes of the computer program into the memory 502, and the processor 501 runs the computer program stored in the memory 502, so as to implement various functions as follows:
determining a currently running target application, and displaying the target application on the first sub-display interface;
selecting a plurality of preset applications supporting split-screen display from a plurality of applications of the electronic equipment;
sequencing according to the use frequency of the plurality of preset applications to obtain a preset rank;
and displaying the link icons of the plurality of preset applications on the second sub-display interface according to the preset ranking.
In some embodiments, when the predetermined ranking is obtained by sorting according to the usage frequency of the plurality of predetermined applications, the processor 501 may specifically execute the following steps:
sequencing according to the use frequency of the plurality of preset applications to obtain a first to-be-selected rank;
sequencing according to the relevance of the preset applications and the target application to obtain a second to-be-selected rank;
and calculating the first to-be-selected ranking and the second to-be-selected ranking to obtain a preset ranking.
In some embodiments, when the link icons of the plurality of preset applications are sequentially displayed on the second sub-display interface according to the preset ranking, the processor 501 may specifically perform the following steps:
amplifying and displaying link icons of a plurality of preset applications ranked before a first preset name according to a preset scale;
and displaying the link icons of the plurality of preset applications ranked after the second preset ranking in a second reduced mode according to the preset scale.
In some embodiments, when the link icons of the plurality of preset applications are displayed on the second sub-display interface according to the preset ranking, the processor 501 may specifically perform the following steps:
dividing the second sub-display interface into a main display area and a sub-display area, wherein the sub-display area surrounds the main display area;
acquiring a first number of display link icons accommodated in the main display area;
displaying the link icons of the preset applications in the first number in the preset ranking in a main display area, and displaying the link icons of the preset applications in the first number in the preset ranking in a secondary display area.
In some embodiments, when the link icons of the plurality of preset applications are displayed on the second sub-display interface according to the preset ranking, the processor 501 may specifically perform the following steps:
acquiring a current display mode of a display interface, wherein the display mode comprises horizontal screen display and vertical screen display;
and if the display interface is displayed in a cross screen mode, arranging the link icons of the plurality of preset applications in the second sub-display interface from the edge of the display interface to the first sub-display interface according to the preset ranking.
In some embodiments, after obtaining a current display mode of the display interface, where the display mode includes a horizontal screen display step and a vertical screen display step, the processor 501 may specifically perform the following steps:
if the display interface is displayed by a vertical screen, acquiring an operator of the current user;
if the manipulator of the user is the right hand, ranking the link icons of the plurality of preset applications from the right hand side of the user to the left hand side of the user in the second sub-display interface according to the preset ranking;
and if the manipulator of the user is the left hand, the link icons of the preset applications are ranked from the left hand side of the user to the right hand side of the user in the second sub-display interface according to the preset ranking.
As can be seen from the above, in the electronic device according to the embodiment of the application, when a screen splitting instruction is received, a display interface is divided into a first sub-display interface and a second sub-display interface; then determining a currently running target application, and displaying the target application on the first sub-display interface; selecting a plurality of preset applications supporting split-screen display from a plurality of applications of the electronic equipment; sequencing according to the use frequency of the plurality of preset applications to obtain a preset rank; and finally, displaying the link icons of the plurality of preset applications on the second sub-display interface according to the preset ranking. When a screen splitting instruction is received, determining a currently running target application and displaying the currently running target application on a first sub-display interface, then selecting a plurality of preset applications supporting screen splitting, then sequencing the plurality of preset applications, and finally displaying link icons of the plurality of preset applications on a second sub-display interface according to a sequencing result. The user can conveniently select the required preset application from the second sub-display interface quickly, the user does not need to quit the split screen mode to start the preset application, and then the user enters the split screen model again, so that the operation is simplified, the user can directly start the preset application from the second sub-display interface quickly, and the preset application is arranged according to the preset sequence, so that the user can conveniently select the application required by the user.
Referring to fig. 9, in some embodiments, the electronic device 500 may further include: a display 503, radio frequency circuitry 504, audio circuitry 505, and a power supply 506. The display 503, the rf circuit 504, the audio circuit 505, and the power source 506 are electrically connected to the processor 501.
The display 503 may be used to display information entered by or provided to the user as well as various graphical user interfaces, which may be made up of graphics, text, icons, video, and any combination thereof. The Display 503 may include a Display panel, and in some embodiments, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The rf circuit 504 may be used for transceiving rf signals to establish wireless communication with a network device or other electronic devices via wireless communication, and for transceiving signals with the network device or other electronic devices.
The audio circuit 505 may be used to provide an audio interface between a user and an electronic device through a speaker, microphone.
The power source 506 may be used to power various components of the electronic device 500. In some embodiments, power supply 506 may be logically coupled to processor 501 through a power management system, such that functions of managing charging, discharging, and power consumption are performed through the power management system.
Although not shown in fig. 9, the electronic device 500 may further include a camera, a bluetooth module, and the like, which are not described in detail herein.
An embodiment of the present application further provides a storage medium, where the storage medium stores a computer program, and when the computer program runs on a computer, the computer is caused to execute the split-screen display method in any one of the above embodiments, for example: when a screen splitting instruction is received, dividing a display interface into a first sub-display interface and a second sub-display interface; determining a currently running target application, and displaying the target application on the first sub-display interface; selecting a plurality of preset applications supporting split-screen display from a plurality of applications of the electronic equipment; sequencing according to the use frequency of the plurality of preset applications to obtain a preset rank; and displaying the link icons of the plurality of preset applications on the second sub-display interface according to the preset ranking.
In the embodiment of the present application, the storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
It should be noted that, for the split-screen display method of the embodiment of the present application, it can be understood by a person skilled in the art that all or part of the process of implementing the split-screen display method of the embodiment of the present application can be completed by controlling the relevant hardware through a computer program, where the computer program can be stored in a computer readable storage medium, such as a memory of an electronic device, and executed by at least one processor in the electronic device, and during the execution process, the process of implementing the embodiment of the split-screen display method can be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory, a random access memory, etc.
For the split-screen display device in the embodiment of the present application, each functional module may be integrated in one processing chip, or each module may exist alone physically, or two or more modules are integrated in one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium, such as a read-only memory, a magnetic or optical disk, or the like.
The foregoing describes in detail a split-screen display method, a split-screen display device, a storage medium, and an electronic device provided in the embodiments of the present application, and a specific example is applied in the present application to explain the principles and embodiments of the present application, and the description of the foregoing embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.