WO2023216976A1 - Display method and apparatus, electronic device, and storage medium - Google Patents

Display method and apparatus, electronic device, and storage medium Download PDF

Info

Publication number
WO2023216976A1
WO2023216976A1 PCT/CN2023/092189 CN2023092189W WO2023216976A1 WO 2023216976 A1 WO2023216976 A1 WO 2023216976A1 CN 2023092189 W CN2023092189 W CN 2023092189W WO 2023216976 A1 WO2023216976 A1 WO 2023216976A1
Authority
WO
WIPO (PCT)
Prior art keywords
input
display
interface
split
area
Prior art date
Application number
PCT/CN2023/092189
Other languages
French (fr)
Chinese (zh)
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 WO2023216976A1 publication Critical patent/WO2023216976A1/en

Links

Classifications

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

  • This application belongs to the field of display technology, and specifically relates to a display method, device, electronic equipment and storage medium.
  • the user can make the electronic device enter the split-screen mode by triggering the split-screen function of the electronic device.
  • the split-screen mode the entire content of the application interface is displayed in a split-screen window on the electronic device displaying the application interface.
  • the purpose of the embodiments of the present application is to provide a display method, device, electronic device and storage medium that can display the main content in the first application program interface in the first split-screen window without displaying the first application program interface. All content, in this way, can expand the display area of the main display content.
  • embodiments of the present application provide a display method, which method includes:
  • the first application program interface is any interface in the first application program, and the target area is the first Part of the application interface.
  • a display device which includes:
  • the first receiving module is used to receive the user's first input
  • a first display module configured to display content corresponding to the target area in the first application program interface in the first split-screen window in response to the first input;
  • the first application program interface is any interface in the first application program
  • the target area is a partial area in the first application program interface
  • inventions of the present application provide an electronic device.
  • the electronic device includes a processor and a memory.
  • the memory stores programs or instructions that can be run on the processor.
  • the programs or instructions are processed by the processor.
  • the processor is executed, the steps of the method described in the first aspect are implemented.
  • embodiments of the present application provide a readable storage medium.
  • Programs or instructions are stored on the readable storage medium.
  • the steps of the method described in the first aspect are implemented. .
  • inventions of the present application provide a chip.
  • the chip includes a processor and a communication interface.
  • the communication interface is coupled to the processor.
  • the processor is used to run programs or instructions to implement the first aspect. the method described.
  • embodiments of the present application provide a computer program product, the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the method as described in the first aspect.
  • content corresponding to some areas in the first application program interface can be displayed in the first split-screen window.
  • the main content in the first application interface that is, the content corresponding to the target area
  • the main content in the first application interface can be displayed in the first split-screen window without displaying all the content in the first application interface, so The area for displaying content corresponding to the target area has been expanded.
  • Figure 1 is one of the schematic diagrams of an application scenario of a display method according to an exemplary embodiment
  • Figure 2 is a second schematic diagram of an application scenario of a display method according to an exemplary embodiment
  • Figure 3 is one of the flowcharts of a display method according to an exemplary embodiment
  • Figure 4 is a fourth schematic diagram of an application scenario of a display method according to an exemplary embodiment
  • Figure 5 is a fifth schematic diagram of an application scenario of a display method according to an exemplary embodiment
  • Figure 6 is a schematic diagram of an application scenario of a display method according to an exemplary embodiment
  • Figure 7 is one of the schematic diagrams of an application program interface adjustment according to an exemplary embodiment
  • Figure 8 is a second schematic diagram of an application program interface adjustment according to an exemplary embodiment
  • Figure 9 is a third schematic diagram of an application program interface adjustment according to an exemplary embodiment
  • Figure 10 is a fourth schematic diagram of an application program interface adjustment according to an exemplary embodiment
  • Figure 12 is a seventh application scenario diagram of a display method according to an exemplary embodiment
  • Figure 13 is a sixth schematic diagram of an application program interface adjustment according to an exemplary embodiment
  • Figure 14 is a seventh schematic diagram of an application program interface adjustment according to an exemplary embodiment
  • Figure 15 is an eighth schematic diagram of an application program interface adjustment according to an exemplary embodiment
  • Figure 16 is a second flowchart of a display method according to an exemplary embodiment
  • Figure 17 is a structural block diagram of a display device according to an exemplary embodiment
  • Figure 18 is a structural block diagram of an electronic device according to an exemplary embodiment
  • Figure 19 is a schematic diagram of the hardware structure of an electronic device that implements an embodiment of the present application.
  • first, second, etc. in the description and claims of this application are used to distinguish similar objects and are not used to describe a specific order or sequence. It is to be understood that the figures so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in orders other than those illustrated or described herein, and that "first,”"second,” etc. are distinguished Objects are usually of one type and are not limited to The number of objects is determined. For example, the first object can be one or multiple.
  • “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the related objects are in an "or” relationship.
  • the split-screen function of electronic devices is implemented relatively simply by distributing two interfaces up and down or left and right on the screen.
  • the application program When the electronic device displays the application interface in split-screen mode, the application program will be displayed in the window displaying the application interface. All content of the interface.
  • the area that displays the main content in the application interface will be very small, seriously affecting the user experience.
  • embodiments of the present application provide a display method. After receiving a split-screen input, that is, the first input, the corresponding part of the area in the first application program interface can be displayed in the first split-screen window. Content.
  • the main content in the first application interface that is, the content corresponding to the target area
  • the main content in the first application interface can be displayed in the first split-screen window without displaying all the content in the first application interface, so The area for displaying content corresponding to the target area is expanded and the user experience is improved.
  • FIG. 1 is a schematic diagram of an application scenario of a display method according to an exemplary embodiment.
  • the display method provided by the embodiment of the present application can be applied to the application scenario of split-screen display.
  • the user's input to the electronic device can trigger the split-screen function of the electronic device, causing the electronic device to display all the contents of the first application program interface 110 in the first split-screen window 100 as shown in FIG. 1 .
  • the first split-screen window 100 displaying all the contents of the first application program interface 110 in the first split-screen window 100 may cause the display area of the main content area 111 in the first application program interface 110 to be very large. Small, even in some scenarios as shown in Figure 2, since the first split-screen window 200 occupies a small proportion of the electronic device screen, resulting in an extremely small display area of the first application interface 210, then the first The display area of the main content area 211 in the application interface 210 will be smaller, which seriously affects the user experience.
  • embodiments of the present application provide a display method, that is, receiving the first input from the user; in response to the first input, displaying the content corresponding to the target area in the first application program interface in the first split-screen window ;
  • the first application program interface is any interface in the first application program
  • the target area is a partial area in the first application program interface.
  • the electronic device can display the content corresponding to the partial area in the first application program interface in the first split-screen window.
  • the main content in the first application interface that is, the content corresponding to the target area
  • the main content in the first application interface can be displayed in the first split-screen window without displaying all the content in the first application interface, so The area for displaying content corresponding to the target area is expanded and the user experience is improved.
  • FIG. 3 is a flowchart of a display method according to an exemplary embodiment.
  • the execution subject of the display method may be an electronic device. It should be noted that the above execution subjects do not constitute a limitation on this application.
  • the display method may include the following steps:
  • Step 310 Receive the user's first input.
  • the first input may be an input that triggers the split-screen function.
  • the first input may be: the user's click input, or a voice command input by the user, or a specific gesture input by the user.
  • the specific input may be based on actual usage requirements. It is determined that the embodiments of this application do not limit this.
  • the specific gesture in the embodiment of the present application may be any one of a click gesture, a sliding gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double press gesture, and a double click gesture;
  • the click input in the application embodiment can be a single click input, a double click input or any number of click inputs, etc. It can also be a long press input or a short press input.
  • the method may further include:
  • a first application is determined.
  • the fifth input may be an input for selecting the first application.
  • the application to be displayed in the split-screen window can be predetermined before triggering the split-screen function, so that the corresponding application program interface can be quickly displayed in the split-screen window after the split-screen function is triggered.
  • Step 320 In response to the first input, display the content corresponding to the target area in the first application interface in the first split-screen window.
  • the first application program interface may be any interface in the first application program, and the target area may be a partial area in the first application program interface.
  • the electronic device may enter the split-screen mode in response to the first input that triggers the split-screen function, and the first split-screen window may be one of multiple split-screen windows of the electronic device in the split-screen mode.
  • the electronic device may directly display the content corresponding to the target area in the first split-screen window, or may first display the entire content of the first application interface and then adjust to display the content corresponding to the target area.
  • the first input may include a first sub-input and a second sub-input
  • the above step 310 may specifically include:
  • the above step 320 may specifically include:
  • the first sub-input may be an input that triggers the split-screen function of the electronic device.
  • the electronic device may enter the split-screen mode and display at least two split-screen windows.
  • the at least two split-screen windows include a first split-screen window.
  • the second sub-input can select the input of the first application for the user, in response to Based on this input, the content corresponding to the target area in the first application program interface of the first application program can be displayed in the first split-screen window.
  • the user clicks the split-screen control, and the electronic device displays multiple split-screen windows, wherein multiple application icons are displayed in the first split-screen window, and the user clicks the application icon K, which is the icon of the first application, Then, the content corresponding to the target area in the first application program interface of the first application program can be displayed in the first split-screen window.
  • all content in the corresponding application program interface may be displayed in other split-screen windows except the first split-screen window, or part of the content in the corresponding application program interface may be displayed, which is not limited here.
  • the application program interface displayed in the first split-screen window can be flexibly determined according to user input.
  • the size ratio of adjacent split-screen windows can be adjusted by dragging the dividing line between adjacent split-screen windows. In this way, the size of different split-screen windows can be flexibly changed according to user needs, improving user experience.
  • the method may further include:
  • the first input may be an input that triggers the split-screen function.
  • the first input may be an input that triggers the split-screen function.
  • the first input not only the content corresponding to the target area in the first application program interface may be displayed in the first split-screen window, but also the content corresponding to the target area in the second split-screen window may be displayed.
  • the window displays part of the content of the second application program interface, and the second application program interface can be any interface in the second application program.
  • the main content can be displayed in both the first split-screen window and the second split-screen window, which can improve screen utilization to a greater extent and enhance user experience.
  • the first application program interface may include a target area where the display content control is located and an auxiliary function area where the auxiliary function control is located.
  • the auxiliary function area may be the area where auxiliary function controls such as the navigation bar and/or toolbar are located in the first application program interface, and the target area may be the area where the display content controls other than the auxiliary function area are located in the first application program interface. area.
  • the control can be a user interface (User Interface, UI) control.
  • the target area where the display content control is located can be displayed in the first split-screen window without displaying
  • the auxiliary function area where the auxiliary function controls are located increases the area of the first split-screen window to display the content controls, making it easier for users to view more main content.
  • the method may further include:
  • a target area of the first application interface is determined based on the target options.
  • the prompt option may be used to indicate how the target area is determined in the first application interface.
  • the second input may be the input of selecting a target option from multiple prompt options.
  • the second input may be the input of clicking the target option.
  • the target area of the first application interface may be determined according to the determination manner indicated by the target option.
  • the target option may be an option for instructing the user to manually determine the target area of the first application program interface, or may be an option for instructing the user to automatically determine the target area of the first application program interface.
  • a pop-up window may be popped up to display prompt options: "Manual determination” 410 and "Automatic determination” 420. If the user clicks "Manual Determine” 410, the electronic device can determine the target area of the first application program interface according to the user's manual selection; if the user clicks "Automatic Determine” 420, the electronic device can automatically determine the target area of the first application program interface. .
  • the target area of the first application program interface is determined according to the determination method indicated by the target option selected by the user, which enables the user to select an appropriate method according to his own needs to determine the target area of the first application program interface, which improves the user experience. sense of experience.
  • the above-mentioned determination of the target area of the first application interface according to the target option may specifically include:
  • the first display area is determined as a target area of the first application interface.
  • the first application program layout interface may be used to display interface layout information of the first application program interface, and the first application program layout interface may include at least two optional display areas.
  • the third input may be an input for selecting a first display area among the at least two optional display areas. For example, the third input may be an input for clicking the first display area.
  • the first display area may be a target area of the first application interface.
  • the content corresponding to the optional display area may be controls in the first application interface.
  • the first application program layout interface may be obtained by marking controls in the first application program interface.
  • the first application layout interface can be displayed in full screen or in a first split-screen window.
  • the first application program layout interface including at least two selectable display areas may be displayed. If the user selects the first display area, the first display area is determined as the target area of the first application interface, and the content corresponding to the first display area is displayed in the first split-screen window.
  • the first application layout interface 510 includes a plurality of controls framed by dotted lines, that is, content corresponding to the optional display area. If the user clicks on the area where the dotted line frame 511 is located, the user can click on the area where the dotted line frame 511 is located.
  • a split-screen window displays the controls in the dotted box 511, that is, the content corresponding to the first display area.
  • the first application layout interface 610 includes a control 611, a control 612 and a control 613.
  • the control 613 is located at the next level of the control 611 and the control 612.
  • the sixth input can be made at the position of control 611 or control 612, for example, double-clicking control 611 or control 612 to switch to the next level of the current position, that is, the level where control 613 is located, so that the control can be selected. 613.
  • Make the first split-screen window display the control 613, that is, the content corresponding to the first display area.
  • the seventh input can be made at the position of control 613, for example, triple-click control 613 to switch to controls 611 and 612.
  • the level where control 612 is located so that control 611 or control 612 can be selected.
  • control 611 can be displayed in the first split-screen window, that is, the content corresponding to the first display area.
  • the target area displayed in the first split-screen window can be determined according to the user's selection, so that the user can flexibly select the content he wants to display in the first split-screen window according to his own needs.
  • the third input may be the same input as the first input.
  • the first display area that is, the target area
  • the electronic device can directly display the first application in the first split-screen window.
  • the content corresponding to the target area in the interface In this way, user operations can be simplified and content corresponding to the target area can be quickly displayed in the first split-screen window.
  • the above-mentioned determination of the target area of the first application interface according to the target option may specifically include:
  • a target area of the first application interface is determined.
  • the electronic device can automatically determine the target area of the first application interface according to the layout information of the first application interface.
  • the layout information of the first application program interface can be obtained from the topmost layer of the first application program, that is, the view tree of the first application program interface.
  • the layout information may include at least one of the following: layout type, layout name, and layout attributes.
  • the layout type of the controls included in the target area may be "list view (listview)” or “frame layout (framelayout)", while the layout type of the accessibility controls included in the accessibility area Can be "button"; the layout name of the display content control can have the noun "content”, and the layout name of the accessibility control can have “navigation” or “bar” " and other nouns.
  • the layout attributes can include information such as position, width and height. The position of the display content control is generally in the middle of the first application interface, the width and height are generally as large as possible (match_parent), and the position of the accessibility control is generally at the edge of the first application interface. , the width and height are generally fixed length and slender.
  • the target area of the first application interface can be automatically determined, so that the target area can be automatically displayed in the first split-screen window and simplify user operations.
  • the above-mentioned second input may be the same input as the first input.
  • the electronic device can automatically determine the target area of the first application interface based on the layout information of the first application interface. Then the content corresponding to the target area is displayed in the first split-screen window. In this way, user operations can be simplified and content corresponding to the target area can be quickly displayed in the first split-screen window.
  • the display size of the target area may be adapted to the size of the first split-screen window.
  • the display size may be the size of the target area displayed in the first display window.
  • the display size of the target area may be Fits the size of the first split-screen window.
  • displaying the content corresponding to the target area in the first application program interface in the first split-screen window may include:
  • the target application program interface is displayed in the first split-screen window, and the outline position of the target area in the target application program interface is consistent with the outline position of the first split-screen window.
  • the first size of the first split-screen window in the target direction can be obtained.
  • the target direction can be horizontal or vertical, and it can also be other directions according to actual needs, which is not limited here.
  • the target application program interface may be obtained by adjusting the target area in the first application program interface.
  • the display size of the target area in each direction can be adjusted to match the size of the first split-screen window in the corresponding direction.
  • the display size of the target area in the target direction matches the size of the first split-screen window in the target direction. Specifically, the display size of the target area in the target direction is equal to the size of the first split-screen window in the target direction. , and the outline position of the target area in the target direction is consistent with the outline position of the first split-screen window in the target direction.
  • the size of the target area in the target direction is MC
  • the size of the auxiliary function area located at the top of the first application interface (or target application interface) in the target direction is ST
  • the size of the auxiliary function area located at the top of the first application interface (or target application interface) is ST.
  • the size of the auxiliary function area at the bottom of the application interface) in the target direction is SB
  • the first size of the first split-screen window in the target direction is h
  • the first application interface (or target The size of the target application interface) in the target direction is H
  • H ST+MC+SB in the first application interface
  • H h
  • the horizontal display sizes of the first split-screen window and the first application interface are adapted to the horizontal size of the screen by default, therefore, the horizontal display size of the first application interface No adjustment is required. You only need to adjust the vertical display size of the target area to match the vertical size of the first split-screen window. size to match.
  • the display size of the target area in the vertical direction matches the size of the first split-screen window in the vertical direction. Specifically, the display size of the target area in the vertical direction matches the size of the first split-screen window in the vertical direction. are equal in size, and the outline position of the target area in the vertical direction is consistent with the outline position of the first split-screen window in the vertical direction.
  • the target area can be positioned vertically
  • the target area can be positioned vertically
  • the first application interface when the auxiliary function area is located at the top of the first application interface, the first application interface can be moved toward the top by a first distance, and the first distance is the same as the auxiliary function area at the top.
  • the dimensions in the vertical direction are equal, so that the outline position of the target area in the vertical direction moves a first distance toward the top direction.
  • the auxiliary function area located at the top of the first application interface can be moved out of the first split-screen window, and the interface area beyond the first split-screen window is not drawn on the screen. Therefore, the auxiliary function area can be hidden, so that The first split-screen window displays only the target area.
  • the first split-screen window will have a display area of the first distance at the bottom of the vertical direction.
  • the target area cannot be moved and stretched independently, so the moving and stretching operations are performed on the first application interface.
  • the auxiliary function area will not be lengthened, so the target area can be lengthened by lengthening the first application interface.
  • a rectangular coordinate system can be established with the upper left corner of the first split-screen window 700 as the origin, and the direction of the bottom of the first application interface as the direction of the positive y-axis. In this way, before adjusting the size and outline position of the target area 711 in the vertical direction, all the contents of the first application interface 710 are displayed in the first split-screen window 700 .
  • the ordinate of each pixel in the first application interface 710 can be reduced by ST, ST is the size of the auxiliary function area 712 in the vertical direction, so that the first application interface 710 moves ST toward the top direction, that is, the direction of the negative half axis of the y-axis. Then, by elongating the first application interface 710 ST in the direction of the positive y-axis, so that the target area 711 is elongated ST in the direction of the positive y-axis, the target application interface 720 can be obtained.
  • the target application The display size of the target area 721 in the program interface 720 in the vertical direction is adapted to the size of the first split-screen window 700 in the vertical direction.
  • the auxiliary function area when the auxiliary function area is located at the bottom of the first application interface, the position of the top of the first application interface relative to the first split-screen window can be kept unchanged, and the first The application interface is elongated vertically toward the bottom by a second dimension, which is the vertical dimension of the auxiliary function area located at the bottom. In this way, the display size of the target area in the vertical direction can be adapted to the size of the first split-screen window in the vertical direction. At this time, the auxiliary function area is pulled outside the first split-screen window and is thus hidden.
  • a rectangular coordinate system can be established with the upper left corner of the first split-screen window 800 as the origin, and the direction of the bottom of the first application interface as the direction of the positive y-axis.
  • the first application program interface The entire content of 810 is displayed in the first split screen window 800.
  • the first application program interface 810 can be stretched SB, where SB is the auxiliary function area 812 in The size in the vertical direction is used to obtain the target application program interface 820.
  • the display size of the target area 821 in the target application program interface 820 in the vertical direction is adapted to the size of the first split-screen window 800 in the vertical direction.
  • the accessibility area located at the bottom of the application interface can be hidden and the display area of the content area can be increased.
  • the first application program interface can be moved to the top direction by a second distance, and the second distance is the same as the second distance located at the top.
  • the auxiliary function areas have the same size in the vertical direction, so that the outline position of the target area in the vertical direction moves a second distance toward the top direction. This will move the accessibility area at the top out of the first split-screen window and thus be hidden.
  • the first split-screen window will have a display area of the second distance in the vertical direction.
  • the vertical size of the target area can be extended toward the bottom by a third distance.
  • the third distance is the same as the vertical size of the auxiliary function area at the top.
  • the sum of the sizes of the auxiliary function areas at the bottom in the vertical direction is equal, so that the display size of the target area in the vertical direction can be adapted to the size of the first split-screen window in the vertical direction.
  • a rectangular coordinate system can be established with the upper left corner of the first split-screen window 900 as the origin, and the direction of the bottom of the first application interface as the direction of the positive y-axis.
  • all the contents of the first application program interface 910 are displayed in the first split-screen window 900 .
  • the ordinate of each pixel in the first application interface 910 can be reduced.
  • ST is the size of the auxiliary function area 912 located at the top in the vertical direction, so that the first application interface 910 moves ST toward the top direction, that is, the direction of the negative half axis of the y-axis. Then by moving the first application interface 910 to the positive half of the y-axis Stretch ST+SB in the direction of the axis. SB is the size of the auxiliary function area 913 at the bottom in the vertical direction. If the target area 911 is stretched ST+SB in the direction of the positive half-axis of the y-axis, the target application can be obtained.
  • the display size of the target area 921 in the target application program interface 920 in the vertical direction is adapted to the size of the first split-screen window 900 in the vertical direction.
  • the electronic device displays two split-screen windows. If you want to display the content corresponding to the target area in the application interface A in the split-screen window a, and display the content corresponding to the target area in the application interface B in the split-screen window b, , you need to adjust the application interface A and application interface B. Specifically, adjust the size and outline position of application interface A and application interface B relative to split-screen window a and split-screen window b as shown in Figure 10 As shown in Figure 11.
  • application program interface A includes an auxiliary function area m, a target area s, and an auxiliary function area n.
  • Application program interface B includes an auxiliary function area p, a target area r, and an auxiliary function area q.
  • the auxiliary function area can be hidden, thereby increasing the display area of the target area and improving the user experience. feel.
  • the display method may further include:
  • the auxiliary function area may be an area other than the target area in the first application program interface.
  • the fourth input may be an input that triggers display of the auxiliary function area. After hiding the auxiliary function area in the first split-screen window and displaying the target area, if the user needs to use the auxiliary function area, the electronic device can be made in the first split-screen window by performing a fourth input in the first split-screen window. Show accessibility area.
  • a rectangular coordinate system can be established with the upper left corner of the first split-screen window as the origin, and the direction of the bottom of the first application interface as the direction of the positive y-axis.
  • the fourth input is an input that triggers display of the auxiliary function area located at the top of the first application interface
  • the electronic device The ordinate of each pixel in the surface is added to SD, which is the size of the auxiliary function area located at the top of the first application interface in the ordinate direction, so that the first application interface moves SD toward the bottom, so that The auxiliary function area located at the top of the first application program interface may be displayed in the first split-screen window.
  • the electronic device subtracts SB from the ordinate of each pixel in the first application interface, that is, the auxiliary function area located at the bottom of the first application interface is The size of the auxiliary function area at the bottom in the ordinate direction, so that the first application program interface moves SB in the direction of the top, so that the auxiliary function area located at the bottom of the first application program interface can be displayed in the first split-screen window .
  • the hidden auxiliary function area can be displayed in the first split-screen window according to the user input, thereby providing convenience for the user to use the auxiliary function area.
  • displaying at least part of the content corresponding to the auxiliary function area in the first application interface in the first split-screen window may specifically include:
  • first touch area and the second touch area may be different areas in the first split-screen window, and the first auxiliary function area and the second auxiliary function area may be different auxiliary function areas in the first application interface.
  • the content corresponding to the first auxiliary function area can be displayed in the first split-screen window; if the user makes the fourth input in the second touch area, the content corresponding to the first auxiliary function area can be displayed in the first split-screen window.
  • the first split-screen window displays content corresponding to the second auxiliary function area.
  • the first split-screen window 1200 may display an auxiliary function area located at the top of the first application program interface, that is, the first auxiliary function area.
  • the first split-screen window 1200 may display a The auxiliary function area at the bottom of the first application interface is also the second auxiliary function area.
  • the relative position of the first application interface 1310 and the first split-screen window 1320 can be as shown in Figure 13.
  • Figure 13 When the user slides down with three fingers on the upper auxiliary function determination area , causing the target application interface 1310 to move downward, and after displaying the auxiliary function area 1311, the relative position of the first application interface 1310 and the first split-screen window 1320 can be as shown in Figure 14.
  • the relative position of the first application interface 1310 and the first split-screen window 1320 can be as shown in Figure 14.
  • the relative position of the first application interface 1310 and the first split-screen window 1320 can be as shown in FIG. 15 .
  • setting the association between different touch areas and auxiliary function areas can facilitate the user to trigger the electronic device to display different auxiliary function areas in the first split-screen window through different inputs.
  • the content corresponding to the partial area in the first application program interface can be displayed in the first split-screen window.
  • the main content in the first application interface that is, the content corresponding to the target area
  • the main content in the first application interface can be displayed in the first split-screen window without displaying all the content in the first application interface, so The area for displaying content corresponding to the target area is expanded and the user experience is improved.
  • the display method provided by the embodiment of the present application may include steps 1601 to 1608, which will be explained in detail below.
  • Step 1601 The electronic device may receive the user's third application program interface while displaying the first application program interface. Refers to the input that slides down, that is, the first input.
  • Step 1602 In response to the first input of the three-finger slide, the electronic device can enter a split-screen mode, display multiple split-screen windows, and display the first application program interface in the first split-screen window.
  • Step 1603 On the first application program interface displayed in the first split-screen window, prompt options: “Manual confirmation” and “Automatic confirmation” may be displayed.
  • Step 1604 The electronic device may receive the user's input of selecting "Manual Confirm” or "Auto Confirm", that is, the second input. If the user clicks "Manual Confirm”, step 1605 will be executed. If the user clicks "Auto Confirm”, step 1607 will be executed. .
  • Step 1605 if the user clicks "Manual OK", the electronic device can respond to the input and display a first application layout interface.
  • the first application layout interface includes a control M and a control N, that is, an optional display area.
  • Step 1606 when the user clicks the control M, the electronic device can receive the input of clicking the control M, that is, the third input.
  • Step 1607 if the second input is the input of clicking "Manual Confirm", then the electronic device responds to the input of clicking control M and can determine the area where control M is located as the target area; if the second input is the click of "Auto Confirm” input, the electronic device can automatically determine the target area according to the layout information of the first application interface.
  • Step 1608 After determining the target area, you can adjust the first application program interface so that the display size of the target area matches the size of the first split-screen window, and display the content corresponding to the target area in the first split-screen window. The specific process will not be described again here.
  • the content corresponding to the partial area in the first application program interface can be displayed in the first split-screen window.
  • the main content in the first application interface that is, the content corresponding to the target area
  • the main content in the first application interface can be displayed in the first split-screen window without displaying all the content in the first application interface, so The area for displaying content corresponding to the target area is expanded and the user experience is improved.
  • the execution subject may be a display device.
  • a display device performing a display method is used as an example to illustrate the display device provided by the embodiment of the present application.
  • this application also provides a display device.
  • the display device provided by the embodiment of the present application will be described in detail below with reference to FIG. 17 .
  • FIG. 17 is a structural block diagram of a display device according to an exemplary embodiment.
  • the display device 1700 may include:
  • the first receiving module 1701 is used to receive the user's first input
  • the first display module 1702 is configured to display the content corresponding to the target area in the first application program interface in the first split-screen window in response to the first input;
  • the first application program interface is any interface in the first application program
  • the target area is a partial area in the first application program interface
  • the display device 1700 may further include:
  • the second display module is configured to display a prompt option before the first split-screen window displays the content corresponding to the target area in the first application interface, and the prompt option is used to indicate the determination method of the target area in the first application interface;
  • the second receiving module is used to receive the user's second input of the target option in the prompt options
  • a determining module configured to determine a target area of the first application program interface according to the target option in response to the second input.
  • the determination module may specifically include:
  • the first display sub-module is used to display the first application program layout interface.
  • the first application program layout interface includes at least two optional display areas.
  • the first application program layout interface is used to display the interface layout information of the first application program interface. ;
  • a first receiving sub-module configured to receive a third input from a user to a first display area among at least two optional display areas
  • the first determination sub-module is configured to determine the first display area as the target area of the first application interface in response to the third input.
  • the target option is used to indicate automatically determining the first application interface
  • determine the modules which may include:
  • the second determination sub-module is used to determine the target area of the first application interface based on the layout information of the first application interface;
  • the layout information includes at least one of the following: layout type, layout name, and layout attributes.
  • the display size of the target area is adapted to the size of the first split-screen window.
  • the display device 1700 may further include:
  • a third receiving module configured to receive the user's fourth input to the first split-screen window after the first split-screen window displays the content corresponding to the target area in the first application program interface;
  • a third display module configured to display at least part of the content corresponding to the auxiliary function area in the first application program interface in the first split-screen window in response to the fourth input;
  • the auxiliary function area is an area other than the target area in the first application program interface.
  • the third display module may specifically include:
  • the second display submodule is used to display content corresponding to the first auxiliary function area associated with the first touch area in the first split-screen window;
  • the third display module may specifically include:
  • the third display submodule is used to display content corresponding to the second auxiliary function area associated with the second touch area in the first split-screen window;
  • the first touch area and the second touch area are different areas in the first split-screen window, and the first auxiliary function area and the second auxiliary function area are different auxiliary function areas in the first application interface.
  • the first input may include a first sub-input and a second sub-input
  • the first receiving module 1701 may specifically include:
  • the second receiving sub-module is used to receive the user's first sub-input
  • the first display module 1702 may specifically include:
  • the fourth display sub-module is configured to display at least two split-screen windows in response to the first sub-input, at least The two split-screen windows include the first split-screen window;
  • the third receiving sub-module is used to receive the second sub-input of the user selecting the first application
  • the fifth display sub-module is used to display the content corresponding to the target area in the first application program interface in the first split-screen window in response to the second sub-input.
  • the display device 1700 may further include:
  • a fourth receiving module configured to receive the user's fifth input before receiving the user's first input
  • the second determination module is configured to determine the first application program in response to the fifth input.
  • the display device 1700 may further include:
  • a fourth display module configured to display part of the second application program interface in the second split-screen window in response to the first input after receiving the user's first input;
  • the second application program interface is any interface in the second application program.
  • the content corresponding to the partial area in the first application program interface can be displayed in the first split-screen window.
  • the main content in the first application interface that is, the content corresponding to the target area
  • the main content in the first application interface can be displayed in the first split-screen window without displaying all the content in the first application interface, so The area for displaying content corresponding to the target area is expanded and the user experience is improved.
  • the display device in the embodiment of the present application may be an electronic device or a component in the electronic device, such as an integrated circuit or a chip.
  • the electronic device may be a terminal or other devices other than the terminal.
  • the electronic device can be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted electronic device, a mobile internet device (Mobile Internet Device, MID), or augmented reality (AR)/virtual reality (VR).
  • the display device in the embodiment of the present application may be a device with an operating system.
  • the operating system can be an Android operating system, an ios operating system, or other possible operations.
  • the system is not specifically limited in the embodiments of this application.
  • the display device provided by the embodiments of the present application can implement each process implemented by the method embodiments of FIG. 3 to FIG. 16 and achieve the same technical effect. To avoid duplication, the details will not be described here.
  • this embodiment of the present application also provides an electronic device 1800, including a processor 1801 and a memory 1802.
  • the memory 1802 stores programs or instructions that can be run on the processor 1801.
  • the program or instruction is executed by the processor 1801, each step of the above display method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, the details will not be described here.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • Figure 19 is a schematic diagram of the hardware structure of an electronic device that implements an embodiment of the present application.
  • the electronic device 1900 includes but is not limited to: radio frequency unit 1901, network module 1902, audio output unit 1903, input unit 1904, sensor 1905, display unit 1906, user input unit 1907, interface unit 1908, memory 1909, processor 1910, etc. part.
  • the electronic device 1900 may also include a power supply (such as a battery) that supplies power to various components.
  • the power supply may be logically connected to the processor 1910 through a power management system, thereby managing charging, discharging, and function through the power management system. Consumption management and other functions.
  • the structure of the electronic device shown in Figure 19 does not constitute a limitation of the electronic device.
  • the electronic device may include more or less components than shown in the figure, or combine certain components, or arrange different components, which will not be described again here. .
  • the user input unit 1907 is used to receive the user's first input
  • the display unit 1906 is configured to display the content corresponding to the target area in the first application program interface in the first split-screen window in response to the first input;
  • the first application program interface is any interface in the first application program
  • the target area is a partial area in the first application program interface
  • the content corresponding to the partial area in the first application program interface can be displayed in the first split-screen window.
  • the main content in the first application interface that is, the content corresponding to the target area
  • the display corresponding to the target area improves the user experience.
  • the display unit 1906 is also configured to display a prompt option before the first split-screen window displays the content corresponding to the target area in the first application interface, and the prompt option is used to indicate the determination of the target area in the first application interface. Way;
  • the user input unit 1907 is also used to receive the user's second input to the target option in the prompt options
  • the processor 1910 is further configured to determine the target area of the first application program interface according to the target option in response to the second input.
  • the target area of the first application program interface is determined according to the determination method indicated by the target option selected by the user, which enables the user to select an appropriate method according to his own needs to determine the target area of the first application program interface, which improves the user experience. sense of experience.
  • the display unit 1906 is also configured to display the first application layout interface when the target option is used to instruct the user to manually determine the target area of the first application interface, and the first application layout interface includes at least two An optional display area, the first application program layout interface is used to display the interface layout information of the first application program interface;
  • the user input unit 1907 is also configured to receive a third input from the user to the first display area among the at least two optional display areas;
  • the processor 1910 is also configured to determine the first display area as the target area of the first application interface in response to the third input.
  • the target area displayed in the first split-screen window can be determined according to the user's selection, so that the user can flexibly select the content he wants to display in the first split-screen window according to his own needs.
  • the processor 1910 is also configured to determine the target area of the first application interface based on the layout information of the first application interface when the target option is used to indicate automatically determining the target area of the first application interface. ;
  • the layout information includes at least one of the following: layout type, layout name, and layout attributes.
  • the target area of the first application interface can be automatically determined, so that the target area can be automatically displayed in the first split-screen window and simplify user operations.
  • the display size of the target area is adapted to the size of the first split-screen window.
  • the auxiliary function area can be hidden, thereby increasing the display area of the target area and improving the user experience. feel.
  • the user input unit 1907 is also configured to receive the user's fourth input to the first split-screen window after the first split-screen window displays the content corresponding to the target area in the first application interface;
  • the display unit 1906 is also configured to display at least part of the content corresponding to the auxiliary function area in the first application program interface in the first split-screen window in response to the fourth input;
  • the auxiliary function area is an area other than the target area in the first application program interface.
  • the hidden auxiliary function area can be displayed in the first split-screen window according to the user input, thereby providing convenience for the user to use the auxiliary function area.
  • the display unit 1906 is also configured to display the first auxiliary function area associated with the first touch area in the first split-screen window when the input position of the fourth input is located in the first touch area.
  • Content when the input position of the fourth input is located in the second touch area, display the content corresponding to the second auxiliary function area associated with the second touch area in the first split-screen window;
  • the first touch area and the second touch area are different areas in the first split-screen window, and the first auxiliary function area and the second auxiliary function area are different auxiliary function areas in the first application interface.
  • setting the association between different touch areas and auxiliary function areas can facilitate the user to trigger the electronic device to display different auxiliary function areas in the first split-screen window through different inputs.
  • the first input includes a first sub-input and a second sub-input
  • the user input unit 1907 is also used to receive the user's first sub-input
  • the display unit 1906 is also configured to display at least two split-screen windows in response to the first sub-input, where the at least two split-screen windows include the first split-screen window;
  • the user input unit 1907 is also used to receive the second sub-input of the user selecting the first application
  • the display unit 1906 is also configured to display the content corresponding to the target area in the first application program interface in the first split-screen window in response to the second sub-input.
  • the application program interface displayed in the first split-screen window can be flexibly determined according to user input.
  • the user input unit 1907 is also used to receive the fifth input from the user;
  • the processor 1910 is further configured to determine the first application program in response to the fifth input.
  • the corresponding application interface can be quickly displayed in the split-screen window.
  • the display unit 1906 is also configured to, after receiving the first input from the user, display part of the content of the second application program interface in the second split-screen window in response to the first input;
  • the second application program interface is any interface in the second application program.
  • the main content can be displayed in both the first split-screen window and the second split-screen window, which can improve screen utilization to a greater extent and enhance user experience.
  • the input unit 1904 may include a graphics processor (Graphics Processing Unit, GPU) 19041 and a microphone 19042.
  • the graphics processor 19041 is responsible for the image capture device (GPU) in the video capture mode or the image capture mode. Process the image data of still pictures or videos obtained by cameras (such as cameras).
  • the display unit 1906 may include a display panel 19061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 1907 includes a touch panel 19071 and at least one of other input devices 19072 .
  • Touch panel 19071 also known as touch screen.
  • the touch panel 19071 may include two parts: a touch detection device and a touch controller.
  • Other input devices 19072 may include but are not limited to physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described again here.
  • Memory 1909 may be used to store software programs as well as various data.
  • the memory 1909 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, Image playback function, etc.) etc.
  • memory 1909 may include volatile memory or nonvolatile memory, or memory 1909 may include both volatile and nonvolatile memory.
  • the non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically removable memory.
  • Volatile memory can be random access memory (Random Access Memory, RAM), static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synch link DRAM) , SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DRRAM).
  • RAM Random Access Memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • synchronous dynamic random access memory Synchronous DRAM, SDRAM
  • Double data rate synchronous dynamic random access memory Double Data Rate SDRAM, DDRSDRAM
  • Enhanced SDRAM, ESDRAM synchronous link dynamic random access memory
  • Synch link DRAM synchronous link dynamic random access memory
  • SLDRAM direct memory bus random access memory
  • the processor 1910 may include one or more processing units; optionally, the processor 1910 integrates an application processor and a modem processor, where the application processor mainly handles operations related to the operating system, user interface, application programs, etc., Modem processors mainly process wireless communication signals, such as baseband processors. It can be understood that the above modem processor may not be integrated into the processor 1910.
  • Embodiments of the present application also provide a readable storage medium.
  • Programs or instructions are stored on the readable storage medium.
  • the program or instructions are executed by a processor, each process of the above display method embodiment is implemented and the same can be achieved. To avoid repetition, the technical effects will not be repeated here.
  • the processor is the processor in the electronic device described in the above embodiment.
  • the readable storage media includes computer-readable storage media, such as computer read-only memory, random access memory, magnetic disks or optical disks.
  • An embodiment of the present application further provides a chip.
  • the chip includes a processor and a communication interface.
  • the communication interface is coupled to the processor.
  • the processor is used to run programs or instructions to implement each of the above display method embodiments. The process can achieve the same technical effect. To avoid repetition, it will not be described again here.
  • chips mentioned in the embodiments of this application may also be called system-on-chip, system-on-a-chip, system-on-a-chip or system-on-chip, etc.
  • Embodiments of the present application provide a computer program product.
  • the program product is stored in a storage medium.
  • the program product is executed by at least one processor to implement each process of the above display method embodiment, and can achieve the same technical effect. To avoid repetition, they will not be repeated here.
  • the methods of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. implementation.
  • the technical solution of the present application can be embodied in the form of a computer software product that is essentially or contributes to the existing technology.
  • the computer software product is stored in a storage medium (such as ROM/RAM, disk , optical disk), including several instructions to cause a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of this application.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present application relates to the technical field of display. Disclosed are a display method and apparatus, an electronic device, and a storage medium. The display method comprises: receiving a first input of a user; and in response to the first input, displaying, in a first split-screen window, content corresponding to a target area in a first application interface, wherein the first application interface is any interface in a first application, and the target area is a partial area in the first application interface.

