Component display method and device
By stacking and displaying multiple components on a small-screen electronic device and receiving user input switching, the problem of cumbersome user search for components on a small-screen device is solved, and the efficiency of component search is improved.
Patent Information
- Application Number
- CN202411454350.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-17
- Publication Date
- 2025-01-21
AI Technical Summary
On devices with smaller display screens such as electronic devices with upper and lower folding screens or smartwatches, users need to find multiple desktop components across pages, resulting in cumbersome operation steps.
By stacking and displaying at least two components in one display position and receiving user input to switch the displayed components, quick search and switching of components is achieved.
This method enables users to quickly view and switch different components in one display position, reducing the need for cross-page searches and improving the efficiency of users in finding components.
Smart Images

Figure CN119342145A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of communication technology, and specifically relates to a component display method and device. Background Art
[0002] Currently, users can add various desktop components on the desktop of electronic devices, such as: calendar components, weather components, payment components, clock components, etc.
[0003] However, when users use electronic devices with upper and lower folding screens or electronic devices with smaller display screens such as smart watches, due to the small display screens of such electronic devices, each page in the desktop can only display a fixed number of components. When the number of components the user wants to add is large, he needs to search for the required components across pages. In this way, the user's component search operation steps are cumbersome. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a component display method and device, which can improve the efficiency of users searching for components.
[0005] In a first aspect, an embodiment of the present application provides a component display method, which is applied to an electronic device with an upper and lower folding screen, the electronic device including a first screen, the method including: displaying a first component at a first position of the first screen, the first component being one of a first component set, the first component set including at least two components, at least two components being in a stacked display state at the first position; receiving a first input to the first component; and in response to the first input, displaying a second component at the first position, the second component being a component in the first component set other than the first component.
[0006] In a second aspect, an embodiment of the present application provides a component display device, which is applied to an electronic device with an upper and lower folding screen, the electronic device including a first screen, and the device including: a display module and a receiving module. The display module is used to display a first component at a first position of the first screen, the first component is a component in a first component set, the first component set includes at least two components, and the at least two components are in a stacked display state at the first position. The receiving module is used to receive a first input to the first component displayed by the display module. The display module is also used to display a second component at a first position in response to the first input received by the receiving module, the second component being a component in the first component set other than the first component.
[0007] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.
[0008] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0009] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
[0010] In a sixth aspect, an embodiment of the present application provides a computer program / program product, wherein the computer program / program product is stored in a storage medium, and the program / program product is executed by at least one processor to implement the method described in the first aspect.
[0011] In an embodiment of the present application, a first component is displayed at a first position on the first screen, the first component is a component in a first component set, the first component set includes at least two components, and at least two components are in a stacked display state at the first position; a first input to the first component is received; in response to the first input, a second component is displayed at the first position, the second component is a component in the first component set other than the first component. In this solution, by stacking and displaying at least two components in one position, the user can view different components at one display position on the first screen, which makes it convenient for the user to quickly find the component the user needs without searching for the required component across pages. In this way, the efficiency of the user finding components is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 is a schematic diagram of an example of an electronic device with a foldable screen provided by an embodiment of the present application;
[0013] Figure 2 This is one of the flowcharts of a component display method provided in an embodiment of the present application;
[0014] Figure 3 This is a schematic diagram of an example of stacking and displaying multiple components provided by an embodiment of the present application;
[0015] FIG. 4(A) is one of the schematic diagrams of an example of viewing stacked components provided by an embodiment of the present application;
[0016] FIG4(B) is a second example schematic diagram of viewing stacked components provided by an embodiment of the present application;
[0017] FIG4(C) is a third example schematic diagram of viewing stacked components provided by an embodiment of the present application;
[0018] Figure 5 This is a fourth example schematic diagram of viewing stacked components provided by an embodiment of the present application;
[0019] Figure 6 This is the second flow chart of a component display method provided in an embodiment of the present application;
[0020] Figure 7 This is a third flow chart of a component display method provided in an embodiment of the present application;
[0021] Figure 8 This is a fourth flow chart of a component display method provided in an embodiment of the present application;
[0022] Fig. 9 This is a schematic diagram of an example of setting a component prompt tone and vibration mode provided in an embodiment of the present application;
[0023] Fig.10 is a structural schematic diagram of a component display device provided in an embodiment of the present application;
[0024] Fig.11 This is one of the hardware structure diagrams of an electronic device provided in an embodiment of the present application;
[0025] Fig.12 This is the second schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0026] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0027] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0028] The terms "at least one (item)", "at least one of" and the like in the specification and claims of the present application refer to any one, any two or a combination of more than two of the objects included therein. For example, at least one (item) of a, b, and c can be represented by: "a", "b", "c", "a and b", "a and c", "b and c" and "a, b and c", where a, b, and c can be single or multiple. Similarly, "at least two (items)" refers to two or more, and its meaning is similar to that of "at least one (item)".
[0029] The component display method provided in the embodiment of the present application is applied to an electronic device with an upper and lower folding screen, and the electronic device with an upper and lower folding screen includes a secondary screen. It can be understood that the electronic device can be considered as a multi-screen terminal with at least two display screens, and the at least two display screens include a main screen and a secondary screen, wherein when the main screen is in an unfolded state, the main screen and the secondary screen are arranged to face away from each other. Specifically, the main screen can be considered as the inner screen of the electronic device with an upper and lower folding screen, and the secondary screen can be considered as the outer screen of the electronic device with an upper and lower folding screen.
[0030] For example, Figure 1 The electronic device with a vertical folding screen shown is a vertical folding screen mobile phone as an example, and the vertical folding screen mobile phone includes a main screen 11 and a sub-screen 12, wherein when the main screen 11 is in an unfolded state, the main screen 11 and the sub-screen 12 are arranged to face away from each other. The main screen 11 is the inner screen of the vertical folding screen mobile phone, and the sub-screen 12 is the outer screen of the vertical folding screen mobile phone.
[0031] The component display method provided in the embodiment of the present application is described in detail below through specific embodiments and application scenarios in conjunction with the accompanying drawings.
[0032] The component display method in the embodiment of the present application can be applied to the scenario of using components added by the desktop.
[0033] With the rapid development of science and technology, electronic devices have become an indispensable part of people's daily lives. As the electronic device application market continues to grow, the number of applications and desktop content installed by users is increasing, which directly leads to the desktop display space of electronic devices becoming more and more crowded.
[0034] As electronic devices with upper and lower foldable screens develop towards smaller size, the screen space of electronic devices becomes more and more compact. The traditional tiled layout of components is difficult to adapt to the small screen environment after folding, resulting in incomplete display of various desktop components added by users on the desktop (for example: calendar components, weather components, payment components, clock components, etc.). Therefore, when the number of components added by users is large, users need to search for the required components across pages, so the operation steps for users to find components are cumbersome.
[0035] In the component display method and device provided in the embodiments of the present application, a first component is displayed at a first position on the first screen, the first component is a component in a first component set, the first component set includes at least two components, and at least two components are in a stacked display state at the first position; a first input to the first component is received; in response to the first input, a second component is displayed at the first position, the second component is a component in the first component set other than the first component. In this solution, by stacking and displaying at least two components in one position, the user can view different components at one display position on the first screen, which makes it convenient for the user to quickly find the component the user needs without searching for the required component across pages. In this way, the efficiency of the user finding components is improved.
[0036] The execution subject of the component display method provided in the embodiment of the present application may be a component display device, which may be an electronic device, or a functional module or entity in an electronic device. The technical solution provided in the embodiment of the present application is described below using an electronic device as an example.
[0037] The present application embodiment provides a component display method. Figure 2 A flowchart of a component display method provided by an embodiment of the present application is shown, and the method can be applied to an electronic device with an upper and lower folding screen, and the electronic device includes a first screen. Figure 2 As shown, the component display method provided in the embodiment of the present application may include the following steps 201 to 203.
[0038] Step 201: The electronic device displays a first component at a first position on a first screen.
[0039] In an embodiment of the present application, the above-mentioned first component is a component in a first component set, the first component set includes at least two components, and the at least two components are in a stacked display state at the first position.
[0040] It can be understood that the electronic device can stack and display the first component set on the desktop and display it to the user as the first component.
[0041] In some embodiments of the present application, the first screen may be a secondary screen of the electronic device.
[0042] In some embodiments of the present application, the electronic device may display the first component at the first position of the desktop displayed on the first screen.
[0043] In some embodiments of the present application, the first position may be any position on the desktop of the electronic device, which is not limited in the embodiments of the present application.
[0044] In some embodiments of the present application, at least two components in the above-mentioned first component set satisfy any of the following conditions: the component types are the same, the last usage time of the component is within a preset time period, the usage frequency of the component is greater than or equal to a first threshold, and the priorities of the applications corresponding to the components are the same.
[0045] In some embodiments of the present application, the at least two components mentioned above may be components in the electronic device, or components added by the user on the desktop.
[0046] Exemplarily, the components in the electronic device include components added by the user on the desktop.
[0047] In some embodiments of the present application, the above-mentioned stacked display state can be understood as: each component in the first component set is displayed in a mutually overlapping manner, the user can see the topmost uncovered components in the first component set, and the user can view the covered components in the lower layers through input.
[0048] For example, Figure 3 As shown, component 01 (i.e., the first component mentioned above) is displayed on the desktop of the first screen 12 of the electronic device with foldable screens, wherein component 01 is a component in the first component set, and the first component set includes: component 01, component 02, and component 03, component 02 is stacked on component 03, and component 01 is stacked on component 02. It should be noted that in the actual page, component 02 and component 03 are not displayed, and the user can only view the top component 01 in the first component set. When the user wants to view other stacked components, it is necessary to input component 01 to trigger the electronic device to display other stacked components.
[0049] In some embodiments of the present application, the component size of each component in the at least two components mentioned above may be the same or different.
[0050] Exemplarily, the electronic device may stack at least two components of the same size together. For example, the electronic device may stack three components of a size of "2×2" together.
[0051] Exemplarily, the electronic device may stack at least two components of different sizes together. For example, the electronic device may stack two components of size "2×2" and one component of size "2×4" together, wherein the two components of size "2×2" are at the same level.
[0052] Step 202: The electronic device receives a first input to a first component.
[0053] In some embodiments of the present application, the first input is used to view other components in the first component set.
[0054] In some embodiments of the present application, the first input includes but is not limited to: a touch input of the first component by a user through a touch device such as a finger or a stylus, or a voice command input by the user, or a specific gesture input by the user, or a click input, or other feasible input. The specific input can be determined according to actual use requirements, and the embodiments of the present application do not limit this.
[0055] In some embodiments of the present application, the above-mentioned specific gesture can be any one of a single-click gesture, a sliding gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double-press gesture, and a double-click gesture.
[0056] In some embodiments of the present application, the click input may be a single click input, a double click input, or any number of click inputs, and may also be a long press input or a short press input.
[0057] Step 203: The electronic device displays a second component at a first position in response to the first input.
[0058] In an embodiment of the present application, the second component is a component in the first component set other than the first component.
[0059] It can be understood that the electronic device can switch the display of the component at the first position according to the user's first input, so that the user can view different components at one display position.
[0060] In some embodiments of the present application, the second component is a component adjacent to the first component among at least two stacked components.
[0061] For example, as shown in FIG4(A), component A (i.e., the first component mentioned above), component B and component C are displayed on the desktop of the first screen 12 of an electronic device with foldable screens. When the user wants to view other components stacked below component A, the user can slide component A upward, i.e., the first input mentioned above, and then, as shown in FIG4(B), the electronic device displays component A and component D (i.e., the second component mentioned above) stacked below component A at the display position of component A. Then, the user can continue to slide component A upward, as shown in FIG4(C), so that the electronic device displays component D at the display position of component A.
[0062] In some embodiments of the present application, the second component may be one or more components. For example, when the first component is a component of size "2×4", the second component may be two components of size "2×2".
[0063] For example, in conjunction with FIG4(A), Figure 5As shown, when the size of component A is "2×4", after the user slides component A upward, the electronic device can display components E and F with a size of "2×2" on the display position of component A, that is, the second component mentioned above.
[0064] In the component display method provided in the embodiment of the present application, by stacking and displaying at least two components in one position, the user can view different components in one display position on the first screen, which facilitates the user to quickly find the component required by the user without searching for the required component across pages. In this way, the efficiency of the user's search for components is improved.
[0065] In some embodiments of the present application, the electronic device includes M components, where M is a positive integer; Figure 2 ,like Figure 6 As shown, before the above step 201, the component display method provided in the embodiment of the present application also includes the following steps 301 and 302.
[0066] Step 301: The electronic device obtains the most recent usage time of each of the M components.
[0067] In some embodiments of the present application, the M components may be components in the electronic device, or components added by the user on the desktop, which is not limited in the embodiments of the present application.
[0068] In some embodiments of the present application, the last usage time of the above-mentioned component can be any one of the following: the time when the component was last stopped being used, and the time when the component was last started being used.
[0069] Step 302: The electronic device combines at least two components among the M components to obtain a first component set.
[0070] In an embodiment of the present application, the most recent usage time of at least two components in the above-mentioned first component set is within a preset time period.
[0071] In some embodiments of the present application, the electronic device may determine the preset time period based on the current time and the preset duration.
[0072] Exemplarily, the electronic device may use the current time as the end time of the preset time period, and use the time of a preset duration before the current time as the start time of the preset time period.
[0073] For example, when the current time is 8:00 on September 6 and the preset duration is 24 hours, the electronic device may determine the preset time period as "8:00 on September 5-8:00 on September 6".
[0074] In some embodiments of the present application, after obtaining the last usage time of M components, the electronic device can determine whether the last usage time of the M components is within a preset time period. When the last usage time of at least two components is within the preset time period, the electronic device can combine the at least two components to obtain a first component set.
[0075] For example: when the above-mentioned preset time period is "September 5th 8:00-September 6th 8:00", M components include component A-component D, component A was last used at "September 5th 10:00", component B was last used at "September 4th 12:00", component C was last used at "September 1st 10:00", and component D was last used at "September 6th 7:00", the electronic device can determine that the last used time of component A and component D is within the preset time period. In this way, the electronic device can combine component A and component D to obtain a first component set.
[0076] In this way, since the electronic device can group the components most recently used by the user into a component set and stack them together, it is convenient for the user to find the components most recently used, thereby improving the efficiency of the user in finding components.
[0077] In some embodiments of the present application, the first component set may include N components, where N is an integer greater than 1.
[0078] In some embodiments of the present application, when the number of components whose most recent usage time is within a preset time period among M components exceeds N, the electronic device may combine the components whose most recent usage time is within the preset time period and the N components whose most recent usage time is closest to the current time to obtain the above-mentioned first component set.
[0079] In some embodiments of the present application, the value of N may be preset by the electronic device or customized by the user, which is not limited in the embodiments of the present application.
[0080] In some embodiments of the present application, the number of components included in the first component set may also be unlimited, which is not limited in the embodiments of the present application.
[0081] In some embodiments of the present application, after obtaining the above-mentioned first component set, the electronic device can update the components in the first component set in real time based on the latest most recent usage time of the M components.
[0082] Exemplarily, when the most recent usage time of a component added to the first component set is no longer within a preset time period, the electronic device may remove the component from the first component set.
[0083] Exemplarily, when the last usage time of a component that is not added to the first component set is within a preset time period, the electronic device may add the component to the first component set.
[0084] In this way, it can be ensured that the first component set always contains the components that the user has used recently, which makes it convenient for the user to search for the components that the user has used recently, thereby improving the efficiency of the user's search for components.
[0085] In some embodiments of the present application, the electronic device includes M components, where M is a positive integer; Figure 2 ,like Figure 7 As shown, before the above step 201, the component display method provided in the embodiment of the present application also includes the following steps 401 and 402.
[0086] Step 401: The electronic device obtains component-related information of each component among M components.
[0087] In some embodiments of the present application, the above-mentioned component-related information may include at least one of the following: frequency of use of the component, type of component, and priority of the application corresponding to the component.
[0088] In some embodiments of the present application, the above component type may be any of the following: stock component, document component, travel component, audio component, sports component, weather component, clock component, etc. The present application embodiment does not limit this.
[0089] Step 402: The electronic device divides M components based on component-related information of each component to obtain a first component set.
[0090] In an embodiment of the present application, component-related information of at least two components in the above-mentioned first component set matches.
[0091] It is understandable that the electronic device can stack components of the same component type together, or stack commonly used components together, or stack components corresponding to applications with high priority together.
[0092] In some embodiments of the present application, when the above-mentioned component-related information is the usage frequency of the component, matching of component-related information of at least two components can be understood as: the component usage frequencies of at least two components are both greater than or equal to the first threshold.
[0093] In some embodiments of the present application, when the above-mentioned component-related information is a component type, matching of component-related information of at least two components can be understood as: the component types of at least two components are the same.
[0094] In some embodiments of the present application, when the above-mentioned component-related information is the priority of the application corresponding to the component, the matching of the component-related information of at least two components can be understood as: the priority of the applications corresponding to the at least two components are the same.
[0095] In some embodiments of the present application, at least two components included in the above-mentioned first component set can be any of the following: components whose usage frequency is greater than or equal to the first threshold, components of the same component type, and components whose corresponding applications have the same priority.
[0096] In some embodiments of the present application, after obtaining the usage frequencies of M components, the electronic device may combine components whose usage frequencies among the M components are greater than or equal to a first threshold to obtain a component set.
[0097] In some embodiments of the present application, after obtaining the component types of M components, the electronic device can combine the components with the same component type among the M components to obtain a component set.
[0098] In some embodiments of the present application, after obtaining the priorities of applications corresponding to the M components, the electronic device may combine components with the same priority of applications corresponding to the components among the M components to obtain a component set.
[0099] In some embodiments of the present application, any of the above M components may exist in one or more component sets, which is not limited in the embodiments of the present application.
[0100] It can be understood that component collections can contain the same components.
[0101] For example: when component E among M components is a travel-type component and the usage frequency of component E is greater than a first threshold, component E can be in component set 1 and component set 2 at the same time, and the components included in component set 1 are all travel-type components, and the usage frequencies of the components included in component set 2 are all greater than the first threshold.
[0102] In this way, since the electronic device can classify commonly used components into a component set, classify components of the same component type into a component set, and classify components corresponding to applications of the same priority into a component set, users can quickly find the required components.
[0103] In some embodiments of the present application, after the above step 201, the component display method provided by the embodiment of the present application further includes the following steps 501 and 502.
[0104] Step 501: An electronic device obtains first information.
[0105] In an embodiment of the present application, the first information includes at least one of the following: current time information, location information of the electronic device, and environment information of the electronic device.
[0106] In some embodiments of the present application, the electronic device may determine the current location of the electronic device through a positioning function, thereby obtaining the above-mentioned location information.
[0107] In some embodiments of the present application, the environmental information of the electronic device may include at least one of the following: weather information of the environment in which the electronic device is located, temperature information of the environment in which the electronic device is located, and sound information of the environment in which the electronic device is located. The embodiments of the present application are not limited to this.
[0108] In some embodiments of the present application, the sound information of the environment in which the electronic device is located may include at least one of the following: the timbre of the sound contained in the environment in which the electronic device is located, and the volume of the sound contained in the environment in which the electronic device is located.
[0109] In some embodiments of the present application, the electronic device can detect environmental information of the current environment in real time; or, the electronic device can obtain environmental information of the current environment from a specific application (for example, a weather application) in the electronic device.
[0110] Step 502: The electronic device displays a third component at a first position based on the first information.
[0111] In an embodiment of the present application, the third component is a component in the first component set other than the first component.
[0112] It can be understood that after displaying the first component, the electronic device can display the third component on top based on the first information obtained in real time to recommend the third component to the user.
[0113] In some embodiments of the present application, the third component is a component that matches the first information.
[0114] For example, when the electronic device determines that it is currently in an airport based on location information, the electronic device may display the “airplane travel component” in the first component set, that is, the third component mentioned above.
[0115] For example, when the electronic device determines that it is morning according to the current time information, the electronic device can display the "weather component" in the first component set, that is, the third component mentioned above.
[0116] For example, when the electronic device determines that it is in a quiet environment based on environmental information, the electronic device may display the “audio component” in the first component set, that is, the third component mentioned above.
[0117] In this way, since the electronic device can adjust the top displayed component in real time based on the acquired first information, it can help the user quickly locate the required component, thereby improving the efficiency of finding the required component.
[0118] In some embodiments of the present application, Figure 2 ,like Figure 8 As shown, after the above step 203, the component display method provided in the embodiment of the present application further includes the following steps 601 and 602.
[0119] Step 601: The electronic device receives a second input to a second component.
[0120] In some embodiments of the present application, the second input is used to edit the component.
[0121] In some embodiments of the present application, the second input includes but is not limited to: a touch input of the second component by a user through a touch device such as a finger or a stylus, or a voice command input by the user, or a specific gesture input by the user, or a click input, or other feasible input. The specific input can be determined according to actual use requirements, and the embodiments of the present application do not limit this.
[0122] Step 602: In response to the second input, the electronic device removes the second component from the first component set, or adjusts the stacking display order of the second component in the first component set.
[0123] In some embodiments of the present application, the above-mentioned adjustment of the stacking display order of the second component in the first component set can be any one of the following: displaying the second component on the top, adjusting the stacking display order of the second component in the first component set to be before the first component, and adjusting the stacking display order of the second component in the first component set to be after the fourth component.
[0124] In some embodiments of the present application, the fourth component is a component arranged after the second component in the first component set.
[0125] For example: the electronic device can receive a left swipe input from the user on the second component and remove the second component from the first component set.
[0126] For example: the electronic device can receive a right swipe input from the user on the second component and display the second component on the top.
[0127] In this way, since the user can freely adjust the stacking layout of the first component set according to usage habits and preferences, the flexibility of the display component of the electronic device is improved.
[0128] In some embodiments of the present application, the electronic device may also receive user input on the second component and display the first component or the fourth component.
[0129] For example: the electronic device can receive a user's upward sliding input on the second component and display the fourth component.
[0130] For example, the electronic device may receive a user's sliding down input on the second component and display the first component.
[0131] It can be understood that the electronic device can perform different operations according to different inputs of the user to the second component.
[0132] In some embodiments of the present application, when the electronic device receives different inputs from the user to the second component, it can play different prompt sounds to enhance the user's perceived experience.
[0133] In some embodiments of the present application, the prompt sound may be any one of the following: a clock click, a gear rotation sound, or silence, etc. The embodiments of the present application do not limit this.
[0134] In some embodiments of the present application, the electronic device can receive user input and adjust the volume and sound effect type of the above-mentioned prompt sound when receiving different inputs to the component.
[0135] In some embodiments of the present application, when the electronic device receives different inputs from the user to the second component, it can vibrate in different modes to enhance the user's perception experience.
[0136] In some embodiments of the present application, the electronic device can receive user input and adjust the vibration frequency, vibration intensity and vibration duration when receiving different inputs to the component.
[0137] In some embodiments of the present application, the electronic device can vibrate via a vibration motor.
[0138] For example, Fig. 9 As shown, the electronic device displays a setting page 21, and the user can check the box on this page to set that when viewing a component, the prompt sound played by the electronic device is silent, and the vibration mode is mode A; when removing a component, the prompt sound played by the electronic device is a gear sound, and the vibration mode is mode B; when pinning a component, the prompt sound played by the electronic device is a war drum sound, and the vibration mode is mode C.
[0139] In some embodiments of the present application, the electronic device can receive user input on a fifth component on the desktop and add the fifth component to the first component set. The fifth component is any component among the M components except the at least two components mentioned above.
[0140] In some embodiments of the present application, the electronic device may receive user input on the sixth component and the seventh component on the desktop, and combine the sixth component and the seventh component to obtain a second component set.
[0141] In some instances, the electronic device may receive input from a user to move the sixth component to the seventh component, and combine the sixth component and the seventh component to obtain a second component set.
[0142] Exemplarily, the electronic device may display the second component set at a second position or a third position, the second position being an initial display position of the sixth component, and the third position being an initial display position of the seventh component.
[0143] In some embodiments of the present application, the electronic device may receive a third input from a user on the first component and display at least two components in the first component set.
[0144] In some examples, when the electronic device receives the third input from the user to the first component, it can display the at least two components mentioned above in a display area near the first component.
[0145] Exemplarily, the electronic device may display a floating window in a display area near the first component, where the floating window includes the at least two components mentioned above.
[0146] In some instances, when the electronic device receives the third input from the user to the first component, it can display a first page corresponding to the first component set, where the first page includes the at least two components mentioned above.
[0147] In some embodiments of the present application, the electronic device may cancel the display of the at least two components when the user stops the third input to the first component.
[0148] In this way, by inputting the first component, the user can preview all components included in the first component set, thereby saving the time of the electronic device in searching for the required components.
[0149] In some embodiments of the present application, after the electronic device receives the user's third input to the first component and displays at least two components in the first component set, the electronic device can receive the user's input to any one of the at least two components and perform an operation corresponding to the any one component.
[0150] In the embodiment of the present application, the design of stacking components can not only effectively utilize vertical space and reduce the number of horizontal sliding times, but also help users quickly locate the required components by intelligently dividing components and dynamically displaying components on top. In addition, the stacking interaction also incorporates personalized customization elements, allowing users to freely adjust the stacking layout according to usage habits and preferences, thereby improving operational convenience and desktop aesthetics.
[0151] The component display method of the embodiment of the present application is not only applicable to electronic devices with upper and lower foldable screens, but also to electronic devices with small screens, such as watches.
[0152] It should be noted that the above-mentioned method embodiments, or various possible implementation methods in each method embodiment, can be executed separately, or, under the premise that there is no contradiction, can also be executed in combination with each other. The specific implementation can be determined according to actual usage requirements, and the embodiments of the present application do not limit this.
[0153] It should be noted that the component display method provided in the embodiment of the present application can be executed by a component display device. In the embodiment of the present application, the component display device executing the component display method is taken as an example to illustrate the component display device provided in the embodiment of the present application.
[0154] Fig.10 A possible structural diagram of a component display device involved in an embodiment of the present application is shown. Fig.10 As shown, the component display device 70 may include: a display module 71 and a receiving module 71 .
[0155] The display module 71 is used to display a first component at a first position on the first screen, where the first component is a component in a first component set, where the first component set includes at least two components, and the at least two components are in a stacked display state at the first position;
[0156] A receiving module 72, configured to receive a first input of a first component displayed by the display module;
[0157] The display module is further used to display a second component at a first position in response to a first input received by the receiving module, where the second component is a component in the first component set except the first component.
[0158] The embodiment of the present application provides a component display device, which can enable a user to view different components at a display position on the first screen by stacking at least two components in one position, so that the user can quickly find the component required by the user without searching for the required component across pages. In this way, the efficiency of the user's search for components is improved.
[0159] In a possible implementation, the electronic device includes M components, where M is a positive integer; the component display device 70 provided in the embodiment of the present application further includes: an acquisition module and a processing module. The acquisition module is used to acquire the most recent use time of each component in the M components before the display module 71 displays the first component at the first position of the first screen. The processing module is used to combine at least two components in the M components to obtain a first component set; wherein the most recent use time of at least two components in the first component set is within a preset time period.
[0160] In a possible implementation, the electronic device includes M components, where M is a positive integer; the component display device 70 provided in the embodiment of the present application further includes: an acquisition module and a processing module. The acquisition module is used to acquire component-related information of each of the M components before the display module 71 displays the first component at the first position of the first screen. The processing module is used to divide the M components based on the component-related information of each component to obtain a first component set; wherein the component-related information of at least two components in the first component set matches.
[0161] In a possible implementation, the component display device 70 provided in the embodiment of the present application further includes: an acquisition module; the acquisition module is used to acquire first information after the display module 71 displays the first component at the first position of the first screen, and the first information includes at least one of the following: current time information, location information of the electronic device, and environment information where the electronic device is located. The display module 71 is also used to display a third component at the first position based on the first information acquired by the acquisition module, and the third component is a component in the first component set other than the first component.
[0162] In a possible implementation, the component display device 70 provided in the embodiment of the present application further includes: a processing module. A receiving module 72 is further configured to receive a second input to the second component after the display module 71 displays the second component at the first position in response to the first input. The processing module is configured to remove the second component from the first component set, or adjust the stacking display order of the second component in the first component set in response to the second input received by the receiving module 72.
[0163] The component display device in the embodiment of the present application can be an electronic device, or a component in an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or it can be other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (Augmented Reality, AR) / virtual reality (Virtual Reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (Ultra-Mobile Personal Computer, UMPC), a netbook or a personal digital assistant (Personal Digital Assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (Personal Computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0164] The component display device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0165] The component display device provided in the embodiment of the present application can implement each process implemented in the above method embodiment, and will not be described again here to avoid repetition.
[0166] Alternatively, if Fig.11 As shown, an embodiment of the present application also provides an electronic device 900, including a processor 901 and a memory 902, wherein the memory 902 stores programs or instructions that can be executed on the processor 901, and when the program or instructions are executed by the processor 901, the various steps of the above-mentioned method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not described here.
[0167] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0168] Fig.12 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0169] The electronic device 100 includes but is not limited to components such as a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
[0170] Those skilled in the art will appreciate that the electronic device 100 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.12 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0171] The display unit 106 is used to display a first component at a first position on the first screen, where the first component is a component in a first component set, where the first component set includes at least two components, and at least two components are in a stacked display state at the first position.
[0172] The user input unit 107 is used to receive a first input to a first component displayed by the display module.
[0173] The display unit 106 is further configured to display a second component at a first position in response to a first input received by the user input unit 107 , where the second component is a component in the first component set other than the first component.
[0174] The embodiment of the present application provides an electronic device, which can enable a user to view different components at a display position on the first screen by stacking at least two components in one position, so that the user can quickly find the component required by the user without having to search for the required component across pages. In this way, the efficiency of the user's search for components is improved.
[0175] In some embodiments of the present application, the electronic device includes M components, where M is a positive integer; the processor 110 is used to obtain the most recent usage time of each of the M components before the display unit 106 displays the first component at the first position of the first screen; and combine at least two of the M components to obtain a first component set; wherein the most recent usage time of at least two components in the first component set is within a preset time period.
[0176] In some embodiments of the present application, the electronic device includes M components, where M is a positive integer; the processor 110 is further configured to obtain component-related information of each component in the M components before the display unit 106 displays the first component at the first position of the first screen. The M components are divided based on the component-related information of each component to obtain a first component set; wherein the component-related information of at least two components in the first component set matches.
[0177] In some embodiments of the present application, the processor 110 is further used to obtain first information after the display unit 106 displays the first component at the first position of the first screen, and the first information includes at least one of the following: current time information, location information of the electronic device, and environmental information of the electronic device.
[0178] The display unit 106 is further configured to display a third component at the first position based on the first information acquired by the processor 110 , where the third component is a component in the first component set other than the first component.
[0179] In some embodiments of the present application, the user input unit 107 is further configured to receive a second input to the second component after the display unit 106 displays the second component at the first position in response to the first input.
[0180] The processor 110 is configured to remove the second component from the first component set, or adjust the stacking display order of the second component in the first component set in response to the second input received by the user input unit 107 .
[0181] The electronic device provided in the embodiment of the present application can implement each process implemented in the above method embodiment and can achieve the same technical effect. To avoid repetition, it will not be described here.
[0182] The beneficial effects of various implementations in this embodiment can be specifically referred to the beneficial effects of the corresponding implementations in the above method embodiment. To avoid repetition, they will not be described again here.
[0183] It should be understood that in the embodiment of the present application, the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 107 includes a touch panel 1071 and at least one of other input devices 1072. The touch panel 1071 is also called a touch screen. The touch panel 1071 may include two parts: a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0184] The memory 109 can be used to store software programs and various data. The memory 109 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 109 may include a volatile memory or a non-volatile memory, or the memory 109 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 109 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0185] The processor 110 may include one or more processing units; optionally, the processor 110 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 110.
[0186] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0187] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
[0188] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0189] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0190] An embodiment of the present application provides a computer program / program product, which is stored in a storage medium. The program / program product is executed by at least one processor to implement the various processes of the above-mentioned method embodiment and can achieve the same technical effect. To avoid repetition, it will not be described here.
[0191] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0192] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0193] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A component display method, characterized in that: Applicable to an electronic device with a foldable screen, the electronic device includes a first screen, and the method includes: Displaying a first component at a first position of the first screen, the first component being one of a first component set, the first component set including at least two components, the at least two components being in a stacked display state at the first position; receiving a first input to the first component; In response to the first input, a second component is displayed at the first position, the second component being a component in the first component set other than the first component.
2. The method according to claim 1, characterized in that The electronic device includes M components, where M is a positive integer; Before displaying the first component at the first position of the first screen, the method further includes: Obtain the most recent usage time of each of the M components; Combining the at least two components among the M components to obtain the first component set; The most recent usage time of the at least two components in the first component set is within a preset time period.
3. The method according to claim 1, characterized in that The electronic device includes M components, where M is a positive integer; Before displaying the first component at the first position of the first screen, the method further includes: Obtain component-related information of each component in the M components; Divide the M components based on component-related information of each component to obtain the first component set; The component-related information of the at least two components in the first component set matches.
4. The method according to claim 1, characterized in that: After displaying the first component at the first position of the first screen, the method further includes: Acquire first information, where the first information includes at least one of the following: current time information, location information of the electronic device, and environment information where the electronic device is located; Based on the first information, a third component is displayed at the first position, and the third component is a component in the first component set except the first component.
5. The method according to any one of claims 1 to 3, characterized in that After displaying the second component at the first position in response to the first input, the method further includes: receiving a second input to the second component; In response to the second input, the second component is removed from the first component set, or the stacking display order of the second component in the first component set is adjusted.
6. A component display device, characterized in that: Applicable to an electronic device with a foldable screen, the electronic device includes a first screen, and the device includes: a display module and a receiving module; The display module is used to display a first component at a first position of the first screen, where the first component is a component in a first component set, where the first component set includes at least two components, and the at least two components are in a stacked display state at the first position; The receiving module is used to receive a first input of the first component displayed by the display module; The display module is further configured to display a second component at the first position in response to the first input received by the receiving module, where the second component is a component in the first component set other than the first component.
7. The device according to claim 6, characterized in that The electronic device includes M components, where M is a positive integer; the device also includes: an acquisition module and a processing module; The acquisition module is used to acquire the most recent usage time of each component in the M components before the display module displays the first component at the first position of the first screen; The processing module is used to combine the at least two components of the M components to obtain the first component set; The most recent usage time of the at least two components in the first component set is within a preset time period.
8. The device according to claim 6, characterized in that The electronic device includes M components, where M is a positive integer; the device also includes: an acquisition module and a processing module; The acquisition module is used to acquire component-related information of each of the M components before the display module displays the first component at the first position of the first screen; The processing module is used to divide the M components based on component related information of each component to obtain the first component set; The component-related information of the at least two components in the first component set matches.
9. The device according to claim 6, characterized in that The device further includes: an acquisition module; the acquisition module is used to acquire first information after the display module displays the first component at the first position of the first screen, the first information including at least one of the following: current time information, location information of the electronic device, and environment information of the electronic device; The display module is further used to display a third component at the first position based on the first information acquired by the acquisition module, where the third component is a component in the first component set other than the first component.
10. The device according to any one of claims 6 to 8, characterized in that The device further comprises: a processing module; The receiving module is further configured to receive a second input to the second component after the display module displays the second component at the first position in response to the first input; The processing module is used to remove the second component from the first component set, or adjust the stacking display order of the second component in the first component set in response to the second input received by the receiving module.