CN110780951A - Alignment display method and device of display area, terminal and storage medium - Google Patents

Alignment display method and device of display area, terminal and storage medium Download PDF

Info

Publication number
CN110780951A
CN110780951A CN201810853177.4A CN201810853177A CN110780951A CN 110780951 A CN110780951 A CN 110780951A CN 201810853177 A CN201810853177 A CN 201810853177A CN 110780951 A CN110780951 A CN 110780951A
Authority
CN
China
Prior art keywords
display area
display
partition
size information
displaying
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
Application number
CN201810853177.4A
Other languages
Chinese (zh)
Other versions
CN110780951B (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.)
Xian Zhongxing New Software Co Ltd
Original Assignee
Xian Zhongxing New Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xian Zhongxing New Software Co Ltd filed Critical Xian Zhongxing New Software Co Ltd
Priority to CN201810853177.4A priority Critical patent/CN110780951B/en
Priority to PCT/CN2019/098181 priority patent/WO2020024901A1/en
Publication of CN110780951A publication Critical patent/CN110780951A/en
Application granted granted Critical
Publication of CN110780951B publication Critical patent/CN110780951B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The embodiment of the invention discloses an alignment display method and device of a display area, a terminal and a storage medium. The method comprises the following steps: acquiring size information of each display area in the two display areas; determining a first display area according to the size information of each display area; and controlling the first display area and the second display area to align the display frame according to the size information of each display area.

Description

