Display method and related device
By displaying component icons and windows on the target interface and opening the relevant component windows in response to user actions, the component layout has been optimized, solving the problem of users needing to click multiple times to launch components, thus improving convenience and interface utilization.
Patent Information
- Application Number
- PCT/CN2024/101357
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2026-01-02
AI Technical Summary
Users need to click icons multiple times to launch different components when operating components on the desktop of electronic devices, which makes the process cumbersome and affects the ease of use.
The first component's icon and the second component's window are displayed on the target interface. In response to an operation on the second component, the third component's window is opened. The third component's window supports multiple functions, while the second component's window supports some functions. The component layout is optimized by adjusting the window size and position.
It improves the ease of use of components, reduces user operation steps, and increases the utilization rate of the target interface.
Smart Images

Figure CN2024101357_02012026_PF_FP_ABST
Abstract
Description
Display method and related device TECHNICAL FIELD
[0001] The present application relates to the technical field of electronics, and in particular to a display method and related device. BACKGROUND
[0002] With the increasing use of electronic devices, the desktop of the device usually only displays icons of components. The user needs to click on the icon of a certain component to start opening the component. When the user needs to use other components, the user also needs to return to the desktop interface and then click on the icon of the other component to start the other component. This process requires more user operations and is relatively cumbersome.
[0003] SUMMARY
[0004] Embodiments of the present application provide a display method and related device, which can improve the utilization rate of a target interface, the user can use part of the functions of a component in the target interface, and a window of one component can be used to open a window of another component, thereby improving the convenience of using the component and reducing the user operation steps.
[0005] In a first aspect, embodiments of the present application provide a display method, which can include the following steps:
[0006] displaying an icon of a first component and a first window of a second component in a target interface, the icon being used to start the first component;
[0007] opening a second window of a third component in response to a first operation on the first window of the second component;
[0008] The second window of the third component can support multiple functions, and the first window of the second component can support part of the multiple functions.
[0009] In a possible implementation, one component is configured with at least one window. If the target component is configured with multiple windows, the multiple windows can include a shortcut use window and an application window of the target component. The shortcut use window of the target component can support part of the functions of the target component, and the application window of the target component can support all the functions of the target component.
[0010] Optionally, the third component and the second component can be the same component, or the third component and the second component support at least one same function.
[0011] In some examples, in the case that the second component is the same component as the third component, the second component is configured with two windows, a first window and a second window of the second component. The first window of the second component supports a part of the functions of the second component, and the second window of the second component supports all the functions of the second component. It can be understood that the first window of the second component is a shortcut use window of the second component, and can support a part of the functions of the second component. The second window of the second component is an application window of the second component, and can support all the functions of the second component.
[0012] In some examples, in the case that the second component is not the same component as the third component, the second component and the third component can support at least one same function.
[0013] Optionally, the second component can be configured with one window, and the first window of the second component can be an application window of the second component. Alternatively, the second component can be configured with multiple windows, and the first window of the second component can be an application window of the second component, or a shortcut use window of the second component.
[0014] Optionally, the third component can be configured with one window, and the second window of the third component can be an application window of the third component. Alternatively, the third component can be configured with multiple windows, and the second window of the third component can be an application window of the third component, or a shortcut use window of the third component.
[0015] In a possible implementation, the display method provided by the embodiment of the present application, the icon of the first component and the first window of the second component are displayed in the target interface, and the display method further includes:
[0016] In response to an adjustment instruction for the size of the first window of the second component, the position of the icon of the first component is adjusted.
[0017] In a possible implementation, the display method provided by the embodiment of the present application, in response to the adjustment instruction for the size of the first window of the second component, the position of the icon of the first component is adjusted, and the adjustment includes:
[0018] In response to an instruction for expanding the first window of the second component, the following process is performed:
[0019] Based on the instruction for expanding, the position of a first boundary of the first window of the second component is determined, and it is determined whether the position of the first boundary and the position of the icon of the first component meet a preset condition, the first boundary being an adjusted boundary of the first window of the second component.
[0020] If the position of the first boundary and the position of the icon of the first component meet the preset condition, the position of the icon of the first component in the target interface is adjusted, and / or the number of the first component is reduced.
[0021] In a possible implementation, the display method provided by the embodiments of the present application further includes, in response to the adjustment instruction for the size of the first window of the second component, adjusting the position of the icon of the first component.
[0022] In response to the size-reducing instruction for the first window of the second component, the following process is performed:
[0023] Based on the size-reducing instruction for the first window of the second component, a second boundary of the first window of the second component is determined.
[0024] And based on the second boundary, the position of the icon of the first component in the target interface is adjusted, and / or the number of the first component is increased.
[0025] In a possible implementation, the display method provided by the embodiments of the present application further includes, before displaying the icon of the first component and the first window of the second component in the target interface, the method further includes:
[0026] Displaying the icon of the first component in an icon display area of the target interface, the first component including the second component.
[0027] The displaying of the icon of the first component and the first window of the second component in the target interface includes:
[0028] In response to an operation of opening the first window of the second component, displaying the first window of the second component in the target interface, and clearing the icon of the second component in the icon display area, or clearing the icon of the second component in the icon display area and displaying the icon of the second component in the first window of the second component.
[0029] The icon display area is at least a part of the target interface except the first window of the second component.
[0030] In a possible implementation, the display method provided by the embodiments of the present application further includes, displaying the first content and the second content in the second window of the third component at the same time.
[0031] The method further includes:
[0032] In the first window of the second component, the first content is displayed, and in response to a content switching operation, the first window of the second component is changed from displaying the first content to displaying the second content.
[0033] In a possible implementation, the display method provided by the embodiment of the present application, the first content is handwritten content, and the second content is handwritten content.
[0034] In a possible implementation, the display method provided by the embodiment of the present application, the first content is handwritten content, and the second content is associated content of the first content.
[0035] In a possible implementation, the display method provided by the embodiment of the present application, the first content is handwritten data, and the second content is a chart generated based on the handwritten data.
[0036] In a possible implementation, the display method provided by the embodiment of the present application, the method further includes:
[0037] In response to a chart generation instruction, the second content is generated based on the handwritten data.
[0038] In a possible implementation, the display method provided by the embodiment of the present application, the chart generation instruction is triggered in a second window of the third component; or,
[0039] The chart generation instruction is triggered by a first operation on a first window of the second component.
[0040] In a possible implementation, the display method provided by the embodiment of the present application, the second component is software supporting recording of handwritten content.
[0041] In a possible implementation, the display method provided by the embodiment of the present application, the method further includes:
[0042] In response to a handwritten operation in the first window of the second component, target handwritten content corresponding to the handwritten operation is displayed in the first window of the second component.
[0043] In a possible implementation, the display method provided by the embodiment of the present application, the first operation is an operation of generating a chart generation instruction, and the chart generation instruction is used to instruct to generate a chart corresponding to the target handwritten content based on the target handwritten content.
[0044] In a possible implementation, the display method provided by the embodiment of the present application, after the second window of the third component is opened in response to the first operation on the first window of the second component, the method further includes:
[0045] The target handwritten content is displayed in the second window of the third component.
[0046] In a possible implementation, a display method is provided in embodiments of the present application, and a size of the second window of the third component is the same as a size of the target interface.
[0047] The position of the target handwritten content in the first window of the second component is the same as the position of the target handwritten content in the second window of the third component.
[0048] In a possible implementation, a display method is provided in embodiments of the present application, and the target handwritten content is handwritten data.
[0049] After the second window of the third component is opened in response to the first operation on the first window of the second component, the method further includes:
[0050] displaying the target handwritten content in a first content display area in the second window of the third component;
[0051] displaying a chart corresponding to the target handwritten content in a second content display area in the second window of the third component.
[0052] In a possible implementation, a display method is provided in embodiments of the present application, and the second window of the third component includes a plurality of content display areas; and the target handwritten content is displayed in a target content display area in the plurality of content display areas.
[0053] After the second window of the third component is opened, the method further includes:
[0054] In response to a second operation on the second window of the third component, the following steps are performed:
[0055] displaying the target interface and displaying the first window of the second component in the target interface;
[0056] If there is displayed content in any content display area in the plurality of content display areas except the target content display area, in response to a content switching operation, the displayed content in the first window of the second component is switched to content in a content display area corresponding to the content switching operation.
[0057] In a possible implementation, a display method is provided in embodiments of the present application, and the content in any content display area includes at least one of the following types of content:
[0058] text, a chart, and a picture.
[0059] In a possible implementation, a display method is provided in embodiments of the present application, and in the plurality of content display areas, a content display area displays content of a target type.
[0060] The target type is any one of the following types:
[0061] Handwritten content, text, chart, picture.
[0062] In a possible implementation, the display method provided by the embodiment of the present application, the content switching operation is an operation of content switching indication information displayed in the first window of the second component, the content switching indication information is used to indicate the number of the plurality of content display areas, and is used to receive an operation of selecting any content display area in the plurality of content display areas.
[0063] In a possible implementation, the display method provided by the embodiment of the present application, after displaying the icon of the first component and the first window of the second component in the target interface, the method further includes:
[0064] In response to receiving any signal source signal, displaying access signal source prompt information in the target interface, the access signal source prompt information is used to prompt whether to display the first window corresponding to the signal source component in the target interface.
[0065] In a possible implementation, the display method provided by the embodiment of the present application, the method further includes:
[0066] In response to the confirmation instruction of the access signal source display information, displaying the first window corresponding to the signal source component in the target interface.
[0067] In a possible implementation, the display method provided by the embodiment of the present application, the method further includes:
[0068] When displaying the first window corresponding to the signal source component in the target interface, displaying the first target part of the first window of the second component in the target interface;
[0069] In response to the selection instruction of the first target part, displaying the entire first window of the second component in the target interface, and displaying the second target part of the first window corresponding to the signal source component in the target interface.
[0070] In a possible implementation, the display method provided by the embodiment of the present application, the method further includes:
[0071] In response to the selection instruction of the second target part, displaying the entire first window corresponding to the signal source component in the target interface, and displaying the first target part in the target interface.
[0072] In a possible implementation, the display method provided by the embodiment of the present application, the method further includes:
[0073] in response to a third operation on the first window of the signal source component, opening a second window of the signal source component.
[0074] In a possible implementation, the display method provided by the embodiments of the present application further includes:
[0075] in response to not receiving any signal source signal, displaying the target interface and displaying a first window of a second component in the target interface.
[0076] In a possible implementation, the display method provided by the embodiments of the present application further includes:
[0077] in response to receiving any signal source signal, displaying a shortcut use of a signal source component in the target interface, the first window of the signal source component and the first window of the second component are not overlapped, and the first window of the signal source component is used to display content provided by the any signal source signal.
[0078] In a second aspect, the embodiments of the present application provide a display method, which includes:
[0079] displaying an icon of a first component and a first window of a signal source component in a target interface, the icon being used to start the first component;
[0080] in response to a first operation on the first window of the signal source component, opening a second window of a third component;
[0081] wherein the second window of the third component can support multiple functions, and the first window of the signal source component can support part of the multiple functions.
[0082] In a third aspect, the embodiments of the present application provide an electronic device, including a display device, a memory and a processor.
[0083] the display device is used to display a picture;
[0084] the memory stores computer program instructions;
[0085] the processor executes the computer program instructions to realize:
[0086] displaying an icon of a first component and a first window of a second component in a target interface, the icon being used to start the first component;
[0087] in response to a first operation on the first window of the second component, opening a second window of a third component;
[0088] The second window of the third component can support multiple functions, and the first window of the second component can support a portion of the multiple functions.
[0089] In one possible implementation, the electronic device provided in this application embodiment further includes a processor configured to:
[0090] In response to an instruction to adjust the size of the first window of the second component, the position of the icon of the first component is adjusted.
[0091] In one possible implementation, the electronic device provided in this application embodiment includes a processor specifically used for:
[0092] In response to the command to enlarge the first window of the second component, the following procedure is executed:
[0093] Based on the enlargement command, the position of the first boundary of the first window of the second component is determined, and it is determined whether the position of the first boundary and the position of the icon of the first component meet the preset conditions. The first boundary is the edge where the first window of the second component is adjusted.
[0094] If the position of the first boundary and the position of the icon of the first component meet the preset conditions, adjust the position of the icon of the first component in the target interface, and / or reduce the number of the first components.
[0095] In one possible implementation, the electronic device provided in this application embodiment further includes a processor configured to:
[0096] In response to the shrink command for the first window of the second component, the following procedure is executed:
[0097] Based on the shrink command of the first window of the second component, the second boundary of the first window of the second component is determined;
[0098] And based on the second boundary, adjust the position of the icon of the first component in the target interface, and / or increase the number of the first component.
[0099] In one possible implementation, the electronic device provided in this application embodiment further includes a processor configured to:
[0100] Before displaying the icon of the first component and the first window of the second component in the target interface, the icon of the first component is displayed in the icon display area of the target interface, wherein the first component includes the second component;
[0101] The processor is specifically used for:
[0102] In response to an operation of opening the first window of the second component, the first window of the second component is displayed in the target interface, and the icon of the second component is removed from the icon display area, or the icon of the second component is removed from the icon display area, and the icon of the second component is displayed in the first window of the second component.
[0103] The icon display area is at least a part of the target interface other than the first window of the second component.
[0104] In a possible implementation, the electronic device provided by the embodiment of the present application simultaneously displays the first content and the second content in the second window of the third component.
[0105] The processor is further configured to:
[0106] The first window of the second component displays the first content, and in response to a content switching operation, the first window of the second component displays the first content is changed to the second content.
[0107] In a possible implementation, the electronic device provided by the embodiment of the present application, the first content is handwritten content, and the second content is handwritten content.
[0108] In a possible implementation, the electronic device provided by the embodiment of the present application, the first content is handwritten content, and the second content is associated content of the first content.
[0109] In a possible implementation, the electronic device provided by the embodiment of the present application, the first content is handwritten data, and the second content is a chart generated based on the handwritten data.
[0110] In a possible implementation, the electronic device provided by the embodiment of the present application, the processor is further configured to
[0111] In response to a chart generation instruction, the second content is generated based on the handwritten data.
[0112] In a possible implementation, the electronic device provided by the embodiment of the present application,
[0113] The chart generation instruction is triggered in the second window of the third component; or
[0114] The chart generation instruction is triggered by a first operation on the first window of the second component.
[0115] In a possible implementation, the electronic device provided by the embodiment of the present application, the second component is software supporting recording of handwritten content.
[0116] In a possible implementation, the electronic device provided by the embodiment of the present application, the processor is further configured to:
[0117] In response to the handwriting operation in the first window of the second component, display the target handwriting content corresponding to the handwriting operation in the first window of the second component.
[0118] In a possible implementation, the electronic device provided by the embodiment of the present application, the first operation is an operation of generating a chart generation instruction, and the chart generation instruction is used to instruct to generate a chart corresponding to the target handwriting content based on the target handwriting content.
[0119] In a possible implementation, the electronic device provided by the embodiment of the present application, the processor is further configured to:
[0120] After the third component is opened in the second window in response to the first operation on the first window of the second component, display the target handwriting content in the second window of the third component.
[0121] In a possible implementation, the electronic device provided by the embodiment of the present application, the size of the second window of the third component is the same as the size of the target interface.
[0122] The position of the target handwriting content in the first window of the second component is the same as the position of the target handwriting content in the second window of the third component.
[0123] In a possible implementation, the electronic device provided by the embodiment of the present application, the target handwriting content is handwriting data.
[0124] The processor is further configured to:
[0125] After the third component is opened in the second window in response to the first operation on the first window of the second component, display the target handwriting content in the first content display area in the second window of the third component.
[0126] Display the chart corresponding to the target handwriting content in the second content display area in the second window of the third component.
[0127] In a possible implementation, the electronic device provided by the embodiment of the present application, the second window of the third component includes a plurality of content display areas; and the target handwriting content is displayed in a target content display area in the plurality of content display areas.
[0128] The processor is further configured to: after the second window of the third component is opened, in response to a second operation of the second window of the third component, perform the following steps:
[0129] display the target interface, and display the first window of the second component in the target interface;
[0130] If there is displayed content in any content display area of the plurality of content display areas except the target content display area, in response to a content switching operation, switch the displayed content in the first window of the second component to the content in the content display area corresponding to the content switching operation.
[0131] In a possible implementation, the electronic device provided by the embodiment of the present application, the content in any content display area includes at least one of the following types of content:
[0132] text, chart, picture.
[0133] In a possible implementation, the electronic device provided by the embodiment of the present application, in the plurality of content display areas, a content display area displays content of a target type;
[0134] The target type is any one of the following types:
[0135] handwritten content, text, chart, picture.
[0136] In a possible implementation, the electronic device provided by the embodiment of the present application, the content switching operation is an operation on content switching indication information displayed in the first window of the second component, and the content switching indication information is used to indicate the number of the plurality of content display areas and to receive an operation of selecting any content display area of the plurality of content display areas.
[0137] In a possible implementation, the electronic device provided by the embodiment of the present application, the processor is further configured to:
[0138] After displaying the icon of the first component and the first window of the second component in the target interface, in response to receiving any signal source signal, display access signal source prompt information in the target interface, and the access signal source prompt information is used to prompt whether to display the first window corresponding to the signal source component in the target interface.
[0139] In a possible implementation, the electronic device provided by the embodiment of the present application, the processor is further configured to:
[0140] In response to the confirmation instruction on the access signal source display information, display the first window corresponding to the signal source component in the target interface.
[0141] In a possible implementation, the electronic device provided by the embodiment of the present application, the processor is further configured to:
[0142] when the first window corresponding to the signal source component is displayed in the target interface, a first target part of the first window of the second component is displayed in the target interface;
[0143] in response to a selection instruction on the first target part, the entire first window of the second component is displayed in the target interface, and a second target part of the first window corresponding to the signal source component is displayed.
[0144] In a possible implementation, the electronic device provided by the embodiment of the present application, the processor is further configured to:
[0145] in response to a selection instruction on the second target part, the entire first window corresponding to the signal source component is displayed in the target interface, and the first target part is displayed.
[0146] In a possible implementation, the electronic device provided by the embodiment of the present application, the processor is further configured to:
[0147] in response to a third operation on the first window of the signal source component, a second window of the signal source component is opened.
[0148] In a possible implementation, the electronic device provided by the embodiment of the present application, the processor is further configured to:
[0149] in response to that no signal source signal is received, the target interface is displayed, and the first window of the second component is displayed in the target interface.
[0150] In a possible implementation, the electronic device provided by the embodiment of the present application, after the icon of the first component and the first window of the second component are displayed in the target interface, the electronic device further comprises:
[0151] in response to that any signal source signal is received, a shortcut use of a signal source component is displayed in the target interface, the first window of the signal source component and the first window of the second component are not overlapped, and the first window of the signal source component is used to display content provided by the any signal source signal.
[0152] In a fourth aspect, the embodiment of the present application provides an electronic device, comprising a display device, a memory and a processor;
[0153] the display device is configured to display a picture;
[0154] the memory stores computer program instructions;
[0155] the processor executes the computer program instructions to realize the following execution:
[0156] displaying an icon of the first component and a first window of the signal source component in the target interface, the icon being used to start the first component;
[0157] opening a second window of a third component in response to a first operation on the first window of the signal source component;
[0158] wherein the second window of the third component is capable of supporting a plurality of functions, and the first window of the signal source component is capable of supporting a part of the plurality of functions.
[0159] In a fifth aspect, an embodiment of the present application provides a computer storage medium, when instructions in the computer storage medium are executed by a processor, the processor executes any one of the display methods provided in the first aspect or the second aspect. BRIEF DESCRIPTION OF DRAWINGS
[0160] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiments description. Obviously, the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained from these drawings without any creative labor.
[0161] FIG. 1A is a schematic flowchart of a display method provided by an embodiment of the present application;
[0162] FIG. 1B is a schematic diagram of a display interface provided by an embodiment of the present application;
[0163] FIG. 1C is a schematic diagram of a display interface change provided by an embodiment of the present application;
[0164] FIG. 1D is a schematic diagram of a display interface provided by an embodiment of the present application;
[0165] FIG. 1E is a schematic diagram of a display interface provided by an embodiment of the present application;
[0166] FIG. 1F is a schematic diagram of a first operation provided by an embodiment of the present application;
[0167] FIG. 2A is a schematic flowchart of a display method provided by an embodiment of the present application;
[0168] FIG. 2B is a schematic diagram of a display interface provided by an embodiment of the present application;
[0169] FIG. 3A to FIG. 3C are schematic diagrams of user operations on an electronic device provided by embodiments of the present application, respectively;
[0170] FIG. 3D and FIG. 3E are schematic diagrams of a target interface displayed by an electronic device provided by embodiments of the present application, respectively;
[0171] FIG. 4A is a schematic diagram of a display interface according to an embodiment of the present application;
[0172] FIG. 4B is a schematic flowchart of a display method according to an embodiment of the present application;
[0173] FIGS. 4C to 4F are schematic diagrams of display interfaces according to embodiments of the present application, respectively;
[0174] FIG. 5A is a schematic flowchart of a display method according to an embodiment of the present application;
[0175] FIG. 5B is a schematic diagram of a display interface according to an embodiment of the present application;
[0176] FIG. 6A is a schematic flowchart of a display method according to an embodiment of the present application;
[0177] FIGS. 6B to 6D are schematic diagrams of display interfaces according to embodiments of the present application, respectively;
[0178] FIG. 7 is a schematic diagram of a display interface according to an embodiment of the present application;
[0179] FIG. 8A is a schematic diagram of a display interface according to an embodiment of the present application;
[0180] FIG. 8B is a schematic diagram of a display interface according to an embodiment of the present application;
[0181] FIGS. 9A to 9G are schematic diagrams of display interfaces according to embodiments of the present application, respectively;
[0182] FIG. 10A is a schematic flowchart of a display method according to an embodiment of the present application;
[0183] FIGS. 10B to 10E are schematic diagrams of display interfaces according to embodiments of the present application, respectively;
[0184] FIG. 11A is a schematic flowchart of a display method according to an embodiment of the present application;
[0185] FIG. 11B is a schematic diagram of a connection relationship between an electronic device and an external device;
[0186] FIGS. 11C to 11I are schematic flowcharts of display methods according to embodiments of the present application, respectively;
[0187] FIG. 11J is a schematic diagram of a connection relationship between an electronic device and an external device;
[0188] FIG. 12 is a schematic diagram of a structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0189] At least one of the embodiments of the present application includes one or more. Wherein, multiple refers to greater than or equal to two. In addition, it needs to be understood that in the description of the present application, the terms "first", "second", etc. are only used for the purpose of distinguishing the description, and cannot be understood as indicating or implying relative importance. Also, it cannot be understood as indicating or implying order. In the description of the present application, "A and / or B" includes three schemes, respectively including A; including B; and including A and B.
[0190] In the embodiments of the present application, according to the context, the term "when" or "after" can be interpreted as meaning "if" or "after" or "in response to determining" or "in response to detecting". Similarly, according to the context, the phrase "upon determining" or "if detecting (the stated condition or event)" can be interpreted as meaning "if determining" or "in response to determining" or "upon detecting (the stated condition or event)" or "in response to detecting (the stated condition or event)". In addition, in the embodiments of the present application, relational terms such as first, second, etc. are used to distinguish one entity from another entity, without limiting any actual relationship and order between the entities.
[0191] In the description of the present application, the reference to "one embodiment" or "some embodiments" and the like means that the particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Therefore, the statements "in one embodiment", "in some embodiments", "in other some embodiments", "in other some embodiments" and the like appearing in the description are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized. The terms "include", "contain", "have" and their variants mean "including but not limited to", unless otherwise specifically emphasized.
[0192] In the embodiments provided in the present application, the component can be understood as software, application (APP), and the application is sometimes referred to as application. Generally, a component can be configured to have one or more functions, and a component can support the functions configured by the component.
[0193] In some embodiments provided in the present application, the technical solutions provided in the embodiments of the present application are applicable to a handwriting scenario. Generally, the handwriting scenario includes an electronic device for receiving user handwriting content. The electronic device can be an all-in-one machine, a mobile phone, a tablet computer, a personal computer, a handwriting board, a television, a display, a tablet computer, a personal computer, a television, a game console, and the like. Optionally, the user can form the handwriting content on the electronic device by using a finger. Alternatively, the user can form the handwriting content on the electronic device by using other objects. The other objects can include, but are not limited to, a handwriting pen. The present application does not make too many limitations on this.
[0194] In some embodiments provided in the present application, the technical solutions provided in the embodiments of the present application are applicable to a signal source access scenario. The signal source access scenario can include, but is not limited to, any existing signal transmission mode. For example, a signal transmission mode based on a high-definition multimedia interface (HDMI) and a signal transmission mode based on wireless transmission. The embodiments of the present application do not make specific limitations on the transmission mode of the specific signal source. Generally, in the signal source access scenario, the electronic device receives content provided by an external signal source, and the user can selectively make the electronic device display the content provided by the signal source or not display the content provided by the signal source. The electronic device can be an all-in-one machine, a mobile phone, a tablet computer, a personal computer, a handwriting board, a television, a display, a tablet computer, a personal computer, a television, a game console, and the like.
[0195] In some embodiments provided in the present application, the technical solutions provided in the embodiments of the present application are applicable to a handwriting scenario and a signal source access scenario. This will be introduced in the following embodiments. FIG. 1A exemplarily shows a display method, which can be executed by an electronic device, and can include the following steps.
[0196] S101A, display an icon of a first component and a first window of a second component in a target interface, the icon being used to start the first component.
[0197] In a specific implementation, the target interface of the electronic device can be implemented as an interface of a system desktop or an interface for displaying components in the electronic device. The icon of the first component can be displayed in the target interface. The number of the first components can be one or more. Optionally, the first component can include the second component.
[0198] Please refer to FIG. 1B, the target interface can display one or more icons (P1, P2, P3, P4, P5) of components. The first component can be understood as a component whose icon is displayed in the target interface. In some scenarios, the icon of the first component can include the icon of the second component. It is assumed that the icon of the second component is icon P2 in FIG. 1B. In other scenarios, the icon of the first component can not include the second component.
[0199] The icon of the component can include an identification picture of the component. In some scenarios, the icon of the component can also include a name of the component. Embodiments of the present application do not make too many limitations in this regard.
[0200] Optionally, the display range of the icon of each first component in the target interface can be the same, or the display range of the icon of each first component can be different.
[0201] Optionally, after step S101A, the electronic device is powered off. After the electronic device is powered on, the target interface displayed last time is continued to be displayed, that is, the target interface displays the shortcut use window of the second component and the icon of the first component, thereby realizing the memory function of the target interface layout.
[0202] S102A, in response to the first operation on the first window of the second component, the second window of the third component is opened.
[0203] The second window of the third component can support multiple functions, and the first window of the second component can support part of the multiple functions.
[0204] In a possible implementation, a component is configured with at least one window. If the target component is configured with multiple windows, the multiple windows can include the shortcut use window of the target component and the application window of the target component, the shortcut use window of the target component can support part of the functions of the target component, and the application window of the target component can support all the functions of the target component. In embodiments of the present application, the shortcut use window of a component can be regarded as a simplified mode or a shortcut mode of the component. The application window of a component can be regarded as a complete mode of the component. The shortcut use window of a component can use part of the functions of the component, and the application window of the component can use all the functions of the component.
[0205] Optionally, the third component and the second component can be the same component, or the third component and the second component can support at least one same function.
[0206] In some examples, the second component is the same component as the third component, the second component is configured with two windows, a first window and a second window of the second component. The first window of the second component supports a part of the functions of the second component, and the second window of the second component supports all the functions of the second component. It can be understood that the first window of the second component is a shortcut use window of the second component, and can support a part of the functions of the second component. The second window of the second component is an application window of the second component, and can support all the functions of the second component.
[0207] It can be understood that the shortcut use window of the second component can be regarded as a simplified mode, or a shortcut mode, of the second component. The application window of the second component can be regarded as a complete mode of the second component. In the shortcut use window of the second component, a part of the functions of the second component can be used, and in the application window of the second component, all the functions of the second component can be used.
[0208] In some examples, the second component is not the same component as the third component, the second component and the third component can support at least one same function.
[0209] For example, the second component can support a function of receiving handwriting, and the third component can also support the function of receiving handwriting. For another example, the second component can support a function of processing handwriting to obtain text, and the third component can also support the function of processing handwriting to obtain text. For another example, the second component can support a voice function, and the third component can also support the voice function.
[0210] For example, the second component can be a note, a message board, a memo, a document, a drawing board, etc., which has a function of receiving handwriting. The third component can be a workbench, etc., which supports a function of processing handwriting. The processing of handwriting can include, but is not limited to, editing, modifying, generating associated content of the handwriting based on the handwriting. The associated content of the handwriting can include, but is not limited to, a chart related to the handwriting, a picture related to the handwriting, a video related to the handwriting, an audio related to the handwriting, and a text related to the handwriting.
[0211] Optionally, the second component can be configured with one window, and the first window of the second component can be an application window of the second component. Alternatively, the second component can be configured with multiple windows, and the first window of the second component can be an application window of the second component, or a shortcut use window of the second component.
[0212] Optionally, the third component can be configured with one window, and the second window of the third component can be an application window of the third component. Alternatively, the third component can be configured with multiple windows, and the second window of the third component can be an application window of the third component, or a shortcut usage window of the third component.
[0213] Hereinafter, the first window of the second component is taken as a shortcut usage window of the second component, and the second window of the third component is taken as an application window of the third component as an example. The third component and the second component can be the same component, or the third component and the second component support at least one same function. It can be understood that in some application scenarios, the shortcut usage window of the second component can be replaced by the application window of the second component in some or all of the embodiments provided below, and / or the application window of the third component can be replaced by the shortcut usage window of the third component, and the implementation process of the replaced technical solution can be obtained by those skilled in the art in combination with the related description in the embodiments below. The replaced technical solution of the present application is not described in detail.
[0214] In some scenarios, in step S102A, the size of the application window of the third component can be the same as the size of the target interface, as shown in FIG. 1C. In other scenarios, the size of the application window of the third component can be smaller than the size of the target interface, and the shortcut usage window of the second component and the application window of the third component can be displayed in the target interface at the same time, as shown in FIG. 1D.
[0215] In a possible implementation, the first operation on the shortcut usage window of the second component in step S102A can trigger opening of the application window of the third component. The first operation can have a function that, by operating in the shortcut usage window of the second component, opening of the application window of the third component can be triggered. For example, the first operation can include, but is not limited to, any one of the following operations: operation on a virtual button in the shortcut usage window of the second component; operation of forming a preset track in the shortcut usage window of the second component.
[0216] A virtual button in the shortcut usage window of the second component is shown in FIG. 1E. The form of the virtual button is not limited as a specific form, and the form of the virtual button can be set according to design requirements, which is not limited in the present application.
[0217] As shown in FIG. 1F, a preset track is formed in the quick use window of the second component, such as the track in the dashed line box. The user forms the preset track in the quick use window of the second component, which can trigger the electronic device to open the application window of the third component. It should be understood that the form of the preset track shown in FIG. 1F is not limited as the specific form of the preset track, and the specific form of the preset track can be set according to design requirements, or can be customized by the user, which is not limited in the present application.
[0218] In a possible design, FIG. 2A shows a display method that can be performed by the foregoing electronic device, which can include the following steps:
[0219] S201, displaying an icon of a first component in a target interface.
[0220] The target display interface displays the icon of the first component, and the number of the first component can be at least one. As shown in FIG. 2B, the number of the first component can be multiple, such as icons P1 to P5.
[0221] S202, in response to an instruction for opening a quick use window of a second component, displaying the quick use window of the second component in the target interface.
[0222] Optionally, the electronic device displays the quick use window of the second component in the target interface in response to the instruction for opening the quick use window of the second component, and the size of the quick use window of the second component can be a default size. The default size can be a default configuration of the electronic device, or a size set by the user.
[0223] In some scenarios, the user can trigger the electronic device to display the quick use window of the second component in the target interface by the instruction for opening the quick use window of the second component. As shown in FIG. 1B, the target display interface displays the icon of the first component and the quick use window of the second component.
[0224] In some examples, the second component can be a software supporting recording of handwritten content. For example, a note, a message board, a memo, a workbench, a document, or the like. The electronic device can display a quick use window of the second component in the target interface in response to the instruction of opening the quick use window of the second component. The quick use window of the second component can serve as a handwriting area of the second component. In this case, the target interface displays the icons of the first components displayed in step S201 and the quick use window of the second component. In the present embodiment, the quick use window of the second component can be provided in the target display interface to facilitate the user to write in the quick use window of the second component, thereby meeting the recording needs of the user, as distinguished from the way of opening the application interface of the second component. Optionally, the target interface can display the quick use window of the second component without displaying the icon of the second component. The electronic device can remove the icon of the second component from the icons of the first components displayed in the target interface.
[0225] In some other examples, the second component can be a component having a function of displaying information, such as a clock, a memo, a schedule, a signal source, or the like. The electronic device can display a quick use window of the second component in the target interface in response to the instruction of opening the quick use window of the second component, and display the display content corresponding to the second component in the quick use window, such as a list of alarms, a memo, a schedule, or signal source transmission content, or the like. In the present embodiment, a part of the target display interface can be provided as the quick use window of the second component to facilitate the user to view the display content corresponding to the second component in the quick use window, as distinguished from the way of opening the application interface of the second component.
[0226] In one possible design, the electronic device can generate the instruction of opening the quick use window of the second component in response to detecting the first target operation.
[0227] The first target operation can include, but is not limited to, any one of the following operations:
[0228] A first preset operation of the input device of the electronic device by the user;
[0229] A second preset operation of the virtual key displayed by the electronic device by the user;
[0230] A third preset operation of the touch display device of the electronic device by the user;
[0231] A first voice control operation;
[0232] A first gesture control operation.
[0233] In some possible scenarios, the user performs a first preset operation on an input device of the electronic device. Optionally, the input device on the electronic device can be a hardware button, as shown in (a) of FIG. 3A, and the first preset operation can include but is not limited to: pressing the hardware button, pressing the hardware button multiple times in succession, or pressing the hardware button for a preset time length. Alternatively, the input device on the electronic device can be a rotary knob, as shown in (b) of FIG. 3A, and the first preset operation can include but is not limited to: rotating the rotary knob to a preset position. Alternatively, the input device on the electronic device can be a switch, as shown in (c) of FIG. 3A, and the first preset operation can include but is not limited to: turning the switch on or off.
[0234] In some other possible scenarios, as shown in FIG. 3B, the electronic device detects a second preset operation of a first virtual button displayed by the electronic device, and can trigger the electronic device to generate a first quick preset use instruction. Optionally, the user can perform the second preset operation on the first virtual button through an instruction input device. The instruction input device can include but is not limited to a mouse, a keyboard, a touch screen, a remote controller, a writing pen, and the like. The second preset operation can include but is not limited to: single-clicking the first virtual button, continuously clicking the first virtual button, or long-pressing the first virtual button for a preset time length.
[0235] Optionally, the first virtual button can be implemented as an icon of the second component, and the icon of the second component can be used to start the second component and open a quick use window of the second component. It should be noted that the operation of opening the quick use window of the second component through the icon of the second component is different from the operation of opening an application window of the second component through the icon of the second component. The electronic device can determine to open the quick use window of the second component or the application window of the second component through the operation on the icon of the second component.
[0236] In some other possible scenarios, as shown in FIG. 3C, the electronic device detects a third preset operation of a touch display device of the electronic device, and can trigger the electronic device to generate an instruction for opening a quick use window of the second component. Optionally, the touch display device can be implemented as a touch screen. The third preset operation can include but is not limited to: sliding on the touch screen and forming a track, or sliding on the touch screen and forming a pattern.
[0237] In some other possible scenarios, the electronic device can have an audio collection capability. The electronic device detects a first voice control operation of the user on the electronic device. For example, the electronic device can collect audio and identify that the audio includes a first voice instruction. The first voice instruction can include but is not limited to: "turn on a desktop editing mode of the second component", "enter the desktop editing mode of the second component", "switch the desktop editing mode of the second component", and the like.
[0238] In yet another possible scenario, the electronic device can have image capturing capability and gesture recognition capability. The user can make a preset first gesture control operation in a manner of making a gesture in the air within the image capturing range of the electronic device. The electronic device can detect whether the user makes the preset first gesture control operation by detecting whether the preset first gesture is included in the captured image. Optionally, in this example, the gesture in the air can be a static gesture, or the gesture in the air can be a dynamic gesture.
[0239] In another possible design, the electronic device can display the components to be selected. As shown in FIG. 3D, the electronic device can display icons of the first components, such as icons P1 to P5, in the target interface, and display a component selection area in which the first components are displayed in a brief display manner. Optionally, the brief display manner of the components can include, but is not limited to, an icon of the component, a name of the component, layout information of a shortcut use window of the component in the target interface, and a preset thumbnail corresponding to the component, where the preset thumbnail corresponding to the component can reflect part or all of the content of the application interface of the component.
[0240] The user can select a component in the component selection area, and the selected component can be used as a second component. The number of the second components can be one or more, and the present application does not make a limitation on this. The electronic device can generate an instruction for opening a shortcut use window of the second component in response to the selection operation of the user on the second component in the component selection area. Optionally, the selection operation on the second component can include, but is not limited to, clicking the second component in the component selection area, or dragging the second component in the component selection area to a non-component selection area.
[0241] As shown in FIG. 3E, the area 31 in the target interface is a component selection area. After the user selects a second component with handwriting function in the component selection area, the area 32 in the target interface displays a shortcut use window of the second component, so as to realize handwriting input in the shortcut use window of the second component and display handwriting content corresponding to the handwriting. After the user determines to select the second component, the target interface does not display the component selection area, and only displays the icons P1 to P5 of the first components and the shortcut use window 32 of the second component in the target interface.
[0242] As known from the above description, in the display method provided by the present application, the target interface can be used to display icons of components, so as to facilitate the user to use the components. In addition, the shortcut use window of the second component can be displayed by adjusting the layout of the target interface, so as to realize quick application of the function of the component in the target interface, improve the recording convenience of the user, and improve the utilization rate of the component.
[0243] In a possible implementation, a user can adjust the size of the shortcut use window of the second component in the target interface. Alternatively, the size of the shortcut use window of the second component displayed in the target interface is adjustable. The electronic device can adjust the shortcut use window of the second component according to the adjustment operation of the user on the size of the shortcut use window of the second component.
[0244] In the operation of displaying the icon of the first component and the shortcut use window of the second component in the target interface, the electronic device can adjust the position of the icon of the first component in response to the adjustment instruction on the size of the shortcut use window of the second component.
[0245] In some examples, the electronic device can generate the adjustment instruction on the size of the shortcut use window of the second component in response to detecting the shortcut use window adjustment operation of the second component. The electronic device can determine the target boundary of the shortcut use window of the second component based on the adjustment instruction on the size of the shortcut use window of the second component, where the target boundary can be understood as the adjusted boundary position of the shortcut use window of the second component.
[0246] Optionally, as shown in FIG. 4A, the shortcut use window adjustment operation of the second component can be a preset adjustment operation on the shortcut use window of the second component, which can include an operation of long pressing any side of the display region or multiple taps on any side of the display region.
[0247] In some application scenarios, the electronic device can detect the display region adjustment operation by listening to touch events. The electronic device can trigger a corresponding event processing function by listening to the touch time, and update the layout information of the display region through the event processing function. The layout information of the display region can include, but is not limited to, the position of the display region, the size of the display region, and the like.
[0248] In response to detecting the shortcut use window adjustment operation of the second component, the electronic device can generate boundary prompt information for indicating the boundary of the current display region, which can include, but is not limited to, a line, a dot, a text, and the like in a preset style. As shown in FIG. 4A, the boundary prompt information includes a boundary vertex and a line (as shown by the thick line at the boundary of the shortcut use window 12 of the second component in FIG. 4A) in a preset style. The boundary prompt information generated by the electronic device can reflect that the boundary of the shortcut use window of the second component is in an editable state, and the user can change the position of each side of the shortcut use window of the second component. The electronic device can detect the case that the user drags any side of the shortcut use window of the second component, and determine whether the current shortcut use window adjustment operation of the second component is a shortcut use window enlargement operation of the second component or a display region reduction operation based on the dragging state of any side of the shortcut use window of the second component.
[0249] For example, the electronic device detects that the dragging direction of the first side of the shortcut use window of the second component is a direction away from the second side opposite to the first side, and can determine that the current display area adjustment operation is a shortcut use window expansion operation of the second component. For another example, the electronic device detects that the dragging direction of the first side of the shortcut use window of the second component is a direction close to the second side, and can determine that the current shortcut use window adjustment operation of the second component is a shortcut use window contraction operation of the second component.
[0250] Alternatively, the electronic device detects that the dragging direction of the first side of the shortcut use window of the second component is away from the center of the shortcut use window of the second component, and can determine that the current shortcut use window adjustment operation of the second component is a shortcut use window expansion operation of the second component. For another example, the electronic device detects that the dragging direction of the first side of the shortcut use window of the second component is close to the center of the shortcut use window of the second component, and can determine that the current shortcut use window adjustment operation of the second component is a display area contraction operation.
[0251] Of course, the electronic device can also determine, in combination with the position before dragging and the position after dragging of the first side of the shortcut use window of the second component, that the current shortcut use window adjustment operation of the second component is a shortcut use window expansion operation of the second component or a shortcut use window contraction operation of the second component. The embodiments of the present application do not make too many limitations on the electronic device determining that the current shortcut use window adjustment operation of the second component is a shortcut use window expansion operation of the second component or a shortcut use window contraction operation of the second component.
[0252] When the electronic device determines that the current shortcut use window adjustment operation of the second component is a shortcut use window expansion operation of the second component, the electronic device can generate a shortcut use window expansion instruction of the second component, and the shortcut use window expansion instruction of the second component can include the adjusted position of the boundary of the shortcut use window of the second component. Alternatively, when the electronic device determines that the current shortcut use window adjustment operation of the second component is a shortcut use window contraction operation of the second component, the electronic device can generate a shortcut use window contraction instruction of the second component, and the shortcut use window contraction instruction of the second component can include the adjusted position of the boundary of the shortcut use window of the second component.
[0253] FIG. 4B exemplarily shows a display method which can be executed by the electronic device, and the display method can include the following steps:
[0254] S301, display an icon of a first component and a shortcut use window of a second component in a target interface, the icon being used to start the first component.
[0255] In the implementation, icons of the first components are displayed in the target interface. Please refer to FIG. 4A. It is assumed that icons of the first components are icon P1 to icon P5. The target interface can be a system desktop interface, and icons of the first components and the shortcut use window 12 of the second component are displayed.
[0256] In S302, a position of a first boundary of the shortcut use window of the second component is determined based on the instruction for enlarging the shortcut use window of the second component, and it is determined whether the position of the first boundary and the position of the icon of the first component meet a preset condition, the first boundary being a boundary of the shortcut use window of the second component that is adjusted.
[0257] The boundary of the shortcut use window of the second component can be understood as any boundary of the shortcut use window of the second component. The electronic device can determine that the current adjustment operation of the shortcut use window of the second component is the operation of enlarging the shortcut use window of the second component, and the instruction for enlarging the shortcut use window of the second component can include a position of the boundary of the shortcut use window of the second component after being dragged.
[0258] The electronic device can determine the position of the first boundary of the shortcut use window of the second component, i.e., the position of the boundary of the shortcut use window of the second component that is adjusted, in response to the instruction for enlarging the shortcut use window of the second component. The electronic device can determine whether the shortcut use window of the second component after being adjusted blocks the icon of the first component according to whether the position of the first boundary and the position of the icon of the first component displayed in the target interface meet a preset condition.
[0259] The preset condition can include one or more of the following conditions.
[0260] Condition 1: The position of the first boundary overlaps with the position of the icon of the first component, which can reflect that the position of the first boundary and the position of the first component displayed in the target interface meet the preset condition.
[0261] Condition 2: A minimum distance between the position of the first boundary and the position of the icon of the first component is less than a preset distance threshold, which can reflect that the position of the first boundary and the position of the first component displayed in the target interface meet the preset condition.
[0262] Satisfying condition 1 can reflect that the preset condition is met. Satisfying condition 2 can reflect that the preset condition is met. When neither condition 1 nor condition 2 is met, it can be reflected that the preset condition is not met.
[0263] In S303, if the position of the first boundary and the position of the icon of the first component meet the preset condition, the position of the icon of the first component in the target interface is adjusted, and / or the number of the first components is reduced.
[0264] The position of the first boundary and the position of the icon of the first component displayed in the target interface satisfy a preset condition, which can reflect that the shortcut use window of the adjusted second component blocks the icon of the first component.
[0265] In some examples, if the position of the first boundary and the position of the icon of the first component displayed in the target interface satisfy a preset condition, the electronic device can adjust the position of the icon of the first component in the target interface. For example, please refer to FIG. 4A and FIG. 4C, the position of the first edge 41 of the shortcut use window of the second component before adjustment is shown in FIG. 4A, and the position of the first edge 41 of the shortcut use window of the second component after adjustment satisfies the preset condition with the icon P1, which is shown in FIG. 4C. The electronic device can determine that the shortcut use window of the second component blocks the icon of the first component in the target interface, and the electronic device can adjust the positions of the icon P1, the icon P2, the icon P3, the icon P4, and the icon P5 in the target interface, so that the position of the first edge 41 after adjustment does not satisfy the aforementioned preset condition with the icon of the first component in the target interface.
[0266] Optionally, the user can perform multiple shortcut use window enlargement operations of the second component, and the electronic device can repeatedly perform the operations in steps S203 and S204. Please refer to FIG. 4C and FIG. 4D, the position of the first edge 41 of the shortcut use window of the second component before adjustment in the current shortcut use window enlargement operation of the second component is shown in FIG. 4C, and the position of the first edge 41 of the shortcut use window of the second component after adjustment is shown in FIG. 4D. The position of the first edge 41 after adjustment satisfies the preset condition with the icon P1, the electronic device can determine that the shortcut use window of the second component blocks the icon of the first component in the target interface, and the electronic device can adjust the position of the icon of the first component displayed in the target interface, so that the position of the first edge 41 after adjustment is not located in the display range of the icon of the first component in the target interface.
[0267] In some examples, if the position of the first boundary and the position of the icon of the first component satisfy the preset condition, the electronic device can reduce the first component in the target interface. That is, the electronic device can clear part or all of the icons of the components in the target interface.
[0268] For example, please refer to FIG. 4A and FIG. 4E, the first edge 41 of the shortcut using window of the second component is shown in FIG. 4A before adjustment, and the icons of the first component displayed in the target interface are icons P1 to P5 respectively. The position of the first edge 41 of the shortcut using window of the second component is shown in FIG. 4E after adjustment. Among them, the position of the first edge 41 after adjustment meets the preset condition with the icon P1, the electronic device can determine that the shortcut using window of the second component blocks the icons in the target interface, and the electronic device can reduce the number of the first component, such as displaying icons P2, P3, P4 and P5 in the target interface, so that the position of the first edge 41 after adjustment does not meet the preset condition with the position of the icons (icons P2, P3, P4 and P5) of the first component in the current target interface.
[0269] For another example, please refer to FIG. 4A and FIG. 4F, the first edge 41 of the shortcut using window of the second component is shown in FIG. 4A before adjustment, and the icons of the first component displayed in the target interface are icons P1 to P5 respectively. The position of the first edge 41 of the shortcut using window of the second component is shown in FIG. 4F after adjustment. Among them, the position of the first edge 41 after adjustment meets the preset condition with each of the icons P1 to P5 respectively, the electronic device can determine that the shortcut using window of the second component blocks the icons in the target interface, and the electronic device can display only the shortcut using window of the second component in the target interface without displaying the icons of the component. In other words, the number of the first component can be reduced to zero.
[0270] FIG. 5A exemplarily shows a display method which can be executed by an electronic device, and the display method can include the following steps:
[0271] S401, display icons of a first component and a shortcut using window of a second component in a target interface, the icons being used to start the first component.
[0272] S402, in response to a size-reducing instruction of the shortcut using window of the second component, determine a second boundary of the shortcut using window of the second component based on the size-reducing instruction of the shortcut using window of the second component, and adjust the position of the icons of the first component in the target interface and / or increase the number of the first component based on the second boundary.
[0273] The electronic device can determine that the shortcut use window adjustment operation of the current second component is a shortcut use window reduction operation of the second component, and can generate a shortcut use window reduction instruction of the second component. The shortcut use window reduction instruction of the second component can include a position of the first edge of the shortcut use window of the second component after being dragged. The electronic device can determine the position of the second boundary of the shortcut use window of the second component, that is, the position of the edge of the shortcut use window of the second component that is adjusted, in response to the shortcut use window reduction instruction of the second component. The range of the shortcut use window of the second component after adjustment can be determined in combination with the position of the second boundary, and the icon of the first component can be displayed in a position other than the shortcut use window of the second component in the target interface. The number of the first component can be one or more.
[0274] For example, in combination with FIG. 4E and FIG. 4F, the position of the first edge 41 of the shortcut use window of the second component before adjustment is shown in FIG. 4F. The position of the first edge 41 of the shortcut use window of the second component after adjustment, that is, the second boundary, is shown in FIG. 4E. After the adjustment of the shortcut use window of the second component, there is remaining space in the target interface to display the icons of components. As shown in FIG. 4E, the adjusted shortcut use window of the second component and the icons of the first component can be displayed in the target interface. The number of the first component can be one or more, such as icons P2 to icons P5 shown in FIG. 4E.
[0275] Optionally, the user can perform multiple shortcut use window reduction operations of the second component, and the electronic device can repeatedly perform the operations in step S402. For example, in combination with FIG. 5B, FIG. 4E and FIG. 4A, in the current shortcut use window reduction operation of the second component, the position of the first edge 41 of the shortcut use window of the second component before adjustment is shown in FIG. 4E. The position of the first edge 41 of the shortcut use window of the second component after adjustment is shown in FIG. 5B. After the adjustment of the shortcut use window of the second component, there is remaining space in the target interface to display the icons of components. The icons of part or all of the components can continue to be displayed in the target interface, such as icons P1 to icons P5 shown in FIG. 4A.
[0276] In addition, as shown in FIG. 6A, the display method provided by the embodiments of the present application can be executed by the electronic device, and can include the following steps:
[0277] S501, display the icon of the first component in the icon display area in the target interface, the first component including the second component.
[0278] In practice, the target interface of the electronic device can be implemented as an interface of a system desktop, or an interface for displaying components in the electronic device. In the embodiments of this application, the components can be implemented as application programs, function modules, etc. Please refer to FIG. 2B, in the target interface, icons of one or more components can be displayed, and icons of the second component are also displayed in the target interface.
[0279] S502, in response to the operation of opening the shortcut use window of the second component, displaying the shortcut use window of the second component in the target interface. The icon display area is at least a part of the target interface except the first window of the second component.
[0280] S503, removing the icon of the second component in the icon display area, or removing the icon of the second component in the icon display area and displaying the icon of the second component in the shortcut use window of the second component.
[0281] As shown in FIG. 6B, the electronic device can display the shortcut use window 71 of the second component in the target interface, and display the icon of the first component in the icon display area 72. Optionally, the size of the shortcut use window 71 of the second component is a preset default size.
[0282] Optionally, in step S503, the electronic device can not display the icon of the second component in the icon display area 72. In some examples, the electronic device can also display the icon of the second component in the shortcut use window of the second component.
[0283] In a possible design, after step S503, the electronic device can further perform the following operation:
[0284] S504, in response to the shortcut use window expansion instruction of the second component, determining the position of the first boundary of the shortcut use window of the second component based on the shortcut use window expansion instruction of the second component, and judging whether the shortcut use window of the second component blocks the icon display area based on the position of the first boundary and the icon display area, the first boundary being the boundary of the shortcut use window of the second component that is adjusted.
[0285] Optionally, the shortcut use window of the second component overlaps with the icon display area, and it can be reflected that the shortcut use window of the second component blocks the icon display area. The shortcut use window of the second component has a position same as a position in the icon display area, and it can be determined that the shortcut use window of the second component overlaps with the icon display area. Any position in the shortcut use window of the second component is different from each position in the icon display area, and it can be determined that the shortcut use window of the second component does not overlap with the icon display area.
[0286] Alternatively, a minimum distance between the shortcut use window of the second component and the icon display area is less than a preset distance threshold, and it can be reflected that the shortcut use window of the second component blocks the icon display area.
[0287] Conversely, if the minimum distance between the shortcut use window of the second component and the icon display area is greater than the preset distance threshold, and the shortcut use window of the second component does not overlap with the icon display area, it can be reflected that the shortcut use window of the second component does not block the icon display area.
[0288] S505, if the shortcut use window of the second component blocks the icon display area, the size of the icon display area is reduced until the shortcut use window of the second component does not block the adjusted icon display area, or if the shortcut use window of the second component blocks the icon display area, the icon display area is not displayed in the target interface.
[0289] Optionally, when the icon display area is reduced, the electronic device can reduce the number of the first components.
[0290] In some examples, please refer to FIG. 6B and FIG. 6C, FIG. 6B shows the size of the shortcut use window 71 of the second component and the size of the icon display area 72 before the shortcut use window of the second component is enlarged. The electronic device displays the icons of the first components in the icon display area 72, including the icon P1 of the component 42, the icon P2 of the component 43, the icon P3 of the component 44, the icon P4 of the component 45, and the icon P5 of the component 46. FIG. 6C shows the size of the shortcut use window 73 of the second component and the size of the adjusted icon display area 74 after the shortcut use window of the second component is enlarged. The electronic device displays the icons of the first components in the adjusted icon display area 74, including the icon P2 of the component 43, the icon P3 of the component 44, the icon P4 of the component 45, and the icon P5 of the component 46.
[0291] In some examples, please refer to FIG. 6B and FIG. 6D, FIG. 6B shows the size of the shortcut using window 71 of the second component and the size of the icon display area 72 in the target interface before the shortcut using window of the second component is enlarged. FIG. 6D shows the size of the shortcut using window 75 of the second component in the target interface after the shortcut using window of the second component is enlarged. The icon display area can not be displayed in the target interface.
[0292] In a possible design, after step S505, the electronic device can further perform the following operation:
[0293] S506, in response to the shortcut using window of the second component being reduced, determining the position of the second boundary of the shortcut using window of the second component based on the shortcut using window of the second component being reduced, and adjusting the size of the icon display area based on the position of the second boundary.
[0294] The electronic device can adjust the number of the first components according to the size of the adjusted icon display area. For example, the number of the first components is increased so that more icons of the first components are displayed in the icon display area.
[0295] In some examples, please refer to FIG. 6C and FIG. 6D, FIG. 6D shows the size of the shortcut using window 71 of the second component and the icon display area is not displayed in the target interface before the shortcut using window of the second component is reduced. FIG. 6B shows the size of the shortcut using window 71 of the second component and the size of the icon display area 72 in the target interface after the shortcut using window of the second component is reduced. The electronic device displays icons of part of the components in the icon display area 72, such as the icon P2 of the component 43, the icon P3 of the component 44, the icon P4 of the component 45, and the icon P5 of the component 46.
[0296] In some examples, please refer to FIG. 6B and FIG. 6C, FIG. 6C shows the size of the shortcut using window 71 of the second component and the size of the icon display area 72 before the shortcut using window of the second component is reduced. The electronic device displays icons of part of the components in the icon display area 72, such as the icon P2 of the component 43, the icon P3 of the component 44, the icon P4 of the component 45, and the icon P5 of the component 46. FIG. 6B shows the size of the shortcut using window 71 of the second component and the size of the icon display area 72 after the shortcut using window of the second component is reduced. The electronic device displays icons of all the components in the icon display area 72, such as the icon P2 of the component 43, the icon P3 of the component 44, the icon P4 of the component 45, and the icon P5 of the component 46.
[0297] In any of the foregoing embodiments, the display method can further include: displaying, in the target interface, an icon of a first component, the icon being used to start the first component; and displaying, in the target interface, a shortcut use window of a second component, the shortcut use window of the second component including a plurality of sub-regions arranged in an array. The display method can further include: in response to a first operation on the shortcut use window of the second component, opening an application window of a third component, the third component being the same as the second component or supporting at least one same function as the second component, the application window of the third component supporting a plurality of functions, and the shortcut use window of the second component supporting a part of the plurality of functions.
[0298] In some examples, the electronic device displays, in the target interface, a shortcut use window of the second component in response to the first quick use instruction of the second component, the shortcut use window of the second component including a plurality of sub-regions arranged in an array. The size-adjusted shortcut use window of the second component can still include a plurality of sub-regions arranged in an array.
[0299] In some examples, the electronic device displays, in the target interface, an icon of a first component, the icon being used to start the first component, and displays a shortcut use window of a second component. The electronic device opens an application window of a third component in response to a first operation on the shortcut use window of the second component, the third component being the same as the second component or supporting at least one same function as the second component. The application window of the third component supports a plurality of functions, and the shortcut use window of the second component supports a part of the plurality of functions.
[0300] The shortcut use window of the second component can have a function of displaying content. The application window of the third component can also have a function of displaying content. In the embodiments of the present application, the content display manner in the application window of the third component is different from the content display manner in the shortcut use window of the second component. It should be noted that the embodiments of the present application do not limit the specific process of switching from displaying the target interface to displaying the application window of the third component, and the process of switching from displaying the application window of the third component to displaying the target interface.
[0301] The content display manner of the application window of the third component and the content display manner of the shortcut use window of the second component are described below.
[0302] The application window of the third component can synchronously display a plurality of contents. In one possible case, as shown in FIG. 8A, the first content and the second content can be synchronously displayed in the opened application window of the third component.
[0303] The shortcut use window of the second component can only display a part of the plurality of contents. As shown in FIG. 8B, the shortcut use window of the second component can display the first content. The electronic device can change the shortcut use window of the second component from displaying the first content to displaying the second content in response to a content switching operation in the shortcut use window of the second component.
[0304] In some scenarios, the second component can support receiving handwriting, and display handwriting content corresponding to the handwriting. The third component can support handwriting, display handwriting content corresponding to the handwriting, and process the handwriting content.
[0305] In a possible implementation, the first content can be handwriting content, and the second content can be handwriting content.
[0306] In some examples, the first content and the second content can be content input by a user in an application window of the third component.
[0307] In other examples, the second content can be content associated with the first content, which is generated by the third component based on the first content. For example, the first content can be handwriting data, and the second content can be a chart generated based on the handwriting data.
[0308] In yet other examples, the first content can be input by a user in a shortcut application window of the second component. The second component can receive handwriting in the shortcut application window, and display handwriting content corresponding to the handwriting, i.e., the first content. Then, the electronic device can open an application window of the third component in response to a first operation on the shortcut use window of the second component, and the first content can be displayed in the application window of the third component. The first content can be handwriting data, and the electronic device can generate a chart corresponding to the first content based on the first content in response to a chart generation instruction triggered in the application window of the third component, i.e., generate a chart corresponding to the handwriting data, and display the chart in the application window of the third component.
[0309] In yet other examples, the first content can be input by a user in a shortcut application window of the second component. The second component can receive handwriting in the shortcut application window, and display handwriting content corresponding to the handwriting, i.e., the first content. Then, the electronic device can open an application window of the third component in response to a first operation on the shortcut use window of the second component, and the first content can be displayed in the application window of the third component. The first content can be handwriting data, and the electronic device can generate a chart corresponding to the first content based on the first content in response to a chart generation instruction triggered in the shortcut use window of the second component, i.e., generate a chart corresponding to the handwriting data, and display the chart in the application window of the third component.
[0310] In another possible implementation, the source of the first content and the second content can be in any manner. For example, the first content and the second content can be generated in the application window of the third component, or the first content and the second content can be generated in the shortcut usage window of the second component. For another example, part of the first content and the second content is generated in the shortcut usage window of the second component, and the other part is generated in the application window of the third component. For yet another example, the first content and the second content can be generated in the window of another component. In this implementation, the source of the first content and the second content is not specifically limited.
[0311] The first content and the second content can refer to different contents displayed simultaneously in the application window of the third component. The contents displayed in the application window of the third component can be related to the contents displayed in the shortcut usage window of the second component.
[0312] The first content and the second content are currently displayed in the application window of the third component. When the electronic device switches from displaying the application window of the third component to displaying the shortcut usage window of the second component, the first content or the second content is displayed in the shortcut usage window of the second component. The shortcut usage window of the second component can switch the contents displayed in the shortcut usage window based on a content switching operation.
[0313] The target content of the plurality of to-be-displayed contents is displayed in the shortcut usage window of the second component in the target interface. The target content is currently displayed in the shortcut usage window of the second component in the target interface, and the shortcut usage window of the second component can switch the contents displayed in the shortcut usage window based on a content switching operation. The electronic device switches from displaying the shortcut usage window of the second component to displaying the application window of the third component, and the plurality of to-be-displayed contents are synchronously displayed in the application window of the third component.
[0314] Based on the display method provided in FIG. 1A, the electronic device can display an icon of the first component and a shortcut usage window of the second component in a target interface, where the icon is used to start the first component.
[0315] The second component can be software supporting recording of handwritten content, that is, supporting receiving handwriting traces and displaying handwritten content corresponding to the handwriting traces. The electronic device can display target handwritten content corresponding to a handwriting operation in the shortcut usage window of the second component in response to the handwriting operation in the shortcut usage window of the second component.
[0316] As shown in FIG. 9A, in response to the first operation on the shortcut use window of the second component, the electronic device opens an application window of a third component. The display interface before the application window of the third component is opened is a target interface. In the target interface, the shortcut use window of the second component is displayed. The target handwritten content can be displayed in the shortcut use window of the second component. In the target interface, the icon of the first component can also be displayed.
[0317] The electronic device can open the application window of the third component in response to the first operation on the shortcut use window of the second component. The application window of the third component can support multiple functions. The shortcut use window of the second component can support part of the multiple functions. Alternatively, the third component and the second component can be the same component, or the third component and the second component can support at least one same function.
[0318] As shown in FIG. 9B, in response to the first operation on the shortcut use window of the second component, the electronic device opens an application window of a third component. In the application interface of the third component, the target handwritten content in the shortcut use window of the second component in the aforementioned target interface is displayed. In some examples, the third component and the second component can be the same component. In some examples, the third component and the second component can not be the same component, and the third component and the second component can support at least one same function, such as the function of recording handwritten content. For example, the second component can be a note, a message board, or other software that supports recording of handwritten content. The third component can be a document, a workbench, a drawing board, or other software that supports processing of handwritten content. Such a design can achieve insertion of the target handwritten content in the shortcut use window of the second component into the application window of the third component, so that the user can use the target handwritten content in the application window of the third component. Such a design can enable multiple components to be used in association, improve the utilization rate of the components, and reduce the use operation of the user.
[0319] In one possible design, the size of the application window of the third component is the same as the size of the target interface. The position of the target handwritten content in the shortcut use window of the second component is the same as the position of the target handwritten content in the application window of the third component.
[0320] In some examples, when the target handwritten content is displayed in the shortcut use window of the second component, the relative position of the target handwritten content to a screen reference point is recorded as a first position. When the target handwritten content is displayed in the application window of the third component, the relative position of the target handwritten content to the screen reference point is recorded as a second position. The first position is the same as the second position.
[0321] In some examples, the reference point of the window can be configured as the top-left corner vertex, the bottom-left corner vertex, the top-right corner vertex, or the bottom-right corner vertex of the window. When the application window of the third component displays the target handwritten content, the relative position of the target handwritten content to the reference point of the application window of the third component is recorded as a third position. When the application window of the third component displays the target handwritten content, the relative position of the target handwritten content to the reference point of the application window of the third component is recorded as a fourth position. The third position and the fourth position are the same.
[0322] In a possible implementation, the first operation on the shortcut use window of the second component can be an operation of generating icon generation instructions for instructing generation of a graph corresponding to the target handwritten content based on the target handwritten content.
[0323] In a possible design, the target handwritten content is handwritten data. After the application window of the third component is opened in response to the first operation on the shortcut use window of the second component, the electronic device can display the target handwritten content in a first content display area in the application window of the third component, and the electronic device can display a graph corresponding to the target handwritten content in a second content display area in the application window of the third component, as shown in FIG. 9C.
[0324] In this embodiment, the target handwritten content can be handwritten data. The electronic device can generate a graph corresponding to the target handwritten content based on the target handwritten content.
[0325] The electronic device can generate a graph corresponding to the target handwritten content based on the target handwritten content in response to the icon generation instructions triggered by the first operation on the shortcut use window of the second component, and display the graph in a second content display area in the application window of the third component.
[0326] The first operation on the shortcut use window of the second component can include, but is not limited to, any one of the following:
[0327] A fourth preset operation on a target virtual key in the shortcut use window of the second component
[0328] A second voice control operation
[0329] A second gesture control operation
[0330] In some other possible cases, the electronic device detects a fourth preset operation of the target virtual key displayed in the shortcut use window of the second component by the user, and can trigger generation of the chart generation instruction. Optionally, the user can perform the fourth preset operation on the target virtual key through an instruction input device. The instruction input device can include, but is not limited to, a mouse, a keyboard, a touch screen, a remote controller, a writing pen, and the like. The fourth preset operation can include, but is not limited to, single clicking the target virtual key, continuously clicking the target virtual key, or long pressing the target virtual key for a preset time length. Optionally, as shown in FIG. 9D, the electronic device can display the target virtual key in the shortcut use window of the second component.
[0331] In some other possible cases, the electronic device can have an audio collection capability. The electronic device detects a second voice control operation on the electronic device by the user when the user uses the shortcut use window of the second component. For example, the electronic device can collect audio and identify that the second voice instruction is included in the audio. The second voice instruction can include, but is not limited to, a voice content with the same or similar meaning as "generate a chart" or "open a third component".
[0332] In some other possible cases, the electronic device can have an image collection capability and a gesture recognition capability. The user can make a second gesture control operation in the form of a gesture in the air within the image collection range of the electronic device during use of the shortcut use window of the second component. The electronic device can detect whether the second gesture is made by detecting whether the second gesture is included in the collected image. Optionally, in this example, the gesture in the air can be a static gesture, or the gesture in the air can be a dynamic gesture.
[0333] Please refer to FIG. 9D and FIG. 9E, FIG. 9D shows a target interface displayed by the electronic device, and FIG. 9E shows an application interface of a third component displayed by the electronic device. In FIG. 9D, the target interface includes a shortcut use window of the second component. The shortcut use window of the second component can be a shortcut mode of the second component, and part of the functions of the second component can be used in the shortcut use window of the second component, such as adjusting the color of handwriting, in which the function bar 91 in FIG. 9D shows part of the colors, to facilitate the user to adjust the color of the handwriting. As shown in FIG. 9E, the application interface of the third component can be an application mode of the third component, and all functions of the third component can be used through the application interface of the third component. Optionally, all functions can be displayed (or triggered) in the function menu bar 92 in the application interface of the third component, such as adjusting a brush, erasing handwriting, undoing handwriting, canceling undoing handwriting, exporting handwriting content, and intelligent chart generation.
[0334] In some examples, the electronic device can stop displaying the target interface and display an application interface of the third component in response to the first operation on the shortcut use window of the second component, and display the target handwritten content in the shortcut use window of the second component in the application interface of the third component. The electronic device can generate a chart generation instruction based on the target handwritten content in response to the chart generation instruction. The chart can include, but is not limited to, any type of chart, such as a line chart, a pie chart, a bar chart, etc. Please refer to FIG. 9F, the target handwritten content can be the content in the dashed circle in the application interface. The generated chart corresponding to the target handwritten content is also displayed in the application interface. Optionally, the user can perform editing operations on the chart corresponding to the target handwritten content in the application interface of the third component, such as adjusting the size of the chart or modifying the content.
[0335] Optionally, the user can click the complete button in the chart editing window 94 corresponding to the target handwritten content to trigger the electronic device to generate a chart determination instruction. The electronic device can display the chart corresponding to the target handwritten content in the application interface of the third component in response to the chart determination instruction, and not display the target handwritten content, thereby realizing the effect of converting the target handwritten content into a corresponding chart, as shown in FIG. 9G.
[0336] In another possible design, the target handwritten content is handwritten data. The electronic device can display the target handwritten content in the first content display area in the application window of the third component after opening the application window of the third component in response to the first operation on the shortcut use window of the second component.
[0337] The electronic device can generate a chart corresponding to the target handwritten content based on the target handwritten content in response to a chart generation instruction triggered by the application window of the third component, and display the chart in the second content display area in the application window of the third component. The application interface of the third component can use all functions of the third component. Optionally, please refer to FIG. 9E, all functions can be displayed (or triggered) in the function menu bar 92 in the application interface of the third component, such as adjusting the brush, erasing the handwriting, undoing the handwriting, canceling the undoing of the handwriting, exporting the handwritten content, and intelligently drawing a chart. The electronic device can generate a chart generation instruction in response to an operation on the chart button in the application window of the third component. The electronic device can generate a chart corresponding to the target handwritten content based on the target handwritten content in response to the chart generation instruction, and display the chart in the second content display area in the application window of the third component.
[0338] In a possible implementation, the application window of the third component can include a plurality of content display areas. The number of the plurality of content display areas can be greater than or equal to 2. After the electronic device opens the application window of the third component in response to the first operation on the shortcut use window of the second component, the electronic device can display the target handwritten content in a target content display area in the application window of the third component.
[0339] In some possible application scenarios, the user can perform operations such as editing, modifying, or generating associated content of the handwritten content in the application window of the third component. The user can perform a second operation on the application window of the third component to switch to a target interface in which the shortcut use window of the second component is displayed.
[0340] Optionally, the second operation on the application window of the third component can include, but is not limited to, an operation of closing the application window of the third component, or a fifth preset operation on a second virtual key in the application window of the third component for switching to the target interface. The fifth preset operation can include, but is not limited to, single-clicking the second virtual key, continuously clicking the second virtual key, or long-pressing the second virtual key for a preset time length.
[0341] FIG. 10A shows a display method that can be performed by an electronic device, and the method can include the following steps:
[0342] S601, displaying an icon of a first component and a shortcut use window of a second component in a target interface, where the icon is used to start the first component.
[0343] S602, in response to a handwritten operation in the shortcut use window of the second component, displaying target handwritten content corresponding to the handwritten operation in the shortcut use window of the second component.
[0344] S603, in response to a first operation on the shortcut use window of the second component, opening an application window of a third component, where the third component and the second component are the same component, or the third component supports at least one same function as the second component.
[0345] In this case, the application window of the third component can support a plurality of functions, and the shortcut use window of the second component can support a part of the plurality of functions.
[0346] In step S603, when the electronic device opens the application window of the third component, the electronic device can display the target handwritten content in a target content display area in the application window of the third component. The user can also perform other operations in a content display area other than the target content display area in the application window of the third component, such as adding new handwritten content, generating associated content of the target handwritten content, and the like.
[0347] For example, FIG. 10B is an application window of the third component, which can include multiple content display areas, or in other words, the range for recording content in the application interface can be composed of multiple content display areas. The multiple content display areas can be divided in a default manner or in a dynamic manner. The multiple content display areas can be sorted in a preset manner. For example, the multiple content display areas can be sorted in a forward order as content display area 1, content display area 2, content display area 3, and content display area 4. The multiple content display areas can be sorted in a reverse order as content display area 4, content display area 3, content display area 2, and content display area 1.
[0348] In some examples, the content in any of the multiple content display areas includes at least one of the following types of content: text, chart, and picture.
[0349] In some examples, one of the multiple content display areas displays one type of content. The type of content displayed in the one content display area is referred to as a target type, and the target type is any one of the following types: handwritten content, text, chart, and picture.
[0350] S604, in response to the second operation of the application window of the third component, displaying the target interface and displaying the shortcut use window of the second component in the target interface.
[0351] Optionally, in step S604, the electronic device displays a blank page in the shortcut use window of the second component in the target interface, or displays the content in one of the multiple content display areas.
[0352] S605, if there is displayed content in any of the multiple content display areas other than the target content display area, in response to a content switching operation, switching the displayed content in the shortcut use window of the second component to the content in the content display area corresponding to the content switching operation.
[0353] In the case where the electronic device displays the target interface by switching the application window of the third component, the electronic device can detect displayed content in any of the multiple content display areas of the application window of the third component other than the target content display area, thereby achieving detection of whether the user adds new content through the application window of the third component.
[0354] The content displayed in any of the plurality of content display areas other than the target content display area can reflect that the user has added new content through the application window of the third component. The absence of content displayed in any of the plurality of content display areas other than the target content display area can reflect that the user has not added new content through the application window of the third component.
[0355] If the electronic device detects that content is displayed in any of the plurality of content display areas other than the target content display area of the application window of the third component, the shortcut use window of the second component displays, in the target interface, content in a content display area corresponding to a content switching operation of the user in the shortcut use window of the second component.
[0356] Suppose that the content display areas in which content is displayed in the plurality of content display areas of the application window of the third component are a first content display area and a second content display area, respectively. In a case in which the electronic device switches to display the shortcut use window of the second component, the content in the first content display area and the content in the second content display area can be displayed in the shortcut use window of the second component. The electronic device can switch the content displayed in the shortcut use window of the second component to content in a content display area corresponding to a content switching operation in the shortcut use window of the second component.
[0357] For example, the shortcut use window of the second component displays the content in the first content display area, and the electronic device can switch the content displayed in the shortcut use window of the second component to content in the second content display area corresponding to a content switching operation in the shortcut use window of the second component.
[0358] For another example, the shortcut use window of the second component displays the content in the second content display area, and the electronic device can switch the content displayed in the shortcut use window of the second component to content in the first content display area corresponding to a content switching operation in the shortcut use window of the second component.
[0359] In the foregoing embodiments, the content switching operation can be an operation on content switching indication information displayed in the shortcut use window of the second component, the content switching indication information being used to indicate the number of the plurality of content display areas and to receive an operation of selecting any of the plurality of content display areas.
[0360] For example, the application window of the third component shown in FIG. 10B has four content display areas. As shown in FIG. 10C, the electronic device can display display indication information 101 indicating the number of content display areas in the shortcut use window of the second component in the target interface. The display indication information can include, but is not limited to, a sliding bar, a floating button, a dot, a slider, etc. The display indication information in FIG. 10C includes a sliding bar. The slider on the sliding bar is shown as a black part on the sliding bar. The position of the slider on the sliding bar is adjustable. Alternatively, the electronic device can change the position of the slider on the sliding bar to the position corresponding to the target block. The initial position of the sliding bar corresponds to the new page, or the end position of the sliding bar corresponds to the new page.
[0361] In some examples, the content switching operation can be implemented as an adjustment operation on the position of the slider on the sliding bar. The user can move the position of the slider on the sliding bar. As shown in FIG. 10D, the electronic device detects the sliding operation on the slider and can generate a content switching instruction. The content switching instruction can include information of the content display area corresponding to the position of the slider after the movement. The electronic device can display the content in the content display area corresponding to the position of the slider after the movement in the shortcut use window of the second component in response to the content switching instruction, to realize the content switching operation on the content in the content display area.
[0362] In other examples, the content switching operation can be a sliding operation in the shortcut use window of the second component.
[0363] The displayed content in the shortcut use window of the second component is based on a preset sorting manner. The shortcut use window of the second component can be configured to display the content in each content display area separately according to a preset content sorting manner.
[0364] The preset content sorting manner can be the new page and the plurality of content display areas in turn. The sorting manner of the plurality of content display areas can be the aforementioned ascending order sorting, or the aforementioned descending order sorting. The electronic device detects the sliding operation in the shortcut use window of the second component and can generate a content switching instruction. It is assumed that the content currently displayed in the shortcut use window of the second component is the content in the third content display area. The preset content sorting manner can be cyclic, i.e., the next content in the order of the last content display area in the plurality of content display areas is the new page.
[0365] The electronic device can detect a sliding operation in the first direction on the shortcut use window of the second component, can display the next order of the third content display area as the target order based on a preset content ordering manner, can generate a content switching instruction, the content switching instruction can include information of the target order, and facilitate the electronic device to display the content corresponding to the target order in the shortcut use window of the second component in response to the content switching instruction.
[0366] The electronic device detects a sliding operation in the second direction on the shortcut use window of the second component, can display the previous order of the third content display area as the target order based on a preset content ordering manner, can generate a content switching instruction, the content switching instruction can include information of the target order, and facilitate the electronic device to display the content corresponding to the target order in the shortcut use window of the second component in response to the content switching instruction.
[0367] Based on the display method provided in the embodiment of FIG. 1A, the electronic device displays an icon of the first component and a shortcut use window of the second component in the target interface, the icon is used to start the first component, as shown in FIG. 10E, the second component can be a signal source component, which can support displaying the content provided by the connected signal source of the electronic device. The signal source component can have a content display function.
[0368] The electronic device can open an application window of the third component in response to the first operation on the shortcut use window of the second component; wherein the application window of the third component can support multiple functions, and the shortcut use window of the second component can support part of the multiple functions.
[0369] In some examples, the third component and the second component are the same component.
[0370] In other examples, the third component and the second component are not the same component, and the third component and the second component support at least one same function, such as a content display function. In some application scenarios, the electronic device can generate a content acquisition instruction in response to the first operation on the shortcut use window of the signal source component, and the electronic device can acquire the target content currently displayed in the shortcut use window of the signal source component in response to the content acquisition instruction.
[0371] The electronic device can open an application window of the third component in response to the first operation on the shortcut use window of the signal source component. The electronic device can display the aforementioned acquired target content in the application window of the third component. Such a design can realize the screenshot of the shortcut use window of the signal source component and insert it into the application window of the third component.
[0372] FIG. 11A shows a display method that can be applied to an electronic device, which can include the following steps:
[0373] S701, display an icon of a first component and a shortcut use window of a second component in a target interface.
[0374] S702, in response to receiving any signal source signal, display access signal source prompt information in the target interface, the access signal source prompt information being used to prompt whether to display a shortcut use window corresponding to a signal source component in the target interface.
[0375] S703, in response to a confirmation instruction of the access signal source display information, display the shortcut use window corresponding to the signal source component in the target interface.
[0376] The electronic device can receive content provided by any signal source. Any signal source can send content to the electronic device through any type of signal transmission. As shown in FIG. 11B, any device can interact with the electronic device through wired connection to send content to the electronic device.
[0377] The electronic device can detect whether the electronic device accesses any signal source signal by detecting whether an external device is connected. If the electronic device detects that the target device is connected (wired or wireless connection), the target device can be used as a target signal source, and the signal sent by the target device to the electronic device is the target signal source signal.
[0378] The electronic device can display access signal source prompt information in the target interface in response to receiving any signal source signal, such as the signal source prompt information 21 shown in FIG. 11C. The signal source prompt information 21 is used to prompt the user whether to display the shortcut use window corresponding to the signal source component in the target interface. In this way, the user's writing process in the shortcut use window of the second component in the target interface can not be interrupted.
[0379] The access signal source prompt information can display a preset prompt text in the form of a floating box. Optionally, a confirmation button and a cancel button can also be displayed in the floating box.
[0380] The user can indicate the electronic device to display the shortcut use window corresponding to the signal source component in the target interface by operating the confirm button in the access signal source prompt information. For example, a confirmation instruction of the access signal source display information is generated.
[0381] The user can indicate the electronic device not to display the shortcut use window corresponding to the signal source component in the target interface by operating the cancel button in the access signal source prompt information. For example, a cancel instruction of the access signal source display information is generated.
[0382] In some examples, as shown in FIG. 11D, the electronic device can detect an operation of determining the key in the access signal source prompt information, and trigger generation of a confirmation instruction of the access signal source display information. The electronic device displays the shortcut use window 22 corresponding to the signal source component in the target interface in response to the confirmation instruction of the access signal source display information. Optionally, the shortcut use window 22 can display the content corresponding to the signal source signal. The shortcut use window 22 can display the signal source connected by the electronic device, such as signal source 1, signal source 2, signal source 3, signal source 4, and signal source 5 in FIG. 11D. Optionally, the signal sources connected by the electronic device can be the same type of signal source, or different types of signal source, which is not limited in the embodiments of the present application. Please refer to FIG. 11D again, the shortcut use window 22 can also indicate the signal source to which the currently displayed content belongs according to a preset display mode, for example, the position of the dot indicates that the currently displayed signal source signal is from the signal source 1.
[0383] In a possible implementation, when the electronic device displays the shortcut use window of the second component and the shortcut use window of the signal source component in the target interface, as shown in FIG. 11D, the shortcut use window 22 corresponding to the signal source component can completely cover the shortcut use window 12 of the second component in the target interface. That is, in the target interface, the size of the shortcut use window 22 corresponding to the signal source component is greater than or equal to the size of the shortcut use window 12 of the second component, and the entire position of the shortcut use window 12 of the second component is located in the shortcut use window 22 corresponding to the signal source component.
[0384] In a possible implementation, when the electronic device displays the shortcut use window of the second component and the shortcut use window of the signal source component in the target interface, the electronic device displays the shortcut use window corresponding to the signal source component in the target interface, and displays a first target part of the shortcut use window of the second component in the target interface. The shortcut use window corresponding to the signal source component is partially or entirely located in a part of the shortcut use window of the second component, and the shortcut use window corresponding to the signal source component partially or entirely covers the part of the shortcut use window of the second component. Another part of the shortcut use window of the second component, that is, the part not covered, is the first target part.
[0385] As shown in FIG. 11E, in the target interface, the shortcut use window 22 corresponding to the signal source component can cover a part of the shortcut use window 12 of the second component. In the target interface, another part of the shortcut use window 12 of the second component, that is, the part not covered by the shortcut use window 22, that is, the aforementioned first target part, can be displayed.
[0386] In some examples, as shown in FIG. 11F, the electronic device can detect an operation on the determination key in the access signal source prompt information, trigger generation of a confirmation instruction of the access signal source display information. The electronic device can display, in response to the confirmation instruction of the access signal source display information, the overlay prompt information 24 in the target interface, the overlay prompt information 24 being used to prompt the user whether to overlay the shortcut use window of the second component when displaying the shortcut use window of the signal source component. The overlay prompt information 24 can display preset prompt text in the form of a pop-up box. Optionally, the confirmation key and the cancel key can also be displayed in the pop-up box. The user can indicate the electronic device not to overlay the shortcut use window of the second component when displaying the shortcut use window of the signal source component in the target interface by an operation on the cancel key in the overlay prompt information 24.
[0387] In some examples, the user can indicate the electronic device to overlay a part of the shortcut use window of the second component when displaying the shortcut use window of the signal source component in the target interface by an operation on the cancel key in the overlay prompt information 24. The electronic device can detect an operation on the confirmation key in the overlay prompt information 24, trigger generation of a second display instruction. The electronic device can display, in response to the second display instruction, the shortcut use window 22 of the signal source component in the target interface, the shortcut use window 22 of the signal source component being non-overlapped with the first target part of the shortcut use window 12 of the second component, as shown in FIG. 11E. Optionally, the electronic device can adjust the position of the shortcut use window 12 of the second component, and / or the electronic device can adjust the size of the shortcut use window 12 of the second component.
[0388] In some examples, the electronic device displays, in response to the confirmation instruction of the access signal source display information, the shortcut use window 22 of the signal source component in the target interface, the shortcut use window 22 of the signal source component being a foreground object, the shortcut use window 12 of the second component being a background object, the size of the shortcut use window 22 of the signal source component being a default shortcut use window size, and the electronic device can adjust the size of the shortcut use window 12 of the second component based on a preset adjustment ratio. Optionally, the preset adjustment ratio can be 90%.
[0389] In some examples, the electronic device displays, in response to the confirmation instruction of the access signal source display information, the shortcut use window 22 of the signal source component in the target interface, the shortcut use window 22 of the signal source component being a foreground object, the shortcut use window 12 of the second component being a background object, the size of the shortcut use window 22 of the signal source component being a default shortcut use window size, and the electronic device can adjust the size of the shortcut use window 12 of the second component based on a preset adjustment ratio. Optionally, the preset adjustment ratio can be 90%.
[0390] Please refer to FIG. 11E. Since the shortcut using window 22 corresponding to the signal source component can cover a part of the shortcut using window 12 of the second component in the target interface, the part of the shortcut using window 12 of the second component that is not covered is referred to as a first target part, and the part of the shortcut using window 12 of the second component that is covered is referred to as a first covered part. Optionally, the ratio of the size of the first target part to the size of the shortcut using window 12 of the current second component is a first ratio. The first ratio is a preset value, for example, the first ratio can be 10%.
[0391] In a possible implementation, when the electronic device displays the shortcut using window corresponding to the signal source component in the target interface, the electronic device displays the first target part of the shortcut using window of the second component in the target interface, wherein the shortcut using window corresponding to the signal source component is partially or entirely located in a part of the shortcut using window of the second component, and another part of the shortcut using window of the second component is the first target part.
[0392] The user can perform a selection operation on the first target part displayed in the target interface, so as to switch the display interface of the second component to the foreground object and the shortcut using window of the signal source component to the background object. The electronic device can detect the selection operation of the user on the first target part. When the electronic device detects the selection operation of the user on the first target part, the electronic device can generate a selection instruction for the first target part. The electronic device can display the entire shortcut using window of the second component in the target interface, and display only a second target part of the shortcut using window of the signal source component in the target interface. Optionally, the shortcut using window of the second component is partially or entirely located in a part of the shortcut using window corresponding to the signal source component, and another part of the shortcut using window corresponding to the signal source component is the second target part. The second target part can be understood as the area of the shortcut using window of the signal source component that is not covered by the shortcut using window of the second component.
[0393] Please combine FIG. 11H, the electronic device can display all of the shortcut use window of the second component in the target interface, and display only the second target part of the shortcut use window of the signal source component in the target interface. At this time, in the target interface, the shortcut use window 12 of the second component can cover a part of the area of the shortcut use window 22 corresponding to the signal source component, the part of the shortcut use window 22 of the signal source component that is not covered is recorded as the second target part, and the part of the shortcut use window 22 of the signal source component that is covered by the shortcut use window is recorded as the second covered part. Optionally, the ratio of the size of the second target part to the size of the shortcut use window 22 corresponding to the current signal source component is the first proportion. The first proportion is a preset value, for example, the first proportion can be 10%.
[0394] Similarly, the user can perform a selection operation through the second target part displayed in the target interface, so as to switch the display interface of the second component to the background object and make the shortcut use window of the signal source component the foreground object. The electronic device can detect the selection operation of the user on the second target part. The electronic device detects the selection operation of the user on the second target part, and can generate a selection instruction for the second target part. As shown in FIG. 11E, the electronic device can display all of the shortcut use window of the signal source component in the target interface, and display only the first target part of the shortcut use window of the second component in the target interface.
[0395] In a possible implementation, in the scenario where the electronic device displays all of the shortcut use window corresponding to the signal source component in the target interface, the user can perform an entering signal source component operation, so as to switch the shortcut mode of the signal source component to the application mode of the signal source component. In the application interface of the signal source component, all functions of the signal source component can be supported. In the target interface, part of the functions of the signal source component can be supported in the shortcut use window of the signal source component.
[0396] The electronic device can detect the entering signal source component operation, and generate an entering signal source component instruction when the entering signal source component operation is detected. The electronic device can stop displaying the target interface and display the application interface of the signal source component in response to the entering signal source component instruction, and the content corresponding to the signal source signal can be displayed in the application interface of the signal source component, as shown in FIG. 11I.
[0397] In a possible implementation, the electronic device displays all of the shortcut use windows corresponding to the signal source components in the target interface, or displays the second target part of the shortcut use windows in the target interface, or displays the application interface of the signal source components, and the electronic device detects that no signal source signal is received or the receiving of the signal source signal is stopped, which can reflect that the signal source device connected to the electronic device is unplugged, as shown in FIG. 11J. The electronic device can display the target interface, and display all of the shortcut use windows of the second components in the target interface, as shown in FIG. 2B.
[0398] In another aspect, the embodiments of the present application also provide an electronic device, as shown in FIG. 12, the electronic device includes a display device, a processor and a memory, wherein:
[0399] The display device is configured to display an interface.
[0400] The memory stores computer program instructions.
[0401] The processor executes the computer program instructions, and can implement the steps in the display method provided by any one of the preceding embodiments, or any operation performed by the electronic device.
[0402] Optionally, the electronic device can further include a communication interface for realizing the communication between the electronic device and an external device, for example, the communication interface can be a transceiver.
[0403] In the embodiments of the present application, the display method provided by the embodiments of the present application is introduced from the perspective of the electronic device as the execution subject. In order to implement the functions in the method provided by the embodiments of the present application, the electronic device can include a hardware structure and / or a software module, and the above functions are implemented in the form of hardware structure, software module, or hardware structure plus software module. Whether a certain function in the above functions is implemented in the form of hardware structure, software module, or hardware structure plus software module depends on the specific application of the technical solution and the design constraint conditions.
[0404] In addition, the embodiments of the present application provide a computer readable storage medium for storing a computer program, when the computer program runs on a computer, the computer program makes the computer execute the steps in any one of the above display methods, or any operation performed by the above electronic device.
[0405] In the above embodiments, all or part of the embodiments can be realized by software, hardware, firmware or any combination thereof. When realized by software, all or part of the embodiments can be realized in the form of a computer program product.
[0406] In addition, the electronic device according to the embodiments of the present application can display any one of the target interfaces shown in the drawings, and can display any one of the application windows shown in the drawings.
[0407] The embodiments of the present application also provide a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the flow or function described in the embodiments of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center through wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server, data center, etc. integrated with one or more available media. The available media can be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)), etc. In the case of no conflict, the schemes of the above embodiments can be combined.
Claims
1. A display method, wherein, The method comprises: displaying, in a target interface, an icon of a first component and a first window of a second component, the icon being used to start the first component; in response to a first operation on the first window of the second component, opening a second window of a third component; wherein the second window of the third component can support a plurality of functions, and the first window of the second component can support a part of the plurality of functions.
2. The method of claim 1, wherein, The displaying, in a target interface, an icon of a first component and a first window of a second component further comprises: in response to an adjustment instruction of the size of the first window of the second component, adjusting the position of the icon of the first component.
3. The method of claim 2, wherein, The adjusting the position of the icon of the first component in response to the adjustment instruction of the size of the first window of the second component comprises: in response to an instruction of enlarging the first window of the second component, performing the following process: based on the instruction of enlarging, determining the position of a first boundary of the first window of the second component, and judging whether the position of the first boundary and the position of the icon of the first component meet a preset condition, the first boundary being a boundary of the first window of the second component that is adjusted; if the position of the first boundary and the position of the icon of the first component meet the preset condition, adjusting the position of the icon of the first component in the target interface, and / or reducing the number of the first component.
4. The method of claim 2 or 3, wherein, The adjusting the position of the icon of the first component in response to the adjustment instruction of the size of the first window of the second component further comprises: in response to an instruction of reducing the first window of the second component, performing the following process: based on the instruction of reducing the first window of the second component, determining a second boundary of the first window of the second component; and based on the second boundary, adjusting the position of the icon of the first component in the target interface, and / or increasing the number of the first component.
5. The method of claim 1, wherein, Before the displaying, in a target interface, an icon of a first component and a first window of a second component, the method further comprises: displaying the icon of the first component in an icon display area of the target interface, the first component comprising the second component; The displaying, in a target interface, an icon of a first component and a first window of a second component comprises: in response to an operation of opening the first window of the second component, displaying the first window of the second component in the target interface, and removing the icon of the second component in the icon display area, or removing the icon of the second component in the icon display area and displaying the icon of the second component in the first window of the second component; wherein the icon display area is at least a part of the target interface other than the first window of the second component.
6. The method of claim 1, wherein, simultaneously displaying first content and second content in the second window of the third component; The method further comprises: in response to a content switching operation, changing the display of the first content in the first window of the second component to the display of the second content.
7. The method of claim 6, wherein, The first content is handwritten content, and the second content is handwritten content.
8. The method of claim 6, wherein, The first content is handwritten content, and the second content is associated content of the first content.
9. The method of claim 8, wherein, The first content is handwritten data, and the second content is a chart generated based on the handwritten data.
10. The method of claim 9, wherein, The method further includes: In response to a chart generation instruction, generating the second content based on the handwritten data.
11. The method of claim 10, wherein, The chart generation instruction is triggered in the second window of the third component; or The chart generation instruction is triggered by a first operation on the first window of the second component.
12. The method of claim 1, wherein, The second component is software that supports recording handwritten content.
13. The method of claim 1 or 12, wherein, The method further includes: In response to a handwritten operation in the first window of the second component, displaying target handwritten content corresponding to the handwritten operation in the first window of the second component.
14. The method of claim 13, wherein, After the third component opens the second window in response to the first operation on the first window of the second component, the method further includes: Displaying the target handwritten content in the second window of the third component.
15. The method of claim 14, wherein, The size of the second window of the third component is the same as the size of the target interface. The position of the target handwritten content in the first window of the second component is the same as the position of the target handwritten content in the second window of the third component.
16. The method of claim 13, wherein, The target handwritten content is handwritten data. After the third component opens the second window in response to the first operation on the first window of the second component, the method further includes: Displaying the target handwritten content in a first content display area in the second window of the third component. Displaying a chart corresponding to the target handwritten content in a second content display area in the second window of the third component.
17. The method of claim 13, wherein, The second window of the third component includes a plurality of content display areas; and the target handwritten content is displayed in a target content display area in the plurality of content display areas. After the third component opens the second window, the method further includes: In response to a second operation on the second window of the third component, the following steps are performed: Displaying the target interface and displaying the first window of the second component in the target interface; If there is displayed content in any content display area in the plurality of content display areas other than the target content display area, in response to a content switching operation, switching the displayed content in the first window of the second component to content in a content display area corresponding to the content switching operation.
18. The method of claim 17, wherein, The content in any content display area includes at least one of the following types of content: Text, chart, picture.
19. The method of claim 17, wherein, In one content display area in the plurality of content display areas, a target type of content is displayed. The target type is any one of the following types: Handwritten content, text, chart, picture.
20. The method of claim 17, wherein, The content switching operation is an operation on content switching instruction information displayed in the first window of the second component, and the content switching instruction information is used to indicate the number of the plurality of content display areas and to receive an operation of selecting any content display area in the plurality of content display areas.
21. The method of claim 13, wherein, The first operation is an operation of generating a chart generation instruction, the chart generation instruction being used to instruct to generate a chart corresponding to the target handwritten content based on the target handwritten content.
22. The method of claim 1, wherein, After displaying the icon of the first component and the first window of the second component in the target interface, the method further includes: In response to receiving any signal source signal, displaying an access signal source prompt information in the target interface, the access signal source prompt information being used to prompt whether to display a first window corresponding to a signal source component in the target interface.
23. The method of claim 22, wherein, The method further includes: In response to a confirmation instruction of the access signal source display information, displaying the first window corresponding to the signal source component in the target interface.
24. The method of claim 23, wherein, The method further includes: When displaying the first window corresponding to the signal source component in the target interface, displaying a first target part of the first window of the second component in the target interface; In response to a selection instruction of the first target part, displaying the entire first window of the second component in the target interface, and displaying a second target part of the first window corresponding to the signal source component.
25. The method of claim 24, wherein, The method further includes: In response to a selection instruction of the second target part, displaying the entire first window corresponding to the signal source component in the target interface, and displaying the first target part.
26. The method of claim 23, wherein, The method further includes: In response to a third operation of the first window of the signal source component, opening a second window of the signal source component.
27. The method of any one of claims 22-26, wherein, The method further includes: In response to not receiving the any signal source signal, displaying the target interface, and displaying the first window of the second component in the target interface.
28. The method of claim 1, wherein, After displaying the icon of the first component and the first window of the second component in the target interface, the method further includes: In response to receiving any signal source signal, displaying a shortcut use of a signal source component in the target interface, a first window of the signal source component being non-overlapping with the first window of the second component, the first window of the signal source component being used to display content provided by the any signal source signal.
29. A display method, wherein, The method includes: Displaying an icon of a first component and a first window of a signal source component in a target interface, the icon being used to start the first component; In response to a first operation of the first window of the signal source component, opening a second window of a third component; The second window of the signal source component can support a plurality of functions, and the first window of the signal source component can support a part of the plurality of functions.
30. An electronic device, comprising: The display device is used to display a picture. The memory stores computer program instructions. The processor executes the computer program instructions to implement the display method of any one of claims 1-29. When the instructions in the computer storage medium are executed by the processor, the processor executes the display method of any one of claims 1-29.
31. A computer storage medium, wherein,
Citation Information
Patent Citations
Visual image data generation method and system
CN115292563A
Electronic whiteboard and chart display method thereof
CN115705097A
Component generation method and device
CN115951811A
Information display method and related device
CN116954778A
Interaction method and electronic equipment
CN117573010A