CN108958633B - Split screen display method and device, storage medium and electronic equipment - Google Patents

Split screen display method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN108958633B
CN108958633B CN201810760000.XA CN201810760000A CN108958633B CN 108958633 B CN108958633 B CN 108958633B CN 201810760000 A CN201810760000 A CN 201810760000A CN 108958633 B CN108958633 B CN 108958633B
Authority
CN
China
Prior art keywords
split
screen
display
historical
application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810760000.XA
Other languages
Chinese (zh)
Other versions
CN108958633A (en
Inventor
曹丹
李同喜
付亮晶
林志泳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810760000.XA priority Critical patent/CN108958633B/en
Publication of CN108958633A publication Critical patent/CN108958633A/en
Application granted granted Critical
Publication of CN108958633B publication Critical patent/CN108958633B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction 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 by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus

Abstract

The application discloses a split-screen display method, a split-screen display device, a storage medium and an electronic device, wherein the split-screen display method is applied to the electronic device comprising a screen, and comprises the following steps: acquiring a split-screen display instruction, wherein the split-screen display instruction carries at least two applications to be split-screen; acquiring historical use information of the application to be split screen according to the split screen display instruction; determining the display proportion between the at least two applications to be split into screens according to the historical use information; the display screen is divided into a plurality of display windows according to the display proportion, and the corresponding application to be split is displayed in the display windows, so that the size of the split screen window can be automatically adjusted according to the past use habits of a user in the split screen process, manual operation of the user is not needed, and the method is simple.

Description

Split screen display method and device, storage medium and electronic equipment
Technical Field
The present application relates to the field of computer technologies, and in particular, to a split-screen display method and apparatus, a storage medium, and an electronic device.
Background
With the development of terminal technology, mobile terminals, especially intelligent terminals, have increasingly powerful functions, and are becoming an indispensable part of people's lives.
At present, the size of a display screen of an intelligent terminal (such as a smart phone and a tablet computer) is getting larger and larger, and in order to fully utilize the advantage of the large size of the display screen, a split screen technology is adopted to generate at least two task windows in the display screen, so as to simultaneously run a plurality of tasks, which is a common user use scenario at present. However, the initial size of a task window generated by the existing split-screen technology is usually fixed, and a user needs to manually adjust the initial size to meet the preference of the user, so that the flexibility is poor.
Disclosure of Invention
The embodiment of the application provides a split-screen display method and device, a storage medium and an electronic device, the size of a window can be automatically adjusted in the split-screen process, the method is simple, and the flexibility is good.
The embodiment of the application provides a split-screen display method, which is applied to electronic equipment, wherein the electronic equipment comprises a display screen, and the split-screen display method comprises the following steps:
acquiring a split-screen display instruction, wherein the split-screen display instruction carries at least two applications to be split-screen;
acquiring historical use information of the application to be split screen according to the split screen display instruction;
determining the display proportion between the at least two applications to be split into screens according to the historical use information;
and dividing the display screen into a plurality of display windows according to the display proportion, and displaying the corresponding application to be split in the display windows.
The embodiment of the present application further provides a split-screen display device, which is applied to an electronic device, the electronic device includes a display screen, the split-screen display device includes:
the device comprises a first acquisition module, a second acquisition module and a display module, wherein the first acquisition module is used for acquiring a split-screen display instruction, and the split-screen display instruction carries at least two applications to be split;
the second acquisition module is used for acquiring historical use information of the application to be split according to the split screen display instruction;
the determining module is used for determining the display proportion between the at least two applications to be split into screens according to the historical use information;
and the dividing module is used for dividing the display screen into a plurality of display windows according to the display proportion and running corresponding to-be-divided screen applications in the display windows.
The embodiment of the application also provides a computer-readable storage medium, wherein a plurality of instructions are stored in the storage medium, and the instructions are suitable for being loaded by a processor to execute any one of the split-screen display methods.
The embodiment of the application further provides electronic equipment, which comprises a processor and a memory, wherein the processor is electrically connected with the memory, the memory is used for storing instructions and data, and the processor is used for any step in the split-screen display method.
The split-screen display method, the split-screen display device, the storage medium and the electronic equipment are applied to the electronic equipment comprising a display screen, the split-screen display instruction is obtained and carries at least two applications to be split-screen, then historical use information of the applications to be split-screen is obtained according to the split-screen display instruction, the display proportion between the at least two applications to be split-screen is determined according to the historical use information, then the display screen is divided into a plurality of display windows according to the display proportion, and the corresponding applications to be split-screen are displayed in the display windows, so that the size of the split-screen windows can be automatically adjusted according to the previous use habits of users in the split-screen process, manual operation of the users is not needed, the method is simple, and flexibility is high.
Drawings
The technical solution and other advantages of the present application will become apparent from the detailed description of the embodiments of the present application with reference to the accompanying drawings.
Fig. 1 is a schematic application scenario diagram of a split-screen display system according to an embodiment of the present application.
Fig. 2 is a schematic flow chart of a split-screen display method according to an embodiment of the present application.
Fig. 3 is another schematic flow chart of the split-screen display method according to the embodiment of the present application.
Fig. 4 is an operation schematic diagram of a split-screen implementation process provided in the embodiment of the present application.
Fig. 5 is an operation schematic diagram of starting a split screen function according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of a split-screen display device according to an embodiment of the present application.
Fig. 7 is a schematic structural diagram of a partitioning module according to an embodiment of the present application.
Fig. 8 is another schematic structural diagram of a split-screen display device according to an embodiment of the present application.
Fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 10 is another schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides a split screen display method and device, a storage medium and electronic equipment.
Referring to fig. 1, fig. 1 provides an application scenario schematic diagram of a split-screen display system, where the split-screen display system may include any one of the split-screen display devices provided in the embodiments of the present application, and the split-screen display device may be integrated in an electronic device, and the electronic device may include a smart phone, a tablet computer, and other devices having a display function.
The electronic equipment can obtain a split-screen display instruction, the split-screen display instruction carries at least two applications to be split-screen, historical use information of the applications to be split-screen is obtained according to the split-screen display instruction, a display proportion between the at least two applications to be split-screen is determined according to the historical use information, then the display screen is divided into a plurality of display windows according to the display proportion, and the corresponding applications to be split-screen are displayed in the display windows.
For example, the to-be-split-screen application is generally an application supporting a split-screen function. The historical usage information mainly refers to usage information of the application by the user in a historical period, and may include usage frequency and usage duration. Specifically, referring to fig. 1, when a user needs to perform split-screen display on A, B two applications supporting a split-screen function, by clicking a split-screen function button on a main interface, the application A, B is selected and a split-screen display instruction is automatically generated by triggering after confirmation, at this time, the electronic device may obtain historical usage information of the application A, B, such as historical usage frequency and historical usage duration, and determine a display ratio of the application A, B according to the historical usage information, such as 3:5, thereafter, as in 3: and 5, dividing the display screen into two display windows with different sizes, wherein the two display windows run independently, the application A is displayed in the small window, and the application B is displayed in the large window.
As shown in fig. 2, fig. 2 is a schematic flow chart of a split-screen display method provided in an embodiment of the present application, and is applied to an electronic device, where the electronic device includes a display screen, and a specific flow may be as follows:
101. and acquiring a split-screen display instruction, wherein the split-screen display instruction carries at least two applications to be split.
In this embodiment, the application to be split-screen is generally an application supporting a split-screen function. The electronic device may be triggered to generate the split-screen display instruction by clicking a split-screen button on the display interface, or by specifying a gesture, voice, or the like.
102. And acquiring historical use information of the application to be split according to the split screen display instruction.
In this embodiment, the historical usage information mainly refers to usage information of the split-screen application to be treated by the user in a historical period, and the historical period may be set manually, for example, in the last month or half year, and may include a usage frequency, a usage duration, a foreground operating condition, and the like. Generally, the historical use information of each application to be split-screen is updated in real time, and the electronic equipment can record and store the use information for each use case.
103. And determining the display ratio between the at least two applications to be split according to the historical use information.
For example, the historical usage information may include a historical usage frequency and a historical usage duration, and at this time, the step 103 may specifically include:
determining a weight value corresponding to the application to be split screen according to the historical use frequency and the historical use duration;
calculating the proportion between the weighted values as an actual proportion;
and determining the display proportion between the corresponding applications to be split according to the actual proportion from a plurality of preset proportions.
In this embodiment, the weight value mainly reflects the importance of different to-be-split-screen applications to the user, and specifically, the historical use frequency and the historical use duration may be substituted into a specified formula to calculate the weight value, where the specified formula is usually set manually, and generally, the more often-to-be-split-screen applications used by the user, the larger the calculated weight value is.
For example, the step of "determining the display ratio between the corresponding applications to be split according to the ratio from a plurality of preset ratios" may specifically include:
calculating a difference value between each preset proportion and the actual proportion in the plurality of preset proportions;
and acquiring a preset proportion corresponding to the difference value with the minimum numerical value as a display proportion between corresponding applications to be split.
In this embodiment, the actual proportion between the weighted values reflects the comparison of the importance between the applications to be split, and at this time, it can be seen which preset proportion stored in advance by the system is the closest to the actual proportion, and the closest preset proportion is taken as the display proportion.
It will be readily appreciated that the preset ratio is typically pre-stored, such as 5: 5, or 5: 3: different scale representations typically represent different numbers and sizes of split-screen windows, such as 5: 5 represents two split-screen windows of the same size, 5: 3: and 2 represents three split-screen windows of different sizes. It should be noted that the number of split windows of the electronic device during splitting may be limited to a fixed value, at this time, the pre-stored preset ratio and the actual ratio generally have the same expression form, and may be directly subjected to difference calculation, and of course, the number of split windows may also vary within a certain range, for example, may be two split screens/three split screens/four split screens, at this time, the pre-stored preset ratio may have different expression forms, and when performing difference calculation, the difference may be calculated only if the ratios of the same expression form are different from each other, and the difference between the ratios of different expression forms may be set to be positive infinity.
104. And dividing the display screen into a plurality of display windows according to the display proportion, and running corresponding to-be-split-screen applications in the display windows.
In this embodiment, different display windows may be used to run different applications to be split-screen, and the display windows are independent of each other, so that the electronic device may execute a plurality of foreground tasks simultaneously.
For example, the step 104 may specifically include:
acquiring the display size of the display screen;
determining the number and size of display windows according to the display proportion and the display size;
the display screen is divided into a corresponding number and size of the display windows.
In the present embodiment, the display size refers to the size of the display area, and is usually expressed in a length × width format, and is generally set at the time of shipment of the device. When the size of the display window is calculated according to the display size, the screen splitting direction needs to be determined first, and an appropriate side length (i.e., length or width) is selected according to the screen splitting direction for calculation, and generally, the screen splitting direction is from left to right or from top to bottom along the length direction. When the screen is divided along the length direction (or the width direction), the selected suitable side length is the length (or the width), and then the length (or the width) ratio of each screen application to be divided is calculated according to the length (or the width), for example, the display ratio can be a: b: c, the display size can be M × N, if the screen is divided along the length direction, the selected suitable side length is M, at this time, the number of display windows is 3, the width size is N, and the length size is [ (a/(a + b + c)) × M ], [ (b/(a + b + c)) × M ], [ (c/(a + b + c)) × M ].
It should be noted that, in the process of dividing the display screen into a plurality of display windows, the display size of the display window is not only related to, but also related to the arrangement position of the display window, where the arrangement position may be set by a user, for example, before a split-screen display instruction is generated, when the user selects an application to be split-screen, the arrangement position of the corresponding display window may be determined by dragging the application to be split-screen to a desired position, or the arrangement position of the corresponding display window may be determined automatically according to a selection sequence of the application to be split-screen by the user, for example, the earlier selected application to be split-screen is the earlier arranged position, and of course, the arrangement position of the display window may also be determined according to the previous split-screen condition of the application by the user, where, the step 104 may further include:
acquiring the historical arrangement position of each application to be split-screen and the running times of the application at the historical arrangement position;
and determining the arrangement sequence of the display windows according to the historical arrangement position and the operation times.
In this embodiment, for each split-screen display operation, the electronic device may record an arrangement position of the corresponding split-screen application, and count the number of times of operation of the electronic device in the same arrangement position, where the arrangement position is not a coordinate position (i.e., an absolute position) in the display screen, but a relative position between different split-screen windows, and may specifically be determined according to a specified direction (e.g., from left to right or from high to low), such as including a first position and a second position.
At this time, the step of "dividing the display screen into a plurality of display windows of corresponding number and size" may specifically include:
and dividing the display screen into a plurality of display windows with corresponding number and size according to the arrangement sequence.
In this embodiment, when the number of the display windows and the arrangement order and the size of each display window are determined, the display windows with corresponding sizes may be sequentially generated according to the arrangement order, so that the whole display screen is divided into a plurality of display windows, and the plurality of display windows operate independently from each other.
Further, the step of "determining the arrangement order of the display windows according to the historical arrangement position and the operation times" may specifically include:
determining a historical arrangement position with the maximum operation times of each screen to be split application as a target position;
and sequencing the target positions in the order from top to bottom or from left to right, and taking the sequencing order as the arrangement order of the corresponding display windows.
In the embodiment, the most frequently-running position of each screen splitting application can be determined according to historical screen splitting operation, the position generally reflects the personal use habit of a user to a certain extent, for example, for chat applications, the user may like to put the screen splitting application at the bottom so as to facilitate manual typing, and then the position of the display window to be subjected to the screen splitting application in the screen splitting operation can be automatically adjusted according to the use habit, so that the probability of subsequent manual adjustment of the user can be greatly reduced, and the screen splitting experience effect of the user is improved.
As can be seen from the above, the split-screen display method provided in this embodiment is applied to an electronic device including a display screen, and is implemented by obtaining a split-screen display instruction, where the split-screen display instruction carries at least two applications to be split-screen, then obtaining historical usage information of the applications to be split-screen according to the split-screen display instruction, determining a display ratio between the at least two applications to be split-screen according to the historical usage information, then dividing the display screen into a plurality of display windows according to the display ratio, and displaying corresponding applications to be split-screen in the display windows, so that the size of the split-screen window can be automatically adjusted according to the past usage habits of a user in the split-screen process, without manual operation of the user, and the method is simple and has high flexibility.
In the present embodiment, a description will be made from the perspective of a split-screen display device, and in particular, a detailed description will be made taking as an example that the split-screen display device is integrated in an electronic apparatus including a display screen.
Referring to fig. 3 and fig. 4, a split-screen display method may include the following specific processes:
201. the electronic equipment acquires a split-screen display instruction, and the split-screen display instruction carries at least two applications to be split-screen.
For example, referring to fig. 5, when the user wants to split the screen of the application A, B, C supporting the split screen function, the application A, B, C may be started first, and then a designated key, such as a split screen icon on the main interface, is clicked, at this time, the electronic device may provide the user with a selection interface, which may include all the started applications supporting the split screen function, and select an application A, B, C from the selection interface, and after the selection is completed, the electronic device may automatically generate the split screen display command.
202. And the electronic equipment acquires the historical use frequency and the historical use duration of the application to be split-screen according to the split-screen display instruction.
For example, the historical usage frequency and the historical usage duration may be determined according to usage of all applications within a specified period, wherein the specified period may be a last month or a half year set by people, the historical usage frequency may be calculated according to the usage times of a single application and the total usage times of all applications, and the historical usage duration may be accumulated according to the usage times of a single application.
203. The electronic equipment determines the weight values corresponding to the applications to be split according to the historical use frequency and the historical use duration, and calculates the proportion among the weight values as the actual proportion.
For example, the weight value may be calculated by specifying a formula, such as xP + yT, where x and y are both fixed coefficient values, P is the history usage frequency, and T is the history usage time length. When determining the weight value to apply A, B, C, the weight value may be further consolidated into the form of a ratio, such as h: j: k, where h, j, k are weight values applied A, B, C, respectively.
204. The electronic equipment calculates the difference between each preset proportion and the actual proportion in the plurality of preset proportions, and obtains the preset proportion corresponding to the difference with the minimum numerical value as the display proportion between the corresponding applications to be split.
For example, when the number of split screen windows is a fixed value by default, for example, 3, the preset ratio stored in advance by the user may include 1:1:1, 1:2:4, 1:3:5, 1:5:3, and the like, and at this time, h: j: k is closest to which value in the predetermined ratio, for example, which value of the total value of the actual ratio (i.e., h/jk) is closer to the total value of the predetermined ratio (i.e., 1, 1/8, 1/15, 1/15), when only one result occurs, for example, closer to 1/8, 1:2:4 can be directly determined as the display ratio, and when a plurality of results occur, for example, closer to 1/15, since the total values of the two predetermined ratios of 1:3:5 and 1:5:3 are the same, a unique predetermined ratio can be further determined according to the difference between each portion (i.e., h, j, k) in the actual ratio and the corresponding portion in the two predetermined ratios, for example, the one with the smallest total number of differences is determined as the display ratio.
205. The electronic equipment acquires the display size of the display screen and determines the number and the size of the display windows according to the display scale and the display size.
For example, if the display size is M × N, the display ratio is 1:3:5, and the screen division is performed from top to bottom along the length direction, the display screen may be divided into three display windows, and the size of each display window is 1/9M × N, 3/9M × N, and 5/9M × N in this order.
206. The electronic equipment acquires the historical arrangement position of each application to be split-screen and the running times at the historical arrangement position, and then determines the historical arrangement position with the maximum running times of each application to be split-screen as a target position.
207. The electronic equipment sorts the target positions in sequence from top to bottom or from left to right, and the sorted sequence is used as the arrangement sequence of the corresponding display windows.
For example, for each screen splitting operation in the past, the electronic device may record an arrangement position of a corresponding application, and count the number of times of operation of each application in the same arrangement position, where the arrangement position is not a coordinate position in the display screen, but a relative position between different screen splitting windows, such as a first position, a second position, a third position, and the like, which are sequentially ordered from left to right or from top to bottom, then select an arrangement position frequently used in the past for the screen splitting application, and determine the arrangement order according to the arrangement position, for example, in fig. 4, the arrangement order of the application A, B, C may be the third position, the first position, and the second position in sequence. Of course, if there are to-be-split applications with the same target position, for example, applications a and B are often located at the top, the running times of the to-be-split applications at the target position may be further compared, and the to-be-split applications with a large running time still retain the original target position.
208. The electronic equipment divides the display screen into a plurality of display windows with corresponding quantity and size in sequence according to the arrangement sequence, and runs corresponding to-be-split-screen applications in the display windows.
For example, in fig. 4, when the applications A, B, C are arranged in the order of the third, first and second bits, the display window in the first bit of the display screen has a size of 3/9 mxn for running the application B, the display window in the second bit has a size of 5/9 mxn for running the application C, and the display window in the third bit has a size of 1/9 mxn for running the application a.
As can be seen from the above, the split-screen display method provided in this embodiment is applied to an electronic device including a display screen, where the electronic device obtains a split-screen display instruction, where the split-screen display instruction carries at least two applications to be split-screen, obtains a historical usage frequency and a historical usage duration of the applications to be split-screen according to the split-screen display instruction, then determines a weighted value corresponding to the applications to be split-screen according to the historical usage frequency and the historical usage duration, calculates a ratio between the weighted values as an actual ratio, then calculates a difference between each preset ratio of a plurality of preset ratios and the actual ratio, obtains a preset ratio corresponding to a difference with a smallest value as a display ratio between the applications to be split-screen, then obtains a display size of the display screen, and determines a number and a size of display windows according to the display ratio and the display size, then, obtaining the historical arrangement position of each application to be split-screen and the operation times at the historical arrangement position, then determining the historical arrangement position with the maximum operation times of each application to be split-screen as a target position, then sequencing the target positions in the sequence from top to bottom or from left to right, and using the sequencing sequence as the sequencing sequence of the corresponding display windows, then sequentially dividing the display screen into a plurality of display windows with corresponding quantity and size according to the sequencing sequence, and operating the corresponding application to be split-screen in the display windows, thereby automatically adjusting the size of the split-screen windows according to the past use habits of users in the split-screen process, setting the sequencing sequence of the split-screen windows according to the past split-screen conditions, and having no need of manual operation of the users.
According to the method described in the foregoing embodiment, the embodiment will be further described from the perspective of a split-screen display device, which may be specifically implemented as an independent entity, or may be implemented by being integrated in an electronic device, such as a terminal, where the terminal may include a mobile phone, a tablet computer, and the like.
Referring to fig. 6, fig. 6 specifically illustrates a split-screen display device provided in an embodiment of the present application, which is applied to an electronic device including a display screen, where the split-screen display device may include: a first obtaining module 10, a second obtaining module 20, a determining module 30 and a dividing module 40, wherein:
(1) first acquisition module 10
The first obtaining module 10 is configured to obtain a split-screen display instruction, where the split-screen display instruction carries at least two applications to be split-screen.
In this embodiment, the application to be split-screen is generally an application supporting a split-screen function. The electronic device may be triggered to generate the split-screen display instruction by clicking a split-screen button on the display interface, or by specifying a gesture, voice, or the like.
(2) Second acquisition module 20
And a second obtaining module 20, configured to obtain historical usage information of the to-be-split-screen application according to the split-screen display instruction.
In this embodiment, the historical usage information mainly refers to usage information of the split-screen application to be treated by the user in a historical period, and the historical period may be set manually, for example, in the last month or half year, and may include a usage frequency, a usage duration, a foreground operating condition, and the like. Generally, the historical use information of each application to be split-screen is updated in real time, and the electronic equipment can record and store the use information for each use case.
(3) Determination module 30
And the determining module 30 is used for determining the display proportion between the at least two applications to be split according to the historical use information.
For example, the historical usage information may include a historical usage frequency and a historical usage duration, and the determining module 30 may be specifically configured to:
determining a weight value corresponding to the application to be split screen according to the historical use frequency and the historical use duration;
calculating the proportion between the weighted values as an actual proportion;
and determining the display proportion between the corresponding applications to be split according to the actual proportion from a plurality of preset proportions.
In this embodiment, the weight value mainly reflects the importance of different to-be-split-screen applications to the user, and specifically, the historical use frequency and the historical use duration may be substituted into a specified formula to calculate the weight value, where the specified formula is usually set manually, and generally, the more often-to-be-split-screen applications used by the user, the larger the calculated weight value is.
For example, the determination module 30 may be further configured to:
calculating a difference value between each preset proportion and the actual proportion in the plurality of preset proportions;
and acquiring a preset proportion corresponding to the difference value with the minimum numerical value as a display proportion between corresponding applications to be split.
In this embodiment, the actual proportion between the weighted values reflects the comparison of the importance between the applications to be split, and at this time, it can be seen which preset proportion stored in advance by the system is the closest to the actual proportion, and the closest preset proportion is taken as the display proportion.
It will be readily appreciated that the preset ratio is typically pre-stored, such as 5: 5, or 5: 3: different scale representations typically represent different numbers and sizes of split-screen windows, such as 5: 5 represents two split-screen windows of the same size, 5: 3: and 2 represents three split-screen windows of different sizes. It should be noted that the number of split windows of the electronic device during splitting may be limited to a fixed value, at this time, the pre-stored preset ratio and the actual ratio generally have the same expression form, and may be directly subjected to difference calculation, and of course, the number of split windows may also vary within a certain range, for example, may be two split screens/three split screens/four split screens, at this time, the pre-stored preset ratio may have different expression forms, and when performing difference calculation, the difference may be calculated only if the ratios of the same expression form are different from each other, and the difference between the ratios of different expression forms may be set to be positive infinity.
(4) Partitioning module 40
And the dividing module 40 is configured to divide the display screen into a plurality of display windows according to the display ratio, and run a corresponding application to be split in the display window.
In this embodiment, different display windows may be used to run different applications to be split-screen, and the display windows are independent of each other, so that the electronic device may execute a plurality of foreground tasks simultaneously.
For example, referring to fig. 7, the dividing module 40 may specifically include:
an acquisition unit 41 for acquiring a display size of the display screen;
a first determining unit 42 for determining the number and size of display windows according to the display scale and the display size;
a dividing unit 43 for dividing the display screen into a plurality of the display windows of corresponding number and size.
In the present embodiment, the display size refers to the size of the display area, and is usually expressed in a length × width format, and is generally set at the time of shipment of the device. When the size of the display window is calculated according to the display size, the screen splitting direction needs to be determined first, and an appropriate side length (i.e., length or width) is selected according to the screen splitting direction for calculation, and generally, the screen splitting direction is from left to right or from top to bottom along the length direction. When the screen is divided along the length direction (or the width direction), the selected suitable side length is the length (or the width), and then the length (or the width) ratio of each screen application to be divided is calculated according to the length (or the width), for example, the display ratio can be a: b: c, the display size can be M × N, if the screen is divided along the length direction, the selected suitable side length is M, at this time, the number of display windows is 3, the width size is N, and the length size is [ (a/(a + b + c)) × M ], [ (b/(a + b + c)) × M ], [ (c/(a + b + c)) × M ].
It should be noted that, in the process of dividing the display screen into a plurality of display windows, not only the display size of the display window but also the arrangement position of the display window is involved, where the arrangement position may be set by a user, for example, before a split-screen display instruction is generated, when the user selects an application to be split-screen, the arrangement position of the corresponding display window may be determined by dragging the application to be split-screen to a desired position, or the arrangement position of the corresponding display window may also be determined automatically according to a selection sequence of the application to be split-screen by the user, for example, the earlier selected application to be split-screen is the earlier arranged position, and of course, the arrangement position of the display window may also be determined according to the previous split-screen situation of the application by the user, in this case, please refer to fig. 8, the dividing module 40 may further include a second determining unit 44 for:
acquiring the historical arrangement position of each application to be split-screen and the running times of the application at the historical arrangement position;
and determining the arrangement sequence of the display windows according to the historical arrangement position and the operation times.
In this embodiment, for each split-screen display operation, the electronic device may record an arrangement position of the corresponding split-screen application, and count the number of times of operation of the electronic device in the same arrangement position, where the arrangement position is not a coordinate position (i.e., an absolute position) in the display screen, but a relative position between different split-screen windows, and may specifically be determined according to a specified direction (e.g., from left to right or from high to low), such as including a first position and a second position.
At this time, the dividing unit 43 may be specifically configured to:
and dividing the display screen into a plurality of display windows with corresponding number and size according to the arrangement sequence.
In this embodiment, when the number of the display windows and the arrangement order and the size of each display window are determined, the display windows with corresponding sizes may be sequentially generated according to the arrangement order, so that the whole display screen is divided into a plurality of display windows, and the plurality of display windows operate independently from each other.
Further, the second determining unit 44 may specifically be configured to:
determining a historical arrangement position with the maximum operation times of each screen to be split application as a target position;
and sequencing the target positions in the order from top to bottom or from left to right, and taking the sequencing order as the arrangement order of the corresponding display windows.
In this embodiment, the second determining unit 44 may determine, according to the historical screen splitting operation, the most frequently operated position of each screen splitting application to be split, where the position generally reflects the personal use habit of the user to a certain extent, for example, for the chat application, the user may like to put the application at the bottom to facilitate manual typing, and then may automatically adjust the position of the display window to be split in the screen splitting operation according to the use habit, so as to greatly reduce the probability of the subsequent manual adjustment of the user, and improve the screen splitting experience effect of the user.
In a specific implementation, the above units may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and the specific implementation of the above units may refer to the foregoing method embodiments, which are not described herein again.
As can be seen from the above, the split-screen display device provided in this embodiment is applied to an electronic device including a display screen, and acquires a split-screen display instruction through the first acquiring module 10, where the split-screen display instruction carries at least two applications to be split-screen, then the second acquiring module 20 acquires historical usage information of the applications to be split-screen according to the split-screen display instruction, the determining module 30 determines a display ratio between the at least two applications to be split-screen according to the historical usage information, and then the dividing module 40 divides the display screen into a plurality of display windows according to the display ratio, and displays corresponding applications to be split-screen in the display windows, so that the size of the split-screen windows can be automatically adjusted according to past usage habits of users in the split-screen process, without manual operation of the users, and the method is simple and has high flexibility.
In addition, the embodiment of the application further provides an electronic device, and the electronic device can be a smart phone, a tablet computer and other devices. As shown in fig. 9, the electronic device 400 includes a processor 401, a memory 402. The processor 401 is electrically connected to the memory 402.
The processor 401 is a control center of the electronic device 400, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or loading an application program stored in the memory 402 and calling data stored in the memory 402, thereby integrally monitoring the electronic device.
In this embodiment, the processor 401 in the electronic device 400 loads instructions corresponding to processes of one or more application programs into the memory 402 according to the following steps, and the processor 401 runs the application programs stored in the memory 402, thereby implementing various functions:
acquiring a split-screen display instruction, wherein the split-screen display instruction carries at least two applications to be split-screen;
acquiring historical use information of the application to be split screen according to the split screen display instruction;
determining the display proportion between the at least two applications to be split into screens according to the historical use information;
and dividing the display screen into a plurality of display windows according to the display proportion, and running the corresponding application to be split in the display windows.
Referring to fig. 10, fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. The electronic device 500 may include components such as a memory 501 including one or more computer-readable storage media, an input unit 502, a display unit 503, a sensor 504, an audio circuit 505, a Wireless Fidelity (WiFi) module 506, a processor 507 including one or more processing cores, and a power supply 508. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 10 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The memory 501 may be used to store applications and data. The memory 501 stores applications containing executable code. The application programs may constitute various functional modules. The processor 507 executes various functional applications and data processing by running an application program stored in the memory 501. The memory 501 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application 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 (such as audio data, a phonebook, etc.) created according to the use of the electronic device, and the like. Further, the memory 501 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 501 may also include a memory controller to provide the processor 507 and the input unit 502 access to the memory 501.
The input unit 502 may be used to receive input numbers, character information, or user characteristic information, such as a fingerprint, and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control. In particular, in one particular embodiment, the input unit 502 may include a touch-sensitive surface as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 507, and can receive and execute commands sent by the processor 507.
The display unit 503 may be used to display information input by or provided to a user and various graphical user interfaces of the electronic device, which may be made up of graphics, text, icons, video, and any combination thereof. The display unit 503 may include a display panel. Alternatively, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay the display panel, and when a touch operation is detected on or near the touch-sensitive surface, the touch operation is transmitted to the processor 507 to determine the type of touch event, and then the processor 507 provides a corresponding visual output on the display panel according to the type of touch event. Although in FIG. 10 the touch sensitive surface and the display panel are two separate components to implement input and output functions, in some embodiments the touch sensitive surface may be integrated with the display panel to implement input and output functions.
The electronic device may also include at least one sensor 504, such as a light sensor, motion sensor, and other sensors. In particular, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that may turn off the display panel and/or the backlight when the electronic device is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which may be further configured to the electronic device, detailed descriptions thereof are omitted.
The audio circuitry 505 may provide an audio interface between the user and the electronic device through a speaker, microphone. The audio circuit 505 can convert the received audio data into an electric signal, transmit the electric signal to a loudspeaker, and convert the electric signal into a sound signal by the loudspeaker for outputting; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 505 and converted into audio data, and then the audio data is processed by the audio data output processor 507 and sent to another electronic device through the rf circuit 501, or the audio data is output to the memory 501 for further processing. The audio circuitry 505 may also include an earbud jack to provide communication of a peripheral headset with the electronic device.
Wireless fidelity (WiFi) belongs to short-range wireless transmission technology, and electronic devices can help users send and receive e-mails, browse webpages, access streaming media and the like through a wireless fidelity module 506, and provide wireless broadband internet access for users. Although fig. 10 shows the wireless fidelity module 506, it is understood that it does not belong to the essential constitution of the electronic device, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 507 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing an application program stored in the memory 501 and calling data stored in the memory 501, thereby performing overall monitoring of the electronic device. Optionally, processor 507 may include one or more processing cores; preferably, the processor 507 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 507.
The electronic device also includes a power supply 508 (e.g., a battery) to power the various components. Preferably, the power source may be logically connected to the processor 507 through a power management system, so that functions of managing charging, discharging, power consumption management, and the like are realized through the power management system. The power supply 508 may also include any component including one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown in fig. 10, the electronic device may further include a camera, a bluetooth module, and the like, which are not described in detail herein.
In specific implementation, the above modules may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and specific implementation of the above modules may refer to the foregoing method embodiments, which are not described herein again.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor. To this end, embodiments of the present invention provide a storage medium, in which a plurality of instructions are stored, where the instructions can be loaded by a processor to execute steps in any one of the split-screen display methods provided by the embodiments of the present invention.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium can execute the steps in any of the split-screen display methods provided in the embodiments of the present invention, the beneficial effects that can be achieved by any of the split-screen display methods provided in the embodiments of the present invention can be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
In summary, although the present application has been described with reference to the preferred embodiments, the above-described preferred embodiments are not intended to limit the present application, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present application, so that the scope of the present application shall be determined by the appended claims.

Claims (6)

1. A split-screen display method is applied to electronic equipment, and is characterized in that the electronic equipment comprises a display screen, and the split-screen display method comprises the following steps:
acquiring a split-screen display instruction, wherein the split-screen display instruction carries at least two applications to be split-screen;
acquiring historical use information of the application to be split-screen according to the split-screen display instruction, wherein the historical use information comprises historical use frequency and historical use duration, and the historical use frequency is obtained according to the use times of a single application and the use times of all applications;
multiplying the historical use frequency and the historical use time length by corresponding coefficient values respectively, and summing the obtained results to obtain a weight value of the screen splitting application;
calculating the proportion among the weighted values as an actual proportion;
acquiring at least one preset proportion with the same expression form as the actual proportion from a plurality of preset proportions, and calculating the difference between the preset proportion with the same expression form as the actual proportion and the actual proportion;
acquiring a preset proportion corresponding to the difference value with the minimum numerical value as a display proportion between corresponding to-be-split-screen applications;
acquiring historical window information of a display window of the to-be-split-screen application according to historical split-screen operation;
acquiring the display size of the display screen;
determining the number and the size of display windows according to the display proportion and the display size;
acquiring a historical arrangement position of each application to be split-screen and the running times of the application in the historical arrangement position;
determining the arrangement sequence of the display windows according to the historical arrangement positions and the operation times;
and dividing the display screen into a plurality of display windows with corresponding quantity and size in sequence according to the arrangement sequence, and running corresponding application to be split in the display windows.
2. The split-screen display method of claim 1, wherein the determining the arrangement sequence of the display windows according to the historical arrangement positions and the operation times comprises:
determining a historical arrangement position with the maximum operation times of each screen to be split application as a target position;
and sequencing the target positions in the order from top to bottom or from left to right, and taking the sequencing order as the arrangement order of the corresponding display windows.
3. The utility model provides a split screen display device, is applied to electronic equipment, its characterized in that, electronic equipment includes the display screen, split screen display device includes:
the device comprises a first acquisition module, a second acquisition module and a display module, wherein the first acquisition module is used for acquiring a split-screen display instruction, and the split-screen display instruction carries at least two applications to be split;
the second acquisition module is used for acquiring historical use information of the application to be split according to the split-screen display instruction, and the historical use frequency is obtained according to the use times of a single application and the use times of all applications;
the determining module is used for multiplying the historical use frequency and the historical use time length by corresponding coefficient values respectively, and summing the obtained results to obtain a weight value of the application to be split;
calculating the proportion among the weighted values as an actual proportion;
acquiring at least one preset proportion with the same expression form as the actual proportion from a plurality of preset proportions, and calculating the difference between the preset proportion with the same expression form as the actual proportion and the actual proportion;
acquiring a preset proportion corresponding to the difference value with the minimum numerical value as a display proportion between corresponding to-be-split-screen applications;
the third acquisition module is used for acquiring historical window information of the display window of the to-be-split-screen application according to historical split-screen operation;
the acquisition unit is used for acquiring the display size of the display screen;
the first determining unit is used for determining the number and the size of the display windows according to the display proportion and the display size;
the second determining unit is used for acquiring the historical arrangement position of each application to be split-screen and the running times of the application in the historical arrangement position; determining the arrangement sequence of the display windows according to the historical arrangement positions and the operation times;
and the dividing unit is used for sequentially dividing the display screen into a plurality of display windows with corresponding quantity and size according to the arrangement sequence.
4. The split-screen display device according to claim 3, wherein the second determining unit is specifically configured to:
determining a historical arrangement position with the maximum operation times of each screen to be split application as a target position;
and sequencing the target positions in the order from top to bottom or from left to right, and taking the sequencing order as the arrangement order of the corresponding display windows.
5. A computer-readable storage medium having stored thereon a plurality of instructions adapted to be loaded by a processor to perform the split-screen display method of claim 1 or 2.
6. An electronic device comprising a processor and a memory, wherein the processor is electrically connected to the memory, the memory is used for storing instructions and data, and the processor is used for executing the steps of the split-screen display method according to claim 1 or 2.
CN201810760000.XA 2018-07-11 2018-07-11 Split screen display method and device, storage medium and electronic equipment Active CN108958633B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810760000.XA CN108958633B (en) 2018-07-11 2018-07-11 Split screen display method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810760000.XA CN108958633B (en) 2018-07-11 2018-07-11 Split screen display method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN108958633A CN108958633A (en) 2018-12-07
CN108958633B true CN108958633B (en) 2021-04-13

Family

ID=64483942

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810760000.XA Active CN108958633B (en) 2018-07-11 2018-07-11 Split screen display method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN108958633B (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110007825A (en) * 2019-04-08 2019-07-12 北京硬壳科技有限公司 The method and apparatus of multi-window managing
CN110413179B (en) * 2019-07-01 2022-10-11 上海掌门科技有限公司 Method and equipment for presenting session message
CN110399111A (en) * 2019-08-01 2019-11-01 北京汇通天下物联科技有限公司 Split screen content displaying method and device
CN110704004B (en) * 2019-08-26 2021-06-01 华为技术有限公司 Voice-controlled split-screen display method and electronic equipment
CN110599899A (en) * 2019-09-19 2019-12-20 Oppo广东移动通信有限公司 Label display method and device, electronic equipment and storage medium
CN111045588B (en) * 2019-11-29 2021-08-17 维沃移动通信有限公司 Information viewing method and electronic equipment
CN110928515B (en) * 2019-12-09 2024-03-22 北京奇艺世纪科技有限公司 Split screen display method, electronic device and computer readable storage medium
CN111158830B (en) * 2019-12-31 2024-02-27 维沃移动通信有限公司 Method for displaying application task window and terminal equipment
CN117311869A (en) * 2020-01-03 2023-12-29 华为技术有限公司 Method and device for splitting screen under multiple applications and electronic equipment
CN111399746B (en) * 2020-04-17 2021-09-24 Oppo广东移动通信有限公司 Split screen display method and device, mobile terminal and computer readable storage medium
CN114089882A (en) * 2020-07-03 2022-02-25 华为技术有限公司 Method for displaying multiple windows in split screen mode and electronic equipment
CN112637642B (en) * 2020-12-01 2023-05-02 深圳市酷开网络科技股份有限公司 Multi-split screen display method, system and storage medium
CN113687753B (en) * 2021-08-09 2024-03-15 深圳康佳电子科技有限公司 Split screen style configuration method and device, intelligent terminal and storage medium
CN116225353A (en) * 2021-12-06 2023-06-06 华为技术有限公司 Split screen display method and electronic equipment
CN116048444B (en) * 2022-06-16 2023-12-01 荣耀终端有限公司 Application display method and terminal equipment
CN116540918B (en) * 2023-06-30 2023-12-01 深圳市欧度利方科技有限公司 Panel computer split screen control system and method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8583511B2 (en) * 2009-05-19 2013-11-12 Bradley Marshall Hendrickson Systems and methods for storing customer purchasing and preference data and enabling a customer to pre-register orders and events
CN102945115B (en) * 2012-10-18 2016-06-08 东莞宇龙通信科技有限公司 Terminal and terminal control method
CN103902220B (en) * 2014-03-25 2016-04-27 努比亚技术有限公司 A kind of interface display method of mobile terminal and mobile terminal
CN106201157B (en) * 2015-05-05 2020-02-21 阿里巴巴集团控股有限公司 Application window adjusting method and device
CN107491278B (en) * 2017-08-04 2019-03-01 维沃移动通信有限公司 A kind of split screen processing method and terminal
CN107678672A (en) * 2017-09-30 2018-02-09 维沃移动通信有限公司 A kind of display processing method and mobile terminal

Also Published As

Publication number Publication date
CN108958633A (en) 2018-12-07

Similar Documents

Publication Publication Date Title
CN108958633B (en) Split screen display method and device, storage medium and electronic equipment
RU2632153C2 (en) Method, device and terminal for displaying virtual keyboard
CN108984064B (en) Split screen display method and device, storage medium and electronic equipment
CN109388220B (en) Power supply management method and mobile terminal
CN106793046B (en) Screen display adjusting method and mobile terminal
CN109062468B (en) Split screen display method and device, storage medium and electronic equipment
CN108958606B (en) Split screen display method and device, storage medium and electronic equipment
CN110825295B (en) Application program control method and electronic equipment
CN108388403B (en) Method and terminal for processing message
CN110442281B (en) Application icon display method and terminal
CN110531915B (en) Screen operation method and terminal equipment
CN108984066B (en) Application icon display method and mobile terminal
CN109683802B (en) Icon moving method and terminal
CN108984142B (en) Split screen display method and device, storage medium and electronic equipment
WO2019127439A1 (en) Calculator operation method and terminal
CN110795189A (en) Application starting method and electronic equipment
CN110865764A (en) Interface application display method and device
CN108415642A (en) A kind of display methods and mobile terminal
CN108536349B (en) Icon management method and mobile terminal
CN108170329B (en) Display control method and terminal equipment
CN109062469B (en) Split screen display method and device, storage medium and electronic equipment
CN113452834B (en) Display method and device, storage medium and electronic equipment
CN113050863A (en) Page switching method and device, storage medium and electronic equipment
CN111190515A (en) Shortcut panel operation method, device and readable storage medium
CN110221741B (en) Icon management method and terminal equipment

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