Alignment display method and device of display area, terminal and storage medium
Technical Field
The embodiment of the invention relates to a user interface image display technology, in particular to but not limited to a display area alignment display method and device, a terminal and a storage medium.
Background
With the rapid development of multimedia technology and the increasing user demand, there are increasing multi-display area terminals configured with a folding screen, a flexible screen, a dual screen, or multiple screens. The terminal with multiple display areas can adapt to more use scenes, is more convenient to carry, and brings a very good user experience effect. With the gradual increase of the frameless full screen, the frameless full screen is applied to a terminal with multiple display areas, and the technology of splicing display pictures also becomes a development trend of user interface image display. For multiple display areas of a tiled display, the related art generally uses the same screen for tiled display. However, if the shapes of the screens or display areas of the tiled display must be the same, it is not advantageous for the diversification development of the multimedia terminal. And if the shapes of the screens or display areas for splicing display are different, the alignment of the pictures is difficult to realize, and the user experience is reduced.
Disclosure of Invention
In view of the above, an embodiment of the present invention provides a method for displaying an aligned display area to solve at least one problem in the prior art, where the method includes:
acquiring size information of each display area in the two display areas;
determining a first display area according to the size information of each display area;
and controlling the first display area and the second display area to align the display frame according to the size information of each display area.
An embodiment of the present invention further provides an alignment display device for a display area, where the device includes:
an acquisition unit configured to acquire size information of each of the two display areas;
a first determination unit configured to determine a first display area according to the size information of each display area;
and the control unit is configured to control the first display area and the second display area to align the display screen according to the size information of each display area.
An embodiment of the present invention further provides an aligned display terminal for a display area, where the terminal includes: the display device comprises a memory and a processor, wherein the memory stores a computer program capable of running on the processor, and the processor realizes the alignment display method of the display area when executing the computer program.
The embodiment of the invention also provides a computer-readable storage medium, wherein computer-executable instructions are stored in the computer-readable storage medium and configured to execute the alignment display method of the display area.
The technical scheme provided by the embodiment of the invention can align the displayed pictures when the plurality of display areas with different shapes or sizes are spliced and displayed, thereby realizing the beautification of the display interface, having better UI interaction effect, being more convenient for carrying out other operations while displaying, and further improving the use experience of users.
Drawings
Fig. 1 is a schematic flow chart illustrating an implementation of an alignment display method for a display area according to an embodiment of the present invention;
fig. 2 is a schematic flow chart illustrating an implementation of a method for displaying an alignment of display areas according to another embodiment of the present invention;
fig. 3A is a schematic flow chart illustrating an implementation of a method for displaying an alignment of display areas according to another embodiment of the present invention;
FIG. 3B is a schematic diagram of an application scenario according to an embodiment of the present invention;
FIG. 3C is a diagram illustrating an application scenario in which a related art display image is utilized according to an embodiment of the present invention;
FIG. 3D is a diagram of a split screen according to an embodiment of the present invention;
fig. 3E is a schematic diagram illustrating a Widget tool displayed in a first functional partition according to an embodiment of the present invention;
FIG. 3F is a diagram illustrating a virtual key displayed in a first functional partition according to an embodiment of the present invention;
FIG. 3G is a diagram illustrating application icons displayed in the first functional partition according to an embodiment of the present invention;
FIG. 3H is a schematic illustration of an alternative method of an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of an alignment display device of a display area according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a hardware entity of a computer device according to an embodiment of the present invention.
Detailed Description
For a better understanding of the embodiments of the present invention, the following terms are now explained:
the UI (User Interface) refers to an operation Interface of a User, and includes a mobile intelligent terminal application program, a web page, a display Interface of an intelligent wearable device, and the like.
A Widget (Web Widget) is a Web page control component that may be represented in the form of a video, map, news, mini-game, or other micro-control component that controls functions.
The full screen is a wider definition than the design of the mobile phone, namely, the front of the mobile phone is the screen, and the four frames of the mobile phone are designed without frames, so that the screen occupation ratio is close to 100%.
Example one
An embodiment of the present invention provides an alignment display method for a display area, as shown in fig. 1, the method includes:
step 101, a terminal acquires size information of each display area in two display areas;
the terminal can be a terminal with a plurality of display areas, for example, an intelligent terminal such as a dual-screen mobile phone, a folding-screen mobile phone, a flexible-screen mobile phone, a dual-screen notebook computer, a desktop computer, a tablet computer, and the like; a plurality of terminals having only one display area may display one screen in common; a combination of the two above is also possible.
If the terminal is a terminal with a plurality of display areas, acquiring size information of each display area of the terminal by the terminal; if a plurality of terminals having only one display area are used to display a picture in common, a connection is established between the plurality of terminals, and one of the terminals acquires size information of the display area of each terminal.
102, the terminal determines a first display area according to the size information of each screen display area;
the size of the display area may be different between a terminal having a plurality of display areas and a terminal having a single display area. For example, a dual-screen mobile phone can make two screens spliced together by sliding or turning the screens. However, since one is the main screen, possibly on one side of the handset and the other on the other side, the sizes of the two screens may not be the same. When the two screens are different in size, the images are distorted or cannot be aligned when the two screens are spliced to display the same picture.
The terminal determines the larger one of the two screens as a first display area by acquiring the size information of each display area; or when a plurality of display areas are provided, for example, 3 display areas, the smallest one of the display areas is determined as a reference, and the other larger display areas are all used as the first display area and adjusted; or determining the largest display area as a reference, and adjusting the smaller display area as the first display area; each display area can be determined as the first display area and adjusted respectively.
And 103, controlling the first display area and the second display area to align the display picture by the terminal according to the size information of each display area.
When the first display area is determined, the first display area may be adjusted according to the size information of each display area. Taking the two display areas as an example for explanation, if the size information (assumed to be expressed by length and width) of the two display areas are the same, and the length of the first display area is aligned with the length of the second display area, or the width of the first display area is aligned with the width of the second display area, no adjustment is made because the two screens are aligned themselves. If the size information of the two screens is different, adjustment is needed, for example, when the smallest display area is taken as a reference, the smallest display area is taken as a second display area, and the first display area, that is, the larger display area, is adjusted and then displayed in alignment with the second display area. For example, the first display region is divided or compressed.
In another embodiment, the controlling the first display area and the second display area to align the display screen according to the size information of each display area includes: and controlling the first display area to be divided into at least two subareas according to the size information of each display area, and enabling at least one subarea to be aligned with the second display area to display a picture.
Here, the first display region is divided into at least one division region, and the screen is displayed in alignment with the second display region, which is another display region. For example, based on the size information of the smaller display area, the larger display area is divided into a partition having the same size as the smaller display area, and the partition is used to align the display screen with the smaller display area.
Here, the dimensions may be the same, and may be the same in both length and width, or only one side of the alignment may be the same in length, and the other sides may be different in length.
In another embodiment, the controlling the first display area to be divided into at least two partitions according to the size information of each display area, so that at least one partition is aligned with the second display area to display the screen includes: controlling the first display area to be divided according to the size information of each display area, so that at least one splicing partition aligned with the second display area to display a picture and at least one function partition displaying a function bar are generated by division; wherein the size of at least one side of the splicing subarea and the second display area is the same.
Here, the first display area is divided into at least one partition to align the display screen with other display areas, i.e., the second display area; and at least one partition is divided to display the function bar. The region of the display screen aligned with the first display region is referred to herein as a tiled region; the position of the splicing subarea can be determined according to actual conditions, and can be above, below or in the middle of the screen. The other remaining partitions are called functional partitions and are dedicated to displaying function bars. Status bars, such as the power, signal strength, time, etc. of the terminal can be displayed in the functional partition; or a control function bar, such as a Widget tool element, an application icon bar, or a virtual key, such as a virtual Home key, a return key, a menu key, etc.
In other embodiments, the obtaining the size information of each display area in the plurality of display areas includes: acquiring the length of one side to be aligned of each display area in the plurality of display areas;
the determining the first display area according to the size information of each display area includes: and determining a display area with a longer length as the first display area according to the length of the side to be aligned of each display area.
That is, in the case where the two display regions are displayed in alignment, the smaller one of the two display regions is set as a reference, and the larger one of the two display regions is set as the first display region.
In another embodiment, the controlling the first display area and the second display area to align the display screen according to the size information of each display area includes: controlling the first display area to be divided according to the length of the side to be aligned of each display area, so that the first display area comprises one splicing subarea and at least one functional subarea; wherein, the length of one side of the splicing subarea is the same as the length of one side of the second display area to be aligned.
The splicing subarea is a subarea spliced with the second display area, and because the first display area is larger than the second display area in size, when the first display area and the second display area are spliced, only a part of subareas of the first display area are aligned with the second display area, and the part of subareas are the split splicing subareas. The position of the splicing subarea can be determined according to actual conditions, and can be above, below or in the middle of the screen. Other partitions except for the splicing partition, which are generated after partitioning, are function partitions, and status bars such as electric quantity, signal intensity, time and the like of the terminal can be displayed in the function partitions; or a control function bar, such as a Widget tool element, an application icon bar, or a virtual key, such as a virtual Home key, a return key, a menu key, etc.
Example two
An embodiment of the present invention provides another alignment display method for display areas, as shown in fig. 2, the method includes:
step 201, a terminal acquires size information of each display area in two display areas;
step 202, the terminal determines a first display area according to the size information of each display area;
the steps 201 and 202 are the same as the steps 101 and 102 of the first embodiment.
And 203, the terminal controls the first display area to be divided according to the size information of each display area, so that at least one splicing partition aligned with the second display area and at least one functional partition displaying a functional column are generated by division.
The terminal divides the first display area into at least one area to align the display picture with other display areas, namely the second display area; and at least one area is divided to display the function bar. The section of the display screen aligned with the second display area is referred to herein as a tiled section. The other remaining partitions are called functional partitions and are dedicated to displaying function bars. Status bars, such as the power, signal strength, time, etc. of the terminal can be displayed in the functional partition; control function bars, such as Widget tool elements, application icon bars, or virtual keys such as virtual Home key, return key, menu key, etc., may also be displayed.
Step 204, the terminal determines a functional partition positioned below the splicing partition as a first functional partition;
when the terminal divides the first display area, a functional partition is divided below the splicing partition, and the partition is determined as the first functional partition. And the splicing subarea and the second display area are spliced and then aligned for display.
And step 205, displaying a control function bar in the first function partition.
The first functional partition is used for displaying control function bars, such as a Widget tool element and an application icon bar, or virtual keys such as a virtual Home key, a return key and a menu key.
In other embodiments, the displaying a control function bar in the first functional partition includes:
step S11, acquiring a Widget tool component for displaying the application; the Widget tool component is an operation component for controlling the display picture of the display application;
and step S12, displaying the Widget tool component on the first functional partition according to the size information of the first functional partition.
Here, the Widget tool unit is an operation unit that displays a display screen for controlling a display application corresponding to the application. For example, when the display application is a video playing application, Widget tool components for adjusting a video, including a progress bar, a volume bar, a fast forward/fast backward key, a next/previous video key, and the like, may be obtained. For another example, when the display application is an image presentation application, a Widget tool component for adjusting an image, such as a previous/next page key, an enlargement/reduction key, or the like, may be acquired. Different Widget tool components can be self-contained by the display application, and the terminal acquires the corresponding Widget tool components through the display application and displays the Widget tool components in the first function partition in an adaptive manner.
The adaptive display means that, since the currently displayed picture is a spliced picture of a plurality of display areas, and the first functional partition may be located in only one of the display areas, the Widget tool component needs to be adjusted to adapt the display according to the size information of the first functional partition.
In other embodiments, the method further comprises: when the Widget tool component of the display application cannot be acquired, displaying a virtual key in the first function partition; or displaying an application icon in the first functional partition.
Here, when the display application does not have a corresponding Widget tool part; or the Widget tool component of the display application cannot be successfully acquired; or acquiring a Widget tool component for displaying the application, but not performing adaptive display, for example, when the size ratio is not matched with the first function partition and cannot be displayed correctly, displaying other control function bars in the first function partition.
For example, virtual keys or control function bars of application icons may be displayed. The virtual key refers to a virtual key of the control terminal such as a Home key, a return key, a menu key and the like; and the application icons are icons corresponding to various application programs that are generally displayed on the desktop of the terminal screen. When the virtual keys are displayed, each display area can be controlled to return to the desktop, return to the previous operation, open a menu bar and the like by clicking the virtual keys; when the application icon is displayed, the display screen can be switched to the screen corresponding to the application by clicking one application icon.
Of course, when the Widget tool component displaying the application can be acquired and displayed adaptively, it may be set that the virtual key or the application icon is displayed without displaying the Widget tool component. Specifically, what kind of control function bar is displayed in the first function partition can be set according to actual requirements.
In other embodiments, the displaying the application icon in the first functional partition includes:
determining a most recently used application icon list, and displaying application icons in the first functional partition according to the order of the most recently used application icon list; or, determining a list of common application icons according to the sequence of the use frequency from high to low in the last preset time; and displaying the application icons in the first functional partition according to the common application icon list.
Here, an application icon is displayed in the first functional partition. Since the terminal may have a plurality of application programs, in order to facilitate operations in the process of aligning the display screen, the first function partition may be fully utilized, and specific application icons are displayed in the first function partition according to a certain sequence. The specific application icons herein include the following three cases:
firstly, displaying according to a user-defined application icon list and a user-defined sequence. For example, a long press of an application icon enters an editing mode, an application icon is dragged to the position of the first functional partition, the application icon is listed in a self-defined application icon list, and the arrangement sequence of the application icons can be dragged and adjusted in the same way. And after the editing is finished, the first functional partition displays the corresponding application icon according to the user definition of the user.
Second, in addition to user customization, the application icon displayed in the first functional partition may also be the most recently used application icon. The terminal determines the most recently used application icon list, namely, one application program which is used most recently is added into the application icon list and is placed at the top, and the icons in the existing application icon list are sequentially moved backwards by one. Thus, the application icon list includes a plurality of most recently used application icons, and the application icons are sorted according to the time of use, the application icon arranged at the top is the most recently used one, and the application icon arranged at the second position is the next most recently used one. Here, only a few application icons that have been used recently may be displayed, or all application icons may be displayed.
Thirdly, the application icon displayed in the first functional partition can also be the application icon with the highest use frequency within a preset time period. The terminal adds a plurality of application icons with the highest use frequency into an application icon list according to the sequence of the use frequency from high to low in the last preset time, wherein the application program with the highest use frequency is ranked at the top, and the application program with the second highest use frequency is ranked at the second. The preset time period may be a week, a month, or an infinite time period. When the preset time is unlimited time, the application program list is sorted according to the use frequency of all application icons in the use process of the device, and all the application icons are added into the application icon list.
In any of the three cases described above, a plurality of application icons or all of the application icons may be displayed in the first functional partition. When the first functional partition can only display N (e.g., 4) application icons at a time, and the number of application icons to be displayed is greater than N, the N application icons to be displayed can be selected by sliding on the first functional partition using a touch body (e.g., a finger) or the like. Of course, if the screen of the terminal is a non-touch screen, the screen may be selected by other methods, for example, using keys on the terminal or a mouse or a keyboard connected to the terminal for control.
In other embodiments, the method further comprises: determining a functional partition on one side, which is not spliced with the second display area, of the first display area as a second functional partition;
and displaying the control function bar in the second function partition according to the proportion of the display picture of the display application.
When the plurality of display areas are spliced to display the same picture, the spliced area of the first display area is divided according to the size information of the second display area, and the whole area after splicing the plurality of display areas may not accord with the proportion of image display. For example, to display a video frame in an aligned manner, the format of the video frame is fixed, and the proportion of the whole display area does not conform to the format of the video frame, so that there may be some areas of the frame that cannot be displayed when the frame is displayed. At this time, the area space on the screen is wasted. Therefore, when the first display region is divided, not only the region arranged vertically but also the region arranged horizontally may be divided, and only the divided second functional partition may be divided without being connected to another display region. The terminal determines the functional partition on the side, which is not spliced with other display areas, of the first display area as a second functional partition; and adjusting the size of the second functional partition according to the display picture proportion of the display application, and displaying the control function bar.
At this time, when the first functional partition displays a Widget tool component or a virtual key, the second functional partition may display an application icon; when the first functional partition displays an application icon, the second functional partition may display virtual keys, and so on.
In this embodiment, the method may further include: determining that a third functional partition is included above the splicing partition; the third functional partition may be used to display status bars such as power, signal strength, time, etc. of the terminal. The above-mentioned division methods or the displayed functional modules can be combined or changed according to actual requirements.
EXAMPLE III
As shown in fig. 3A, an alignment display method for a display area according to an embodiment of the present invention includes:
301, selecting a display area with the minimum splicing direction size in the plurality of display areas by the terminal;
the minimum is selected to be used as a reference, and when the other display areas are spliced with the display area with the minimum size, the display area normally displays a picture; and other display areas with the splicing direction larger than the minimum display area in the size need to be processed in subsequent steps to display the picture, so that the effect of splicing, aligning and displaying is achieved. I.e. the larger display area is determined as the first display area to be controlled and further processing of subsequent steps is performed.
In this embodiment, a non-full screen and a full screen need to be transversely spliced, so that the long side of the non-full screen is shorter than the long side of the full screen, as shown in fig. 3B. Fig. 3B is a schematic diagram of two screens with different shapes, where the display screen 11 is a non-full screen and the display screen 12 is a full screen. It is apparent that the display areas of the two screens are not aligned and the full-screen 12 displays an area larger in size than the non-full-screen 11. If the two screens are normally displayed, the scaling sizes of the display pictures of the two screens are different, and splicing cannot be realized, as shown in fig. 3C.
Step 302, the terminal divides other display areas with larger size;
that is, a partition having the same size as the display area having the smallest size in the splicing direction is divided from the other display area having a larger size, that is, the first display area, and the other display area is divided from the other display area, that is, a spliced partition is divided. For example, when a non-full screen and a full screen are transversely spliced, the display area of the full screen is divided, and a splicing subarea 12c aligned with the display area of the non-full screen is divided; the remaining area is divided into an upper functional partition 12a and a lower functional partition 12b, as shown in fig. 3D. And carrying out partition display management on the divided display areas.
303, displaying a status bar and a control function bar in different function partitions respectively;
as shown in fig. 3D, the part of the full-screen display area aligned with the non-full screen displays a picture to be displayed in an aligned manner, the functional partition 12a displays a status bar, and the functional partition 12b displays other types of control function bars.
As shown in fig. 3E, the status bar herein generally refers to a status information display bar 21 of the mobile terminal, for example, displaying a mobile operator, signal strength, battery level, current time, whether bluetooth or other accessories are turned on, an alarm clock identification, and the like.
The functional partition 12b may display any relevant information, and in this embodiment, the Widget tool component 22 of the application is preferentially displayed and is adaptively displayed according to the size of the functional partition 12 b; if the Widget tool component of the application to be displayed is not acquired, or the acquired Widget tool component cannot adapt to the display of the functional partition 12b, displaying the virtual key 23 as in fig. 3F or the application icon 24 as in fig. 3G.
The functional partition 12b displays the Widget tool part 22: and acquiring the Widget tool part 22 for displaying the application, and performing adaptive display according to the size of the functional partition 12 b. Here, the Widget tool component 22 is generally used to control a display, for example, when playing a video, the Widget tool component 22 may include a video progress bar, a start key/pause key, a fast forward/fast backward key, a previous video/next video key, a volume adjustment key, a full screen/exit key, and the like; when displaying a picture, Widget tool component 22 may include a previous/next page key, an enlargement/reduction key, and the like. Therefore, the user can control the displayed picture in real time more conveniently.
The functional partition 12b displays the virtual keys 23: when the Widget tool part 22 of the display application cannot be acquired, or the acquired Widget tool part cannot be matched with the area 12b, that is, cannot be normally displayed, the virtual key 23 may be displayed. As shown in fig. 3F, displaying the virtual keys 23 of the mobile phone in the area 12b generally includes: a return to desktop key (Home key), a return to previous page key, and a menu bar key, etc.
The control partition 12b displays the application icons 24: the determination of the application icon 24 includes the following cases:
firstly, N application icons 24 can be determined to be displayed according to the customization of the user, and generally 4 or more application icons can be displayed; when the user customizes to display a plurality of application icons 24, the control partition 12b may not display all the selected application icons 24, and the currently displayed application icons 24 may be determined by sliding left and right in the control partition 12b of the touch screen of the terminal to select. The number and sequence of the application icons 24 can also be determined according to the user definition, and after the determination, the application icons are fixedly displayed according to the user definition.
Second, the application icons 24 may be displayed according to the user's recent usage, i.e., as recent taskbar. The application icons 24 of the application most recently used by the user are ranked first to the far left and the application icons 24 of the application less recently used are ranked second, ordered from left to right according to the time of use by the user. That is, when there is a newly used application, this application icon 24 is arranged first on the leftmost side, and the previous application icons 24 are sequentially moved rightward.
Third, the application icons 24 may also be displayed according to the N applications that have been most frequently used by the user within the last period of time. That is, N applications with the highest user usage frequency in a period of time, for example, a week, are selected, where N may be a fixed number, for example, 4, or may be application icons 24 of all applications used by the user in the period of time, and if the functional partition 12b cannot display all application icons, the currently displayed icon is determined by sliding left and right in the functional partition 12b of the touch screen of the terminal to select the currently displayed icon.
The displayed application icons can be edited in all three cases, for example, by starting the corresponding application program with a single click, entering an editing sorting or deleting state by clicking twice or pressing the application icon for a long time, restoring to the display state by clicking again, and the like.
Through the scheme in the embodiment, a large screen (such as a full screen) in the spliced display is divided into display areas and managed, so that the display of the special-shaped double-screen mobile phone is more attractive, the UI interaction effect is optimized, the control is more convenient, and the use experience of a user is improved.
In other embodiments, there may be other display area dividing methods, for example, after the display is tiled according to the proportion of the display screen, there is an excess area 12d on one side of the full screen, as shown in fig. 3H, and other display contents may be filled in the area 12 d. For example, when the area 12b displays the Widget tool component 22 or the virtual key 23, N user-defined application icons 24 are displayed in the area 12d, and may be selected by sliding up and down, or the N application icons 24 are fixedly displayed; or displaying the application icon 24 most recently used by the user; or to display N application icons 24 with a high frequency of recent use, and so on. In addition to the various combinations of the several schemes in the above embodiments being respectively displayed in the area 12a, the area 12b, and the area 12d, any control function bar or operation component may be displayed to fill in the redundant display area, so that the picture is more beautiful, and at the same time, the control of the user may be facilitated, the UI interaction effect is optimized, and the user experience is improved.
An embodiment of the present invention further provides an alignment display device for a display area, as shown in fig. 4, the device 400 includes:
an acquisition unit 401 configured to acquire size information of each of two display areas;
a first determining unit 402 configured to determine a first display area according to the size information of each display area;
a control unit 403, configured to control the first display area and the second display area to align the display screen according to the size information of each display area.
In other embodiments, the control unit is further configured to:
and controlling the first display area to be divided into at least two subareas according to the size information of each display area, and enabling at least one subarea to be aligned with the second display area to display a picture.
In other embodiments, the control unit is further configured to:
controlling the first display area to be divided according to the size information of each display area, so that at least one splicing partition aligned with the second display area to display a picture and at least one function partition displaying a function bar are generated by division; wherein the size of at least one side of the splicing subarea and the second display area is the same.
In other embodiments, the obtaining unit is configured to: acquiring the length of one side to be aligned in each of the two display areas;
the first determining unit is further configured to: and determining a display area with a longer length as the first display area according to the length of the side to be aligned of each display area.
In other embodiments, the control unit is further configured to:
controlling the first display area to be divided according to the length of the side to be aligned of each display area, so that the first display area comprises one splicing subarea and at least one functional subarea; wherein, the length of one side of the splicing subarea is the same as the length of one side of the second display area to be aligned.
In other embodiments, the apparatus further comprises:
a second determination unit configured to determine a functional partition located below the splicing partition as a first functional partition;
a first display unit configured to display a control function bar in the first function division.
In other embodiments, the display unit includes:
the acquisition module is configured to acquire a Widget tool component of the display application; the Widget tool component is an operation component for controlling the display picture of the display application;
and the first display module is configured to display the Widget tool component on the first functional partition according to the size information of the first functional partition.
In other embodiments, the apparatus further comprises:
the second display unit is configured to display a virtual key in the first function partition when the Widget tool component of the display application cannot be acquired; or displaying an application icon in the first functional partition.
In other embodiments, the second display unit includes:
a first determination module configured to determine a list of recently used application icons; a second display module configured to display the application icons in the first functional partition in the order of the most recently used application icon list;
alternatively, the first and second electrodes may be,
the second determining module is configured to determine a common application icon list according to the sequence of the use frequency from high to low in the latest preset time; and the third display module is configured to display the application icons in the first functional partition according to the common application icon list.
In other embodiments, the apparatus further comprises:
a third determining unit configured to determine that the functional partition on the side, which is not spliced with the second display area, in the first display area is a second functional partition;
and the third display unit is configured to display the control function bar in the second function partition according to the proportion of the display screen of the display application.
The description of the embodiments of the apparatus of the present invention, similar to the description of the embodiments of the method described above, has similar advantageous effects as the embodiments of the method. For technical details not disclosed in the embodiments of the apparatus according to the invention, reference is made to the description of the embodiments of the method according to the invention for understanding.
It should be noted that, in the embodiment of the present invention, if the alignment display method of the display area is implemented in the form of a software functional module and is sold or used as a standalone product, the method may also be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product stored in a storage medium, and including several instructions for causing a computer device (which may be a personal computer, a mobile terminal, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a magnetic disk, or an optical disk. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
Correspondingly, an embodiment of the present invention provides a terminal for implementing display area alignment display, including a memory and a processor, where the memory stores a computer program that can be run on the processor, and the processor implements the steps in the display area alignment display method provided in the foregoing embodiment when executing the program.
Correspondingly, the embodiment of the invention provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps in the alignment display method of the display area provided by the above embodiment.
Here, it should be noted that: the above description of the storage medium and device embodiments is similar to the description of the method embodiments above, with similar beneficial effects of the same method embodiments. For technical details not disclosed in the embodiments of the storage medium and the apparatus according to the invention, reference is made to the description of the embodiments of the method according to the invention.
It should be noted that fig. 5 is a schematic diagram of a hardware entity of a computer device in an embodiment of the present invention, and as shown in fig. 5, the hardware entity of the computer device 500 includes: a processor 501, a communication interface 502 and a memory 503, wherein
The processor 501 generally controls the overall operation of the computer device 500.
The communication interface 502 may enable the computer device to communicate with other terminals or servers via a network.
The memory 503 is configured to store instructions and applications executable by the processor 501, and may also buffer data (e.g., image data, audio data, voice communication data, and video communication data) to be processed or already processed by the processor 501 and modules in the computer device 500, and may be implemented by a FLASH memory (FLASH) or a Random Access Memory (RAM).
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in various embodiments of the present invention, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention. The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
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; can be located in one place or 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.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media that can store program codes, such as a removable Memory device, a Read Only Memory (ROM), a magnetic disk, or an optical disk.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a mobile terminal, a server, etc.) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a ROM, a magnetic or optical disk, or other various media that can store program code.
The above description is only an embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of changes or substitutions within the technical scope of the present invention, and all such changes or substitutions are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (13)