Description

显示方法、装置、电子设备及存储介质Display method, device, electronic equipment and storage medium
相关申请的交叉引用Cross-references to related applications
本申请主张在2022年05月12日在中国提交的中国专利申请202210515806.9的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese patent application 202210515806.9 filed in China on May 12, 2022, the entire content of which is incorporated herein by reference.
技术领域Technical field
本申请属于显示技术领域,具体涉及一种显示方法、装置、电子设备及存储介质。This application belongs to the field of display technology, and specifically relates to a display method, device, electronic equipment and storage medium.
背景技术Background technique
随着电子设备的广泛应用,用户对电子设备功能的要求也越来越高。为了满足用户同时显示多个界面的需求,电子设备的分屏功能应运而生。With the widespread use of electronic devices, users have increasingly higher requirements for the functions of electronic devices. In order to meet the needs of users to display multiple interfaces at the same time, the split-screen function of electronic devices emerged as the times require.
用户可以通过触发电子设备的分屏功能,使电子设备进入分屏模式。在分屏模式下,电子设备上显示应用程序界面的分屏窗口中会显示应用程序界面的全部内容。The user can make the electronic device enter the split-screen mode by triggering the split-screen function of the electronic device. In the split-screen mode, the entire content of the application interface is displayed in a split-screen window on the electronic device displaying the application interface.
发明内容Contents of the invention
本申请实施例的目的是提供一种显示方法、装置、电子设备及存储介质,能够在第一分屏窗口中,显示第一应用程序界面中的主要内容,而无需显示第一应用程序界面中的所有内容,如此,可以扩大主要显示内容的显示面积。The purpose of the embodiments of the present application is to provide a display method, device, electronic device and storage medium that can display the main content in the first application program interface in the first split-screen window without displaying the first application program interface. All content, in this way, can expand the display area of the main display content.
第一方面,本申请实施例提供了一种显示方法,该方法包括:In a first aspect, embodiments of the present application provide a display method, which method includes:
接收用户的第一输入;Receive the user's first input;
响应于第一输入,在第一分屏窗口显示第一应用程序界面中目标区域对应的内容;In response to the first input, display content corresponding to the target area in the first application interface in the first split-screen window;
其中,第一应用程序界面为第一应用程序中的任一界面,目标区域为第一 应用程序界面中的部分区域。Among them, the first application program interface is any interface in the first application program, and the target area is the first Part of the application interface.
第二方面,本申请实施例提供了一种显示装置,该装置包括:In a second aspect, embodiments of the present application provide a display device, which includes:
第一接收模块,用于接收用户的第一输入;The first receiving module is used to receive the user's first input;
第一显示模块,用于响应于第一输入,在第一分屏窗口显示第一应用程序界面中目标区域对应的内容;A first display module configured to display content corresponding to the target area in the first application program interface in the first split-screen window in response to the first input;
其中,第一应用程序界面为第一应用程序中的任一界面,目标区域为第一应用程序界面中的部分区域。Wherein, the first application program interface is any interface in the first application program, and the target area is a partial area in the first application program interface.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, embodiments of the present application provide an electronic device. The electronic device includes a processor and a memory. The memory stores programs or instructions that can be run on the processor. The programs or instructions are processed by the processor. When the processor is executed, the steps of the method described in the first aspect are implemented.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, embodiments of the present application provide a readable storage medium. Programs or instructions are stored on the readable storage medium. When the programs or instructions are executed by a processor, the steps of the method described in the first aspect are implemented. .
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In a fifth aspect, embodiments of the present application provide a chip. The chip includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the first aspect. the method described.
第六方面,本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如第一方面所述的方法。In a sixth aspect, embodiments of the present application provide a computer program product, the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the method as described in the first aspect.
在本申请实施例中,在接收到分屏输入,即第一输入之后,可以在第一分屏窗口显示第一应用程序界面中部分区域对应的内容。如此,在本申请实施例中,可以在第一分屏窗口中,显示第一应用程序界面中的主要内容,即目标区域对应的内容,而无需显示第一应用程序界面中的所有内容,如此扩大了显示目标区域对应的内容的面积。In this embodiment of the present application, after receiving the split-screen input, that is, the first input, content corresponding to some areas in the first application program interface can be displayed in the first split-screen window. In this way, in the embodiment of the present application, the main content in the first application interface, that is, the content corresponding to the target area, can be displayed in the first split-screen window without displaying all the content in the first application interface, so The area for displaying content corresponding to the target area has been expanded.
附图说明Description of the drawings
图1是根据一示例性实施例示出的一种显示方法的应用场景示意图之一;Figure 1 is one of the schematic diagrams of an application scenario of a display method according to an exemplary embodiment;
图2是根据一示例性实施例示出的一种显示方法的应用场景示意图之二; Figure 2 is a second schematic diagram of an application scenario of a display method according to an exemplary embodiment;
图3是根据一示例性实施例示出的一种显示方法的流程图之一;Figure 3 is one of the flowcharts of a display method according to an exemplary embodiment;
图4是根据一示例性实施例示出的一种显示方法的应用场景示意图之四;Figure 4 is a fourth schematic diagram of an application scenario of a display method according to an exemplary embodiment;
图5是根据一示例性实施例示出的一种显示方法的应用场景示意图之五;Figure 5 is a fifth schematic diagram of an application scenario of a display method according to an exemplary embodiment;
图6是根据一示例性实施例示出的一种显示方法的应用场景示意图之六;Figure 6 is a schematic diagram of an application scenario of a display method according to an exemplary embodiment;
图7是根据一示例性实施例示出的一种应用程序界面调整示意图之一;Figure 7 is one of the schematic diagrams of an application program interface adjustment according to an exemplary embodiment;
图8是根据一示例性实施例示出的一种应用程序界面调整示意图之二;Figure 8 is a second schematic diagram of an application program interface adjustment according to an exemplary embodiment;
图9是根据一示例性实施例示出的一种应用程序界面调整示意图之三;Figure 9 is a third schematic diagram of an application program interface adjustment according to an exemplary embodiment;
图10是根据一示例性实施例示出的一种应用程序界面调整示意图之四;Figure 10 is a fourth schematic diagram of an application program interface adjustment according to an exemplary embodiment;
图11是根据一示例性实施例示出的一种应用程序界面调整示意图之五;Figure 11 is a fifth schematic diagram of an application program interface adjustment according to an exemplary embodiment;
图12是根据一示例性实施例示出的一种显示方法的应用场景示意图之七;Figure 12 is a seventh application scenario diagram of a display method according to an exemplary embodiment;
图13是根据一示例性实施例示出的一种应用程序界面调整示意图之六;Figure 13 is a sixth schematic diagram of an application program interface adjustment according to an exemplary embodiment;
图14是根据一示例性实施例示出的一种应用程序界面调整示意图之七;Figure 14 is a seventh schematic diagram of an application program interface adjustment according to an exemplary embodiment;
图15是根据一示例性实施例示出的一种应用程序界面调整示意图之八;Figure 15 is an eighth schematic diagram of an application program interface adjustment according to an exemplary embodiment;
图16是根据一示例性实施例示出的一种显示方法的流程图之二;Figure 16 is a second flowchart of a display method according to an exemplary embodiment;
图17是根据一示例性实施例示出的一种显示装置的结构框图;Figure 17 is a structural block diagram of a display device according to an exemplary embodiment;
图18是根据一示例性实施例示出的一种电子设备的结构框图;Figure 18 is a structural block diagram of an electronic device according to an exemplary embodiment;
图19为实现本申请实施例的一种电子设备的硬件结构示意图。Figure 19 is a schematic diagram of the hardware structure of an electronic device that implements an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art fall within the scope of protection of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限 定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second", etc. in the description and claims of this application are used to distinguish similar objects and are not used to describe a specific order or sequence. It is to be understood that the figures so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in orders other than those illustrated or described herein, and that "first,""second," etc. are distinguished Objects are usually of one type and are not limited to The number of objects is determined. For example, the first object can be one or multiple. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the related objects are in an "or" relationship.
如背景技术,随着技术的进步,生活质量的提高,用户对电子设备的要求越来越高,希望电子设备屏幕能够展示尽可能多的内容,因此,电子设备的屏幕也在一步步地增大。而电子设备的屏幕不可能无限制地增大,在电子设备的屏幕已经增大到一定程度后,用户又希望能够同时显示多个界面,因此,电子设备的分屏功能应运而生。As background art, with the advancement of technology and the improvement of the quality of life, users have higher and higher requirements for electronic devices. They hope that the screens of electronic devices can display as much content as possible. Therefore, the screens of electronic devices are also increasing step by step. big. The screen of an electronic device cannot increase indefinitely. After the screen of the electronic device has increased to a certain extent, users hope to display multiple interfaces at the same time. Therefore, the split-screen function of the electronic device came into being.
目前,电子设备分屏功能的实现方式比较简单地将两个界面上下或左右分布在屏幕上,当电子设备在分屏模式下显示应用程序界面时,显示应用程序界面的窗口中会显示应用程序界面的全部内容。但是,由于分屏窗口尺寸有限,显示应用程序界面中主要内容的区域就会很小,严重影响了用户体验。At present, the split-screen function of electronic devices is implemented relatively simply by distributing two interfaces up and down or left and right on the screen. When the electronic device displays the application interface in split-screen mode, the application program will be displayed in the window displaying the application interface. All content of the interface. However, due to the limited size of the split-screen window, the area that displays the main content in the application interface will be very small, seriously affecting the user experience.
针对现有技术中出现的问题,本申请实施例提供了一种显示方法,在接收到分屏输入,即第一输入之后,可以在第一分屏窗口显示第一应用程序界面中部分区域对应的内容。如此,在本申请实施例中,可以在第一分屏窗口中,显示第一应用程序界面中的主要内容,即目标区域对应的内容,而无需显示第一应用程序界面中的所有内容,如此扩大了显示目标区域对应的内容的面积,提升了用户体验。In view of the problems that arise in the prior art, embodiments of the present application provide a display method. After receiving a split-screen input, that is, the first input, the corresponding part of the area in the first application program interface can be displayed in the first split-screen window. Content. In this way, in the embodiment of the present application, the main content in the first application interface, that is, the content corresponding to the target area, can be displayed in the first split-screen window without displaying all the content in the first application interface, so The area for displaying content corresponding to the target area is expanded and the user experience is improved.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的显示方法、装置、电子设备及存储介质进行详细地说明。The display method, device, electronic device and storage medium provided by the embodiments of the present application will be described in detail through specific embodiments and application scenarios with reference to the accompanying drawings.
本申请所提供的显示方法,可以应用于如图1所示的场景中,具体结合图1进行详细说明。The display method provided by this application can be applied to the scenario shown in Figure 1, which will be described in detail with reference to Figure 1.
图1是根据一示例性实施例示出的一种显示方法应用场景的示意图。FIG. 1 is a schematic diagram of an application scenario of a display method according to an exemplary embodiment.
本申请实施例提供的显示方法可应用于分屏显示的应用场景中。The display method provided by the embodiment of the present application can be applied to the application scenario of split-screen display.
基于上述应用场景,用户对电子设备进行输入,可以触发电子设备的分屏功能,使电子设备在如图1所示的第一分屏窗口100显示第一应用程序界面110的全部内容。 Based on the above application scenario, the user's input to the electronic device can trigger the split-screen function of the electronic device, causing the electronic device to display all the contents of the first application program interface 110 in the first split-screen window 100 as shown in FIG. 1 .
但是,由于第一分屏窗口100尺寸有限,在第一分屏窗口100中显示第一应用程序界面110的全部内容,可能会导致第一应用程序界面110中主要内容区域111的显示区域面积很小,甚至在某些如图2所示的场景中,由于第一分屏窗口200在电子设备屏幕所占的比例较小,导致第一应用程序界面210的显示区域面积极小,那么第一应用程序界面210中主要内容区域211的显示区域面积就会更小,严重影响用户体验。However, due to the limited size of the first split-screen window 100, displaying all the contents of the first application program interface 110 in the first split-screen window 100 may cause the display area of the main content area 111 in the first application program interface 110 to be very large. Small, even in some scenarios as shown in Figure 2, since the first split-screen window 200 occupies a small proportion of the electronic device screen, resulting in an extremely small display area of the first application interface 210, then the first The display area of the main content area 211 in the application interface 210 will be smaller, which seriously affects the user experience.
为了解决上述问题,本申请实施例提供了一种显示方法,也即,接收用户的第一输入;响应于第一输入,在第一分屏窗口显示第一应用程序界面中目标区域对应的内容;其中,第一应用程序界面为第一应用程序中的任一界面,目标区域为第一应用程序界面中的部分区域。In order to solve the above problem, embodiments of the present application provide a display method, that is, receiving the first input from the user; in response to the first input, displaying the content corresponding to the target area in the first application program interface in the first split-screen window ; Wherein, the first application program interface is any interface in the first application program, and the target area is a partial area in the first application program interface.
这样,电子设备在接收到分屏输入,即第一输入之后,可以在第一分屏窗口显示第一应用程序界面中部分区域对应的内容。如此,在本申请实施例中,可以在第一分屏窗口中,显示第一应用程序界面中的主要内容,即目标区域对应的内容,而无需显示第一应用程序界面中的所有内容,如此扩大了显示目标区域对应的内容的面积,提升了用户体验。In this way, after receiving the split-screen input, that is, the first input, the electronic device can display the content corresponding to the partial area in the first application program interface in the first split-screen window. In this way, in the embodiment of the present application, the main content in the first application interface, that is, the content corresponding to the target area, can be displayed in the first split-screen window without displaying all the content in the first application interface, so The area for displaying content corresponding to the target area is expanded and the user experience is improved.
根据上述应用场景,下面结合图3-图16对本申请实施例提供的显示方法进行详细说明。According to the above application scenario, the display method provided by the embodiment of the present application will be described in detail below with reference to Figures 3-16.
图3是根据一示例性实施例示出的一种显示方法的流程图,该显示方法的执行主体可以为电子设备。需要说明的是,上述执行主体并不构成对本申请的限定。FIG. 3 is a flowchart of a display method according to an exemplary embodiment. The execution subject of the display method may be an electronic device. It should be noted that the above execution subjects do not constitute a limitation on this application.
如图3所示,该显示方法可以包括如下步骤:As shown in Figure 3, the display method may include the following steps:
步骤310,接收用户的第一输入。Step 310: Receive the user's first input.
这里,第一输入可以是触发分屏功能的输入,例如,第一输入可以为:用户的点击输入,或者为用户输入的语音指令,或者为用户输入的特定手势,具体的可以根据实际使用需求确定,本申请实施例对此不作限定。Here, the first input may be an input that triggers the split-screen function. For example, the first input may be: the user's click input, or a voice command input by the user, or a specific gesture input by the user. The specific input may be based on actual usage requirements. It is determined that the embodiments of this application do not limit this.
本申请实施例中的特定手势可以为单击手势、滑动手势、拖动手势、压力识别手势、长按手势、面积变化手势、双按手势、双击手势中的任意一种;本 申请实施例中的点击输入可以为单击输入、双击输入或任意次数的点击输入等,还可以为长按输入或短按输入。The specific gesture in the embodiment of the present application may be any one of a click gesture, a sliding gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double press gesture, and a double click gesture; The click input in the application embodiment can be a single click input, a double click input or any number of click inputs, etc. It can also be a long press input or a short press input.
在一种可选的实施方式中,在上述步骤310之前,该方法还可以包括:In an optional implementation, before the above step 310, the method may further include:
接收用户的第五输入;receiving fifth input from the user;
响应于第五输入,确定第一应用程序。In response to the fifth input, a first application is determined.
这里,第五输入可以为选择第一应用程序的输入。通过该第五输入,可以在触发分屏功能之前,预先确定要在分屏窗口中显示的应用程序,以便在触发分屏功能后,快速在分屏窗口中显示相应的应用程序界面。Here, the fifth input may be an input for selecting the first application. Through this fifth input, the application to be displayed in the split-screen window can be predetermined before triggering the split-screen function, so that the corresponding application program interface can be quickly displayed in the split-screen window after the split-screen function is triggered.
步骤320,响应于第一输入,在第一分屏窗口显示第一应用程序界面中目标区域对应的内容。Step 320: In response to the first input, display the content corresponding to the target area in the first application interface in the first split-screen window.
这里,第一应用程序界面可以为第一应用程序中的任一界面,目标区域可以为第一应用程序界面中的部分区域。电子设备可以响应于该触发分屏功能的第一输入,进入分屏模式,第一分屏窗口可以为分屏模式下,电子设备的多个分屏窗口之一。电子设备响应于该第一输入,可以直接在第一分屏窗口显示目标区域对应的内容,也可以先显示第一应用程序界面的全部内容,再调整为显示目标区域对应的内容。Here, the first application program interface may be any interface in the first application program, and the target area may be a partial area in the first application program interface. The electronic device may enter the split-screen mode in response to the first input that triggers the split-screen function, and the first split-screen window may be one of multiple split-screen windows of the electronic device in the split-screen mode. In response to the first input, the electronic device may directly display the content corresponding to the target area in the first split-screen window, or may first display the entire content of the first application interface and then adjust to display the content corresponding to the target area.
在一种可选的实施方式中,第一输入可以包括第一子输入和第二子输入;In an optional implementation, the first input may include a first sub-input and a second sub-input;
上述步骤310,具体可以包括:The above step 310 may specifically include:
接收用户的第一子输入;Receive the user's first sub-input;
上述步骤320,具体可以包括:The above step 320 may specifically include:
响应于第一子输入,显示至少两个分屏窗口;In response to the first sub-input, display at least two split-screen windows;
接收用户选择第一应用程序的第二子输入;receiving a second sub-input from the user selecting the first application;
响应于第二子输入,在第一分屏窗口显示第一应用程序界面中目标区域对应的内容。In response to the second sub-input, content corresponding to the target area in the first application program interface is displayed in the first split-screen window.
这里,第一子输入可以为触发电子设备分屏功能的输入,响应于该第一输入,电子设备可以进入分屏模式,显示至少两个分屏窗口。该至少两个分屏窗口包括第一分屏窗口。第二子输入可以为用户选择第一应用程序的输入,响应 于该输入,便可以在第一分屏窗口显示该第一应用程序中的第一应用程序界面中目标区域对应的内容。Here, the first sub-input may be an input that triggers the split-screen function of the electronic device. In response to the first input, the electronic device may enter the split-screen mode and display at least two split-screen windows. The at least two split-screen windows include a first split-screen window. The second sub-input can select the input of the first application for the user, in response to Based on this input, the content corresponding to the target area in the first application program interface of the first application program can be displayed in the first split-screen window.
示例性地,用户点击分屏控件,电子设备显示多个分屏窗口,其中,第一分屏窗口中显示多个应用程序图标,用户点击应用程序图标K,也即第一应用程序的图标,便可以在第一分屏窗口中显示该第一应用程序中的第一应用程序界面中目标区域对应的内容。For example, the user clicks the split-screen control, and the electronic device displays multiple split-screen windows, wherein multiple application icons are displayed in the first split-screen window, and the user clicks the application icon K, which is the icon of the first application, Then, the content corresponding to the target area in the first application program interface of the first application program can be displayed in the first split-screen window.
此外,在除第一分屏窗口之外的其他分屏窗口中可以显示相应应用程序界面中的全部内容,也可以显示相应应用程序界面中的部分内容,在此不做限定。In addition, all content in the corresponding application program interface may be displayed in other split-screen windows except the first split-screen window, or part of the content in the corresponding application program interface may be displayed, which is not limited here.
如此,可以根据用户输入灵活确定第一分屏窗口中显示的应用程序界面。In this way, the application program interface displayed in the first split-screen window can be flexibly determined according to user input.
在一种可选的实施方式中,可以通过拖动相邻分屏窗口之间的分界线,调整相邻分屏窗口的大小比例。这样,能够根据用户需求,灵活改变不同分屏窗口的尺寸,提升用户体验。In an optional implementation, the size ratio of adjacent split-screen windows can be adjusted by dragging the dividing line between adjacent split-screen windows. In this way, the size of different split-screen windows can be flexibly changed according to user needs, improving user experience.
在一种可选的实施方式中,在上述步骤310之后,该方法还可以包括:In an optional implementation, after the above step 310, the method may further include:
响应于第一输入,在第二分屏窗口显示第二应用程序界面的部分内容;In response to the first input, display part of the second application interface in the second split-screen window;
这里,第一输入可以为触发分屏功能的输入,响应于该第一输入,不仅可以在第一分屏窗口中显示第一应用程序界面中目标区域对应的内容,还可以在第二分屏窗口显示第二应用程序界面的部分内容,该第二应用程序界面可以为第二应用程序中的任一界面。Here, the first input may be an input that triggers the split-screen function. In response to the first input, not only the content corresponding to the target area in the first application program interface may be displayed in the first split-screen window, but also the content corresponding to the target area in the second split-screen window may be displayed. The window displays part of the content of the second application program interface, and the second application program interface can be any interface in the second application program.
如此,第一分屏窗口和第二分屏窗口中均可以显示主要内容,可以更大程度上提高屏幕利用率,提升用户体验。In this way, the main content can be displayed in both the first split-screen window and the second split-screen window, which can improve screen utilization to a greater extent and enhance user experience.
在一种可选的实施方式中,第一应用程序界面可以包括显示内容控件所在的目标区域和辅助功能控件所在的辅助功能区域。In an optional implementation, the first application program interface may include a target area where the display content control is located and an auxiliary function area where the auxiliary function control is located.
这里,辅助功能区域可以是第一应用程序界面中导航栏和/或工具栏等辅助功能控件所在的区域,目标区域可以是第一应用程序界面中除辅助功能区域之外的显示内容控件所在的区域。其中,控件可以为用户界面(User Interface,UI)控件。Here, the auxiliary function area may be the area where auxiliary function controls such as the navigation bar and/or toolbar are located in the first application program interface, and the target area may be the area where the display content controls other than the auxiliary function area are located in the first application program interface. area. Among them, the control can be a user interface (User Interface, UI) control.
如此,可以在第一分屏窗口中显示显示内容控件所在的目标区域,而不显 示辅助功能控件所在的辅助功能区域,使第一分屏窗口显示显示内容控件的面积增大,便于用户查看更多主要内容。In this way, the target area where the display content control is located can be displayed in the first split-screen window without displaying The auxiliary function area where the auxiliary function controls are located increases the area of the first split-screen window to display the content controls, making it easier for users to view more main content.
在一种可选的实施方式中,在第一分屏窗口显示第一应用程序界面中目标区域对应的内容之前,该方法还可以包括:In an optional implementation, before the first split-screen window displays the content corresponding to the target area in the first application interface, the method may further include:
显示提示选项;Show prompt options;
接收用户对提示选项中目标选项的第二输入;Receive the user's second input for the target option in the prompt option;
响应于第二输入,根据目标选项,确定第一应用程序界面的目标区域。In response to the second input, a target area of the first application interface is determined based on the target options.
这里,提示选项可以用于指示第一应用程序界面中目标区域的确定方式。第二输入可以为从多个提示选项中选择目标选项的输入,例如,第二输入可以为点击目标选项的输入,当然也可以是其他选择目标选项的输入,在此不做限定。响应于该第二输入,可以根据目标选项所指示的确定方式,确定第一应用程序界面的目标区域。具体地,目标选项可以是用于指示用户手动确定第一应用程序界面的目标区域的选项,也可以是用于指示自动确定第一应用程序界面的目标区域的选项。Here, the prompt option may be used to indicate how the target area is determined in the first application interface. The second input may be the input of selecting a target option from multiple prompt options. For example, the second input may be the input of clicking the target option. Of course, it may also be the input of selecting other target options, which is not limited here. In response to the second input, the target area of the first application interface may be determined according to the determination manner indicated by the target option. Specifically, the target option may be an option for instructing the user to manually determine the target area of the first application program interface, or may be an option for instructing the user to automatically determine the target area of the first application program interface.
示例性地,可以如图4所示,弹出弹窗,显示提示选项:“手动确定”410和“自动确定”420。若用户点击“手动确定”410,电子设备则可以根据用户手动选择确定第一应用程序界面的目标区域;若用户点击“自动确定”420,电子设备则可以自动确定第一应用程序界面的目标区域。For example, as shown in Figure 4, a pop-up window may be popped up to display prompt options: "Manual determination" 410 and "Automatic determination" 420. If the user clicks "Manual Determine" 410, the electronic device can determine the target area of the first application program interface according to the user's manual selection; if the user clicks "Automatic Determine" 420, the electronic device can automatically determine the target area of the first application program interface. .
如此,根据用户选择的目标选项所指示的确定方式来确定第一应用程序界面的目标区域,可以使用户能够根据自身需求选择合适的方式,来确定第一应用程序界面的目标区域,提升了用户的体验感。In this way, the target area of the first application program interface is determined according to the determination method indicated by the target option selected by the user, which enables the user to select an appropriate method according to his own needs to determine the target area of the first application program interface, which improves the user experience. sense of experience.
在一种可选的实施方式中,在目标选项用于指示用户手动确定第一应用程序界面的目标区域的情况下,上述根据目标选项,确定第一应用程序界面的目标区域,具体可以包括:In an optional implementation, in the case where the target option is used to instruct the user to manually determine the target area of the first application interface, the above-mentioned determination of the target area of the first application interface according to the target option may specifically include:
显示第一应用程序布局界面;Display the first application layout interface;
接收用户对至少两个可选显示区域中第一显示区域的第三输入;receiving a third user input to a first of the at least two selectable display areas;
响应于第三输入,将第一显示区域确定为第一应用程序界面的目标区域。 In response to the third input, the first display area is determined as a target area of the first application interface.
这里,第一应用程序布局界面可以用于显示第一应用程序界面的界面布局信息,该第一应用程序布局界面中可以包括至少两个可选显示区域。第三输入可以为选择至少两个可选显示区域中第一显示区域的输入,例如,第三输入可以为点击第一显示区域的输入。第一显示区域可以为第一应用程序界面的目标区域。可选显示区域对应的内容可以为第一应用程序界面中的控件。第一应用程序布局界面可以是标记第一应用程序界面中的控件得到的。该第一应用程序布局界面可以全屏显示,也可以在第一分屏窗口中显示。Here, the first application program layout interface may be used to display interface layout information of the first application program interface, and the first application program layout interface may include at least two optional display areas. The third input may be an input for selecting a first display area among the at least two optional display areas. For example, the third input may be an input for clicking the first display area. The first display area may be a target area of the first application interface. The content corresponding to the optional display area may be controls in the first application interface. The first application program layout interface may be obtained by marking controls in the first application program interface. The first application layout interface can be displayed in full screen or in a first split-screen window.
具体地,在目标选项用于指示用户手动确定第一应用程序界面的目标区域的情况下,可以显示包括至少两个可选显示区域的第一应用程序布局界面。若用户选择第一显示区域,则将该第一显示区域确定为第一应用程序界面的目标区域,在第一分屏窗口显示该第一显示区域对应的内容。Specifically, in the case where the target option is used to instruct the user to manually determine the target area of the first application program interface, the first application program layout interface including at least two selectable display areas may be displayed. If the user selects the first display area, the first display area is determined as the target area of the first application interface, and the content corresponding to the first display area is displayed in the first split-screen window.
示例性地,如图5所示,第一应用程序布局界面510中包括多个被虚线框出的控件,也即可选显示区域对应的内容,用户点击虚线框511所在区域,则可以在第一分屏窗口显示该虚线框511中的控件,也即第一显示区域对应的内容。For example, as shown in Figure 5, the first application layout interface 510 includes a plurality of controls framed by dotted lines, that is, content corresponding to the optional display area. If the user clicks on the area where the dotted line frame 511 is located, the user can click on the area where the dotted line frame 511 is located. A split-screen window displays the controls in the dotted box 511, that is, the content corresponding to the first display area.
此外,示例性地,如图6所示,第一应用程序布局界面610中包括控件611、控件612和控件613,其中,控件613位于控件611和控件612的下一层级,当用户想要选择控件613时,可以通过在控件611或控件612的位置进行第六输入,例如,双击控件611或控件612,来切换到当前位置的下一层级,也即控件613所在的层级,从而可以选择控件613,使第一分屏窗口显示控件613,也即第一显示区域对应的内容。反之,当用户想要返回当前位置的上一层级,也即控件611和控件612所在的层级时,可以在控件613的位置进行第七输入,例如,三击控件613,来切换到控件611和控件612所在的层级,从而可以选择控件611或控件612,例如,用户选择了控件611,则可以在第一分屏窗口显示控件611,也即第一显示区域对应的内容。In addition, for example, as shown in Figure 6, the first application layout interface 610 includes a control 611, a control 612 and a control 613. The control 613 is located at the next level of the control 611 and the control 612. When the user wants to select When control 613 is located, the sixth input can be made at the position of control 611 or control 612, for example, double-clicking control 611 or control 612 to switch to the next level of the current position, that is, the level where control 613 is located, so that the control can be selected. 613. Make the first split-screen window display the control 613, that is, the content corresponding to the first display area. On the contrary, when the user wants to return to the previous level of the current position, that is, the level where controls 611 and 612 are located, the seventh input can be made at the position of control 613, for example, triple-click control 613 to switch to controls 611 and 612. The level where control 612 is located, so that control 611 or control 612 can be selected. For example, if the user selects control 611, control 611 can be displayed in the first split-screen window, that is, the content corresponding to the first display area.
如此,可以根据用户选择确定第一分屏窗口中显示的目标区域,使用户可以根据自身需求灵活地选择想要在第一分屏窗口中显示的内容。 In this way, the target area displayed in the first split-screen window can be determined according to the user's selection, so that the user can flexibly select the content he wants to display in the first split-screen window according to his own needs.
在一种可选的实施方式中,上述第三输入可以与第一输入为同一输入。这里,可以预先设置第一显示区域,也即目标区域,在接收用户的第一输入(或第三输入),触发分屏功能后,电子设备可以直接在第一分屏窗口显示第一应用程序界面中的目标区域对应的内容。这样,可以简化用户操作,快速在第一分屏窗口显示目标区域对应的内容。In an optional implementation, the third input may be the same input as the first input. Here, the first display area, that is, the target area, can be set in advance. After receiving the user's first input (or third input) and triggering the split-screen function, the electronic device can directly display the first application in the first split-screen window. The content corresponding to the target area in the interface. In this way, user operations can be simplified and content corresponding to the target area can be quickly displayed in the first split-screen window.
在一种可选的实施方式中,在目标选项用于指示自动确定第一应用程序界面的目标区域的情况下,上述根据目标选项,确定第一应用程序界面的目标区域,具体可以包括:In an optional implementation, when the target option is used to indicate automatic determination of the target area of the first application interface, the above-mentioned determination of the target area of the first application interface according to the target option may specifically include:
基于第一应用程序界面的布局信息,确定第一应用程序界面的目标区域。Based on the layout information of the first application interface, a target area of the first application interface is determined.
这里,电子设备可以根据第一应用程序界面的布局信息,自动确定第一应用程序界面的目标区域。第一应用程序界面的布局信息可以从第一应用程序最上层,也即第一应用程序界面的视图树中获取。该布局信息可以包括以下至少一项:布局类型、布局名称、布局属性。Here, the electronic device can automatically determine the target area of the first application interface according to the layout information of the first application interface. The layout information of the first application program interface can be obtained from the topmost layer of the first application program, that is, the view tree of the first application program interface. The layout information may include at least one of the following: layout type, layout name, and layout attributes.
示例性地,目标区域中包括的控件,也即显示内容控件的布局类型可以为“列表视图(listview)”或“帧布局(framelayout)”,而辅助功能区域中包括的辅助功能控件的布局类型可以为“按钮(button)”;显示内容控件的布局名称中可以带有名词“内容(content)”,而辅助功能控件的布局名称中可以带有“导航(navigation)”或“栏(bar)”等名词。布局属性可以包括位置和宽高等信息,显示内容控件的位置一般在第一应用程序界面的中间,宽高一般尽可能大(match_parent),而辅助功能控件的位置一般在第一应用程序界面的边缘,宽高一般为固定长度,且是细长的。For example, the layout type of the controls included in the target area, that is, the display content control, may be "list view (listview)" or "frame layout (framelayout)", while the layout type of the accessibility controls included in the accessibility area Can be "button"; the layout name of the display content control can have the noun "content", and the layout name of the accessibility control can have "navigation" or "bar" " and other nouns. The layout attributes can include information such as position, width and height. The position of the display content control is generally in the middle of the first application interface, the width and height are generally as large as possible (match_parent), and the position of the accessibility control is generally at the edge of the first application interface. , the width and height are generally fixed length and slender.
如此,根据布局类型、布局名称和布局属性等布局信息中的至少一项,便可以自动确定第一应用程序界面的目标区域,以便自动在第一分屏窗口中显示该目标区域,简化用户操作。In this way, according to at least one item of layout information such as layout type, layout name, and layout attributes, the target area of the first application interface can be automatically determined, so that the target area can be automatically displayed in the first split-screen window and simplify user operations. .
在一种可选的实施方式中,上述第二输入可以与第一输入为同一输入。这里,在接收用户的第一输入(或第二输入),触发分屏功能后,电子设备可以自动基于第一应用程序界面的布局信息,确定第一应用程序界面的目标区域,直 接在第一分屏窗口显示该目标区域对应的内容。这样,可以简化用户操作,快速在第一分屏窗口显示目标区域对应的内容。In an optional implementation, the above-mentioned second input may be the same input as the first input. Here, after receiving the user's first input (or second input) and triggering the split-screen function, the electronic device can automatically determine the target area of the first application interface based on the layout information of the first application interface. Then the content corresponding to the target area is displayed in the first split-screen window. In this way, user operations can be simplified and content corresponding to the target area can be quickly displayed in the first split-screen window.
在一种可选的实施方式中,目标区域的显示尺寸可以与第一分屏窗口的尺寸相适配。In an optional implementation, the display size of the target area may be adapted to the size of the first split-screen window.
这里,显示尺寸可以为第一显示窗口中显示的目标区域的尺寸,为了使第一分屏窗口中显示目标区域对应的内容,而不显示辅助功能区域对应的内容,可以使目标区域的显示尺寸与第一分屏窗口的尺寸相适配。Here, the display size may be the size of the target area displayed in the first display window. In order to display the content corresponding to the target area in the first split-screen window without displaying the content corresponding to the auxiliary function area, the display size of the target area may be Fits the size of the first split-screen window.
具体地,为了使目标区域的显示尺寸与第一分屏窗口的尺寸相适配,在第一分屏窗口显示第一应用程序界面中目标区域对应的内容,可以包括:Specifically, in order to adapt the display size of the target area to the size of the first split-screen window, displaying the content corresponding to the target area in the first application program interface in the first split-screen window may include:
获取第一分屏窗口在目标方向上的第一尺寸;Get the first size of the first split-screen window in the target direction;
调整目标区域在目标方向上的尺寸为第一尺寸,得到目标应用程序界面;Adjust the size of the target area in the target direction to the first size to obtain the target application interface;
在第一分屏窗口中显示目标应用程序界面,目标应用程序界面中的目标区域的轮廓位置与第一分屏窗口的轮廓位置一致。The target application program interface is displayed in the first split-screen window, and the outline position of the target area in the target application program interface is consistent with the outline position of the first split-screen window.
这里,在确定目标区域之后,可以获取第一分屏窗口在目标方向上的第一尺寸。目标方向可以为横向,也可以为纵向,根据实际需求还可以为其他方向,在此不做限定。目标应用程序界面可以是对第一应用程序界面中目标区域进行调整得到的。为了使目标区域的显示尺寸与第一分屏窗口的尺寸相适配,可以通过调整目标区域在各个方向的显示尺寸使其与第一分屏窗口在相应方向上的尺寸相适配。Here, after determining the target area, the first size of the first split-screen window in the target direction can be obtained. The target direction can be horizontal or vertical, and it can also be other directions according to actual needs, which is not limited here. The target application program interface may be obtained by adjusting the target area in the first application program interface. In order to make the display size of the target area adapt to the size of the first split-screen window, the display size of the target area in each direction can be adjusted to match the size of the first split-screen window in the corresponding direction.
目标区域在目标方向上的显示尺寸与第一分屏窗口在目标方向上的尺寸相适配,具体可以为:目标区域在目标方向上的尺寸与第一分屏窗口在目标方向上的尺寸相等,且目标区域在目标方向上的轮廓位置与第一分屏窗口在目标方向上的轮廓位置一致。The display size of the target area in the target direction matches the size of the first split-screen window in the target direction. Specifically, the display size of the target area in the target direction is equal to the size of the first split-screen window in the target direction. , and the outline position of the target area in the target direction is consistent with the outline position of the first split-screen window in the target direction.
示例性地,若目标区域在目标方向的尺寸为MC,位于第一应用程序界面(或目标应用程序界面)顶部的辅助功能区域在目标方向的尺寸为ST,位于第一应用程序界面(或目标应用程序界面)底部的辅助功能区域在目标方向的尺寸为SB,第一分屏窗口在目标方向的第一尺寸为h,第一应用程序界面(或目 标应用程序界面)在目标方向的尺寸为H,则在调整目标区域在目标方向上的尺寸和轮廓位置之前,第一应用程序界面中H=ST+MC+SB,且H=h,而在调整目标区域在目标方向上的尺寸和轮廓位置之后,得到的目标应用程序界面中H=ST+MC+SB,且MC=h。For example, if the size of the target area in the target direction is MC, the size of the auxiliary function area located at the top of the first application interface (or target application interface) in the target direction is ST, and the size of the auxiliary function area located at the top of the first application interface (or target application interface) is ST. The size of the auxiliary function area at the bottom of the application interface) in the target direction is SB, the first size of the first split-screen window in the target direction is h, and the first application interface (or target The size of the target application interface) in the target direction is H, then before adjusting the size and outline position of the target area in the target direction, H=ST+MC+SB in the first application interface, and H=h, and in After adjusting the size and outline position of the target area in the target direction, H=ST+MC+SB, and MC=h in the obtained target application interface.
由于,通常情况下,第一分屏窗口和第一应用程序界面在水平方向的显示尺寸均默认与屏幕在水平方向上的尺寸相适配,因此,第一应用程序界面在水平方向的显示尺寸可以无需调整,只需调整目标区域在竖直方向上的显示尺寸使其与第一分屏窗口在竖直方向上的尺寸相适配,便可以使目标区域的显示尺寸与第一分屏窗口的尺寸相适配。Since, under normal circumstances, the horizontal display sizes of the first split-screen window and the first application interface are adapted to the horizontal size of the screen by default, therefore, the horizontal display size of the first application interface No adjustment is required. You only need to adjust the vertical display size of the target area to match the vertical size of the first split-screen window. size to match.
目标区域在竖直方向上的显示尺寸与第一分屏窗口在竖直方向上的尺寸相适配,具体可以为:目标区域在竖直方向上的尺寸与第一分屏窗口在竖直方向上的尺寸相等,且目标区域在竖直方向上的轮廓位置与第一分屏窗口在竖直方向上的轮廓位置一致。The display size of the target area in the vertical direction matches the size of the first split-screen window in the vertical direction. Specifically, the display size of the target area in the vertical direction matches the size of the first split-screen window in the vertical direction. are equal in size, and the outline position of the target area in the vertical direction is consistent with the outline position of the first split-screen window in the vertical direction.
由于,辅助功能区域可以位于第一应用程序界面的顶部,也可以位于第一应用程序界面的底部,还可以位于第一应用程序界面的顶部和底部,因此,使目标区域在竖直方向上的显示尺寸与第一分屏窗口在竖直方向上的尺寸相适配的方案可以分为三种。Since the auxiliary function area can be located at the top of the first application program interface, or can be located at the bottom of the first application program interface, or can also be located at the top and bottom of the first application program interface, therefore, the target area can be positioned vertically There are three solutions for adapting the display size to the size of the first split-screen window in the vertical direction.
在一种可选的实施方式中,在辅助功能区域位于第一应用程序界面的顶部的情况下,可以将第一应用程序界面向顶部方向移动第一距离,该第一距离与辅助功能区域在竖直方向上的尺寸相等,从而使目标区域在竖直方向上的轮廓位置向顶部方向移动第一距离。这样便可以将位于第一应用程序界面的顶部的辅助功能区域移出第一分屏窗口,而超出第一分屏窗口的界面区域不在屏幕上绘制,因此,可以将该辅助功能区域隐藏起来,使第一分屏窗口只显示目标区域。In an optional implementation, when the auxiliary function area is located at the top of the first application interface, the first application interface can be moved toward the top by a first distance, and the first distance is the same as the auxiliary function area at the top. The dimensions in the vertical direction are equal, so that the outline position of the target area in the vertical direction moves a first distance toward the top direction. In this way, the auxiliary function area located at the top of the first application interface can be moved out of the first split-screen window, and the interface area beyond the first split-screen window is not drawn on the screen. Therefore, the auxiliary function area can be hidden, so that The first split-screen window displays only the target area.
由于目标区域在竖直方向上的轮廓位置向顶部方向移动了第一距离,则第一分屏窗口在竖直方向的底部上会空余出第一距离的显示区域,为了增大目标区域的显示面积,可以将目标区域在竖直方向上的尺寸向底部方向拉长第一距 离,这样,目标区域在竖直方向上的显示尺寸便可以与第一分屏窗口在竖直方向上的尺寸相适配。Since the outline position of the target area in the vertical direction has moved the first distance to the top direction, the first split-screen window will have a display area of the first distance at the bottom of the vertical direction. In order to increase the display of the target area Area, you can extend the vertical size of the target area by the first distance toward the bottom. distance, so that the display size of the target area in the vertical direction can be adapted to the size of the first split-screen window in the vertical direction.
需要说明的是,目标区域无法被单独移动和拉长,所以移动和拉长的操作是针对第一应用程序界面执行的。拉长第一应用程序界面时,辅助功能区域是不会被拉长的,因此可以通过拉长第一应用程序界面实现目标区域的拉长。It should be noted that the target area cannot be moved and stretched independently, so the moving and stretching operations are performed on the first application interface. When the first application interface is lengthened, the auxiliary function area will not be lengthened, so the target area can be lengthened by lengthening the first application interface.
示例性地,可以如图7所示,以第一分屏窗口700的左上角为原点建立直角坐标系,以第一应用程序界面的底部的方向为y轴正半轴的方向。这样,在调整目标区域711在竖直方向上的尺寸和轮廓位置之前,第一应用程序界面710的全部内容均显示在第一分屏窗口700中。为了使目标区域在竖直方向上的显示尺寸与第一分屏窗口在竖直方向上的尺寸相适配,可以通过将第一应用程序界面710中每个像素点的纵坐标减小ST,ST为辅助功能区域712在竖直方向上的尺寸,使第一应用程序界面710向顶部的方向,也即y轴负半轴的方向,移动ST。再通过将第一应用程序界面710向y轴正半轴的方向拉长ST,使目标区域711向y轴正半轴的方向被拉长ST,便可以得到目标应用程序界面720,该目标应用程序界面720中的目标区域721在竖直方向上的显示尺寸与第一分屏窗口700在竖直方向上的尺寸相适配。For example, as shown in FIG. 7 , a rectangular coordinate system can be established with the upper left corner of the first split-screen window 700 as the origin, and the direction of the bottom of the first application interface as the direction of the positive y-axis. In this way, before adjusting the size and outline position of the target area 711 in the vertical direction, all the contents of the first application interface 710 are displayed in the first split-screen window 700 . In order to adapt the display size of the target area in the vertical direction to the size of the first split-screen window in the vertical direction, the ordinate of each pixel in the first application interface 710 can be reduced by ST, ST is the size of the auxiliary function area 712 in the vertical direction, so that the first application interface 710 moves ST toward the top direction, that is, the direction of the negative half axis of the y-axis. Then, by elongating the first application interface 710 ST in the direction of the positive y-axis, so that the target area 711 is elongated ST in the direction of the positive y-axis, the target application interface 720 can be obtained. The target application The display size of the target area 721 in the program interface 720 in the vertical direction is adapted to the size of the first split-screen window 700 in the vertical direction.
这样,便可以隐藏位于应用程序界面的顶部的辅助功能区域,增大目标区域的显示面积。In this way, the accessibility area located at the top of the application interface can be hidden and the display area of the target area can be increased.
在一种可选的实施方式中,在辅助功能区域位于第一应用程序界面的底部的情况下,可以保持第一应用程序界面的顶部相对于第一分屏窗口的位置不变,将第一应用程序界面在竖直方向上向底部的方向拉长第二尺寸,也即位于底部的辅助功能区域在竖直方向上的尺寸。这样,目标区域在竖直方向上的显示尺寸便可以与第一分屏窗口在竖直方向上的尺寸相适配。此时,辅助功能区域被拉到第一分屏窗口之外,从而被隐藏。In an optional implementation, when the auxiliary function area is located at the bottom of the first application interface, the position of the top of the first application interface relative to the first split-screen window can be kept unchanged, and the first The application interface is elongated vertically toward the bottom by a second dimension, which is the vertical dimension of the auxiliary function area located at the bottom. In this way, the display size of the target area in the vertical direction can be adapted to the size of the first split-screen window in the vertical direction. At this time, the auxiliary function area is pulled outside the first split-screen window and is thus hidden.
示例性地,可以如图8所示,以第一分屏窗口800的左上角为原点建立直角坐标系,以第一应用程序界面的底部的方向为y轴正半轴的方向。这样,在调整目标区域811在竖直方向上的尺寸和轮廓位置之前,第一应用程序界面 810的全部内容均显示在第一分屏窗口800中。为了使目标区域811在竖直方向上的显示尺寸与第一分屏窗口800在竖直方向上的尺寸相适配,可以将第一应用程序界面810拉长SB,SB为辅助功能区域812在竖直方向上的尺寸,得到目标应用程序界面820,该目标应用程序界面820中的目标区域821在竖直方向上的显示尺寸与第一分屏窗口800在竖直方向上的尺寸相适配。For example, as shown in FIG. 8 , a rectangular coordinate system can be established with the upper left corner of the first split-screen window 800 as the origin, and the direction of the bottom of the first application interface as the direction of the positive y-axis. In this way, before adjusting the size and outline position of the target area 811 in the vertical direction, the first application program interface The entire content of 810 is displayed in the first split screen window 800. In order to make the display size of the target area 811 in the vertical direction adapt to the size of the first split-screen window 800 in the vertical direction, the first application program interface 810 can be stretched SB, where SB is the auxiliary function area 812 in The size in the vertical direction is used to obtain the target application program interface 820. The display size of the target area 821 in the target application program interface 820 in the vertical direction is adapted to the size of the first split-screen window 800 in the vertical direction. .
这样,便可以隐藏位于应用程序界面的底部的辅助功能区域,增大内容区域的显示面积。In this way, the accessibility area located at the bottom of the application interface can be hidden and the display area of the content area can be increased.
在一种可选的实施方式中,在辅助功能区域位于第一应用程序界面的顶部和底部的情况下,可以将第一应用程序界面向顶部方向移动第二距离,该第二距离与位于顶部的辅助功能区域在竖直方向上的尺寸相等,从而使目标区域在竖直方向上的轮廓位置向顶部方向移动第二距离。这样便可以将位于顶部的辅助功能区域移出第一分屏窗口,从而被隐藏起来。In an optional implementation, when the auxiliary function area is located at the top and bottom of the first application program interface, the first application program interface can be moved to the top direction by a second distance, and the second distance is the same as the second distance located at the top. The auxiliary function areas have the same size in the vertical direction, so that the outline position of the target area in the vertical direction moves a second distance toward the top direction. This will move the accessibility area at the top out of the first split-screen window and thus be hidden.
由于目标区域在竖直方向上的轮廓位置向顶部方向移动了第二距离,则第一分屏窗口在竖直方向上会空余出第二距离的显示区域,为了增大目标区域的显示面积,同时将位于底部的辅助功能区域隐藏起来,可以将目标区域在竖直方向上的尺寸向底部方向拉长第三距离,该第三距离与位于顶部的辅助功能区域在竖直方向上的尺寸和位于底部的辅助功能区域在竖直方向上的尺寸之和相等,这样,目标区域在竖直方向上的显示尺寸便可以与第一分屏窗口在竖直方向上的尺寸相适配。Since the outline position of the target area in the vertical direction has moved the second distance to the top direction, the first split-screen window will have a display area of the second distance in the vertical direction. In order to increase the display area of the target area, At the same time, by hiding the auxiliary function area at the bottom, the vertical size of the target area can be extended toward the bottom by a third distance. The third distance is the same as the vertical size of the auxiliary function area at the top. The sum of the sizes of the auxiliary function areas at the bottom in the vertical direction is equal, so that the display size of the target area in the vertical direction can be adapted to the size of the first split-screen window in the vertical direction.
示例性地,可以如图9所示,以第一分屏窗口900的左上角为原点建立直角坐标系,以第一应用程序界面的底部的方向为y轴正半轴的方向。这样,在调整目标区域911在竖直方向上的尺寸和轮廓位置之前,第一应用程序界面910的全部内容均显示在第一分屏窗口900中。为了使目标区域911在竖直方向上的显示尺寸与第一分屏窗口900在竖直方向上的尺寸相适配,可以通过将第一应用程序界面910中每个像素点的纵坐标减小ST,ST为位于顶部的辅助功能区域912在竖直方向上的尺寸,使第一应用程序界面910向顶部方向,也即y轴负半轴的方向,移动ST。再通过将第一应用程序界面910向y轴正半 轴的方向拉长ST+SB,SB为位于底部的辅助功能区域913在竖直方向上的尺寸,使目标区域911向y轴正半轴的方向被拉长ST+SB,便可以得到目标应用程序界面920,该目标应用程序界面920中的目标区域921在竖直方向上的显示尺寸与第一分屏窗口900在竖直方向上的尺寸相适配。For example, as shown in FIG. 9 , a rectangular coordinate system can be established with the upper left corner of the first split-screen window 900 as the origin, and the direction of the bottom of the first application interface as the direction of the positive y-axis. In this way, before adjusting the size and outline position of the target area 911 in the vertical direction, all the contents of the first application program interface 910 are displayed in the first split-screen window 900 . In order to adapt the display size of the target area 911 in the vertical direction to the size of the first split-screen window 900 in the vertical direction, the ordinate of each pixel in the first application interface 910 can be reduced. ST, ST is the size of the auxiliary function area 912 located at the top in the vertical direction, so that the first application interface 910 moves ST toward the top direction, that is, the direction of the negative half axis of the y-axis. Then by moving the first application interface 910 to the positive half of the y-axis Stretch ST+SB in the direction of the axis. SB is the size of the auxiliary function area 913 at the bottom in the vertical direction. If the target area 911 is stretched ST+SB in the direction of the positive half-axis of the y-axis, the target application can be obtained. In the program interface 920, the display size of the target area 921 in the target application program interface 920 in the vertical direction is adapted to the size of the first split-screen window 900 in the vertical direction.
示例性地,电子设备显示两个分屏窗口,若要在分屏窗口a中显示应用程序界面A中目标区域对应的内容,在分屏窗口b中显示应用程序界面B中目标区域对应的内容,则需要对应用程序界面A和应用程序界面B进行调整,具体为,将应用程序界面A和应用程序界面B相对分屏窗口a和分屏窗口b的尺寸和轮廓位置由图10所示调整为图11所示。其中,应用程序界面A包括辅助功能区域m、目标区域s和辅助功能区域n,应用程序界面B包括辅助功能区域p、目标区域r和辅助功能区域q。For example, the electronic device displays two split-screen windows. If you want to display the content corresponding to the target area in the application interface A in the split-screen window a, and display the content corresponding to the target area in the application interface B in the split-screen window b, , you need to adjust the application interface A and application interface B. Specifically, adjust the size and outline position of application interface A and application interface B relative to split-screen window a and split-screen window b as shown in Figure 10 As shown in Figure 11. Among them, application program interface A includes an auxiliary function area m, a target area s, and an auxiliary function area n. Application program interface B includes an auxiliary function area p, a target area r, and an auxiliary function area q.
这样,便可以同时隐藏位于应用程序界面顶部和底部的辅助功能区域,增大内容区域的显示面积。In this way, the accessibility areas located at the top and bottom of the application interface can be hidden at the same time, increasing the display area of the content area.
如此,通过上述过程,无论辅助功能区域位于第一应用程序界面的顶部还是底部,或者同时位于顶部和底部,均可以将辅助功能区域隐藏起来,从而增大目标区域的显示面积,提升用户的体验感。In this way, through the above process, no matter whether the auxiliary function area is located at the top or bottom of the first application interface, or is located at the top and bottom at the same time, the auxiliary function area can be hidden, thereby increasing the display area of the target area and improving the user experience. feel.
在一种可选的实施方式中,在步骤320之后,该显示方法还可以包括:In an optional implementation, after step 320, the display method may further include:
接收用户对第一分屏窗口的第四输入;receiving a fourth input from the user to the first split-screen window;
响应于第四输入,在第一分屏窗口显示第一应用程序界面中辅助功能区域对应的至少部分内容。In response to the fourth input, at least part of the content corresponding to the auxiliary function area in the first application program interface is displayed in the first split-screen window.
这里,辅助功能区域可以为第一应用程序界面中目标区域以外的区域。第四输入可以为触发显示辅助功能区域的输入。在第一分屏窗口中隐藏辅助功能区域,显示目标区域之后,若用户需要使用辅助功能区域,则可以通过在第一分屏窗口中进行第四输入,使电子设备在第一分屏窗口中显示辅助功能区域。Here, the auxiliary function area may be an area other than the target area in the first application program interface. The fourth input may be an input that triggers display of the auxiliary function area. After hiding the auxiliary function area in the first split-screen window and displaying the target area, if the user needs to use the auxiliary function area, the electronic device can be made in the first split-screen window by performing a fourth input in the first split-screen window. Show accessibility area.
示例性地,可以以第一分屏窗口的左上角为原点建立直角坐标系,以第一应用程序界面的底部的方向为y轴正半轴的方向。当第四输入是触发显示位于第一应用程序界面顶部的辅助功能区域的输入时,电子设备将第一应用程序界 面中每个像素点的纵坐标加上SD,也即位于第一应用程序界面顶部的辅助功能区域在纵坐标方向上的尺寸,从而使第一应用程序界面向底部的方向移动SD,这样便可以将位于第一应用程序界面顶部的辅助功能区域显示在第一分屏窗口中。当第四输入是触发显示位于第一应用程序界面底部的辅助功能区域的输入时,电子设备将第一应用程序界面中每个像素点的纵坐标减去SB,也即位于第一应用程序界面底部的辅助功能区域在纵坐标方向上的尺寸,从而使第一应用程序界面向顶部的方向移动SB,这样便可以将位于第一应用程序界面底部的辅助功能区域显示在第一分屏窗口中。For example, a rectangular coordinate system can be established with the upper left corner of the first split-screen window as the origin, and the direction of the bottom of the first application interface as the direction of the positive y-axis. When the fourth input is an input that triggers display of the auxiliary function area located at the top of the first application interface, the electronic device The ordinate of each pixel in the surface is added to SD, which is the size of the auxiliary function area located at the top of the first application interface in the ordinate direction, so that the first application interface moves SD toward the bottom, so that The auxiliary function area located at the top of the first application program interface may be displayed in the first split-screen window. When the fourth input is an input that triggers the display of the auxiliary function area located at the bottom of the first application interface, the electronic device subtracts SB from the ordinate of each pixel in the first application interface, that is, the auxiliary function area located at the bottom of the first application interface is The size of the auxiliary function area at the bottom in the ordinate direction, so that the first application program interface moves SB in the direction of the top, so that the auxiliary function area located at the bottom of the first application program interface can be displayed in the first split-screen window .
如此,可以在用户需要使用辅助功能区域时,根据用户输入将隐藏的辅助功能区域显示在第一分屏窗口中,为用户使用辅助功能区域提供方便。In this way, when the user needs to use the auxiliary function area, the hidden auxiliary function area can be displayed in the first split-screen window according to the user input, thereby providing convenience for the user to use the auxiliary function area.
在一种可选的实施方式中,在第四输入的输入位置位于第一触控区域的情况下,上述在第一分屏窗口显示第一应用程序界面中辅助功能区域对应的至少部分内容,具体可以包括:In an optional implementation, when the input position of the fourth input is located in the first touch area, at least part of the content corresponding to the auxiliary function area in the first application program interface is displayed in the first split-screen window, Specifics may include:
在第一分屏窗口显示与第一触控区域关联的第一辅助功能区域对应的内容;Display content corresponding to the first auxiliary function area associated with the first touch area in the first split-screen window;
在第四输入的输入位置位于第二触控区域的情况下,上述在第一分屏窗口显示第一应用程序界面中辅助功能区域对应的至少部分内容,具体可以包括:When the input position of the fourth input is located in the second touch area, displaying at least part of the content corresponding to the auxiliary function area in the first application interface in the first split-screen window may specifically include:
在第一分屏窗口显示与第二触控区域关联的第二辅助功能区域对应的内容。Content corresponding to the second auxiliary function area associated with the second touch area is displayed in the first split-screen window.
这里,第一触控区域与第二触控区域可以为第一分屏窗口中的不同区域,第一辅助功能区域与第二辅助功能区域可以为第一应用程序界面中的不同辅助功能区域。Here, the first touch area and the second touch area may be different areas in the first split-screen window, and the first auxiliary function area and the second auxiliary function area may be different auxiliary function areas in the first application interface.
具体地,若用户在第一触控区域进行第四输入,则可以在第一分屏窗口显示第一辅助功能区域对应的内容;若用户在第二触控区域进行第四输入,则可以在第一分屏窗口显示第二辅助功能区域对应的内容。Specifically, if the user makes the fourth input in the first touch area, the content corresponding to the first auxiliary function area can be displayed in the first split-screen window; if the user makes the fourth input in the second touch area, the content corresponding to the first auxiliary function area can be displayed in the first split-screen window. The first split-screen window displays content corresponding to the second auxiliary function area.
示例性地,可以如图12所示,当用户在第一分屏窗口1200中的上辅助功能判定区域1210,也即第一触控区域,长按并向下滑动,也即进行第四输入时, 第一分屏窗口1200中可以显示位于第一应用程序界面顶部的辅助功能区域,也即第一辅助功能区域。当用户在第一分屏窗口1200中的上辅助功能判定区域1220,也即第二触控区域,长按并向上滑动,也即进行第四输入时,第一分屏窗口1200中可以显示位于第一应用程序界面底部的辅助功能区域,也即第二助功能区域。For example, as shown in FIG. 12 , when the user long presses and slides downward on the upper auxiliary function determination area 1210 in the first split-screen window 1200 , that is, the first touch area, that is, the fourth input is made. hour, The first split-screen window 1200 may display an auxiliary function area located at the top of the first application program interface, that is, the first auxiliary function area. When the user long-presses and slides upward on the upper auxiliary function determination area 1220 in the first split-screen window 1200, that is, the second touch area, that is, when performing the fourth input, the first split-screen window 1200 may display a The auxiliary function area at the bottom of the first application interface is also the second auxiliary function area.
示例性地,隐藏辅助功能区域1311和辅助功能区域1312后,第一应用程序界面1310与第一分屏窗口1320的相对位置可以如图13所示,当用户在上辅助功能判定区域三指下滑,使目标应用程序界面1310向下移动,显示辅助功能区域1311后,第一应用程序界面1310与第一分屏窗口1320的相对位置可以如图14所示,当用户在下辅助功能判定区域三指上滑,使目标应用程序界面1310向上移动,显示辅助功能区域1312后,第一应用程序界面1310与第一分屏窗口1320的相对位置可以如图15所示。For example, after hiding the auxiliary function area 1311 and the auxiliary function area 1312, the relative position of the first application interface 1310 and the first split-screen window 1320 can be as shown in Figure 13. When the user slides down with three fingers on the upper auxiliary function determination area , causing the target application interface 1310 to move downward, and after displaying the auxiliary function area 1311, the relative position of the first application interface 1310 and the first split-screen window 1320 can be as shown in Figure 14. When the user places three fingers on the auxiliary function determination area Swipe up to move the target application interface 1310 upward. After the auxiliary function area 1312 is displayed, the relative position of the first application interface 1310 and the first split-screen window 1320 can be as shown in FIG. 15 .
如此,设置不同触控区域与辅助功能区域的关联关系,可以方便用户通过不同输入触发电子设备在第一分屏窗口中显示不同的辅助功能区域。In this way, setting the association between different touch areas and auxiliary function areas can facilitate the user to trigger the electronic device to display different auxiliary function areas in the first split-screen window through different inputs.
由此,在接收到分屏输入,即第一输入之后,可以在第一分屏窗口显示第一应用程序界面中部分区域对应的内容。如此,在本申请实施例中,可以在第一分屏窗口中,显示第一应用程序界面中的主要内容,即目标区域对应的内容,而无需显示第一应用程序界面中的所有内容,如此扩大了显示目标区域对应的内容的面积,提升了用户体验。Therefore, after receiving the split-screen input, that is, the first input, the content corresponding to the partial area in the first application program interface can be displayed in the first split-screen window. In this way, in the embodiment of the present application, the main content in the first application interface, that is, the content corresponding to the target area, can be displayed in the first split-screen window without displaying all the content in the first application interface, so The area for displaying content corresponding to the target area is expanded and the user experience is improved.
需要说明的是,上述本申请实施例描述的应用场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着新应用场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。It should be noted that the application scenarios described in the embodiments of the present application are for the purpose of more clearly explaining the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. Those of ordinary skill in the art will know that With the emergence of new application scenarios, the technical solutions provided by the embodiments of this application are also applicable to similar technical problems.
为了更好地描述整个方案,基于上述各实施例,举一个具体例子,如图16所示,本申请实施例提供的显示方法可以包括步骤1601-步骤1608,下面对此进行详细解释。In order to better describe the entire solution, based on the above embodiments, a specific example is given. As shown in Figure 16, the display method provided by the embodiment of the present application may include steps 1601 to 1608, which will be explained in detail below.
步骤1601,电子设备可以在显示第一应用程序界面的情况下,接收用户三 指下滑的输入,也即第一输入。Step 1601: The electronic device may receive the user's third application program interface while displaying the first application program interface. Refers to the input that slides down, that is, the first input.
步骤1602,电子设备可以响应于该三指下滑的第一输入,进入分屏模式,显示多个分屏窗口,在第一分屏窗口中显示第一应用程序界面。Step 1602: In response to the first input of the three-finger slide, the electronic device can enter a split-screen mode, display multiple split-screen windows, and display the first application program interface in the first split-screen window.
步骤1603,在第一分屏窗口中显示的第一应用程序界面上,可以显示提示选项:“手动确定”和“自动确定”。Step 1603: On the first application program interface displayed in the first split-screen window, prompt options: "Manual confirmation" and "Automatic confirmation" may be displayed.
步骤1604,电子设备可以接收用户选择“手动确定”或“自动确定”的输入,也即第二输入,若用户点击“手动确定”则执行步骤1605,若用户点击“自动确定”则执行步骤1607。Step 1604: The electronic device may receive the user's input of selecting "Manual Confirm" or "Auto Confirm", that is, the second input. If the user clicks "Manual Confirm", step 1605 will be executed. If the user clicks "Auto Confirm", step 1607 will be executed. .
步骤1605,若用户点击“手动确定”,则电子设备可以响应于该输入,显示第一应用程序布局界面,该第一应用程序布局界面中包括控件M和控件N,也即可选显示区域。Step 1605, if the user clicks "Manual OK", the electronic device can respond to the input and display a first application layout interface. The first application layout interface includes a control M and a control N, that is, an optional display area.
步骤1606,用户点击控件M,则电子设备可以接收该点击控件M的输入,也即第三输入。Step 1606, when the user clicks the control M, the electronic device can receive the input of clicking the control M, that is, the third input.
步骤1607,若第二输入为点击“手动确定”的输入,则电子设备响应于该点击控件M的输入,可以将控件M所在的区域确定为目标区域;若第二输入为点击“自动确定”的输入,则电子设备可以根据第一应用程序界面的布局信息自动确定目标区域。Step 1607, if the second input is the input of clicking "Manual Confirm", then the electronic device responds to the input of clicking control M and can determine the area where control M is located as the target area; if the second input is the click of "Auto Confirm" input, the electronic device can automatically determine the target area according to the layout information of the first application interface.
步骤1608,确定目标区域之后,可以通过调整第一应用程序界面,使目标区域的显示尺寸与第一分屏窗口的尺寸相适配,在第一分屏窗口中显示该目标区域对应的内容,具体过程在此不再赘述。Step 1608: After determining the target area, you can adjust the first application program interface so that the display size of the target area matches the size of the first split-screen window, and display the content corresponding to the target area in the first split-screen window. The specific process will not be described again here.
由此,在接收到分屏输入,即第一输入之后,可以在第一分屏窗口显示第一应用程序界面中部分区域对应的内容。如此,在本申请实施例中,可以在第一分屏窗口中,显示第一应用程序界面中的主要内容,即目标区域对应的内容,而无需显示第一应用程序界面中的所有内容,如此扩大了显示目标区域对应的内容的面积,提升了用户体验。Therefore, after receiving the split-screen input, that is, the first input, the content corresponding to the partial area in the first application program interface can be displayed in the first split-screen window. In this way, in the embodiment of the present application, the main content in the first application interface, that is, the content corresponding to the target area, can be displayed in the first split-screen window without displaying all the content in the first application interface, so The area for displaying content corresponding to the target area is expanded and the user experience is improved.
本申请实施例提供的显示方法,执行主体可以为显示装置。本申请实施例中以显示装置执行显示方法为例,说明本申请实施例提供的显示装置。 For the display method provided by the embodiments of the present application, the execution subject may be a display device. In the embodiment of the present application, a display device performing a display method is used as an example to illustrate the display device provided by the embodiment of the present application.
基于相同的发明构思,本申请还提供了一种显示装置。下面结合图17对本申请实施例提供的显示装置进行详细说明。Based on the same inventive concept, this application also provides a display device. The display device provided by the embodiment of the present application will be described in detail below with reference to FIG. 17 .
图17是根据一示例性实施例示出的一种显示装置的结构框图。FIG. 17 is a structural block diagram of a display device according to an exemplary embodiment.
如图17所示,显示装置1700可以包括:As shown in Figure 17, the display device 1700 may include:
第一接收模块1701,用于接收用户的第一输入;The first receiving module 1701 is used to receive the user's first input;
第一显示模块1702,用于响应于第一输入,在第一分屏窗口显示第一应用程序界面中目标区域对应的内容;The first display module 1702 is configured to display the content corresponding to the target area in the first application program interface in the first split-screen window in response to the first input;
其中,第一应用程序界面为第一应用程序中的任一界面,目标区域为第一应用程序界面中的部分区域。Wherein, the first application program interface is any interface in the first application program, and the target area is a partial area in the first application program interface.
下面对上述显示装置1700进行详细说明,具体如下所示:The above-mentioned display device 1700 will be described in detail below, as follows:
在其中一个实施例中,显示装置1700还可以包括:In one embodiment, the display device 1700 may further include:
第二显示模块,用于在第一分屏窗口显示第一应用程序界面中目标区域对应的内容之前,显示提示选项,提示选项用于指示第一应用程序界面中目标区域的确定方式;The second display module is configured to display a prompt option before the first split-screen window displays the content corresponding to the target area in the first application interface, and the prompt option is used to indicate the determination method of the target area in the first application interface;
第二接收模块,用于接收用户对提示选项中目标选项的第二输入;The second receiving module is used to receive the user's second input of the target option in the prompt options;
确定模块,用于响应于第二输入,根据目标选项,确定第一应用程序界面的目标区域。and a determining module configured to determine a target area of the first application program interface according to the target option in response to the second input.
在其中一个实施例中,在目标选项用于指示用户手动确定第一应用程序界面的目标区域的情况下,确定模块,具体可以包括:In one embodiment, when the target option is used to instruct the user to manually determine the target area of the first application interface, the determination module may specifically include:
第一显示子模块,用于显示第一应用程序布局界面,第一应用程序布局界面中包括至少两个可选显示区域,第一应用程序布局界面用于显示第一应用程序界面的界面布局信息;The first display sub-module is used to display the first application program layout interface. The first application program layout interface includes at least two optional display areas. The first application program layout interface is used to display the interface layout information of the first application program interface. ;
第一接收子模块,用于接收用户对至少两个可选显示区域中第一显示区域的第三输入;A first receiving sub-module configured to receive a third input from a user to a first display area among at least two optional display areas;
第一确定子模块,用于响应于第三输入,将第一显示区域确定为第一应用程序界面的目标区域。The first determination sub-module is configured to determine the first display area as the target area of the first application interface in response to the third input.
在其中一个实施例中,在目标选项用于指示自动确定第一应用程序界面的 目标区域的情况下,确定模块,具体可以包括:In one embodiment, the target option is used to indicate automatically determining the first application interface In the case of target areas, determine the modules, which may include:
第二确定子模块,用于基于第一应用程序界面的布局信息,确定第一应用程序界面的目标区域;The second determination sub-module is used to determine the target area of the first application interface based on the layout information of the first application interface;
其中,布局信息包括以下至少一项:布局类型、布局名称、布局属性。The layout information includes at least one of the following: layout type, layout name, and layout attributes.
在其中一个实施例中,目标区域的显示尺寸与第一分屏窗口的尺寸相适配。In one embodiment, the display size of the target area is adapted to the size of the first split-screen window.
在其中一个实施例中,显示装置1700还可以包括:In one embodiment, the display device 1700 may further include:
第三接收模块,用于在第一分屏窗口显示第一应用程序界面中目标区域对应的内容之后,接收用户对第一分屏窗口的第四输入;A third receiving module configured to receive the user's fourth input to the first split-screen window after the first split-screen window displays the content corresponding to the target area in the first application program interface;
第三显示模块,用于响应于第四输入,在第一分屏窗口显示第一应用程序界面中辅助功能区域对应的至少部分内容;A third display module configured to display at least part of the content corresponding to the auxiliary function area in the first application program interface in the first split-screen window in response to the fourth input;
其中,辅助功能区域为第一应用程序界面中目标区域以外的区域。The auxiliary function area is an area other than the target area in the first application program interface.
在其中一个实施例中,在第四输入的输入位置位于第一触控区域的情况下,第三显示模块,具体可以包括:In one embodiment, when the input position of the fourth input is located in the first touch area, the third display module may specifically include:
第二显示子模块,用于在第一分屏窗口显示与第一触控区域关联的第一辅助功能区域对应的内容;The second display submodule is used to display content corresponding to the first auxiliary function area associated with the first touch area in the first split-screen window;
在第四输入的输入位置位于第二触控区域的情况下,第三显示模块具体可以包括:When the input position of the fourth input is located in the second touch area, the third display module may specifically include:
第三显示子模块,用于在第一分屏窗口显示与第二触控区域关联的第二辅助功能区域对应的内容;The third display submodule is used to display content corresponding to the second auxiliary function area associated with the second touch area in the first split-screen window;
其中,第一触控区域与第二触控区域为第一分屏窗口中的不同区域,第一辅助功能区域与第二辅助功能区域为第一应用程序界面中的不同辅助功能区域。The first touch area and the second touch area are different areas in the first split-screen window, and the first auxiliary function area and the second auxiliary function area are different auxiliary function areas in the first application interface.
在其中一个实施例中,第一输入可以包括第一子输入和第二子输入;In one embodiment, the first input may include a first sub-input and a second sub-input;
第一接收模块1701,具体可以包括:The first receiving module 1701 may specifically include:
第二接收子模块,用于接收用户的第一子输入;The second receiving sub-module is used to receive the user's first sub-input;
第一显示模块1702,具体可以包括:The first display module 1702 may specifically include:
第四显示子模块,用于响应于第一子输入,显示至少两个分屏窗口,至少 两个分屏窗口包括第一分屏窗口;The fourth display sub-module is configured to display at least two split-screen windows in response to the first sub-input, at least The two split-screen windows include the first split-screen window;
第三接收子模块,用于接收用户选择第一应用程序的第二子输入;The third receiving sub-module is used to receive the second sub-input of the user selecting the first application;
第五显示子模块,用于响应于第二子输入,在第一分屏窗口显示第一应用程序界面中目标区域对应的内容。The fifth display sub-module is used to display the content corresponding to the target area in the first application program interface in the first split-screen window in response to the second sub-input.
在其中一个实施例中,显示装置1700还可以包括:In one embodiment, the display device 1700 may further include:
第四接收模块,用于在接收用户的第一输入之前,接收用户的第五输入;A fourth receiving module, configured to receive the user's fifth input before receiving the user's first input;
第二确定模块,用于响应于第五输入,确定第一应用程序。The second determination module is configured to determine the first application program in response to the fifth input.
在其中一个实施例中,显示装置1700还可以包括:In one embodiment, the display device 1700 may further include:
第四显示模块,用于在接收用户的第一输入之后,响应于第一输入,在第二分屏窗口显示第二应用程序界面的部分内容;A fourth display module, configured to display part of the second application program interface in the second split-screen window in response to the first input after receiving the user's first input;
其中,第二应用程序界面为第二应用程序中的任一界面。Wherein, the second application program interface is any interface in the second application program.
由此,在接收到分屏输入,即第一输入之后,可以在第一分屏窗口显示第一应用程序界面中部分区域对应的内容。如此,在本申请实施例中,可以在第一分屏窗口中,显示第一应用程序界面中的主要内容,即目标区域对应的内容,而无需显示第一应用程序界面中的所有内容,如此扩大了显示目标区域对应的内容的面积,提升了用户体验。Therefore, after receiving the split-screen input, that is, the first input, the content corresponding to the partial area in the first application program interface can be displayed in the first split-screen window. In this way, in the embodiment of the present application, the main content in the first application interface, that is, the content corresponding to the target area, can be displayed in the first split-screen window without displaying all the content in the first application interface, so The area for displaying content corresponding to the target area is expanded and the user experience is improved.
本申请实施例中的显示装置可以是电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、移动上网装置(Mobile Internet Device,MID)、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、机器人、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,还可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The display device in the embodiment of the present application may be an electronic device or a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal or other devices other than the terminal. For example, the electronic device can be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted electronic device, a mobile internet device (Mobile Internet Device, MID), or augmented reality (AR)/virtual reality (VR). ) equipment, robots, wearable devices, ultra-mobile personal computers (UMPC), netbooks or personal digital assistants (personal digital assistants, PDA), etc., and can also be servers, network attached storage (Network Attached Storage), NAS), personal computer (PC), television (TV), teller machine or self-service machine, etc., the embodiments of this application are not specifically limited.
本申请实施例中的显示装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作 系统,本申请实施例不作具体限定。The display device in the embodiment of the present application may be a device with an operating system. The operating system can be an Android operating system, an ios operating system, or other possible operations. The system is not specifically limited in the embodiments of this application.
本申请实施例提供的显示装置能够实现图3至图16的方法实施例实现的各个过程,实现相同的技术效果,为避免重复,这里不再赘述。The display device provided by the embodiments of the present application can implement each process implemented by the method embodiments of FIG. 3 to FIG. 16 and achieve the same technical effect. To avoid duplication, the details will not be described here.
可选地,如图18所示,本申请实施例还提供一种电子设备1800,包括处理器1801和存储器1802,存储器1802上存储有可在所述处理器1801上运行的程序或指令,该程序或指令被处理器1801执行时实现上述显示方法实施例的各个步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in Figure 18, this embodiment of the present application also provides an electronic device 1800, including a processor 1801 and a memory 1802. The memory 1802 stores programs or instructions that can be run on the processor 1801. When the program or instruction is executed by the processor 1801, each step of the above display method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, the details will not be described here.
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
图19为实现本申请实施例的一种电子设备的硬件结构示意图。Figure 19 is a schematic diagram of the hardware structure of an electronic device that implements an embodiment of the present application.
该电子设备1900包括但不限于:射频单元1901、网络模块1902、音频输出单元1903、输入单元1904、传感器1905、显示单元1906、用户输入单元1907、接口单元1908、存储器1909、以及处理器1910等部件。The electronic device 1900 includes but is not limited to: radio frequency unit 1901, network module 1902, audio output unit 1903, input unit 1904, sensor 1905, display unit 1906, user input unit 1907, interface unit 1908, memory 1909, processor 1910, etc. part.
本领域技术人员可以理解,电子设备1900还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1910逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图19中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 1900 may also include a power supply (such as a battery) that supplies power to various components. The power supply may be logically connected to the processor 1910 through a power management system, thereby managing charging, discharging, and function through the power management system. Consumption management and other functions. The structure of the electronic device shown in Figure 19 does not constitute a limitation of the electronic device. The electronic device may include more or less components than shown in the figure, or combine certain components, or arrange different components, which will not be described again here. .
其中,用户输入单元1907,用于接收用户的第一输入;Among them, the user input unit 1907 is used to receive the user's first input;
显示单元1906,用于响应于第一输入,在第一分屏窗口显示第一应用程序界面中目标区域对应的内容;The display unit 1906 is configured to display the content corresponding to the target area in the first application program interface in the first split-screen window in response to the first input;
其中,第一应用程序界面为第一应用程序中的任一界面,目标区域为第一应用程序界面中的部分区域。Wherein, the first application program interface is any interface in the first application program, and the target area is a partial area in the first application program interface.
由此,在接收到分屏输入,即第一输入之后,可以在第一分屏窗口显示第一应用程序界面中部分区域对应的内容。如此,在本申请实施例中,可以在第一分屏窗口中,显示第一应用程序界面中的主要内容,即目标区域对应的内容,而无需显示第一应用程序界面中的所有内容,如此扩大了显示目标区域对应的 内容的面积,提升了用户体验。Therefore, after receiving the split-screen input, that is, the first input, the content corresponding to the partial area in the first application program interface can be displayed in the first split-screen window. In this way, in the embodiment of the present application, the main content in the first application interface, that is, the content corresponding to the target area, can be displayed in the first split-screen window without displaying all the content in the first application interface, so Expanded the display corresponding to the target area The area of content improves the user experience.
可选地,显示单元1906,还用于在第一分屏窗口显示第一应用程序界面中目标区域对应的内容之前,显示提示选项,提示选项用于指示第一应用程序界面中目标区域的确定方式;Optionally, the display unit 1906 is also configured to display a prompt option before the first split-screen window displays the content corresponding to the target area in the first application interface, and the prompt option is used to indicate the determination of the target area in the first application interface. Way;
用户输入单元1907,还用于接收用户对提示选项中目标选项的第二输入;The user input unit 1907 is also used to receive the user's second input to the target option in the prompt options;
处理器1910,还用于响应于第二输入,根据目标选项,确定第一应用程序界面的目标区域。The processor 1910 is further configured to determine the target area of the first application program interface according to the target option in response to the second input.
如此,根据用户选择的目标选项所指示的确定方式来确定第一应用程序界面的目标区域,可以使用户能够根据自身需求选择合适的方式,来确定第一应用程序界面的目标区域,提升了用户的体验感。In this way, the target area of the first application program interface is determined according to the determination method indicated by the target option selected by the user, which enables the user to select an appropriate method according to his own needs to determine the target area of the first application program interface, which improves the user experience. sense of experience.
可选地,显示单元1906,还用于在目标选项用于指示用户手动确定第一应用程序界面的目标区域的情况下,显示第一应用程序布局界面,第一应用程序布局界面中包括至少两个可选显示区域,第一应用程序布局界面用于显示第一应用程序界面的界面布局信息;Optionally, the display unit 1906 is also configured to display the first application layout interface when the target option is used to instruct the user to manually determine the target area of the first application interface, and the first application layout interface includes at least two An optional display area, the first application program layout interface is used to display the interface layout information of the first application program interface;
用户输入单元1907,还用于接收用户对至少两个可选显示区域中第一显示区域的第三输入;The user input unit 1907 is also configured to receive a third input from the user to the first display area among the at least two optional display areas;
处理器1910,还用于响应于第三输入,将第一显示区域确定为第一应用程序界面的目标区域。The processor 1910 is also configured to determine the first display area as the target area of the first application interface in response to the third input.
如此,可以根据用户选择确定第一分屏窗口中显示的目标区域,使用户可以根据自身需求灵活地选择想要在第一分屏窗口中显示的内容。In this way, the target area displayed in the first split-screen window can be determined according to the user's selection, so that the user can flexibly select the content he wants to display in the first split-screen window according to his own needs.
可选地,处理器1910,还用于在目标选项用于指示自动确定第一应用程序界面的目标区域的情况下,基于第一应用程序界面的布局信息,确定第一应用程序界面的目标区域;Optionally, the processor 1910 is also configured to determine the target area of the first application interface based on the layout information of the first application interface when the target option is used to indicate automatically determining the target area of the first application interface. ;
其中,布局信息包括以下至少一项:布局类型、布局名称、布局属性。The layout information includes at least one of the following: layout type, layout name, and layout attributes.
如此,根据布局类型、布局名称和布局属性等布局信息中的至少一项,便可以自动确定第一应用程序界面的目标区域,以便自动在第一分屏窗口中显示该目标区域,简化用户操作。 In this way, according to at least one item of layout information such as layout type, layout name, and layout attributes, the target area of the first application interface can be automatically determined, so that the target area can be automatically displayed in the first split-screen window and simplify user operations. .
可选地,目标区域的显示尺寸与第一分屏窗口的尺寸相适配。Optionally, the display size of the target area is adapted to the size of the first split-screen window.
如此,通过上述过程,无论辅助功能区域位于第一应用程序界面的顶部还是底部,或者同时位于顶部和底部,均可以将辅助功能区域隐藏起来,从而增大目标区域的显示面积,提升用户的体验感。In this way, through the above process, no matter whether the auxiliary function area is located at the top or bottom of the first application interface, or is located at the top and bottom at the same time, the auxiliary function area can be hidden, thereby increasing the display area of the target area and improving the user experience. feel.
可选地,用户输入单元1907,还用于在第一分屏窗口显示第一应用程序界面中目标区域对应的内容之后,接收用户对第一分屏窗口的第四输入;Optionally, the user input unit 1907 is also configured to receive the user's fourth input to the first split-screen window after the first split-screen window displays the content corresponding to the target area in the first application interface;
显示单元1906,还用于响应于第四输入,在第一分屏窗口显示第一应用程序界面中辅助功能区域对应的至少部分内容;The display unit 1906 is also configured to display at least part of the content corresponding to the auxiliary function area in the first application program interface in the first split-screen window in response to the fourth input;
其中,辅助功能区域为第一应用程序界面中目标区域以外的区域。The auxiliary function area is an area other than the target area in the first application program interface.
如此,可以在用户需要使用辅助功能区域时,根据用户输入将隐藏的辅助功能区域显示在第一分屏窗口中,为用户使用辅助功能区域提供方便。In this way, when the user needs to use the auxiliary function area, the hidden auxiliary function area can be displayed in the first split-screen window according to the user input, thereby providing convenience for the user to use the auxiliary function area.
可选地,显示单元1906,还用于在第四输入的输入位置位于第一触控区域的情况下,在第一分屏窗口显示与第一触控区域关联的第一辅助功能区域对应的内容;在第四输入的输入位置位于第二触控区域的情况下,在第一分屏窗口显示与第二触控区域关联的第二辅助功能区域对应的内容;Optionally, the display unit 1906 is also configured to display the first auxiliary function area associated with the first touch area in the first split-screen window when the input position of the fourth input is located in the first touch area. Content; when the input position of the fourth input is located in the second touch area, display the content corresponding to the second auxiliary function area associated with the second touch area in the first split-screen window;
其中,第一触控区域与第二触控区域为第一分屏窗口中的不同区域,第一辅助功能区域与第二辅助功能区域为第一应用程序界面中的不同辅助功能区域。The first touch area and the second touch area are different areas in the first split-screen window, and the first auxiliary function area and the second auxiliary function area are different auxiliary function areas in the first application interface.
如此,设置不同触控区域与辅助功能区域的关联关系,可以方便用户通过不同输入触发电子设备在第一分屏窗口中显示不同的辅助功能区域。In this way, setting the association between different touch areas and auxiliary function areas can facilitate the user to trigger the electronic device to display different auxiliary function areas in the first split-screen window through different inputs.
可选地,第一输入包括第一子输入和第二子输入,用户输入单元1907,还用于接收用户的第一子输入;Optionally, the first input includes a first sub-input and a second sub-input, and the user input unit 1907 is also used to receive the user's first sub-input;
显示单元1906,还用于响应于第一子输入,显示至少两个分屏窗口,至少两个分屏窗口包括第一分屏窗口;The display unit 1906 is also configured to display at least two split-screen windows in response to the first sub-input, where the at least two split-screen windows include the first split-screen window;
用户输入单元1907,还用于接收用户选择第一应用程序的第二子输入;The user input unit 1907 is also used to receive the second sub-input of the user selecting the first application;
显示单元1906,还用于响应于第二子输入,在第一分屏窗口显示第一应用程序界面中目标区域对应的内容。 The display unit 1906 is also configured to display the content corresponding to the target area in the first application program interface in the first split-screen window in response to the second sub-input.
如此,可以根据用户输入灵活确定第一分屏窗口中显示的应用程序界面。In this way, the application program interface displayed in the first split-screen window can be flexibly determined according to user input.
可选地,用户输入单元1907,还用于接收用户的第五输入;Optionally, the user input unit 1907 is also used to receive the fifth input from the user;
处理器1910,还用于响应于第五输入,确定第一应用程序。The processor 1910 is further configured to determine the first application program in response to the fifth input.
如此,可以便于在触发分屏功能后,快速在分屏窗口中显示相应的应用程序界面。In this way, after the split-screen function is triggered, the corresponding application interface can be quickly displayed in the split-screen window.
可选地,显示单元1906,还用于在接收用户的第一输入之后,响应于第一输入,在第二分屏窗口显示第二应用程序界面的部分内容;Optionally, the display unit 1906 is also configured to, after receiving the first input from the user, display part of the content of the second application program interface in the second split-screen window in response to the first input;
其中,第二应用程序界面为第二应用程序中的任一界面。Wherein, the second application program interface is any interface in the second application program.
如此,第一分屏窗口和第二分屏窗口中均可以显示主要内容,可以更大程度上提高屏幕利用率,提升用户体验。In this way, the main content can be displayed in both the first split-screen window and the second split-screen window, which can improve screen utilization to a greater extent and enhance user experience.
应理解的是,本申请实施例中,输入单元1904可以包括图形处理器(Graphics Processing Unit,GPU)19041和麦克风19042,图形处理器19041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1906可包括显示面板19061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板19061。用户输入单元1907包括触控面板19071以及其他输入设备19072中的至少一种。触控面板19071,也称为触摸屏。触控面板19071可包括触摸检测装置和触摸控制器两个部分。其他输入设备19072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。It should be understood that in the embodiment of the present application, the input unit 1904 may include a graphics processor (Graphics Processing Unit, GPU) 19041 and a microphone 19042. The graphics processor 19041 is responsible for the image capture device (GPU) in the video capture mode or the image capture mode. Process the image data of still pictures or videos obtained by cameras (such as cameras). The display unit 1906 may include a display panel 19061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1907 includes a touch panel 19071 and at least one of other input devices 19072 . Touch panel 19071, also known as touch screen. The touch panel 19071 may include two parts: a touch detection device and a touch controller. Other input devices 19072 may include but are not limited to physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described again here.
存储器1909可用于存储软件程序以及各种数据。存储器1909可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器1909可以包括易失性存储器或非易失性存储器,或者,存储器1909可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。 易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器1909包括但不限于这些和任意其它适合类型的存储器。Memory 1909 may be used to store software programs as well as various data. The memory 1909 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, Image playback function, etc.) etc. Additionally, memory 1909 may include volatile memory or nonvolatile memory, or memory 1909 may include both volatile and nonvolatile memory. Among them, the non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically removable memory. Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory. Volatile memory can be random access memory (Random Access Memory, RAM), static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synch link DRAM) , SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DRRAM). Memory 1909 in embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
处理器1910可包括一个或多个处理单元;可选地,处理器1910集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器1910中。The processor 1910 may include one or more processing units; optionally, the processor 1910 integrates an application processor and a modem processor, where the application processor mainly handles operations related to the operating system, user interface, application programs, etc., Modem processors mainly process wireless communication signals, such as baseband processors. It can be understood that the above modem processor may not be integrated into the processor 1910.
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present application also provide a readable storage medium. Programs or instructions are stored on the readable storage medium. When the program or instructions are executed by a processor, each process of the above display method embodiment is implemented and the same can be achieved. To avoid repetition, the technical effects will not be repeated here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器、随机存取存储器、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the above embodiment. The readable storage media includes computer-readable storage media, such as computer read-only memory, random access memory, magnetic disks or optical disks.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip. The chip includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement each of the above display method embodiments. The process can achieve the same technical effect. To avoid repetition, it will not be described again here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of this application may also be called system-on-chip, system-on-a-chip, system-on-a-chip or system-on-chip, etc.
本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如上述显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。 Embodiments of the present application provide a computer program product. The program product is stored in a storage medium. The program product is executed by at least one processor to implement each process of the above display method embodiment, and can achieve the same technical effect. To avoid repetition, they will not be repeated here.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the terms "comprising", "comprises" or any other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, article or device that includes a series of elements not only includes those elements, It also includes other elements not expressly listed or inherent in the process, method, article or apparatus. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of additional identical elements in a process, method, article or apparatus that includes that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, but may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions may be performed, for example, the methods described may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a computer software product that is essentially or contributes to the existing technology. The computer software product is stored in a storage medium (such as ROM/RAM, disk , optical disk), including several instructions to cause a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of this application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。 The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Inspired by this application, many forms can be made without departing from the purpose of this application and the scope protected by the claims, all of which fall within the protection of this application.

