CN111399746A - Split screen display method and device, mobile terminal and computer readable storage medium - Google Patents
Split screen display method and device, mobile terminal and computer readable storage medium Download PDFInfo
- Publication number
- CN111399746A CN111399746A CN202010303220.7A CN202010303220A CN111399746A CN 111399746 A CN111399746 A CN 111399746A CN 202010303220 A CN202010303220 A CN 202010303220A CN 111399746 A CN111399746 A CN 111399746A
- Authority
- CN
- China
- Prior art keywords
- application
- recently
- mobile terminal
- split
- screen
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/302—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3065—Monitoring arrangements determined by the means or processing involved in reporting the monitored data
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2201/00—Indexing scheme relating to error detection, to error correction, and to monitoring
- G06F2201/865—Monitoring of software
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/048—Indexing scheme relating to G06F3/048
- G06F2203/04803—Split screen, i.e. subdividing the display area or the window area into separate subareas
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Quality & Reliability (AREA)
- Human Computer Interaction (AREA)
- Mathematical Physics (AREA)
- Telephone Function (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application is applicable to the technical field of terminals and provides a split-screen display method, a split-screen display device, a mobile terminal and a computer readable storage medium, wherein the split-screen display method comprises the following steps: if the pressing event reported by the pressure sensor is detected, acquiring the record data of the application used by the mobile terminal recently, wherein the application used recently refers to: the method comprises the steps that a time point when a pressing event is detected is used as a starting point, the duration of the application is a time period of a first preset duration, and recorded data comprise the time point when the application is used last time; determining the size of a window occupied by the recently-used application according to the recorded data of the recently-used application; and displaying the recently used application in a split screen mode according to the size of the window. By the method, the efficiency of split-screen display can be improved.
Description
Technical Field
The application belongs to the technical field of terminals, and particularly relates to a split-screen display method and device, a mobile terminal and a computer readable storage medium.
Background
At present, the mobile terminal becomes an essential article in life of people, and the screen is made larger. In order to fully exert the application value of a large screen, the mobile terminal can divide the screen into a plurality of window display areas, so that a user can conveniently and rapidly switch and operate among different applications.
The existing screen splitting technology is as follows: a user needs to start a screen splitting function in the setting or start the screen splitting function through gestures, then selects an application needing screen splitting display, and finally drags the selected application to a screen area to perform screen splitting display. The screen splitting time is too long due to the fact that the existing screen splitting technology needs more steps.
Therefore, it is necessary to provide a new method to solve the above technical problems.
Disclosure of Invention
The embodiment of the application provides a split-screen display method and device, a mobile terminal and a computer readable storage medium, which can solve the problems in the prior art.
In a first aspect, an embodiment of the present application provides a split-screen display method, where the split-screen display method is applied to a mobile terminal, and a pressure sensor is disposed on a side of the mobile terminal, and the split-screen display method includes:
if the pressing event reported by the pressure sensor is detected, acquiring the record data of the application used by the mobile terminal recently, wherein the application used recently refers to: the method comprises the steps that a time point when a pressing event is detected is used as a starting point, the duration of the application is a time period of a first preset duration, and recorded data comprise the time point when the application is used last time;
determining the size of a window occupied by the recently-used application according to the recorded data of the recently-used application;
and displaying the recently used application in a split screen mode according to the size of the window.
Compared with the prior art, the embodiment of the application has the advantages that: the mobile terminal can determine the application which is used recently by the mobile terminal according to the reported pressing event and display the determined application which is used recently in a split screen mode only by pressing the side edge of the mobile terminal by a user, so that the user does not need to send out operation of application selection, and the split screen display efficiency is improved. And, since the recently used applications refer to: the application used in the time period with the duration being the first preset duration is used as the starting point, and the probability that the recently used application is the application which the user wants to display in a split screen mode is higher, so that good experience of the user can be better improved by performing split screen display on the recently used application. In addition, the window size occupied by the recently-used application is determined according to the recorded data of the recently-used application, and the recorded data comprises the time point when the application finishes using for the last time, so that the determined window size is related to the time point when the application finishes using for the last time, the determined window size is more fit with a scene during split screen, and good experience of a user is greatly improved.
In a second aspect, an embodiment of the present application provides a split-screen display device, where the split-screen display device is applied to a mobile terminal, and the split-screen display device includes:
a record data obtaining unit, configured to obtain record data of an application that is used by the mobile terminal recently if a pressing event reported by the pressure sensor is detected, where the application that is used recently is: the method comprises the steps that a time point when a pressing event is detected is used as a starting point, the duration of the application is a time period of a first preset duration, and recorded data comprise the time point when the application is used last time;
a window size determining unit configured to determine a window size occupied by the most-recently-used application according to recording data of the most-recently-used application;
and the split screen display unit is used for displaying the recently used application in a split screen mode according to the size of the window.
In a third aspect, an embodiment of the present application provides a mobile terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the method according to the first aspect when executing the computer program.
In a fourth aspect, the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a computer program product, which, when run on a mobile terminal, causes the mobile terminal to execute the method according to the first aspect.
It is understood that the beneficial effects of the second aspect to the fifth aspect can be referred to the related description of the first aspect, and are not described herein again.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the embodiments or the description of the prior art will be briefly described below.
Fig. 1 is a schematic flowchart of a first split-screen display method according to an embodiment of the present application;
fig. 2 is a schematic side view of a mobile terminal according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of a second split-screen display method provided in the second embodiment of the present application;
FIG. 4 is a schematic diagram of a location point of an operation application provided in the second embodiment of the present application;
FIG. 5 is a diagram of a split-screen display application incorporating a window position provided in accordance with an embodiment of the present application;
fig. 6 is a block diagram of a split-screen display device according to a third embodiment of the present application;
fig. 7 is a schematic structural diagram of a mobile terminal according to a fourth embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
The first embodiment is as follows:
currently, when a user wants to use a split screen technology on a mobile terminal, the split screen technology needs multiple steps to be implemented, so that the split screen time is too long, and the efficiency is low. In order to solve the technical problem, an embodiment of the present application provides a split-screen display method, where a pressure sensor is arranged on a side of a mobile terminal, and after a pressing event reported by the pressure sensor is detected, an application recently used by the mobile terminal is directly used as an application for split-screen display, so that a user does not need to select an application requiring split-screen display, thereby reducing a step of selecting an application, and greatly improving the split-screen efficiency. In addition, the size of the window occupied by the recently used application in the screen can be flexibly adjusted according to the recorded data of the recently used application, so that the determined window size is more fit with the scene during split screen, and the good experience of a user is greatly improved.
Fig. 1 shows a flowchart of a first split-screen display method provided in an embodiment of the present application, in this embodiment, the split-screen display method is applied to a mobile terminal, a side of the mobile terminal is provided with a pressure sensor, where a side 2 of the mobile terminal is as shown in fig. 2, the mobile terminal includes 4 sides 2, and in the mobile terminal of this embodiment, at least one side 2 is provided with a pressure sensor.
Step S11, if the pressing event reported by the pressure sensor is detected, acquiring recorded data of an application used by the mobile terminal recently, where the application used recently is: the method comprises the steps that a time point when a pressing event is detected is used as a starting point, the duration of the application is a time period of a first preset duration, and recorded data comprise the time point when the application is used last time;
specifically, when a user presses the side of the mobile terminal provided with the pressure sensor, the pressure sensor detects a pressure value, the pressure sensor determines whether the pressure value is greater than a preset threshold, for example, whether the pressure value is greater than 200 pa, if the pressure value is greater than the preset threshold, the press event is reported to a system framework layer service (InputManagerService), and a system window service (WindowManagerService) monitors the press event from the InputManagerService. Thereafter, the WindowManagerService acquires the log data of the most recently used application of the ActivityManagerService again. For example, assume that the time point when a compression event is heard is 20: 15:01, if the first preset time is 15 minutes, the mobile terminal is switched between 20: 00:01 to 20: 15:01 as the most recently used application of the mobile terminal. Assume that at 20: 00:01 to 20: between 15:01, the application A is started for 2 times, and the starting time is 20: 00: 01-20: 05:01, and 20: 08: 01-20: 10:01, the time point when the application A finishes using for the last time is 20: 10:01.
In some embodiments, since the mobile terminal may automatically start some applications in the background, the applications that are automatically started in the background are not applications that the user himself wishes to start, that is, applications that the user wishes to display in a split screen manner, in this embodiment, the applications that the user has recently started are used as the applications that the mobile terminal has recently used.
In some embodiments, since the mobile terminal may be pressed by another article by mistake, at this time, the user does not want the mobile terminal to perform the screen splitting operation, in order to reduce the probability of the screen splitting operation being started by mistake, a temperature sensor is further disposed on the same side of the mobile terminal where the pressure sensor is disposed, at this time, step S11 is specifically performed, if the temperature reported by the temperature sensor is detected, and the temperature is within the normal body temperature range of the human body, and if the pressing event reported by the pressure sensor is detected, the recorded data of the application that is used by the mobile terminal recently is obtained.
Step S12, determining the window size occupied by the most recently used application according to the recorded data of the most recently used application;
specifically, the window size occupied by the application may be determined according to how far the time point at which the application has last ended use is from the time point at which the press event is detected, for example, the closer the time point at which the press event is detected, the larger the corresponding window size. The window size here refers to the size of a screen occupied when the screen of the mobile terminal performs a split screen operation.
In some embodiments, if only 1 application has been recently used, the user is prompted to select other applications for the split screen display. In this embodiment, in order to increase the speed of selecting another application for the split-screen display by the user, the other application may be estimated in the following manner: and counting applications which are started by a user at a high frequency within a period of time (such as one day), and taking the applications which are started at the high frequency as other applications which can be used by the user for split-screen display. After estimating other applications that the user may use for the split screen display, the estimated applications are displayed for user selection.
And step S13, displaying the recently used application in a split screen mode according to the size of the window.
Specifically, the screen of the mobile terminal is split-screen displayed according to the determined window size, for example, assuming that the recently used applications include application a, application B and application C, the window size corresponding to application a is half of the screen, and the window sizes corresponding to application B and application C are respectively one fourth of the screen, then application a is displayed by using one half of the screen, application B is displayed by using one fourth of the screen, and application C is displayed by using one fourth of the screen.
In the embodiment of the application, if the pressing event reported by the pressure sensor is detected, the recording data of the application used by the mobile terminal recently are obtained, the window size occupied by the application used recently is determined according to the recording data of the application used recently, and the application used recently is displayed in a split screen mode according to the window size. The mobile terminal can determine the application which is used recently by the mobile terminal according to the reported pressing event and display the determined application which is used recently in a split screen mode only by pressing the side edge of the mobile terminal by a user, so that the user does not need to send out operation of application selection, and the split screen display efficiency is improved. And, since the recently used applications refer to: the application used in the time period with the duration being the first preset duration is used as the starting point, and the probability that the recently used application is the application which the user wants to display in a split screen mode is higher, so that good experience of the user can be better improved by performing split screen display on the recently used application. In addition, the window size occupied by the recently-used application is determined according to the recorded data of the recently-used application, and the recorded data comprises the time point when the application finishes using for the last time, so that the determined window size is related to the time point when the application finishes using for the last time, the determined window size is more fit with a scene during split screen, and good experience of a user is greatly improved.
In some embodiments, in the most recently used applications, the window size of the application corresponding to the time point closest to the time point of the pressing event is set to be the maximum, and the window sizes of the remaining applications are the average value of the screen excluding the set window size, in this case, the step S12 includes:
a1, determining the closest time point to the time point of the detected pressing event in the recorded data of the recently used application;
in particular, since the logging data includes a time point at which the application last ended usage, a time point closest to a time point of the pressing event may be searched for from among the time points at which the application last ended usage. For example, assume that the point in time when a compression event is detected is 20: 10:01, and the time point when the application A is used for finishing the last time is 20: 00:01, application B last end use time point is 20: 01, the closest time point to the time point at which the pressing time is detected is 20: 05:01.
And A2, setting the size of the window occupied by the determined latest application corresponding to the time point as a preset proportion of the screen, wherein the size of the window occupied by the remaining latest application is the size of the screen after the remaining part of the screen is divided averagely, and the preset proportion of the screen is larger than the size of the screen after the remaining part of the screen is divided averagely.
The preset ratio is related to the number of the most recently used applications, for example, if the number of the most recently used applications is 2, the preset ratio is greater than one half in order to ensure that the preset ratio of the screen is greater than the size of the remaining part of the screen after the remaining part of the screen is divided evenly; for example, if the number of the most recently used applications is 3, the preset ratio may be equal to one half, for example, assuming that an application corresponding to a time point closest to a time point at which the press event is detected is application a, the window size occupied by application a is set to one half of the screen, and the window sizes occupied by application B and application C are respectively set to one quarter of the screen.
In this embodiment, the window size of the application corresponding to the time point closest to the time point of the pressing event is set to be the largest, and the application corresponding to the time point closest to the time point of the pressing event is generally the application that the user still wants to continue to start.
In some embodiments, determining the size of the window occupied by the application through multiple dimensions, i.e. setting the log data of the most recently used application, further comprises: applying the last usage duration and/or the application type, in this case, the step S12 includes:
b1, calculating a key value of the corresponding application according to the latest ending use time point of the latest application, the latest use duration of the application and/or the application type;
specifically, a time weight is set for a time point at which the last end of use is applied, a time length weight is set for a time length at which the last end of use is applied, and a type weight is set for an application type, respectively. Whether the time weight, the duration weight, or the type weight is used, the corresponding value intervals are the same, for example, the value intervals are all set to [0,1 ]. The closer the time point of application last finishing use is to the time point of detecting the pressing event, the larger the corresponding time weight is; similarly, the longer the last use duration of the application is, the larger the corresponding duration weight is; when the application type is the designated type, the corresponding type weight is larger.
In this embodiment, the applied key value is equal to the sum of the time weight, the duration weight, and/or the type weight.
B2, normalizing the calculated key value, and then determining the size of the window occupied by each recently used application according to the normalization result.
For example, assuming that the key value of application a is 2, the key value of application B is 1.5, and the key value of application C is 3, after normalization, the result of normalization corresponding to application a is: 0.31, the result of applying normalization corresponding to B is: 0.23, the result of applying normalization corresponding to C is: 0.46. the size of the window occupied by the application a is the size corresponding to the screen size 0.31; the size of the window occupied by the application B is the size corresponding to the screen size 0.23; the window size occupied by application C is the size corresponding to screen size 0.46.
Example two:
fig. 3 is a flowchart illustrating a second split-screen display method provided in an embodiment of the present application, and in this embodiment, a usage habit that a user holds a mobile terminal with a single hand is combined to split-screen display a recently used application, where step S31 and step S32 in this embodiment are the same as step S11 and step S12 in the first embodiment, and are not repeated here:
step S31, if the pressing event reported by the pressure sensor is detected, acquiring recorded data of an application used by the mobile terminal recently, where the application used recently is: the method comprises the steps that a time point when a pressing event is detected is used as a starting point, the duration of the application is a time period of a first preset duration, and recorded data comprise the time point when the application is used last time;
step S32, determining the window size occupied by the most recently used application according to the recorded data of the most recently used application;
step S33, determining the use habit of the user holding the mobile terminal with one hand;
specifically, a position point of the application operated by the user in a preset time period is obtained, if the position point deviates from the left side of the mobile terminal (namely, the direction from the middle of the screen of the mobile terminal to the left side), the use habit of the user is judged to be left-handed holding, and if the position point deviates from the right side of the mobile terminal, the use habit of the user is judged to be right-handed holding. If the position point of the operation application is as shown in fig. 4, it is determined that the usage habit of the user is left-handed holding.
Step S34, determining the window position occupied by the application used recently according to the use habit;
specifically, the windows are arranged with the greatest preference at positions corresponding to usage habits. The rest of the screen will be used to display other windows.
Step S35 displays the most recently used application in a split screen according to the window size and the window position.
For example, if the window size of the application a is half of the screen, the window sizes of the application B and the application C are respectively one fourth of the screen, and the usage habit of the user is to hold the mobile terminal left and right, the application a is displayed on the left side of the screen, and the application B and the application C are displayed on the right side of the screen, which can be referred to fig. 5 specifically.
In the embodiment, due to the fact that the using habit of the user is combined during split-screen display, the position of the application displayed in the split-screen mode is more convenient for the user to operate, and operation convenience is improved.
In some embodiments, since the number of applications recently used by the user in a period of time may be large, and the screen of the mobile terminal may not be large, if the number of applications displayed in a split screen is too large, it may be difficult for the user to accurately perform operations on the displayed applications. In order to ensure that a user can accurately operate an application displayed in a split screen mode, before the acquiring recorded data of an application recently used by the mobile terminal, the method includes:
c1, determining the screen size of the mobile terminal, and determining the application number according to the screen size;
the screen sizes corresponding to the mobile terminals of different models are fixed, so that the screen size corresponding to the mobile terminal can be determined according to the model of the mobile terminal, and the corresponding application number can be determined according to the corresponding relation between the screen size and the application number.
And C2, determining the number of the applications used by the mobile terminal most recently, and if the number of the applications used by the mobile terminal most recently is larger than the application number, selecting the applications with the number equal to the application number from the applications used by the mobile terminal most recently as the final applications used by the mobile terminal most recently.
Specifically, the number of applications recently used by the mobile terminal is searched in a time period with the time point of detecting the press event as a starting point and the time length as a first preset time length, and if the number of the applications recently used by the mobile terminal is greater than the determined number of the applications, only the applications with the same number as the applications are reserved as the applications recently used by the mobile terminal. Specifically, the differences between the time point when the application is used last time and the time point when the pressing event is detected are respectively calculated, the differences are sorted from small to large, and the applications with the number of the applications sorted in the front as the number of the applications are selected as the final applications used by the mobile terminal most recently.
In some embodiments, since the user may mistakenly press the side of the mobile terminal during the process of starting the specific application, and the user does not wish to perform the operation of the split screen display, in order to reduce the operation of mistakenly starting the split screen display, the step S31 (or step S11) includes:
d1, if the pressing event reported by the pressure sensor is detected, detecting whether the specified application is started in the foreground;
the designated application may be a game-like application.
D2, if the specified application is started in the foreground, determining the number of times that the pressing event is reported in a second preset time length;
wherein the second preset time period is set to be short, for example, the second preset time period may be set to be 30 seconds, or 1 minute, etc.
And D3, if the number of times that the pressing event is reported in a second preset time period is greater than or equal to a preset number threshold, acquiring the record data of the application used by the mobile terminal most recently, wherein the preset number threshold is greater than or equal to 2.
D4, if the reported times of the pressing events are less than a preset time threshold, continuing to display the designated application in a full screen mode.
In this embodiment, if a reported press event is detected, it is detected whether a foreground is running a specified application, if so, it is waited for a second preset duration, and it is determined whether the number of times that the press event is reported within the second preset duration is greater than or equal to a preset number threshold, if so, record data of a recently used application is obtained, otherwise, the specified application is continuously displayed in a full screen. Since the user usually does not want to be disturbed, that is, does not want to perform the operation of the split-screen display, during the process of using the specific application, for example, using the game-type application, at this time, by increasing the threshold of the split-screen display, the probability of erroneously triggering the split-screen display action can be reduced.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Example three:
fig. 6 shows a block diagram of a split-screen display device provided in an embodiment of the present application, which is applied to a mobile terminal, corresponding to the split-screen display method described in the foregoing embodiment.
Referring to fig. 6, the split-screen display device 6 includes: a recording data acquisition unit 61, a window size determination unit 62, and a split screen display unit 63. Wherein:
a record data obtaining unit 61, configured to obtain record data of an application that is used by the mobile terminal recently if a pressing event reported by the pressure sensor is detected, where the application that is used recently is: the method comprises the steps that a time point when a pressing event is detected is used as a starting point, the duration of the application is a time period of a first preset duration, and recorded data comprise the time point when the application is used last time;
a window size determining unit 62 configured to determine a window size occupied by the most-recently-used application according to the recording data of the most-recently-used application;
and a split-screen display unit 63, configured to split-screen display the recently used application according to the size of the window.
In the embodiment of the application, the mobile terminal can determine the application recently used by the mobile terminal according to the reported pressing event only by pressing the side edge of the mobile terminal by the user and display the determined application recently used in a split screen mode, so that the user does not need to send out operation of application selection, and the split screen display efficiency is improved. And, since the recently used applications refer to: the application used in the time period with the duration being the first preset duration is used as the starting point, and the probability that the recently used application is the application which the user wants to display in a split screen mode is higher, so that good experience of the user can be better improved by performing split screen display on the recently used application. In addition, the window size occupied by the recently-used application is determined according to the recorded data of the recently-used application, and the recorded data comprises the time point when the application finishes using for the last time, so that the determined window size is related to the time point when the application finishes using for the last time, the determined window size is more fit with a scene during split screen, and good experience of a user is greatly improved.
In some embodiments, the window size determining unit 62 includes:
a time point determination module for determining a time point closest to a time point at which a pressing event is detected in the recorded data of the most recently used application;
the first window size setting module is configured to set a size of a window occupied by the most recently used application corresponding to the determined time point as a preset ratio of a screen, and the size of the window occupied by the remaining most recently used application is a size obtained by averagely dividing the remaining part of the screen, where the preset ratio of the screen is greater than the size obtained by averagely dividing the remaining part of the screen.
In some embodiments, determining the size of the window occupied by the application through multiple dimensions, i.e. setting the log data of the most recently used application, further comprises: the last usage duration and/or application type of the application, in this case, the window size determining unit 62 includes:
the key value calculation module is used for calculating the key value of the corresponding application according to the time point when the recently-used application finishes using the last time, the use duration of the application at the last time and/or the application type;
specifically, a time weight is set for a time point at which the last end of use is applied, a time length weight is set for a time length at which the last end of use is applied, and a type weight is set for an application type, respectively. The value intervals corresponding to the time weight, the duration weight and the type weight are the same. The closer the time point of application last finishing use is to the time point of detecting the pressing event, the larger the corresponding time weight is; similarly, the longer the last use duration of the application is, the larger the corresponding duration weight is; when the application type is the designated type, the corresponding type weight is larger.
In this embodiment, the applied key value is equal to the sum of the time weight, the duration weight, and/or the type weight.
And the second window size setting module is used for determining the size of the window occupied by each recently used application according to the normalization result after normalizing the calculated key value.
In some embodiments, the split-screen display device 6 further includes:
the using habit determining unit is used for determining the using habit of the user holding the mobile terminal by one hand;
a window position determining unit for determining a window position occupied by the most recently used application according to the usage habit;
correspondingly, the split-screen display unit 63 is specifically configured to:
and displaying the recently used application in a split screen mode according to the size of the window and the position of the window.
In some embodiments, since the number of applications recently used by the user in a period of time may be large, and the screen of the mobile terminal may not be large, if the number of applications displayed in a split screen is too large, it may be difficult for the user to accurately perform operations on the displayed applications. In order to ensure that the user can accurately operate the application of the split-screen display, the split-screen display device 6 further comprises:
the application quantity determining unit is used for determining the screen size of the mobile terminal and determining the application quantity according to the screen size;
and if the number of the applications used by the mobile terminal is larger than the application number, selecting the applications with the number equal to the application number from the applications used by the mobile terminal as the final applications used by the mobile terminal.
In some embodiments, the recording data obtaining unit 61 includes:
a module for detecting whether the designated application is started or not, which is used for detecting whether the designated application is started in the foreground or not if the pressing event reported by the pressure sensor is detected;
a number of times that the press event is reported determining module, configured to determine, if the specified application is started in a foreground, the number of times that the press event is reported within a second preset duration;
and the record data acquisition module is used for acquiring the record data of the application recently used by the mobile terminal if the reported times of the pressing event in a second preset time length are greater than or equal to a preset time threshold, wherein the preset time threshold is greater than or equal to 2.
In some embodiments, the split-screen display device 5 further includes:
and the full screen display unit is used for continuing to display the designated application in a full screen mode if the reported times of the pressing event are less than a preset time threshold.
It should be noted that, for the information interaction, execution process, and other contents between the above-mentioned devices/units, the specific functions and technical effects thereof are based on the same concept as those of the embodiment of the method of the present application, and specific reference may be made to the part of the embodiment of the method, which is not described herein again.
Example four:
fig. 7 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application. As shown in fig. 7, the mobile terminal 7 of this embodiment includes: at least one processor 70 (only one processor is shown in fig. 7), a memory 71, and a computer program 72 stored in the memory 71 and executable on the at least one processor 70, the steps of any of the various method embodiments described above being implemented when the computer program 72 is executed by the processor 70;
if the pressing event reported by the pressure sensor is detected, acquiring the record data of the application used by the mobile terminal recently, wherein the application used recently refers to: the method comprises the steps that a time point when a pressing event is detected is used as a starting point, the duration of the application is a time period of a first preset duration, and recorded data comprise the time point when the application is used last time;
determining the size of a window occupied by the recently-used application according to the recorded data of the recently-used application;
and displaying the recently used application in a split screen mode according to the size of the window.
The mobile terminal 7 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The mobile terminal may include, but is not limited to, a processor 70, a memory 71. Those skilled in the art will appreciate that fig. 7 is only an example of the mobile terminal 7, and does not constitute a limitation of the mobile terminal 7, and may include more or less components than those shown, or combine some of the components, or different components, such as an input-output device, a network access device, etc.
The Processor 70 may be a Central Processing Unit (CPU), and the Processor 70 may be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 71 may in some embodiments be an internal storage unit of the mobile terminal 7, such as a hard disk or a memory of the mobile terminal 7, the memory 71 may in other embodiments also be an external storage device of the mobile terminal 7, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like provided on the mobile terminal 7 further, the memory 71 may also comprise both an internal storage unit and an external storage device of the mobile terminal 7, the memory 71 is used for storing an operating system, applications, a Boot loader (Boot L loader), data and other programs, such as program code of the computer program or the like, the memory 71 may also be used for temporarily storing data that has been or will be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
An embodiment of the present application further provides a network device, where the network device includes: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, the processor implementing the steps of any of the various method embodiments described above when executing the computer program.
The embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps in the above-mentioned method embodiments.
The embodiments of the present application provide a computer program product, which when running on a mobile terminal, enables the mobile terminal to implement the steps in the above method embodiments when executed.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium and can implement the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to a photographing device/mobile terminal, a recording medium, computer Memory, Read-Only Memory (ROM), random-access Memory (RAM), electrical carrier wave signals, telecommunications signals, and software distribution medium. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc. In certain jurisdictions, computer-readable media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and patent practice.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/network device and method may be implemented in other ways. For example, the above-described apparatus/network device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.
Claims (10)
1. A split screen display method is applied to a mobile terminal, a pressure sensor is arranged on the side of the mobile terminal, and the split screen display method comprises the following steps:
if the pressing event reported by the pressure sensor is detected, acquiring the record data of the application used by the mobile terminal recently, wherein the application used recently refers to: the method comprises the steps that a time point when a pressing event is detected is used as a starting point, the duration of the application is a time period of a first preset duration, and recorded data comprise the time point when the application is used last time;
determining the size of a window occupied by the recently-used application according to the recorded data of the recently-used application;
and displaying the recently used application in a split screen mode according to the size of the window.
2. The split-screen display method of claim 1, wherein before the obtaining of the recorded data of the application recently used by the mobile terminal, comprising:
determining the screen size of the mobile terminal, and determining the application number according to the screen size;
and determining the number of the applications used by the mobile terminal most recently, and if the number of the applications used by the mobile terminal most recently is larger than the application number, selecting the applications with the number equal to the application number from the applications used by the mobile terminal most recently as the final applications used by the mobile terminal most recently.
3. The screen-splitting display method of claim 1, wherein the acquiring the record data of the application recently used by the mobile terminal if the pressing event reported by the pressure sensor is detected comprises:
if the pressing event reported by the pressure sensor is detected, detecting whether the specified application is started in a foreground;
if the designated application is started in the foreground, determining the number of times that the pressing event is reported in a second preset time length;
and if the reported times of the pressing event in a second preset time length are greater than or equal to a preset time threshold, acquiring the record data of the application recently used by the mobile terminal, wherein the preset time threshold is greater than or equal to 2.
4. The split-screen display method of claim 3, further comprising:
and if the reported times of the pressing event are less than a preset time threshold, continuing to display the designated application in a full screen mode.
5. The split-screen display method as claimed in claim 1, wherein the determining the window size occupied by the most recently used application based on the log data of the most recently used application comprises:
determining a point in time in the logged data of the most recently used application that is closest to the point in time at which the compression event was detected;
setting the size of a window occupied by the latest application corresponding to the determined time point as a preset proportion of a screen, wherein the size of the window occupied by the rest of the latest application is the size of the rest of the screen after average division, and the preset proportion of the screen is larger than the size of the rest of the screen after average division.
6. The split-screen display method as claimed in any one of claims 1 to 5, wherein the recording data of the most recently used application further comprises: the method for determining the window size occupied by the most recently used application according to the record data of the most recently used application includes:
calculating a key value of the corresponding application according to the time point when the recently-used application finishes using the last time, the use duration of the application at the last time and/or the application type;
and after normalizing the calculated key value, determining the size of a window occupied by each recently used application according to a normalization result.
7. The split-screen display method as claimed in any one of claims 1 to 5, further comprising, before said split-screen displaying the most recently used application according to the window size:
determining the use habit of a user holding the mobile terminal with one hand;
determining a window position occupied by the recently used application according to the use habit;
correspondingly, the displaying the recently used application in a split screen manner according to the size of the window specifically includes:
and displaying the recently used application in a split screen mode according to the size of the window and the position of the window.
8. The split-screen display device is applied to a mobile terminal and comprises:
a record data obtaining unit, configured to obtain record data of an application that is used by the mobile terminal recently if a pressing event reported by the pressure sensor is detected, where the application that is used recently is: the method comprises the steps that a time point when a pressing event is detected is used as a starting point, the duration of the application is a time period of a first preset duration, and recorded data comprise the time point when the application is used last time;
a window size determining unit configured to determine a window size occupied by the most-recently-used application according to recording data of the most-recently-used application;
and the split screen display unit is used for displaying the recently used application in a split screen mode according to the size of the window.
9. A mobile terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010303220.7A CN111399746B (en) | 2020-04-17 | 2020-04-17 | Split screen display method and device, mobile terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010303220.7A CN111399746B (en) | 2020-04-17 | 2020-04-17 | Split screen display method and device, mobile terminal and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111399746A true CN111399746A (en) | 2020-07-10 |
CN111399746B CN111399746B (en) | 2021-09-24 |
Family
ID=71433245
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010303220.7A Active CN111399746B (en) | 2020-04-17 | 2020-04-17 | Split screen display method and device, mobile terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111399746B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116540918A (en) * | 2023-06-30 | 2023-08-04 | 深圳市欧度利方科技有限公司 | Panel computer split screen control system and method |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103425453A (en) * | 2013-08-23 | 2013-12-04 | 广东欧珀移动通信有限公司 | Split screen display method and device |
CN104423703A (en) * | 2013-08-29 | 2015-03-18 | 三星电子株式会社 | Electronic device and method for displaying application information |
CN105389111A (en) * | 2015-10-28 | 2016-03-09 | 维沃移动通信有限公司 | Operation method for split-screen display and electronic device |
CN105867815A (en) * | 2016-03-28 | 2016-08-17 | 乐视控股(北京)有限公司 | Split screen display method and device |
US20170123956A1 (en) * | 2015-10-30 | 2017-05-04 | Ca, Inc. | Display window contextual visualization for application performance monitoring |
CN107256129A (en) * | 2017-07-20 | 2017-10-17 | 广东欧珀移动通信有限公司 | Switch method, device and its relevant device of application under span mode |
CN107329882A (en) * | 2017-06-12 | 2017-11-07 | 腾讯科技(深圳)有限公司 | Obtain method and apparatus, storage medium and the electronic installation of online data |
CN107491278A (en) * | 2017-08-04 | 2017-12-19 | 维沃移动通信有限公司 | A kind of split screen processing method and terminal |
CN108958633A (en) * | 2018-07-11 | 2018-12-07 | Oppo广东移动通信有限公司 | Multi-screen display method, device, storage medium and electronic equipment |
US20190073103A1 (en) * | 2012-10-10 | 2019-03-07 | Microsoft Technology Licensing, Llc | Unified communications application functionality in condensed views |
CN109683837A (en) * | 2018-12-17 | 2019-04-26 | 北京小米移动软件有限公司 | Multi-screen display method, device and storage medium |
CN110244893A (en) * | 2019-05-05 | 2019-09-17 | 华为技术有限公司 | A kind of operating method and electronic equipment of split screen display available |
CN110347306A (en) * | 2019-05-30 | 2019-10-18 | 努比亚技术有限公司 | A kind of multi-screen display method, terminal and computer readable storage medium |
CN110633043A (en) * | 2019-08-26 | 2019-12-31 | 华为技术有限公司 | Split screen processing method and terminal equipment |
CN110941340A (en) * | 2019-11-28 | 2020-03-31 | 维沃移动通信有限公司 | Split screen display method and terminal equipment |
-
2020
- 2020-04-17 CN CN202010303220.7A patent/CN111399746B/en active Active
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20190073103A1 (en) * | 2012-10-10 | 2019-03-07 | Microsoft Technology Licensing, Llc | Unified communications application functionality in condensed views |
CN103425453A (en) * | 2013-08-23 | 2013-12-04 | 广东欧珀移动通信有限公司 | Split screen display method and device |
CN104423703A (en) * | 2013-08-29 | 2015-03-18 | 三星电子株式会社 | Electronic device and method for displaying application information |
CN105389111A (en) * | 2015-10-28 | 2016-03-09 | 维沃移动通信有限公司 | Operation method for split-screen display and electronic device |
US20170123956A1 (en) * | 2015-10-30 | 2017-05-04 | Ca, Inc. | Display window contextual visualization for application performance monitoring |
CN105867815A (en) * | 2016-03-28 | 2016-08-17 | 乐视控股(北京)有限公司 | Split screen display method and device |
CN107329882A (en) * | 2017-06-12 | 2017-11-07 | 腾讯科技(深圳)有限公司 | Obtain method and apparatus, storage medium and the electronic installation of online data |
CN107256129A (en) * | 2017-07-20 | 2017-10-17 | 广东欧珀移动通信有限公司 | Switch method, device and its relevant device of application under span mode |
CN107491278A (en) * | 2017-08-04 | 2017-12-19 | 维沃移动通信有限公司 | A kind of split screen processing method and terminal |
CN108958633A (en) * | 2018-07-11 | 2018-12-07 | Oppo广东移动通信有限公司 | Multi-screen display method, device, storage medium and electronic equipment |
CN109683837A (en) * | 2018-12-17 | 2019-04-26 | 北京小米移动软件有限公司 | Multi-screen display method, device and storage medium |
CN110244893A (en) * | 2019-05-05 | 2019-09-17 | 华为技术有限公司 | A kind of operating method and electronic equipment of split screen display available |
CN110347306A (en) * | 2019-05-30 | 2019-10-18 | 努比亚技术有限公司 | A kind of multi-screen display method, terminal and computer readable storage medium |
CN110633043A (en) * | 2019-08-26 | 2019-12-31 | 华为技术有限公司 | Split screen processing method and terminal equipment |
CN110941340A (en) * | 2019-11-28 | 2020-03-31 | 维沃移动通信有限公司 | Split screen display method and terminal equipment |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116540918A (en) * | 2023-06-30 | 2023-08-04 | 深圳市欧度利方科技有限公司 | Panel computer split screen control system and method |
CN116540918B (en) * | 2023-06-30 | 2023-12-01 | 深圳市欧度利方科技有限公司 | Panel computer split screen control system and method |
Also Published As
Publication number | Publication date |
---|---|
CN111399746B (en) | 2021-09-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108874289B (en) | Application history record viewing method and device and electronic equipment | |
CN106445292B (en) | Method and system for managing application programs in different body modes | |
CN111131884A (en) | Video clipping method, related device, equipment and storage medium | |
CN106569724A (en) | Method and device for dynamically setting virtual key and terminal | |
US10126940B2 (en) | Touch zones on a soft keyboard | |
CN108616775A (en) | The method, apparatus of intelligence sectional drawing, storage medium and intelligent terminal when video playing | |
CN110210195A (en) | Fingerprint operation control method and device, storage medium and mobile terminal | |
CN111399746B (en) | Split screen display method and device, mobile terminal and computer readable storage medium | |
CN107656677B (en) | Method for adjusting position of application icon, storage medium and mobile terminal | |
CN111324576B (en) | Recording data storage method and device, storage medium and terminal equipment | |
CN106649645B (en) | Playlist processing method and device | |
WO2020057241A1 (en) | Method and apparatus for displaying application program, and terminal device | |
CN107077278B (en) | Self-service terminal service processing method and system | |
WO2015085874A1 (en) | Method and device for identifying gesture | |
CN109983428A (en) | A kind of operating method and device of application | |
CN108536512B (en) | Interface switching method and device and terminal equipment | |
CN112188107A (en) | Camera control method and device, electronic equipment and storage medium | |
WO2023030116A1 (en) | Display method and apparatus | |
CN114004915A (en) | Picture editing method, device, equipment and storage medium | |
CN107613083A (en) | A kind of associated person information display methods and device, terminal and readable storage medium storing program for executing | |
CN110245016B (en) | Data processing method, system, device and terminal equipment | |
WO2020103027A1 (en) | Network power consumption adjustment method, network power consumption adjustment device, and mobile terminal | |
CN112698745A (en) | Control display method and electronic equipment | |
CN111694628A (en) | Page display method based on application program thread and related equipment | |
CN116723419B (en) | Acquisition speed optimization method and device for billion-level high-precision camera |
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 |