1. A method for aligning display areas, the method comprising:
acquiring size information of each display area in the two display areas;
determining a first display area according to the size information of each display area;
and controlling the first display area and the second display area to align the display frame according to the size information of each display area.
2. The method according to claim 1, wherein the controlling the first display area and the second display area to align the display according to the size information of each display area comprises:
and controlling the first display area to be divided into at least two subareas according to the size information of each display area, and enabling at least one subarea to be aligned with the second display area to display a picture.
3. The method according to claim 2, wherein the controlling the first display area to be divided into at least two partitions according to the size information of each display area, and the at least one partition is aligned with the second display area to display the picture comprises:
controlling the first display area to be divided according to the size information of each display area, so that at least one splicing partition aligned with the second display area to display a picture and at least one function partition displaying a function bar are generated by division;
wherein the size of at least one side of the splicing subarea and the second display area is the same.
4. The method of claim 1, wherein the obtaining of the size information of each of the two display areas comprises: acquiring the length of one side to be aligned of each display area;
the determining the first display area according to the size information of each display area includes: and determining a display area with a longer length as the first display area according to the length of the side to be aligned of each display area.
5. The method according to claim 4, wherein the controlling the first display area and the second display area to align the display screen according to the size information of each display area comprises:
controlling the first display area to be divided according to the length of the side to be aligned of each display area, so that the first display area comprises one splicing subarea and at least one functional subarea; wherein, the length of one side of the splicing subarea is the same as the length of one side of the second display area to be aligned.
6. The method according to any one of claims 3 to 5, further comprising:
determining a functional partition positioned below the splicing partition as a first functional partition;
and displaying a control function bar in the first function partition.
7. The method of claim 6, wherein displaying a control function bar in the first functional partition comprises:
acquiring a Widget tool component for displaying an application; the Widget tool component is an operation component for controlling the display picture of the display application;
and displaying the Widget tool component on the first functional partition according to the size information of the first functional partition.
8. The method of claim 7, further comprising:
when the Widget tool component of the display application cannot be acquired, displaying a virtual key in the first function partition; or displaying an application icon in the first functional partition.
9. The method of claim 8, wherein displaying the application icon in the first functional partition comprises:
determining a most recently used application icon list, and displaying application icons in the first functional partition according to the order of the most recently used application icon list;
alternatively, the first and second electrodes may be,
determining a list of common application icons according to the sequence of the use frequency from high to low in the last preset time; and displaying the application icons in the first functional partition according to the common application icon list.
10. The method according to any one of claims 3 to 5, further comprising:
determining a functional partition on one side, which is not spliced with the second display area, of the first display area as a second functional partition;
and displaying the control function bar in the second function partition according to the proportion of the display picture of the display application.
11. An alignment display device for display areas, the device comprising:
an acquisition unit configured to acquire size information of each of the two display areas;
a first determination unit configured to determine a first display area according to the size information of each display area;
and the control unit is configured to control the first display area and the second display area to align the display screen according to the size information of each display area.
12. An aligned display terminal of a display area, the terminal comprising: a memory storing a computer program operable on a processor, the processor implementing the method of aligned display of display regions as provided in any one of claims 1 to 10 when executing the computer program.
13. A computer-readable storage medium having computer-executable instructions stored thereon, the computer-executable instructions being configured to perform the method of aligned display of display areas as provided in any one of claims 1 to 10.
CN201810853177.4A 2018-07-30 2018-07-30 Alignment display method and device of display area, terminal and storage medium Active CN110780951B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810853177.4A CN110780951B (en) 2018-07-30 2018-07-30 Alignment display method and device of display area, terminal and storage medium
PCT/CN2019/098181 WO2020024901A1 (en) 2018-07-30 2019-07-29 Alignment display method for display area, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810853177.4A CN110780951B (en) 2018-07-30 2018-07-30 Alignment display method and device of display area, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN110780951A true CN110780951A (en) 2020-02-11
CN110780951B CN110780951B (en) 2022-08-23

