WO2020024901A1 - 一种显示区域的对齐显示方法及终端、存储介质 - Google Patents

一种显示区域的对齐显示方法及终端、存储介质 Download PDF

Info

Publication number
WO2020024901A1
WO2020024901A1 PCT/CN2019/098181 CN2019098181W WO2020024901A1 WO 2020024901 A1 WO2020024901 A1 WO 2020024901A1 CN 2019098181 W CN2019098181 W CN 2019098181W WO 2020024901 A1 WO2020024901 A1 WO 2020024901A1
Authority
WO
WIPO (PCT)
Prior art keywords
display area
display
partition
size information
application
Prior art date
Application number
PCT/CN2019/098181
Other languages
English (en)
French (fr)
Inventor
郝志坚
曹广
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2020024901A1 publication Critical patent/WO2020024901A1/zh

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

Definitions

  • Embodiments of the present invention relate to a user interface image display technology, and relate to, but are not limited to, an alignment display method of a display area, a terminal, and a storage medium.
  • multi-display area terminals equipped with folding screens, flexible screens, dual screens or multi-screens are increasing.
  • the multi-display area terminal can adapt to more use scenarios and is more portable, which brings very good user experience.
  • borderless full screens borderless full screens are applied to terminals with multiple display areas, and the technology of splicing display screens has also become the development trend of user interface image display.
  • related technologies usually use the same screen for spliced display.
  • the shape of the screen or display area that restricts the spliced display must be the same, it is not conducive to the diversified development of the multimedia terminal.
  • the shape of the screen or display area used for splicing display is different, it is difficult to achieve screen alignment and reduce user experience.
  • an embodiment of the present invention provides a method for aligning and displaying a display area in order to solve at least one problem in the prior art.
  • the method includes:
  • Controlling 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 alignment display device for a display area.
  • the device includes:
  • An obtaining unit configured to obtain size information of each of the two display areas
  • a first determining unit configured to determine a first display area according to the size information of each display area
  • 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 of a display area.
  • the terminal includes: a memory and a processor.
  • the memory stores a computer program that can run on the processor.
  • the processor executes the computer program, A method for aligning and displaying the display area.
  • An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are configured to execute the above-mentioned display method of aligned display.
  • the technical solution provided by the embodiment of the present invention can align the displayed pictures when a plurality of display areas of different shapes or sizes are spliced, thereby realizing the beautification of the display interface, having better UI interaction effects, and being more convenient for displaying Perform other operations to improve user experience.
  • FIG. 1 is a schematic flowchart of an alignment display method of a display area according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of another alignment display method of a display area according to an embodiment of the present invention
  • FIG. 3A is a schematic flowchart of an alignment display method of another display area according to an embodiment of the present invention.
  • 3B is a schematic diagram of an application scenario according to an embodiment of the present invention.
  • 3C is a schematic diagram of displaying images by using related technologies in an application scenario according to an embodiment of the present invention.
  • 3D is a schematic diagram of a split screen according to an embodiment of the present invention.
  • 3E is a schematic diagram of displaying a Widget tool in a first functional partition according to an embodiment of the present invention
  • FIG. 3F is a schematic diagram of displaying virtual keys in a first functional partition according to an embodiment of the present invention.
  • 3G is a schematic diagram of displaying an application icon in a first functional zone according to an embodiment of the present invention.
  • 3H is a schematic diagram of an alternative method according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of an alignment display device for 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.
  • UI User Interface
  • mobile smart terminal applications including mobile smart terminal applications, web pages, display interfaces of smart wearable devices, and so on.
  • Widget is a web control component, and its expression can be a micro control component of video, map, news, mini-game or other control functions.
  • Full screen is a broad definition of ultra-high screen ratio mobile phone design, that is, the front of the mobile phone is a screen, and the four borders of the mobile phone are designed without borders, pursuing a screen ratio close to 100%.
  • An embodiment of the present invention provides a method for aligning and displaying a display area. As shown in FIG. 1, the method includes:
  • Step 101 The terminal obtains size information of each display area in the two display areas.
  • the terminal here may be a terminal with multiple display areas, for example, a smart phone such as a dual-screen mobile phone, a folding screen mobile phone, a flexible screen mobile phone, a dual-screen laptop, a desktop computer, or a tablet computer; or a terminal with only one display area Multiple terminals can display a screen together; it can also be a combination of the above two cases.
  • a smart phone such as a dual-screen mobile phone, a folding screen mobile phone, a flexible screen mobile phone, a dual-screen laptop, a desktop computer, or a tablet computer
  • a terminal with only one display area Multiple terminals can display a screen together; it can also be a combination of the above two cases.
  • the terminal obtains the size information of each display area it has; if it is multiple terminals with only one display area to display the screen together, then it is necessary to A connection is established between multiple terminals, and one terminal obtains the size information of the display area of each terminal.
  • Step 102 The terminal determines the first display area according to the size information of the display area of each screen.
  • the size of the display area may be different.
  • a dual-screen mobile phone can be spliced together by sliding or flipping the screen.
  • one is the main screen it may be on one side of the handset, and the other is on the other side, and the two screens may not be the same size.
  • the two screens are different in size, if the same screen is stitched together, the image will be distorted or misaligned.
  • the terminal determines the larger one of the two screens as the first display area by acquiring the size information of each display area; or when there are multiple display areas, such as 3 display areas, determining the smallest display area As a reference, take other larger display areas as the first display area and adjust them; you can also determine the largest display area as the reference and use the smaller display area as the first display area to adjust; you can also adjust each The display area is determined as the first display area, and is adjusted separately.
  • Step 103 The terminal controls the first display area to align with the second display area to display a screen according to the size information of each display area.
  • the first display area can be adjusted according to the size information of each display area.
  • the following uses two display areas as an example for description. If the size information (assuming 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 first The width of the display area is aligned with the width of the second display area, so do not adjust it, because the two screens are aligned. If the size information of the two screens is not the same, then you need to adjust it. For example, when the smallest display area is used as a reference, the smallest display area is used as the second display area, and the first display area is the larger display. After the area is adjusted, it is displayed in alignment with the second display area. For example, the first display area is divided or compressed.
  • controlling the display screen to be aligned with the first display region and the second display region according to the size information of each display region includes: controlling the first display region according to the size information of each display region.
  • a display area is divided into at least two partitions, such that at least one of the partitions is aligned with the second display area to display a picture.
  • the first display area is divided, and at least one partition is divided to display a picture in alignment with other display areas, that is, the second display area.
  • the larger display area is divided into a partition having the same size as the smaller display area to align the display screen with the smaller display area.
  • the dimensions are the same, which may be the same length and width, or only the length of the aligned side is the same, and the lengths of the other sides are different.
  • 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 of the partitions and the second display area are aligned to display a screen includes: Controlling the first display area to be segmented according to the size information of each display area, so that the segmentation generates at least one spliced partition that is aligned with the second display area to display a picture and at least one functional partition that displays a function bar; wherein The size of the stitching partition and at least one side of the second display area is the same.
  • the first display area is divided, at least one partition is divided to display the screen in alignment with other display areas, that is, the second display area; and at least one partition is divided to display the function bar.
  • a partition displaying a picture aligned with the first display area is referred to as a splicing partition; the position of the splicing partition can be determined according to actual conditions, and can be above, below, or in the middle of the screen.
  • the remaining partitions are called functional partitions and are used to display the function bar.
  • obtaining the size information of each display area in the multiple display areas includes: obtaining the length of a side to be aligned in each display area in the multiple display areas;
  • the determining the first display area according to the size information of each display area includes: determining a longer display area as the first display area according to the length of a side to be aligned with each display area.
  • the smaller one is used as a reference, and the larger one is used as the first display area for adjustment.
  • controlling the display screen to be aligned with the first display area and the second display area according to the size information of each display area includes: according to the length of a side to be aligned with each display area , Controlling the first display area to be segmented so that it includes one of the stitching partition and at least one of the functional partitions; wherein the length of one side of the stitching partition is the same as the length of the side to be aligned with the second display area.
  • the spliced partition here refers to the partition that is spliced with the second display area. Because the first display area is larger than the second display area, only a part of the first display area is aligned with the second display area when the two are spliced. This part of the partition is the spliced partition.
  • the position of the splicing partition can be determined according to the actual situation, and can be above, below, or in the middle of the screen. After partitioning, the other partitions besides the splicing partition are functional partitions.
  • status bars can be displayed, such as terminal power, signal strength, time, etc .; they can also be control function bars, such as widget widgets, application icon bars, or It is a virtual key such as a virtual Home key, a back key, a menu key, and the like.
  • An embodiment of the present invention provides another display method for display alignment. As shown in FIG. 2, the method includes:
  • Step 201 The terminal obtains size information of each display area in the two display areas.
  • Step 202 The terminal determines the first display area according to the size information of each display area.
  • steps 201 and 202 are the same as steps 101 and 102 of the first embodiment.
  • Step 203 The terminal controls the first display area to be segmented according to the size information of each display area, so that the segmentation generates at least one spliced partition that is aligned with the second display area and displays at least one display function bar. Functional Division.
  • the terminal divides the first display area, divides at least one area to display the screen in alignment with other display areas, that is, the second display area; and divides at least one area to display the function bar.
  • a partition in which a display screen is aligned with the second display area is referred to as a stitching partition.
  • the remaining partitions are called functional partitions and are used to display the function bar.
  • Step 204 The terminal determines a functional partition located below the splicing partition as a first functional partition.
  • a functional partition is divided below the stitching partition, and this partition is determined as the first functional partition.
  • the stitching partition is aligned and displayed after being spliced with the second display area.
  • Step 205 Display a control function bar in the first function partition.
  • the first function section is used to display a control function bar, such as a widget tool part, an application icon bar, or a virtual key such as a virtual Home key, a return key, a menu key, and the like.
  • a control function bar such as a widget tool part, an application icon bar, or a virtual key such as a virtual Home key, a return key, a menu key, and the like.
  • the displaying a control function bar in the first function zone includes:
  • Step S11 Obtain a Widget tool component of a display application; wherein the Widget tool component is an operation component that controls a display screen of the display application;
  • Step S12 Display the Widget tool part in the first functional partition according to the size information of the first functional partition.
  • the Widget tool component is an operation component that controls the display screen of the display application corresponding to the application.
  • a widget tool component for adjusting a video can be obtained, including a progress bar, a volume bar, a fast forward / backward key, a next video / previous video key, and the like.
  • a Widget tool component for adjusting an image can be obtained, such as a previous / next page key, a zoom-in / zoom-out key, and the like.
  • Different Widget tool parts may be provided with the display application. The terminal obtains the corresponding Widget tool parts through the display application, and adapts the display in the first function zone.
  • the above adaptive display refers to that, because the currently displayed picture is a spliced picture of multiple display areas, and the first functional partition may be located in only one of the display areas, the Widget tool parts need to be adjusted according to the size of the first functional partition. Information to fit the display.
  • the method further includes: displaying a virtual key in the first function section when the Widget tool part of the display application cannot be obtained; or displaying an application icon in the first function section.
  • the display application does not have a corresponding Widget tool part; or the Widget tool part of the display application cannot be obtained successfully; or the Widget tool part of the display application is obtained, but the adaptive display cannot be performed, for example, the size ratio is
  • the functional partitions do not match and cannot be displayed correctly, other control function bars can be displayed in the first functional partition.
  • a control function bar of a virtual key or an application icon may be displayed.
  • the virtual keys refer to virtual keys that control the terminal such as the Home key, the return key, and the menu key; and the application icon is an icon corresponding to various application programs usually displayed on the desktop of the terminal screen.
  • the virtual buttons are displayed, you can control each display area to return to the desktop, return to the previous operation, or open the menu bar by clicking the virtual buttons; when an application icon is displayed, you can switch the display screen to the corresponding application by clicking an application icon The picture.
  • the Widget tool part displaying the application can be obtained and can be adapted to the display, it can also be set to not display the Widget tool part and display a virtual key or an application icon. Specifically, what kind of control function bar is displayed in the first function zone can be set according to actual needs.
  • the displaying an application icon in the first functional zone includes:
  • an application icon is displayed in the first function section. Since there may be many application programs on the terminal, in order to facilitate the operation in the process of aligning the display screens, the first function partition can be fully utilized, and the specific function icons are displayed in a certain order in the first function partition.
  • the specific application icon here includes the following three cases:
  • the user-defined order is displayed. For example, long press an application icon to enter edit mode, drag an application icon to the position of the first function partition, and add it to the custom application icon list. You can also drag and adjust the arrangement of each application icon in the same way order.
  • the first function section displays the corresponding application icon according to the user's customization.
  • the application icon displayed in the first function zone may also be a recently used application icon.
  • the terminal determines the most recently used application icon list, that is, adds a recently used application to the application icon list and places it at the top, and moves the icons in the existing application icon list backward one by one.
  • the application icon list will include multiple recently used application icons, and these application icons are sorted according to the age of use.
  • the most recently used application icon is the most recently used one, ranking second.
  • the app icon is the one used next.
  • only a few of the most recently used application icons can be displayed, or all application icons can be displayed.
  • the application icon displayed in the first function partition may also be an application icon that is used most frequently for a preset period of time.
  • the terminal adds the most frequently used application icons to the application icon list according to the order of use frequency from high to low in the latest preset period of time.
  • the most frequently used application is ranked first, and it is ranked first.
  • the second most frequently used application is the second most frequently used application.
  • the preset time here can be one week, one month, or unlimited time. When the preset time is unlimited, the application list will be sorted according to the frequency of use of all application icons during device use, and all application icons will be added to the application icon list.
  • the first function zone can only display N (for example, 4) application icons at a time, and the application icons to be displayed are larger than N, you can use a method such as a touch body (such as a finger) to slide in the first function zone. Make a selection and select the N application icons to be displayed.
  • N for example, 4
  • the screen of the terminal is a non-touch screen, it can also be selected by using other methods, for example, using keys on the terminal or a mouse or keyboard connected to the terminal for control.
  • the method further includes: determining a functional partition on the side of the first display area that is not spliced with the second display area as a second functional partition;
  • the stitching area of the first display area is divided according to the size information of the second display area, and the overall area after the multiple display areas are stitched may not match the image display ratio.
  • the format of the video picture is fixed, and the proportion of the entire display area does not conform to the format of the video picture.
  • the terminal determines that the functional partition on the side where the first display area and other display areas are not spliced is the second functional partition; and adjusts the size of the second functional partition according to the display screen ratio of the display application, and displays the control Function bar.
  • the second function section may display an application icon; when the first function section displays an application icon, the second function section may display a virtual button, etc. .
  • 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 a status bar, such as a terminal ’s power, signal strength, time, and the like.
  • a status bar such as a terminal ’s power, signal strength, time, and the like.
  • an alignment display method for a display area provided by an embodiment of the present invention includes:
  • Step 301 The terminal selects a display area with the smallest size in the splicing direction among the multiple display areas.
  • the smallest one is selected here as a reference.
  • the display area normally displays the picture; other display areas with a stitching direction larger than the smallest display area need to be processed in subsequent steps before being displayed. Screen to achieve the effect of splicing alignment display. That is, the larger display area is determined as the controlled first display area, and further processing in subsequent steps is performed.
  • FIG. 3B is a schematic diagram of dual screens with different shapes.
  • the display screen 11 is a non-full screen
  • the display screen 12 is a full screen.
  • the display areas of the two screens are not aligned, and the area displayed by the full screen 12 is larger than the non-full screen 11. If both screens are displayed normally, the zoomed sizes of the display screens of the two screens are different, and stitching cannot be achieved, as shown in FIG. 3C.
  • Step 302 The terminal divides other display areas with larger sizes
  • a partition having the same size as the display area with the smallest size in the splicing direction is divided, and the other areas are partitioned, that is, a spliced partition is divided.
  • the display area of the full screen is divided to divide the spliced partition 12c aligned with the non-full screen display area; the remaining area is divided into the upper side.
  • the functional partition 12a and the lower functional partition 12b are as shown in FIG. 3D. Partition display management of the divided display area.
  • Step 303 Display the status bar and the control function bar in different function partitions
  • the portion where the full-screen display area is aligned with the non-full-screen displays the images that need to be aligned.
  • the function section 12a displays the status bar
  • the function section 12b displays other types of control function bars.
  • the status bar here generally refers to the status information display bar 21 of the mobile terminal, for example, displaying a mobile operator, signal strength, battery power, current time, whether Bluetooth or other accessories are turned on, alarm clock identification, and the like.
  • the functional section 12b can display any relevant information.
  • the widget tool part 22 of the application is displayed preferentially, and the adaptive display is performed according to the size of the functional section 12b. If the widget tool part of the application to be displayed is not obtained, Or the acquired Widget tool component cannot be adapted to the display of the functional partition 12b, the virtual button 23 as shown in FIG. 3F or the application icon 24 as shown in FIG. 3G is displayed.
  • Displaying the widget tool part 22 in the functional partition 12b acquiring the widget tool part 22 of the display application, and performing adaptive display according to the size of the functional partition 12b.
  • the Widget tool component 22 here is generally used to control the display screen.
  • the Widget tool component 22 may include a video progress bar, a start button / pause button, a fast forward / rewind button, and a previous video / down A video button, volume adjustment, full screen / exit full screen button, etc .; when displaying a picture, the Widget tool component 22 may include a previous page / next page button, a zoom in / out button, and the like. This makes it easier for users to manipulate the displayed screen in real time.
  • Functional section 12b displays virtual buttons 23: When the control menu Widget tool component 22 of the display application cannot be obtained, or when the acquired Widget tool component cannot be adapted to the area 12b, that is, when the normal display cannot be performed, the virtual button 23 can be displayed . As shown in FIG. 3F, the mobile phone virtual buttons 23 are displayed in the area 12b, which generally include: a return to the desktop button (Home button), a return to the previous page button, and a menu bar button.
  • the application icon 24 is displayed in the control section 12b.
  • the method for determining the application icon 24 includes the following situations:
  • N application icons 24 can be determined to be displayed according to the user's customization. Generally, four or more application icons can be displayed. When the user customizes to display multiple application icons 24, it may be possible to control the partition 12b to not display all the selected ones. At this time, the application icon 24 can be selected by swiping left and right in the control section 12b of the touch screen of the terminal to determine the currently displayed application icon 24. The number and order of the application icons 24 may also be determined according to the user's customization, and after the determination, the application icons 24 are fixedly displayed according to the user's customization.
  • the application icon 24 may be displayed according to the user's recent use, that is, as a recent task bar. Sorted from left to right according to the user's time of use, the application icon 24 of the most recently used application is ranked first on the far left, and the application icon 24 of the most recently used application is ranked second. That is to say, when there is a new application, the application icon 24 is ranked first on the far left, and the previous application icon 24 is sequentially moved to the right.
  • the application icons 24 may also be displayed according to the N application programs that the user has used most frequently in the recent period of time. That is, for a period of time, for example, N applications that are most frequently used by users during a week, where N can be a fixed number, such as 4, or all applications that have been used by users during this period. If the application icon 24 of the function section 12b cannot display all the application icons, it is selected by sliding left and right in the function section 12b of the touch screen of the terminal to determine the currently displayed icon.
  • the above three cases can be used to edit the displayed application icon. For example, you can launch the corresponding application with a single click, enter the state of editing or deleting by double-clicking or long-pressing the application icon, and click to restore to Show status, etc.
  • a large screen (such as a full screen) in the spliced display is divided into display areas and display management, which can make the display of the special-shaped dual-screen mobile phone more beautiful, optimize the UI interaction effect, and make it more convenient. Control, improve user experience.
  • any control function bar or operating component can be displayed to fill the extra display area and make the screen more beautiful. At the same time, it can facilitate user control, optimize UI interaction effects, and improve user experience.
  • An embodiment of the present invention further provides an alignment display device for a display area.
  • the device 400 includes:
  • the obtaining unit 401 is configured to obtain size information of each of the two display areas;
  • a first determining unit 402 configured to determine a first display area according to the size information of each display area
  • the control unit 403 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.
  • control unit is further configured:
  • control unit is further configured:
  • the obtaining unit is configured to: obtain the length of a side to be aligned in each of the two display areas;
  • the first determining unit is further configured to determine a longer display area as the first display area according to a length of a side to be aligned with each display area.
  • control unit is further configured:
  • the apparatus further includes:
  • a second determining unit configured to determine a functional partition located below the splicing partition as a first functional partition
  • the first display unit is configured to display a control function bar in the first function partition.
  • the display unit includes:
  • An obtaining module configured to obtain a Widget tool part of a display application; wherein the Widget tool part is an operation part that controls a display screen of the display application;
  • a first display module is configured to display the Widget tool part in the first functional partition according to the size information of the first functional partition.
  • the apparatus further includes:
  • the second display unit is configured to display a virtual key in the first function section when the Widget tool part of the display application cannot be obtained; or display an application icon in the first function section.
  • the second display unit includes:
  • a first determining module configured to determine a list of recently used application icons;
  • a second display module configured to display application icons in the first functional partition in the order of the most recently used application icon list;
  • a second determining module is configured to determine a list of frequently used application icons according to a sequence of use frequency from high to low according to a recent preset period of time; a third display module is configured to follow the frequently used application icons in the first functional partition The list shows application icons.
  • the apparatus further includes:
  • a third determining unit configured to determine that a functional partition on a side of the first display area that is not spliced with the second display area is a second functional partition
  • a third display unit is configured to display the control function bar in the second function partition according to a ratio of a display screen of the display application.
  • the description of the device embodiment of the present invention is similar to that of the method embodiment described above, and has similar beneficial effects as the method embodiment.
  • For technical details not disclosed in the device embodiments of the present invention please refer to the description of the method embodiments of the present invention for understanding.
  • the above-mentioned alignment display method of the display area is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
  • the computer software product is stored in a storage medium and includes several instructions for A computer device (which may be a personal computer, a mobile terminal, a server, or a network device, etc.) is caused to perform all or part of the methods described in the embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (Read Only Memory, ROM), a magnetic disk, or an optical disk, which can store program codes.
  • ROM Read Only Memory
  • magnetic disk or an optical disk, which can store program codes.
  • optical disk which can store program codes.
  • an embodiment of the present invention provides a terminal for realizing display display alignment.
  • the terminal includes a memory and a processor.
  • the memory stores a computer program that can run on the processor.
  • the processor implements the program when the program is executed. The steps in the alignment display method of the display area provided by the embodiment.
  • an embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored.
  • the computer program is executed by a processor, steps in the method for aligning and displaying a display area provided by the foregoing embodiment are implemented.
  • FIG. 5 is a schematic diagram of a hardware entity of a computer device according to an embodiment of the present invention.
  • the hardware entity of the computer device 500 includes a processor 501, a communication interface 502, and a memory 503.
  • the processor 501 generally controls the overall operation of the computer device 500.
  • the communication interface 502 can enable a computer device to communicate with other terminals or servers through a network.
  • the memory 503 is configured to store instructions and applications executable by the processor 501, and may also cache data to be processed or processed by each module in the processor 501 and the computer device 500 (for example, image data, audio data, voice communication data, and Video communication data), can be realized by flash memory (FLASH) or random access memory (Random Access Memory, RAM).
  • FLASH FLASH
  • RAM Random Access Memory
  • an embodiment or “an embodiment” mentioned throughout the specification means that a particular feature, structure, or characteristic related to the embodiment is included in at least one embodiment of the present invention.
  • the appearances of "in one embodiment” or “in an embodiment” appearing throughout the specification are not necessarily referring to the same embodiment.
  • the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
  • the size of the sequence numbers of the above processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not deal with the embodiments of the present invention.
  • the implementation process constitutes any limitation.
  • the sequence numbers of the foregoing embodiments of the present invention are only for description, and do not represent the superiority or inferiority of the embodiments.
  • the disclosed device and method may be implemented in other ways.
  • the device embodiments described above are only schematic.
  • the division of the unit is only a logical function division.
  • there may be another division manner such as multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed components are coupled, or directly coupled, or communicated with each other through some interfaces.
  • the indirect coupling or communication connection of the device or unit may be electrical, mechanical, or other forms. of.
  • the units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed across multiple network units; Some or all of the units may be selected according to actual needs to achieve the objective of the solution of this embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above integration
  • the unit can be implemented in the form of hardware, or in the form of hardware plus software functional units.
  • the foregoing program may be stored in a computer-readable storage medium.
  • the execution includes Steps of the above method embodiment; and the foregoing storage medium includes: various types of media that can store program codes, such as a mobile storage device, a read-only memory (Read Only Memory, ROM), a magnetic disk, or an optical disc.
  • ROM Read Only Memory
  • the above-mentioned integrated unit of the present invention is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
  • the computer software product is stored in a storage medium and includes several instructions for A computer device (which may be a personal computer, a mobile terminal, a server, or the like) is caused to perform all or part of the method described in each embodiment of the present invention.
  • the foregoing storage media include: various types of media that can store program codes, such as a mobile storage device, a ROM, a magnetic disk, or an optical disc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

本发明实施例公开了一种显示区域的对齐显示方法及终端及存储介质。所述方法包括:获取两个显示区域中每一显示区域的尺寸信息;根据所述每一显示区域的尺寸信息,确定第一显示区域;根据所述每一显示区域的尺寸信息,控制所述第一显示区域与第二显示区域对齐显示画面。

Description

一种显示区域的对齐显示方法及终端、存储介质
本申请要求享有2018年07月30日提交的名称为“一种显示区域的对齐显示方法及装置、终端、存储介质”的中国专利申请CN201810853177.4的优先权,其全部内容通过引用并入本文中。
技术领域
本发明实施例涉及用户界面图像显示技术,涉及但不限于一种显示区域的对齐显示方法及终端、存储介质。
背景技术
随着多媒体技术的快速发展和不断提升的用户需求,配置有折叠屏、柔性屏、双屏或多屏的多显示区域终端日益增多。多显示区域终端能够适应更多的使用场景,并更加便于携带,带来了非常好的用户体验效果。随着无边框全面屏的逐渐增多,将无边框全面屏应用于多显示区域终端,并且拼接显示画面的技术也成为用户界面图像显示的发展趋势。对于拼接显示画面的多显示区域,相关技术通常采用完全相同的屏幕进行拼接显示。但是,如果限制拼接显示的屏幕或显示区域的形状必须是相同的,并不利于多媒体终端的多样化发展。而如果进行拼接显示的屏幕或显示区域形状不同,则难以实现画面的对齐,降低用户体验。
发明内容
有鉴于此,本发明实施例为解决现有技术中存在的至少一个问题而提供一种显示区域的对齐显示方法,该方法包括:
获取两个显示区域中每一显示区域的尺寸信息;
根据所述每一显示区域的尺寸信息,确定第一显示区域;
根据所述每一显示区域的尺寸信息,控制所述第一显示区域与第二显示区域对齐显示画面。
本发明实施例还提供一种显示区域的对齐显示装置,所述装置包括:
获取单元,配置为获取两个显示区域中每一显示区域的尺寸信息;
第一确定单元,配置为根据所述每一显示区域的尺寸信息,确定第一显示区域;
控制单元,配置为根据所述每一显示区域的尺寸信息,控制所述第一显示区域与第二显示区域对齐显示画面。
本发明实施例还提供一种显示区域的对齐显示终端,所述终端包括:存储器、处理器,所述存储器存储有可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述显示区域的对齐显示方法。
本发明实施例还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机可执行指令,该计算机可执行指令配置为执行上述显示区域的对齐显示方法。
本发明实施例提供的技术方案,能够使不同形状或大小的多个显示区域拼接显示时显示的画面对齐,从而实现了显示界面的美化,具有更好的UI交互效果,更加便于在显示的同时进行其他的操作,进而提升了用户使用感受。
附图说明
图1为本发明实施例的显示区域的对齐显示方法实现流程示意图;
图2为本发明实施例的又一显示区域的对齐显示方法实现流程示意图;
图3A为本发明实施例的又一显示区域的对齐显示方法实现流程示意图;
图3B为本发明实施例的应用场景示意图;
图3C为本发明实施例的应用场景中利用相关技术显示图像的示意图;
图3D为本发明实施例的分割屏幕的示意图;
图3E为本发明实施例在第一功能分区显示Widget工具的示意图;
图3F为本发明实施例在第一功能分区显示虚拟按键的示意图;
图3G为本发明实施例在第一功能分区显示应用图标的示意图;
图3H为本发明实施例的替代方法的示意图;
图4为本发明实施例的显示区域的对齐显示装置的结构示意图;
图5为本发明实施例中计算机设备的一种硬件实体示意图。
具体实施方式
为了更好地理解本发明的各实施例,现对以下名词进行做出如下解释:
UI(User Interface,用户界面)是指用户的操作界面,包含移动智能终端应用程序、网页、智能穿戴设备的显示界面等等。
Widget(Web Widget,网页微型部件)是一种网页控制部件,它的表现形式可以是视频、地图、新闻、小游戏或者其他控制功能的微型控制部件。
全面屏是超高屏占比手机设计的一个比较宽泛的定义,即手机的正面都是屏幕,手机的四个边框都采用无边框设计,追求接近100%的屏占比。
实施例一
本发明实施例提供一种显示区域的对齐显示方法,如图1所示,该方法包括:
步骤101、终端获取两个显示区域中每一显示区域的尺寸信息;
这里的终端可以是具有多个显示区域的终端,例如,双屏手机、折叠屏手机、柔性屏手机、双屏笔记本电脑、台式电脑、平板电脑等智能终端;也可以是仅具有一个显示区域的多个终端来共同显示一个画面;还可以是上述两种情况的组合。
如果是一个具有多个显示区域的终端,那么由该终端来获取其自身具有的每一显示区域的尺寸信息;如果是多个仅具有一个显示区域的终端来共同显示画面,那么就要在这多个终端之间建立连接,由其中一个终端来获取每一个终端的显示区域的尺寸信息。
步骤102、终端根据每一屏显示区域的尺寸信息,确定第一显示区域;
无论是一个具有多个显示区域的终端,还是具有一个显示区域的多个终端,其显示区域的大小都可能不相同。比如,一个双屏手机,可以通过滑动或者翻转屏幕,使两个屏幕拼接在一起。但是,由于其中一个是主屏幕,可能位于听筒的一侧,而另一个屏幕位于另一侧,两个屏幕的大小可能并不一致。当两个屏幕尺寸不同时,要拼接起来显示同一个画面,就会造成图像的变形,或不能对齐。
这里终端通过获取每一显示区域的尺寸信息,确定两个屏幕中的较大的一个为第一显示区域;或者当具有多个显示区域的时候,比如3个显示区域,确定最小的一个显示区域作为基准,将其他较大的显示区域都作为第一显示区域并进行调整;也可以确定最大的一个显示区域作为基准,将较小的显示区域作为第一显示区域进行调整;还可以将每一个显示区域都确定为第一显示区域,分别进行调整。
步骤103、终端根据所述每一显示区域的尺寸信息,控制所述第一显示区域与第二 显示区域对齐显示画面。
当确定了第一显示区域后,就可以根据每一显示区域的尺寸信息,对第一显示区域进行调整。下面以两个显示区域为例进行说明,如果两个显示区域的尺寸信息(假设用长和宽来表示)都一样,而且第一显示区域的长与第二显示区域的长对齐,或者第一显示区域的宽与第二显示区域的宽对齐,那么就不要进行调整了,因为两个屏幕本身就是对齐的。如果两个屏幕的尺寸信息不一样,那么就需要进行调整了,例如将最小的显示区域作为基准时,即将最小的显示区域作为第二显示区域,将第一显示区域,也就是较大的显示区域经过调整后再来与第二显示区域对齐显示。例如,对第一显示区域进行分割或者压缩等。
在其他实施例中,所述根据每一显示区域的尺寸信息,控制所述第一显示区域与第二显示区域对齐显示画面,包括:根据所述每一显示区域的尺寸信息,控制所述第一显示区域分割成至少两个分区,使至少一个所述分区与所述第二显示区域对齐显示画面。
这里,将第一显示区域进行分割,分割出至少一个分区来与其他的显示区域,即第二显示区域对齐显示画面。比如,根据较小的显示区域的尺寸信息,将较大的显示区域分割出一个与较小的显示区域尺寸相同的分区,用来与较小的显示区域对齐显示画面。
这里,所述的尺寸相同,可以是长、宽都相同,也可以是只有对齐的一边的长度相同,其他边的长度不同。
在其他实施例中,所述根据每一显示区域的尺寸信息,控制所述第一显示区域分割成至少两个分区,使至少一个所述分区与所述第二显示区域对齐显示画面,包括:根据所述每一显示区域的尺寸信息,控制所述第一显示区域进行分割,使分割产生至少一个与所述第二显示区域对齐显示画面的拼接分区和至少一个显示功能栏的功能分区;其中,所述拼接分区与所述第二显示区域的至少一边的尺寸相同。
这里,将第一显示区域进行分割,分割出至少一个分区来与其他显示区域,即第二显示区域对齐显示画面;并分割出至少一个分区来显示功能栏。这里把与第一显示区域对齐显示画面的分区称为拼接分区;拼接分区的位置可以根据实际情况确定,可以在屏幕的上方、下方或者中间等。把其他剩余的分区称为功能分区,专门用来显示功能栏。在功能分区可以显示状态栏,比如终端的电量、信号强度、时间等;也可以是控制功能栏,比如Widget工具部件、应用图标栏,或者是如虚拟的Home键、返回键、菜单键等虚拟按键。
在其他实施例中,所述在多个显示区域中,获取每一显示区域的尺寸信息,包括: 在所述多个显示区域中,获取每一显示区域要对齐的一边的长度;
所述根据每一显示区域的尺寸信息,确定第一显示区域,包括:根据所述每一显示区域要对齐的一边的长度,将长度较长的一个显示区域确定为所述第一显示区域。
也就是两个显示区域对齐显示的情况,将其中尺寸较小的一个作为基准,尺寸较大的一个作为第一显示区域进行调整。
在其他实施例中,所述根据所述每一显示区域的尺寸信息,控制所述第一显示区域与第二显示区域对齐显示画面,包括:根据所述每一显示区域要对齐的一边的长度,控制所述第一显示区域进行分割,使其中包含一个所述拼接分区和至少一个所述功能分区;其中,所述拼接分区的一边长度与第二显示区域要对齐的一边长度相同。
这里的拼接分区是指与第二显示区域进行拼接的分区,由于第一显示区域比第二显示区域的尺寸大,两者进行拼接时第一显示区域仅有一部分分区与第二显示区域对齐,这一部分分区就是分割出的拼接分区。该拼接分区的位置可以根据实际情况确定,可以在屏幕的上方、下方或者中间等。分区后产生的除了拼接分区的其他分区就是功能分区,在功能分区可以显示状态栏,比如终端的电量、信号强度、时间等;也可以是控制功能栏,比如Widget工具部件、应用图标栏,或者是如虚拟的Home键、返回键、菜单键等虚拟按键。
实施例二
本发明实施例提供又一种显示区域的对齐显示方法,如图2所示,该方法包括:
步骤201、终端获取两个显示区域中每一显示区域的尺寸信息;
步骤202、终端根据每一显示区域的尺寸信息,确定第一显示区域;
上述步骤201与步骤202与实施例一的步骤101与步骤102相同。
步骤203、终端根据所述每一显示区域的尺寸信息,控制所述第一显示区域进行分割,使分割产生至少一个与所述第二显示区域对齐显示画面的拼接分区和至少一个显示功能栏的功能分区。
这里终端是将第一显示区域进行分割,分割出至少一个区域来与其他显示区域,即第二显示区域对齐显示画面;并分割出至少一个区域来显示功能栏。这里把与第二显示区域对齐显示画面的分区称为拼接分区。把其他剩余的分区称为功能分区,专门用来显示功能栏。在功能分区可以显示状态栏,比如终端的电量、信号强度、时间等;也可以 显示控制功能栏,比如Widget工具部件、应用图标栏,或者是如虚拟的Home键、返回键、菜单键等虚拟按键。
步骤204、终端将位于所述拼接分区下方的功能分区确定为第一功能分区;
这里在终端将第一显示区域进行分割时,在拼接分区的下方分出一个功能分区,将这一分区确定为第一功能分区。拼接分区与第二显示区域进行拼接后对齐显示。
步骤205、在所述第一功能分区显示控制功能栏。
第一功能分区用于显示控制功能栏,比如Widget工具部件、应用图标栏,或者是如虚拟的Home键、返回键、菜单键等虚拟按键。
在其他实施例中,所述在所述第一功能分区显示控制功能栏,包括:
步骤S11,获取显示应用的Widget工具部件;其中,所述Widget工具部件为控制所述显示应用的显示画面的操作部件;
步骤S12,按照所述第一功能分区的尺寸信息,在所述第一功能分区显示所述Widget工具部件。
这里的Widget工具部件是显示应用对应的控制显示应用的显示画面的操作部件。比如,当显示应用为一个视屏播放应用时,可以获取到用于调整视频的Widget工具部件,包括进度条、音量条、快进/快退键、下一视频/上一视频键等等。再如,当显示应用为一个图像展示应用时,可以获取到用于调整图像的Widget工具部件,比如上一页/下一页键、放大/缩小键等等。不同的Widget工具部件可以是显示应用自带的,终端通过显示应用来获取对应的Widget工具部件,并在第一功能分区适配显示。
上述适配显示是指,由于当前显示的画面是多个显示区域的拼接画面,而第一功能分区可能仅位于其中一个显示区域,所以需要将Widget工具部件进行调整,根据第一功能分区的尺寸信息来适配显示。
在其他实施例中,所述方法还包括:当不能获取到所述显示应用的Widget工具部件时,在所述第一功能分区显示虚拟按键;或者,在所述第一功能分区显示应用图标。
这里,当显示应用不带有对应的Widget工具部件时;或者不能成功获取到显示应用的Widget工具部件;或者获取到了显示应用的Widget工具部件,但是不能进行适配显示,比如尺寸比例与第一功能分区不匹配而导致不能正确显示时,可以在第一功能分区显示其他的控制功能栏。
例如,可以显示虚拟按键或者应用图标的控制功能栏。虚拟按键是指如Home键、 返回键、菜单键等控制终端的虚拟按键;而应用图标是通常显示在终端屏幕桌面上的各种应用程序对应的图标。当显示虚拟按键时,可以通过点击虚拟按键控制每一显示区域返回桌面、返回上一操作、或者打开菜单栏等;当显示应用图标时,可以通过点击一个应用图标将显示画面切换到该应用对应的画面。
当然,在能够获取到显示应用的Widget工具部件并且能够适配显示时,也可以设定不显示Widget工具部件,而显示虚拟按键或者应用图标。具体在第一功能分区显示何种控制功能栏,可以根据实际需求来设定。
在其他实施例中,所述在第一功能分区显示应用图标,包括:
确定最近使用应用图标列表,在所述第一功能分区按照所述最近使用应用图标列表的顺序,显示应用图标;或者,根据最近一段预设时间内,使用频率从高到低的顺序,确定常用应用图标列表;在所述第一功能分区按照所述常用应用图标列表显示应用图标。
这里,在第一功能分区显示应用图标。由于终端可能存在众多应用程序,为了便于在对齐显示画面的过程中,能够便于操作,可以充分利用第一功能分区,在第一功能分区按照一定的顺序来显示特定的应用图标。这里的特定的应用图标包括以下三种情况:
第一、根据用户自定义的应用图标列表,按照用户自定义的顺序来显示。例如,长按一个应用图标进入编辑模式,拖动一个应用图标到第一功能分区的位置,将其列入自定义的应用图标列表,并可以通过同样的方式来拖动调整各应用图标的排列顺序。当编辑完成后,第一功能分区就按照用户的自定义显示相应的应用图标。
第二、除了用户自定义之外,在第一功能分区显示的应用图标还可以是最近使用的应用图标。终端确定最近使用的应用图标列表,即,将最近使用的一个应用程序加入到应用图标列表中,并放在最前面,将已存在应用图标列表中的图标依次向后移动一个。这样,应用图标列表中就会包含多个最近使用的应用图标,并且这些应用图标是按照使用时间的远近来排序的,排在最前面的一个应用图标是最近使用的一个,排在第二位的应用图标是次近使用的一个。这里可以仅显示最近使用的几个应用图标,也可以显示全部的应用图标。
第三、在第一功能分区显示的应用图标还可以是一段预设时间内使用频率最高的应用图标。终端根据最近一段预设时间内,使用频率从高到低的顺序,将使用频率最高的几个应用图标加入到应用图标列表中,排在最前面的是使用频率最高的应用程序,排在第二位的是使用频率次高的应用程序。这里的一段预设时间可以是一周、一个月,也可 以是无限的时间。当预设的时间为无限的时间时,应用程序列表会按照设备使用过程中,所有应用图标的使用频率进行排序,并将所有应用图标加入应用图标列表中。
无论在第一功能分区显示上述的三种情况中的哪一种,都可以显示多个应用图标或者全部的应用图标。当第一功能分区一次只能显示N个(例如4个)应用图标时,要显示的应用图标大于N个,则可以通过用触控体(如手指)等在第一功能分区滑动的方法来进行选择,选择出要显示的N个应用图标。当然,如果终端的屏幕为非触控屏幕,也可以通过利用其他方式来进行选择,比如,使用终端上的按键或者与终端连接的鼠标或键盘等来进行控制。
在其他实施例,所述方法还包括:确定所述第一显示区域中与所述第二显示区域不进行拼接的一侧的功能分区为第二功能分区;
根据所述显示应用的显示画面的比例,在所述第二功能分区显示所述控制功能栏。
由于多个显示区域进行拼接显示同一画面时,第一显示区域的拼接区域是按照第二显示区域的尺寸信息来划分的,多个显示区域拼接后的整体区域可能并不符合图像显示的比例。比如,要对齐显示一个视频画面,该视频画面的格式是固定的,而整个显示区域的比例不符合该视频画面的格式,导致显示画面时可能会有一定的区域的不能显示画面。此时,屏幕上的区域空间就被浪费了。因此,在对第一显示区域进行分割时,不仅可以横向的分割,分出上下排列的区域,也可以纵向分割,分出左右排列的区域,只要分出的第二功能分区不与其他显示区域进行拼接就可以了。这里终端确定第一显示区域与其他显示区域不进行拼接的一侧的功能分区为第二功能分区;并根据所述显示应用的显示画面比例来调整第二功能分区的尺寸,并显示所述控制功能栏。
此时,当所述第一功能分区显示Widget工具部件时或者虚拟按键时,则第二功能分区可以显示应用图标;当第一功能分区显示应用图标时,第二功能分区可以显示虚拟按键等等。
在本实施例中,该方法还可以包括:确定所述拼接分区的上方包含第三功能分区;第三功能分区可以用来显示状态栏,比如终端的电量、信号强度、时间等。上述的分割方法或显示的功能模块也可以根据实际的需求来进行组合或者变换。
实施例三
本发明实施例提供的一种显示区域的对齐显示方法,如图3A所示,该方法包括:
步骤301、终端选择多个显示区域中拼接方向尺寸最小的一个显示区域;
这里选择最小的是为了将其作为基准,其他与该尺寸最小的显示区域进行拼接时,该显示区域正常显示画面;拼接方向大于该尺寸最小显示区域的其他显示区域需要进行后续步骤的处理再显示画面,来达到拼接对齐显示的效果。也就是将较大的显示区域确定为被控制的第一显示区域,并进行后续步骤的进一步处理。
在本实施例中,需要将一块非全面屏和一块全面屏进行横向的拼接,那么非全面屏的长边短于全面屏的长边,如图3B所示。图3B为不同形状的双屏示意图,显示屏11为非全面屏,显示屏12为全面屏。显然两个屏幕的显示区域没有对齐,全面屏12显示的区域尺寸大于非全面屏11。如果两块屏幕都正常显示,则两块屏幕显示画面的缩放大小不同,无法实现拼接,如图3C所示。
步骤302、终端对其他较大尺寸的显示区域进行分割;
也就是说,对其他较大尺寸的显示区域,即第一显示区域,分割出一块与拼接方向尺寸最小的显示区域的大小相同的分区,并对其他区域进行分区,即分割出一块拼接分区。例如,在一块非全面屏和一块全面屏进行横向拼接时,对全面屏进行显示区域的分割,划分出与非全面屏显示区域对齐的拼接分区12c;再对剩余的区域中划分为上侧的功能分区12a和下侧的功能分区12b,如图3D所示。将划分后的显示区域进行分区显示管理。
步骤303、分别在不同的功能分区显示状态栏和控制功能栏;
如图3D所示,全面屏显示区域与非全面屏对齐的部分显示需要对齐显示的画面,功能分区12a显示状态栏,功能分区12b显示其他类型的控制功能栏。
如图3E所示,这里的状态栏一般是指移动终端的状态信息显示栏21,例如,显示移动运营商、信号强度、电池电量、当前时间、蓝牙或其他配件是否开启、闹钟标识等等。
而功能分区12b可以显示任何相关的信息,在本实施例中,优先显示应用的Widget工具部件22,并根据功能分区12b的大小进行适配显示;如果未获取到待显示应用的Widget工具部件,或者获取的Widget工具部件不能适配功能分区12b的显示,则显示如图3F中的虚拟按键23或如图3G中的应用图标24。
功能分区12b显示Widget工具部件22:获取显示应用的Widget工具部件22,并根据功能分区12b的尺寸大小进行适配显示。这里的Widget工具部件22一般是用来控制显 示画面的,比如,在播放视频时,Widget工具部件22可以包括视频进度条、开始按键/暂停按键、快进/快退按键、上一视频/下一视频按键、音量调节以及全屏/退出全屏按键等;在显示图片时,Widget工具部件22可以包括上一页/下一页按键、放大/缩小按键等。这样更方便用户实时操控显示的画面。
功能分区12b显示虚拟按键23:当不能获取到显示应用的控制菜单Widget工具部件22时,或者获取到的Widget工具部件与区域12b不能适配时,即不能正常显示时,则可以显示虚拟按键23。如图3F所示,在区域12b显示手机虚拟按键23,一般包括:返回桌面按键(Home键)、返回上一页按键、以及菜单栏按键等。
控制分区12b显示应用图标24:应用图标24的确定方式包括以下几种情况:
第一,可以根据用户的自定义确定显示N个应用图标24,一般可以显示4个,或多个;当用户自定义显示多个应用图标24时,可能控制分区12b不能显示全部的被选择的应用图标24,这时可以通过在终端的触控屏的控制分区12b中左右滑动来进行选择,确定当前显示的应用图标24。应用图标24的数量和顺序也可以根据用户的自定义来确定,确定后就固定按照用户的自定义来显示。
第二,可以根据用户的最近使用来显示应用图标24,即,作为近期任务栏。根据用户使用的时间来从左至右排序,用户最近使用的一个应用程序的应用图标24排在最左边第一个,次近使用的应用程序的应用图标24排在第二个。也就是说,有新使用的应用程序时,就将这一应用图标24排在最左边第一个,并将之前的应用图标24顺次向右移动。
第三,还可以根据用户在最近一段时间内使用频率最高的N个应用程序来显示应用图标24。也就是选出一段时间内,比如一周时间内用户使用频率最高的N个应用程序,其中,N可以是固定的数目,比如4个,也可以是所有用户在这段时间内使用过的应用程序的应用图标24,如果功能分区12b不能显示全部的应用图标时,通过在终端的触控屏的功能分区12b中左右滑动来进行选择,确定当前显示的图标。
上述三种情况都可以对显示的应用图标进行编辑,比如,通过单次点击启动相应的应用程序,通过连续两次点击或者长按应用图标来进入编辑排序或删除的状态,通过再次点击还原到显示状态,等等。
通过本实施例中的方案,对拼接显示中的一块大屏(如全面屏)进行了显示区域划分和显示管理,可以使异形双屏手机的显示更加美观,优化了UI交互效果,并且更加便于控制,提升了用户使用感受。
在其他实施例中,可以有其他的显示区域的划分方法,比如,根据显示画面的比例 拼接显示后,在全面屏的一侧存在多余区域12d,如图3H所示,在区域12d中可以填充其他的显示内容。比如,当区域12b显示Widget工具部件22或者虚拟按键23时,在区域12d显示用户自定义的N个应用图标24,可以通过上下滑动进行选择,或固定显示N个应用图标24;或者显示用户最近使用的应用图标24;或者显示近期使用频率较高的N个应用图标24等等。除了上述实施例中的几种方案的各种组合分别显示在区域12a、区域12b和区域12d之外,还可以显示任何控制功能栏或操作部件,来填充多余的显示区域,使画面更加美观,同时又可以便于用户的控制,优化UI交互效果,提升用户体验。
本发明实施例还提供一种显示区域的对齐显示装置,如图4所示,所述装置400包括:
获取单元401,配置为获取两个显示区域中每一显示区域的尺寸信息;
第一确定单元402,配置为根据所述每一显示区域的尺寸信息,确定第一显示区域;
控制单元403,配置为根据所述每一显示区域的尺寸信息,控制所述第一显示区域与第二显示区域对齐显示画面。
在其他实施例中,所述控制单元,还配置为:
根据所述每一显示区域的尺寸信息,控制所述第一显示区域分割成至少两个分区,使至少一个所述分区与所述第二显示区域对齐显示画面。
在其他实施例中,所述控制单元,还配置为:
根据所述每一显示区域的尺寸信息,控制所述第一显示区域进行分割,使分割产生至少一个与所述第二显示区域对齐显示画面的拼接分区和至少一个显示功能栏的功能分区;其中,所述拼接分区与所述第二显示区域的至少一边的尺寸相同。
在其他实施例中,所述获取单元,配置为:在所述获取两个显示区域中每一显示区域要对齐的一边的长度;
所述第一确定单元,还配置为:根据所述每一显示区域要对齐的一边的长度,将长度较长的一个显示区域确定为所述第一显示区域。
在其他实施例中,所述控制单元,还配置为:
根据所述每一显示区域要对齐的一边的长度,控制所述第一显示区域进行分割,使其中包含一个所述拼接分区和至少一个所述功能分区;其中,所述拼接分区的一边长度 与第二显示区域要对齐的一边长度相同。
在其他实施例中,所述装置还包括:
第二确定单元,配置为将位于所述拼接分区下方的功能分区确定为第一功能分区;
第一显示单元,配置为在所述第一功能分区显示控制功能栏。
在其他实施例中,所述显示单元,包括:
获取模块,配置为获取显示应用的Widget工具部件;其中,所述Widget工具部件为控制所述显示应用的显示画面的操作部件;
第一显示模块,配置为按照所述第一功能分区的尺寸信息,在所述第一功能分区显示所述Widget工具部件。
在其他实施例中,所述装置还包括:
第二显示单元,配置为当不能获取到所述显示应用的Widget工具部件时,在所述第一功能分区显示虚拟按键;或者,在所述第一功能分区显示应用图标。
在其他实施例中,所述第二显示单元,包括:
第一确定模块,配置为确定最近使用应用图标列表;第二显示模块,配置为在所述第一功能分区按照所述最近使用应用图标列表的顺序,显示应用图标;
或者,
第二确定模块,配置为根据最近一段预设时间内,使用频率从高到低的顺序,确定常用应用图标列表;第三显示模块,配置为在所述第一功能分区按照所述常用应用图标列表显示应用图标。
在其他实施例中,所述装置还包括:
第三确定单元,配置为确定所述第一显示区域中与所述第二显示区域不进行拼接的一侧的功能分区为第二功能分区;
第三显示单元,配置为根据所述显示应用的显示画面的比例,在所述第二功能分区显示所述控制功能栏。
本发明装置实施例的描述,与上述方法实施例的描述是类似的,具有同方法实施例相似的有益效果。对于本发明装置实施例中未披露的技术细节,请参照本发明方法实施例的描述而理解。
需要说明的是,本发明实施例中,如果以软件功能模块的形式实现上述的显示区域的对齐显示方法,并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、移动终端、服务器、或者网络设备等)执行本发明各个实施例所述方法的全部或部分。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read Only Memory,ROM)、磁碟或者光盘等各种可以存储程序代码的介质。这样,本发明实施例不限制于任何特定的硬件和软件结合。
对应地,本发明实施例提供一种实现显示区域对齐显示的终端,包括存储器和处理器,所述存储器存储有可在处理器上运行的计算机程序,所述处理器执行所述程序时实现上述实施例提供的显示区域的对齐显示方法中的步骤。
对应地,本发明实施例提供一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述实施例提供的显示区域的对齐显示方法中的步骤。
这里需要指出的是:以上存储介质和设备实施例的描述,与上述方法实施例的描述是类似的,具有相同方法实施例相似的有益效果。对于本发明存储介质和设备实施例中未披露的技术细节,请参照本发明方法实施例的描述而理解。
需要说明的是,图5为本发明实施例中计算机设备的一种硬件实体示意图,如图5所示,该计算机设备500的硬件实体包括:处理器501、通信接口502和存储器503,其中
处理器501通常控制计算机设备500的总体操作。
通信接口502可以使计算机设备通过网络与其他终端或服务器通信。
存储器503配置为存储由处理器501可执行的指令和应用,还可以缓存待处理器501以及计算机设备500中各模块待处理或已经处理的数据(例如,图像数据、音频数据、语音通信数据和视频通信数据),可以通过闪存(FLASH)或随机访问存储器(Random Access Memory,RAM)实现。
应理解,说明书通篇中提到的“一个实施例”或“一实施例”意味着与实施例有关的特定特征、结构或特性包括在本发明的至少一个实施例中。因此,在整个说明书各处出现的“在一个实施例中”或“在一实施例中”未必一定指相同的实施例。此外,这些特定的特征、结构或特性可以任意适合的方式结合在一个或多个实施例中。应理解,在本发明的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程 的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元;既可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。
另外,在本发明各实施例中的各功能单元可以全部集成在一个处理单元中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、只读存储器(Read Only Memory,ROM)、磁碟或者光盘等各种可以存储程序代码的介质。
或者,本发明上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、移动终端、服务器等)执行本发明各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、ROM、磁碟或者光盘等各种可以存储程序 代码的介质。
以上所述,仅为本发明的实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。