Claims (24)

  1. 一种显示方法,包括:A display method including:
    接收用户的第一输入;Receive the user's first input;
    响应于所述第一输入,在第一分屏窗口显示第一应用程序界面中目标区域对应的内容;In response to the first input, display content corresponding to the target area in the first application program interface in the first split-screen window;
    其中,所述第一应用程序界面为第一应用程序中的任一界面,所述目标区域为所述第一应用程序界面中的部分区域。Wherein, the first application program interface is any interface in the first application program, and the target area is a partial area in the first application program interface.
  2. 根据权利要求1所述的方法,其中,所述在第一分屏窗口显示第一应用程序界面中目标区域对应的内容之前,所述方法还包括:The method according to claim 1, wherein before the first split-screen window displays the content corresponding to the target area in the first application program interface, the method further includes:
    显示提示选项,所述提示选项用于指示第一应用程序界面中目标区域的确定方式;Display a prompt option, the prompt option is used to indicate the determination method of the target area in the first application interface;
    接收用户对所述提示选项中目标选项的第二输入;Receive the user's second input for the target option in the prompt option;
    响应于所述第二输入,根据所述目标选项,确定所述第一应用程序界面的目标区域。In response to the second input, a target area of the first application interface is determined based on the target option.
  3. 根据权利要求2所述的方法,其中,在所述目标选项用于指示用户手动确定所述第一应用程序界面的目标区域的情况下,所述根据所述目标选项,确定所述第一应用程序界面的目标区域,包括:The method of claim 2, wherein, in the case where the target option is used to instruct the user to manually determine a target area of the first application program interface, the first application is determined according to the target option. Target areas of the program interface, including:
    显示第一应用程序布局界面,所述第一应用程序布局界面中包括至少两个可选显示区域,所述第一应用程序布局界面用于显示所述第一应用程序界面的界面布局信息;Display a first application layout interface, the first application layout interface includes at least two optional display areas, the first application layout interface is used to display interface layout information of the first application interface;
    接收用户对所述至少两个可选显示区域中第一显示区域的第三输入;receiving a third input from the user to a first display area among the at least two selectable display areas;
    响应于所述第三输入,将所述第一显示区域确定为所述第一应用程序界面的目标区域。In response to the third input, the first display area is determined as a target area of the first application interface.
  4. 根据权利要求2所述的方法,其中,在所述目标选项用于指示自动确定所述第一应用程序界面的目标区域的情况下,所述根据所述目标选项,确定所述第一分屏窗口中的显示内容,包括:The method of claim 2, wherein, in the case where the target option is used to indicate automatically determining a target area of the first application interface, the first split screen is determined according to the target option. The content displayed in the window includes:
    基于第一应用程序界面的布局信息,确定所述第一应用程序界面的目标区 域;Determine the target area of the first application interface based on the layout information of the first application interface area;
    其中,所述布局信息包括以下至少一项:布局类型、布局名称、布局属性。The layout information includes at least one of the following: layout type, layout name, and layout attributes.
  5. 根据权利要求1所述的方法,其中,所述目标区域的显示尺寸与所述第一分屏窗口的尺寸相适配。The method according to claim 1, wherein the display size of the target area is adapted to the size of the first split-screen window.
  6. 根据权利要求1所述的方法,其中,所述在第一分屏窗口显示第一应用程序界面中目标区域对应的内容之后,所述方法还包括:The method according to claim 1, wherein after the first split-screen window displays the content corresponding to the target area in the first application program interface, the method further includes:
    接收用户对所述第一分屏窗口的第四输入;Receive a fourth input from the user to the first split-screen window;
    响应于所述第四输入,在所述第一分屏窗口显示所述第一应用程序界面中辅助功能区域对应的至少部分内容;In response to the fourth input, display at least part of the content corresponding to the auxiliary function area in the first application interface in the first split-screen window;
    其中,所述辅助功能区域为所述第一应用程序界面中目标区域以外的区域。Wherein, the auxiliary function area is an area other than the target area in the first application program interface.
  7. 根据权利要求6所述的方法,其中,在所述第四输入的输入位置位于第一触控区域的情况下,所述在所述第一分屏窗口显示所述第一应用程序界面中辅助功能区域对应的至少部分内容,包括:The method according to claim 6, wherein when the input position of the fourth input is located in the first touch area, the auxiliary method in displaying the first application program interface in the first split-screen window At least part of the content corresponding to the functional area includes:
    在所述第一分屏窗口显示与所述第一触控区域关联的第一辅助功能区域对应的内容;Display content corresponding to the first auxiliary function area associated with the first touch area in the first split-screen window;
    在所述第四输入的输入位置位于第二触控区域的情况下,所述在所述第一分屏窗口显示所述第一应用程序界面中辅助功能区域对应的至少部分内容,包括:When the input position of the fourth input is located in the second touch area, displaying in the first split-screen window at least part of the content corresponding to the auxiliary function area in the first application interface includes:
    在所述第一分屏窗口显示与所述第二触控区域关联的第二辅助功能区域对应的内容;Display content corresponding to the second auxiliary function area associated with the second touch area in the first split-screen window;
    其中,所述第一触控区域与所述第二触控区域为所述第一分屏窗口中的不同区域,所述第一辅助功能区域与所述第二辅助功能区域为所述第一应用程序界面中的不同辅助功能区域。Wherein, the first touch area and the second touch area are different areas in the first split-screen window, and the first auxiliary function area and the second auxiliary function area are the first Different accessibility areas in the application interface.
  8. 根据权利要求1所述的方法,其中,所述第一输入包括第一子输入和第二子输入;The method of claim 1, wherein the first input includes a first sub-input and a second sub-input;
    所述接收用户的第一输入,包括:The receiving the user's first input includes:
    接收用户的第一子输入; Receive the user's first sub-input;
    所述响应于所述第一输入,在第一分屏窗口显示第一应用程序界面中目标区域对应的内容,包括:In response to the first input, displaying content corresponding to the target area in the first application program interface in the first split-screen window includes:
    响应于所述第一子输入,显示至少两个分屏窗口,所述至少两个分屏窗口包括所述第一分屏窗口;In response to the first sub-input, display at least two split-screen windows, the at least two split-screen windows including the first split-screen window;
    接收用户选择第一应用程序的第二子输入;receiving a second sub-input from the user selecting the first application;
    响应于所述第二子输入,在所述第一分屏窗口显示所述第一应用程序界面中目标区域对应的内容。In response to the second sub-input, content corresponding to the target area in the first application program interface is displayed in the first split-screen window.
  9. 根据权利要求1所述的方法,其中,在所述接收用户的第一输入之前,所述方法还包括:The method of claim 1, wherein before receiving the user's first input, the method further includes:
    接收用户的第五输入;receiving fifth input from the user;
    响应于所述第五输入,确定第一应用程序。In response to the fifth input, a first application is determined.
  10. 根据权利要求1所述的方法,其中,在所述接收用户的第一输入之后,还包括:The method of claim 1, wherein after receiving the user's first input, further comprising:
    响应于所述第一输入,在第二分屏窗口显示第二应用程序界面的部分内容;In response to the first input, display part of the second application interface in the second split-screen window;
    其中,所述第二应用程序界面为第二应用程序中的任一界面。Wherein, the second application program interface is any interface in the second application program.
  11. 一种显示装置,包括:A display device including:
    第一接收模块,用于接收用户的第一输入;The first receiving module is used to receive the user's first input;
    第一显示模块,用于响应于所述第一输入,在第一分屏窗口显示第一应用程序界面中目标区域对应的内容;A first display module configured to display content corresponding to the target area in the first application program interface in the first split-screen window in response to the first input;
    其中,所述第一应用程序界面为第一应用程序中的任一界面,所述目标区域为所述第一应用程序界面中的部分区域。Wherein, the first application program interface is any interface in the first application program, and the target area is a partial area in the first application program interface.
  12. 根据权利要求11所述的装置,还包括:The device of claim 11, further comprising:
    第二显示模块,用于在第一分屏窗口显示第一应用程序界面中目标区域对应的内容之前,显示提示选项,所述提示选项用于指示第一应用程序界面中目标区域的确定方式;The second display module is configured to display a prompt option before the first split-screen window displays the content corresponding to the target area in the first application interface, where the prompt option is used to indicate the determination method of the target area in the first application interface;
    第二接收模块,用于接收用户对所述提示选项中目标选项的第二输入;A second receiving module, configured to receive the user's second input to the target option in the prompt options;
    确定模块,用于响应于所述第二输入,根据所述目标选项,确定所述第一 应用程序界面的目标区域。a determining module configured to determine, in response to the second input, the first The target area of the application interface.
  13. 根据权利要求12所述的装置,其中,在所述目标选项用于指示用户手动确定所述第一应用程序界面的目标区域的情况下,所述确定模块,具体包括:The device according to claim 12, wherein when the target option is used to instruct the user to manually determine the target area of the first application interface, the determination module specifically includes:
    第一显示子模块,用于显示第一应用程序布局界面,所述第一应用程序布局界面中包括至少两个可选显示区域,所述第一应用程序布局界面用于显示所述第一应用程序界面的界面布局信息;The first display sub-module is used to display a first application layout interface. The first application layout interface includes at least two optional display areas. The first application layout interface is used to display the first application. Interface layout information of the program interface;
    第一接收子模块,用于接收用户对所述至少两个可选显示区域中第一显示区域的第三输入;A first receiving sub-module configured to receive a third input from a user to a first display area among the at least two optional display areas;
    第一确定子模块,用于响应于所述第三输入,将所述第一显示区域确定为所述第一应用程序界面的目标区域。A first determination sub-module, configured to determine the first display area as the target area of the first application interface in response to the third input.
  14. 根据权利要求12所述的装置,其中,在所述目标选项用于指示自动确定所述第一应用程序界面的目标区域的情况下,所述确定模块,具体包括:The device according to claim 12, wherein when the target option is used to indicate automatically determining the target area of the first application interface, the determination module specifically includes:
    第二确定子模块,用于基于第一应用程序界面的布局信息,确定所述第一应用程序界面的目标区域;The second determination sub-module is used to determine the target area of the first application interface based on the layout information of the first application interface;
    其中,所述布局信息包括以下至少一项:布局类型、布局名称、布局属性。The layout information includes at least one of the following: layout type, layout name, and layout attributes.
  15. 根据权利要求11所述的装置,其中,所述目标区域的显示尺寸与所述第一分屏窗口的尺寸相适配。The device according to claim 11, wherein the display size of the target area is adapted to the size of the first split-screen window.
  16. 根据权利要求11所述的装置,还包括:The device of claim 11, further comprising:
    第三接收模块,用于在第一分屏窗口显示第一应用程序界面中目标区域对应的内容之后,接收用户对所述第一分屏窗口的第四输入;A third receiving module configured to receive a fourth input from the user to the first split-screen window after the first split-screen window displays the content corresponding to the target area in the first application program interface;
    第三显示模块,用于响应于所述第四输入,在所述第一分屏窗口显示所述第一应用程序界面中辅助功能区域对应的至少部分内容;A third display module configured to display at least part of the content corresponding to the auxiliary function area in the first application program interface in the first split-screen window in response to the fourth input;
    其中,所述辅助功能区域为所述第一应用程序界面中目标区域以外的区域。Wherein, the auxiliary function area is an area other than the target area in the first application program interface.
  17. 根据权利要求16所述的装置,其中,在所述第四输入的输入位置位于第一触控区域的情况下,所述第三显示模块,具体包括:The device according to claim 16, wherein when the input position of the fourth input is located in the first touch area, the third display module specifically includes:
    第二显示子模块,用于在所述第一分屏窗口显示与所述第一触控区域关联 的第一辅助功能区域对应的内容;A second display submodule, configured to display in the first split-screen window the information associated with the first touch area. The content corresponding to the first auxiliary function area;
    在所述第四输入的输入位置位于第二触控区域的情况下,所述第三显示模块具体包括:When the input position of the fourth input is located in the second touch area, the third display module specifically includes:
    第三显示子模块,用于在所述第一分屏窗口显示与所述第二触控区域关联的第二辅助功能区域对应的内容;A third display submodule configured to display content corresponding to the second auxiliary function area associated with the second touch area in the first split-screen window;
    其中,所述第一触控区域与所述第二触控区域为所述第一分屏窗口中的不同区域,所述第一辅助功能区域与所述第二辅助功能区域为所述第一应用程序界面中的不同辅助功能区域。Wherein, the first touch area and the second touch area are different areas in the first split-screen window, and the first auxiliary function area and the second auxiliary function area are the first Different accessibility areas in the application interface.
  18. 根据权利要求11所述的装置,其中,所述第一输入包括第一子输入和第二子输入;The apparatus of claim 11, wherein the first input includes a first sub-input and a second sub-input;
    所述第一接收模块,具体包括:The first receiving module specifically includes:
    第二接收子模块,用于接收用户的第一子输入;The second receiving sub-module is used to receive the user's first sub-input;
    所述第一显示模块,具体包括:The first display module specifically includes:
    第四显示子模块,用于响应于所述第一子输入,显示至少两个分屏窗口,所述至少两个分屏窗口包括所述第一分屏窗口;A fourth display sub-module, configured to display at least two split-screen windows in response to the first sub-input, the at least two split-screen windows including the first split-screen window;
    第三接收子模块,用于接收用户选择第一应用程序的第二子输入;The third receiving sub-module is used to receive the second sub-input of the user selecting the first application;
    第五显示子模块,用于响应于所述第二子输入,在所述第一分屏窗口显示所述第一应用程序界面中目标区域对应的内容。A fifth display sub-module, configured to display content corresponding to the target area in the first application program interface in the first split-screen window in response to the second sub-input.
  19. 根据权利要求11所述的装置,还包括:The device of claim 11, further comprising:
    第四接收模块,用于在所述接收用户的第一输入之前,接收用户的第五输入;A fourth receiving module, configured to receive a fifth input from the user before receiving the first input from the user;
    第二确定模块,用于响应于所述第五输入,确定第一应用程序。The second determination module is configured to determine the first application program in response to the fifth input.
  20. 根据权利要求11所述的装置,还包括:The device of claim 11, further comprising:
    第四显示模块,用于在所述接收用户的第一输入之后,响应于所述第一输入,在第二分屏窗口显示第二应用程序界面的部分内容;A fourth display module, configured to display part of the second application program interface in the second split-screen window in response to the first input after receiving the first input from the user;
    其中,所述第二应用程序界面为第二应用程序中的任一界面。Wherein, the second application program interface is any interface in the second application program.
  21. 一种电子设备,包括处理器和存储器,所述存储器存储可在所述处理 器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-10任一项所述的显示方法的步骤。An electronic device including a processor and a memory, the memory storing data that can be processed during the processing The program or instructions run on the processor, and when the program or instructions are executed by the processor, the steps of the display method according to any one of claims 1-10 are implemented.
  22. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-10任一项所述的显示方法的步骤。A readable storage medium on which programs or instructions are stored. When the programs or instructions are executed by a processor, the steps of the display method according to any one of claims 1-10 are implemented.
  23. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1-10任一项所述的方法。A chip. The chip includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the method according to any one of claims 1 to 10.
  24. 一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如权利要求1-10任一项所述的方法。 A computer program product, the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the method according to any one of claims 1-10.