Family

ID=69232308

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810853177.4A Active CN110780951B (en) 2018-07-30 2018-07-30 Alignment display method and device of display area, terminal and storage medium

Country Status (2)

Country Link
CN (1) CN110780951B (en)
WO (1) WO2020024901A1 (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006003714A1 (en) * 2004-07-06 2006-01-12 Fujitsu Limited Browser program with screen-reading function, browser with screen-reading function, browsing processing method, borrower program recording medium
JP2007114402A (en) * 2005-10-19 2007-05-10 Matsushita Electric Ind Co Ltd Display processing apparatus
CN101552836A (en) * 2009-05-18 2009-10-07 浙江大学 Mobile Widget engine realizing method applied in cell phone
CN101605294A (en) * 2009-07-13 2009-12-16 浙江大学 Method based on the Widget assembly management of TD-SCDMA network
US20150009097A1 (en) * 2013-07-03 2015-01-08 Samsung Electronics Co., Ltd. Method for controlling combined display and electronic device thereof
CN104346115A (en) * 2013-07-29 2015-02-11 中兴通讯股份有限公司 Method for distributing pictures to multiple terminals for display and terminal
CN104516696A (en) * 2013-09-27 2015-04-15 联想(北京)有限公司 Information processing method and electronic device
CN104754140A (en) * 2009-12-11 2015-07-01 华为终端有限公司 Interface display method and device
CN104866265A (en) * 2015-04-29 2015-08-26 努比亚技术有限公司 Multi-media file display method and device
CN107566616A (en) * 2017-08-15 2018-01-09 维沃移动通信有限公司 A kind of display methods of information, terminal and computer-readable recording medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006003714A1 (en) * 2004-07-06 2006-01-12 Fujitsu Limited Browser program with screen-reading function, browser with screen-reading function, browsing processing method, borrower program recording medium
JP2007114402A (en) * 2005-10-19 2007-05-10 Matsushita Electric Ind Co Ltd Display processing apparatus
CN101552836A (en) * 2009-05-18 2009-10-07 浙江大学 Mobile Widget engine realizing method applied in cell phone
CN101605294A (en) * 2009-07-13 2009-12-16 浙江大学 Method based on the Widget assembly management of TD-SCDMA network
CN104754140A (en) * 2009-12-11 2015-07-01 华为终端有限公司 Interface display method and device
US20150009097A1 (en) * 2013-07-03 2015-01-08 Samsung Electronics Co., Ltd. Method for controlling combined display and electronic device thereof
CN104346115A (en) * 2013-07-29 2015-02-11 中兴通讯股份有限公司 Method for distributing pictures to multiple terminals for display and terminal
CN104516696A (en) * 2013-09-27 2015-04-15 联想(北京)有限公司 Information processing method and electronic device
CN104866265A (en) * 2015-04-29 2015-08-26 努比亚技术有限公司 Multi-media file display method and device
CN107566616A (en) * 2017-08-15 2018-01-09 维沃移动通信有限公司 A kind of display methods of information, terminal and computer-readable recording medium

Also Published As

Publication number Publication date
CN110780951B (en) 2022-08-23
WO2020024901A1 (en) 2020-02-06

Similar Documents

Publication Publication Date Title
CN109101157B (en) Sidebar icon setting method and device, terminal and storage medium
JP5706587B2 (en) Method for controlling the system bar of a user equipment and user equipment
KR101748668B1 (en) Mobile twrminal and 3d image controlling method thereof
CN108334371B (en) Method and device for editing object
CN106919301B (en) Wallpaper preview method and system and wallpaper replacement method and system
CN104956301B (en) The method for showing equipment and control display equipment
CN105094628A (en) Screen capture method and electronic device
WO2019085821A1 (en) Processing method, device, apparatus, and machine-readable medium
CN107562323A (en) icon moving method, device and terminal
US11604580B2 (en) Configuration of application execution spaces and sub-spaces for sharing data on a mobile touch screen device
WO2019085820A1 (en) Processing method, device, apparatus, and machine-readable medium
CN109842818A (en) A kind of video broadcasting method, device, computer equipment and storage medium
CN105426080A (en) Image switching method and terminal
CN103713847A (en) System bar control method of user equipment and user equipment
CN106649639A (en) Page display method and device
CN105487752A (en) Application control method and terminal applying same
WO2023061280A1 (en) Application program display method and apparatus, and electronic device
CN114564263A (en) Page layout adjusting method and device
CN110764862A (en) Desktop wallpaper display method and device, terminal equipment and storage medium
WO2019085810A1 (en) Processing method, device, apparatus, and machine-readable medium
CN110275741B (en) Content display method and electronic equipment
CN108174009B (en) Business card sharing method based on double screens, mobile terminal and device
CN112148167A (en) Control setting method and device and electronic equipment
WO2022194211A1 (en) Image processing method and apparatus, electronic device and readable storage medium
CN110780951B (en) Alignment display method and device of display area, terminal and storage medium

Legal Events

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