Claims (12)

  1. 一种显示区域的对齐显示方法,其中,所述方法包括:
    获取两个显示区域中每一显示区域的尺寸信息;
    根据所述每一显示区域的尺寸信息,确定第一显示区域;
    根据所述每一显示区域的尺寸信息,控制所述第一显示区域与第二显示区域对齐显示画面。
  2. 根据权利要求1所述的方法,其中,所述根据每一显示区域的尺寸信息,控制所述第一显示区域与第二显示区域对齐显示画面,包括:
    根据所述每一显示区域的尺寸信息,控制所述第一显示区域分割成至少两个分区,使至少一个所述分区与所述第二显示区域对齐显示画面。
  3. 根据权利要求2所述的方法,其中,所述根据所述每一显示区域的尺寸信息,控制所述第一显示区域分割成至少两个分区,使至少一个所述分区与所述第二显示区域对齐显示画面,包括:
    根据所述每一显示区域的尺寸信息,控制所述第一显示区域进行分割,使分割产生至少一个与所述第二显示区域对齐显示画面的拼接分区和至少一个显示功能栏的功能分区;
    其中,所述拼接分区与所述第二显示区域的至少一边的尺寸相同。
  4. 根据权利要求1所述的方法,其中,所述获取两个显示区域中每一显示区域的尺寸信息,包括:获取每一显示区域要对齐的一边的长度;
    所述根据每一显示区域的尺寸信息,确定第一显示区域,包括:根据所述每一显示区域要对齐的一边的长度,将长度较长的一个显示区域确定为所述第一显示区域。
  5. 根据权利要求4所述的方法,其中,所述根据所述每一显示区域的尺寸信息,控制所述第一显示区域与第二显示区域对齐显示画面,包括:
    根据所述每一显示区域要对齐的一边的长度,控制所述第一显示区域进行分割,使其中包含一个所述拼接分区和至少一个所述功能分区;其中,所述拼接分区的一边长度与第二显示区域要对齐的一边长度相同。
  6. 根据权利要求3至5任一项所述的方法,其中,所述方法还包括:
    将位于所述拼接分区下方的功能分区确定为第一功能分区;
    在所述第一功能分区显示控制功能栏。
  7. 根据权利要求6所述的方法,其中,所述在所述第一功能分区显示控制功能栏,包括:
    获取显示应用的Widget工具部件;其中,所述Widget工具部件为控制所述显示应用的显示画面的操作部件;
    按照所述第一功能分区的尺寸信息,在所述第一功能分区显示所述Widget工具部件。
  8. 根据权利要求7所述的方法,其中,所述方法还包括:
    当不能获取到所述显示应用的Widget工具部件时,在所述第一功能分区显示虚拟按键;或者,在所述第一功能分区显示应用图标。
  9. 根据权利要求8所述的方法,其中,所述在第一功能分区显示应用图标,包括:
    确定最近使用应用图标列表,在所述第一功能分区按照所述最近使用应用图标列表的顺序,显示应用图标;
    或者,
    根据最近一段预设时间内,使用频率从高到低的顺序,确定常用应用图标列表;在所述第一功能分区按照所述常用应用图标列表显示应用图标。
  10. 根据权利要求3至5任一项所述的方法,其中,所述方法还包括:
    确定所述第一显示区域中与所述第二显示区域不进行拼接的一侧的功能分区为第二功能分区;
    根据所述显示应用的显示画面的比例,在所述第二功能分区显示所述控制功能栏。
  11. 一种显示区域的对齐显示终端,其中,所述终端包括:存储器、处理器,所述存储器存储有可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述权利要求1至10任一项提供的显示区域的对齐显示方法。
  12. 一种计算机可读存储介质,其中,所述计算机可读存储介质中存储有计算机可执行指令,该计算机可执行指令配置为执行上述权利要求1至10任一项提供的显示区域的对齐显示方法。