PCT/CN2023/092189 2022-05-12 2023-05-05 Display method and apparatus, electronic device, and storage medium WO2023216976A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210515806.9A CN114879872A (en) 2022-05-12 2022-05-12 Display method, display device, electronic equipment and storage medium
CN202210515806.9 2022-05-12

Publications (1)

Publication Number Publication Date
WO2023216976A1 true WO2023216976A1 (en) 2023-11-16

Family

ID=82675489

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/092189 WO2023216976A1 (en) 2022-05-12 2023-05-05 Display method and apparatus, electronic device, and storage medium

Country Status (2)

Country Link
CN (1) CN114879872A (en)
WO (1) WO2023216976A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114879872A (en) * 2022-05-12 2022-08-09 维沃移动通信有限公司 Display method, display device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150277571A1 (en) * 2014-03-31 2015-10-01 Kobo Incorporated User interface to capture a partial screen display responsive to a user gesture
CN106055252A (en) * 2016-05-30 2016-10-26 努比亚技术有限公司 Mobile terminal and screen-dividing display processing method therefor
CN111857505A (en) * 2020-07-16 2020-10-30 Oppo广东移动通信有限公司 Display method, device and storage medium
CN113783995A (en) * 2021-08-13 2021-12-10 维沃移动通信有限公司 Display control method, display control device, electronic apparatus, and medium
CN113946245A (en) * 2017-08-24 2022-01-18 华为技术有限公司 Split screen display method and device and terminal
CN114879872A (en) * 2022-05-12 2022-08-09 维沃移动通信有限公司 Display method, display device, electronic equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150277571A1 (en) * 2014-03-31 2015-10-01 Kobo Incorporated User interface to capture a partial screen display responsive to a user gesture
CN106055252A (en) * 2016-05-30 2016-10-26 努比亚技术有限公司 Mobile terminal and screen-dividing display processing method therefor
CN113946245A (en) * 2017-08-24 2022-01-18 华为技术有限公司 Split screen display method and device and terminal
CN111857505A (en) * 2020-07-16 2020-10-30 Oppo广东移动通信有限公司 Display method, device and storage medium
CN113783995A (en) * 2021-08-13 2021-12-10 维沃移动通信有限公司 Display control method, display control device, electronic apparatus, and medium
CN114879872A (en) * 2022-05-12 2022-08-09 维沃移动通信有限公司 Display method, display device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN114879872A (en) 2022-08-09

Similar Documents

Publication Publication Date Title
US11128802B2 (en) Photographing method and mobile terminal
US11650716B2 (en) Operation methods of a smart interactive tablet, storage medium and related equipment
US20160004373A1 (en) Method for providing auxiliary information and touch control display apparatus using the same
WO2023125425A1 (en) Display method and apparatus, and electronic device
TWI616803B (en) Method, apparatus and computer program product for zooming and operating screen frame
WO2023155885A1 (en) Icon arrangement method and apparatus, and electronic device
WO2023155811A1 (en) Page layout adjustment method and apparatus
WO2022166893A1 (en) Information display method and apparatus, electronic device, and storage medium
WO2024037418A1 (en) Display method and apparatus, electronic device, and readable storage medium
WO2023216976A1 (en) Display method and apparatus, electronic device, and storage medium
CN114779977A (en) Interface display method and device, electronic equipment and storage medium
WO2023155877A1 (en) Application icon management method and apparatus and electronic device
WO2023045927A1 (en) Object moving method and electronic device
WO2022242515A1 (en) Interface display method and apparatus
CN112148167A (en) Control setting method and device and electronic equipment
WO2024088317A1 (en) Application interface display method and apparatus, electronic device, and storage medium
WO2024046266A1 (en) Video management method and apparatus, electronic device, and readable storage medium
WO2024099102A1 (en) Control display method and apparatus, electronic device, and readable storage medium
WO2024037438A1 (en) Split screen control method and apparatus, electronic device, and readable storage medium
WO2024104079A1 (en) Desktop component generation method and apparatus, electronic device, and readable storage medium
WO2024046203A1 (en) Content display method and apparatus
WO2024012416A1 (en) Display method and apparatus
WO2024088187A1 (en) Information display method and apparatus, and electronic device and storage medium
CN111796746B (en) Volume adjusting method, volume adjusting device and electronic equipment
WO2024037419A1 (en) Display control method and apparatus, electronic device, and readable storage medium

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: 23802748

Country of ref document: EP

Kind code of ref document: A1