PCT/CN2019/098181 2018-07-30 2019-07-29 一种显示区域的对齐显示方法及终端、存储介质 WO2020024901A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810853177.4 2018-07-30
CN201810853177.4A CN110780951B (zh) 2018-07-30 2018-07-30 一种显示区域的对齐显示方法及装置、终端、存储介质

Publications (1)

Publication Number Publication Date
WO2020024901A1 true WO2020024901A1 (zh) 2020-02-06

Family

ID=69232308

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/098181 WO2020024901A1 (zh) 2018-07-30 2019-07-29 一种显示区域的对齐显示方法及终端、存储介质

Country Status (2)

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

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150009097A1 (en) * 2013-07-03 2015-01-08 Samsung Electronics Co., Ltd. Method for controlling combined display and electronic device thereof
CN104346115A (zh) * 2013-07-29 2015-02-11 中兴通讯股份有限公司 将图片分配到多个终端进行显示的方法及终端
CN104516696A (zh) * 2013-09-27 2015-04-15 联想(北京)有限公司 一种信息处理方法及电子设备
CN104866265A (zh) * 2015-04-29 2015-08-26 努比亚技术有限公司 多媒体文件的显示方法和装置

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006003714A1 (ja) * 2004-07-06 2006-01-12 Fujitsu Limited 読み上げ機能付きブラウザプログラム、読み上げ機能付きブラウザ、ブラウジング処理方法およびブラウザプログラム記録媒体
JP2007114402A (ja) * 2005-10-19 2007-05-10 Matsushita Electric Ind Co Ltd 表示処理装置
CN101552836A (zh) * 2009-05-18 2009-10-07 浙江大学 应用于手机中移动Widget引擎的实现方法
CN101605294A (zh) * 2009-07-13 2009-12-16 浙江大学 基于TD-SCDMA网络的Widget组件管理的方法
CN104750365B (zh) * 2009-12-11 2018-12-14 华为终端(东莞)有限公司 一种界面显示的方法及装置
CN107566616A (zh) * 2017-08-15 2018-01-09 维沃移动通信有限公司 一种信息的显示方法、终端及计算机可读存储介质

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150009097A1 (en) * 2013-07-03 2015-01-08 Samsung Electronics Co., Ltd. Method for controlling combined display and electronic device thereof
CN104346115A (zh) * 2013-07-29 2015-02-11 中兴通讯股份有限公司 将图片分配到多个终端进行显示的方法及终端
CN104516696A (zh) * 2013-09-27 2015-04-15 联想(北京)有限公司 一种信息处理方法及电子设备
CN104866265A (zh) * 2015-04-29 2015-08-26 努比亚技术有限公司 多媒体文件的显示方法和装置

Also Published As

Publication number Publication date
CN110780951B (zh) 2022-08-23
CN110780951A (zh) 2020-02-11

Similar Documents

Publication Publication Date Title
US11048404B2 (en) Information processing apparatus, information processing method, and program
US11128802B2 (en) Photographing method and mobile terminal
US11928303B2 (en) Shared-content session user interfaces
US11907605B2 (en) Shared-content session user interfaces
EP2924550B1 (en) Split-screen display method and electronic device thereof
KR101733839B1 (ko) 사용자 인터페이스에서의 작업 공간 관리
US11604580B2 (en) Configuration of application execution spaces and sub-spaces for sharing data on a mobile touch screen device
US9910584B2 (en) Method for manipulating folders and apparatus thereof
US20130147849A1 (en) Display apparatus for displaying screen divided into a plurality of areas and method thereof
CN106919301B (zh) 壁纸预览方法和系统以及壁纸更换方法和系统
EP4348411A2 (en) Systems and methods for interacting with multiple display devices
US20230161458A1 (en) Information Display Method, Electronic Device, And Non-Transitory Computer-Readable Storage Medium
US20200028961A1 (en) Switching presentations of representations of objects at a user interface
WO2020024901A1 (zh) 一种显示区域的对齐显示方法及终端、存储介质
WO2022267433A1 (zh) 视频资源处理方法及装置
CN111092971A (zh) 一种显示方法、装置和用于显示的装置
CN111124246B (zh) 界面交互方法、设备及存储介质
CN113835578A (zh) 显示方法、装置及电子设备
CN113393372A (zh) 桌面壁纸设置方法及装置
CN113592983A (zh) 一种图像处理方法、装置及计算机可读存储介质
CN111782113B (zh) 显示方法、装置和计算机可读存储介质
CN114895820B (zh) 一种基于人机交互的显示控制方法
WO2022257655A1 (zh) 一种视频拍摄方法及电子设备
WO2022213758A1 (zh) 应用界面的显示方法、装置、终端及存储介质
KR101545600B1 (ko) 이동 단말기 및 이동 단말기의 유저 인터페이스

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19844857

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 25.06.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 19844857

Country of ref document: EP

Kind code of ref document: A1