Display processing method and electronic equipment
By adjusting interface interaction elements to match the target form of electronic devices, the problem of information display in the prior art does not match the device form, and a better user operation experience is achieved.
Patent Information
- Application Number
- CN202510111946.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-23
- Publication Date
- 2025-04-25
AI Technical Summary
The prior art is difficult to effectively adjust the display information according to the shape of the electronic device, resulting in the information display not matching the shape of the device and affecting the user's operating experience.
A display processing method is provided, by obtaining the target form of the electronic device, adjusting the interface interaction elements to match the target form, and displaying these elements in the corresponding target display area.
It realizes dynamic adjustment of interface interaction elements according to the form of electronic devices, improves the matching of information display and the convenience of user operations, thereby improving the user experience.
Smart Images

Figure CN119883083A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and more specifically to a display processing method and an electronic device. Background Art
[0002] With the development of electronic devices, electronic devices have different device forms. How to effectively display information and ensure that the displayed information can be effectively executed has become a major problem. Summary of the invention
[0003] In view of this, this application provides the following technical solutions:
[0004] A display processing method, comprising:
[0005] Acquire a target form of the electronic device;
[0006] When the electronic device is in the first state, adjusting the interface interaction elements based on the target display strategy;
[0007] Displaying the interface interaction element in a target display area corresponding to the target form;
[0008] In which, the electronic device has a second form, the electronic device has a first display area in the first form, and has a second display area in the second form, the first display area is smaller than the second display area, and the number of interface interaction elements of the electronic device in the first form is less than the number of interface interaction elements in the second form.
[0009] Optionally, when the electronic device is in the first state, adjusting the interface interaction element based on the target display strategy includes:
[0010] Acquire a first element set of interface interaction elements executable by the electronic device in a first form, wherein the first element set includes at least one interface interaction element;
[0011] The step of displaying the interface element in a target display area corresponding to the target form includes:
[0012] Based on the first element set, at least some of the interface interaction elements in the first element set are displayed in a first display area corresponding to the first form.
[0013] Optionally, the acquiring a first element set of interface interaction elements executable by the electronic device in the first form includes:
[0014] Acquiring a status characteristic of the electronic device;
[0015] Determining the first element set based on the state characteristics of the electronic device;
[0016] The state characteristics include usage environment characteristics of the electronic device and / or application execution characteristics of the electronic device.
[0017] Optionally, displaying at least some of the interface interaction elements in the first element set in a first display area corresponding to the first form based on the first element set includes:
[0018] Based on the first operation signal, determining a second element set;
[0019] Based on the second element set, displaying at least part of the interface interaction elements in the second element set in the first display area corresponding to the first form;
[0020] The first operation signal is characterized as a signal for adjusting an interface interaction element.
[0021] Optionally, determining the second element set based on the first operation signal includes:
[0022] Updating the functions corresponding to the interface interaction elements in the first element set to obtain a second element set, wherein the second element set and the first element set contain at least one interface interaction element with a different function; and / or,
[0023] The display positions of the interface interaction elements in the first element set in the first display area are updated to obtain a second element set.
[0024] Optionally, updating the display positions of the interface interaction elements in the first element set in the first display area includes:
[0025] Determining arrangement characteristics of the interface interaction elements in the first element set;
[0026] Determining a target layout of the first element set according to the arrangement characteristics of the interface interaction elements;
[0027] According to the target layout, updating the display positions of the interface interaction elements in the first element set in the first display area;
[0028] The arrangement feature includes at least one of the following: a functional priority of an interface interaction element, a usage frequency of an interface interaction element, and a functional association between an interface interaction element and the first form of the electronic device.
[0029] Optionally, the determining the second element set based on the first operation signal further includes:
[0030] Adjusting the interface interaction elements displayed in the first display area to an editable state;
[0031] Based on the second operation signal, the number and / or display positions of the interface interaction elements displayed in the first display area are adjusted to obtain a second element set;
[0032] The second operation signal is different from the first operation signal.
[0033] Optionally, displaying at least some of the interface interaction elements in the first element set in a first display area corresponding to the first form based on the first element set includes:
[0034] Obtaining the element type of the interface interaction element displayed in the first display area;
[0035] Based on the element type, determining a hierarchical menu;
[0036] Displaying at least part of the interface interaction elements in the first element set in a hierarchical menu in a first display area corresponding to the first form;
[0037] Among them, the types of interface interaction elements in the element area corresponding to each level in the hierarchical menu match.
[0038] An electronic device, comprising:
[0039] A memory, used to store applications and data generated by the operation of the applications;
[0040] A processor, configured to execute the application program to implement:
[0041] Acquire a target form of the electronic device;
[0042] When the electronic device is in the first state, adjusting the interface interaction elements based on the target display strategy;
[0043] Displaying the interface interaction element in a target display area corresponding to the target form;
[0044] In which, the electronic device has a second form, the electronic device has a first display area in the first form, and has a second display area in the second form, the first display area is smaller than the second display area, and the number of interface interaction elements of the electronic device in the first form is less than the number of interface interaction elements in the second form.
[0045] Optionally, the electronic device further includes a first body and a second body, and the relative movement of the first body and the second body can change the form of the electronic device; the relative positions of the first body and the second body in the first form and the second form are different; the electronic device has a first display area in the first form and a second display area in the second form, and the first display area is smaller than the second display area. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are merely embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0047] Figure 1 A flowchart of a display processing method provided in an embodiment of the present application;
[0048] Figure 2 A schematic diagram of a first form and a second form of an electronic device provided in an embodiment of the present application;
[0049] Figure 3 A schematic diagram of displaying an interface interaction element provided in an embodiment of the present application;
[0050] Figure 4 A schematic diagram of a flow chart of a method for displaying interface interaction elements in a first element set provided in an embodiment of the present application;
[0051] Figure 5 A display schematic diagram for adjusting the editable state of an interface interactive element provided in an embodiment of the present application;
[0052] Figure 6 A schematic diagram of interactive elements of a hierarchical menu display interface provided in an embodiment of the present application;
[0053] Figure 7 A schematic diagram of the structure of a display processing device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0054] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0055] The terms "first" and "second" in this application are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may include steps or units that are not listed.
[0056] The embodiment of the present application provides a display processing method, which is applied to an electronic device, and the electronic device can have different device forms, such as an electronic device with a foldable screen, and different device forms of the electronic device are realized by the foldable screen, wherein the foldable screen refers to a touch screen that can be folded, which may specifically include the case where the touch screen itself can be bent, and also include the case where the touch screen itself cannot be bent but the connection between multiple screens can be bent, and may also include other ways to achieve screen folding. Correspondingly, in the embodiment of the present application, the electronic device may include a mobile phone, tablet computer, laptop computer, portable computer, wearable device or virtual reality device with a foldable screen, etc., and the embodiment of the present application does not limit this. Based on the display processing method in the embodiment of the present application, the corresponding display information can be made to better match the current form of the electronic device, and the convenience of operating the interface interaction elements in the display information is improved, thereby improving the user experience effect.
[0057] See also Figure 1 , is a flow chart of a display processing method provided in an embodiment of the present application, the method may include the following steps:
[0058] S101, obtaining a target form of an electronic device.
[0059] S102: When the electronic device is in the first state, adjust the interface interaction elements based on the target display strategy.
[0060] S103: Displaying the interface interaction element in a target display area corresponding to the target form.
[0061] In the embodiment of the present application, the electronic device is a foldable electronic device, and its foldable function enables the electronic device to have at least a first form and a second form. For example, the electronic device can achieve its corresponding folding function through a foldable display screen or a foldable connecting component connecting multiple display screens. The display area of the display screen corresponding to the electronic device in the first form is smaller than the display area of the display screen corresponding to the electronic device in the second form. For the convenience of description, the first form can be referred to as the folded form of the electronic device, and the second form can be referred to as the unfolded form of the electronic device. See Figure 2 , which shows a schematic diagram of a first form and a second form of an electronic device. Figure 2The display screen of the electronic device in the second state is larger than that in the first state, and the user can Figure 2 One or more folding lines in the screen shown fold the display screen. It should be noted that Figure 2 The folding lines involved are only for easy understanding. Correspondingly, the folding lines can also be folding belts, etc., which are not limited to this.
[0062] exist Figure 1 The target form of the electronic device is obtained in step S101 shown, which can be to obtain the target form of the electronic device in real time, or to obtain the target form of the electronic device according to the processing cycle of the display processing. Correspondingly, in order to save the occupation of processing resources and to efficiently respond to the current display requirements, the corresponding operation signal can be a trigger signal for triggering the execution of the display processing method, and the operation signal can be an operation signal for changing the form of the electronic device, such as a folding operation of switching the electronic device from an unfolded form (i.e., the second form) to a folded form (i.e., the first form). Correspondingly, the operation signal can also be an operation signal for triggering an interactive element of the display interface, such as an operation signal for lighting up the display screen, or an operation signal for triggering the display of a shortcut menu, etc. In order to make the display information more compatible with the current state of the electronic device, after obtaining the operation signal, the current target form of the electronic device will be obtained. Thereby, the subsequent display processing can determine the corresponding display information based on the current target form of the electronic device, so that the display information is more compatible with the current target form, which is convenient for the user to operate the display information.
[0063] In step S102, when the electronic device is in the first state, the interface interaction elements are adjusted based on the target display strategy. Figure 2For example, the display screen in the electronic device is a foldable electronic device. The first form is the folding form of the electronic device, and the display area of the corresponding display screen is smaller than the display area of the display screen in the second form (ie, the unfolded form), that is, the electronic device has a first display area in the first form and a second display area in the second form, and the first display area is smaller than the second display area. Correspondingly, affected by the folding state, the interactive functions that the electronic device can support in the first form and the second form may also be different. Therefore, in an embodiment of the present application, when the electronic device is in the first form, the interface interaction elements may be adjusted based on the target display strategy. The number of interface interaction elements of the electronic device in the first form is less than the number of interface interaction elements in the second form. Among them, the interface interaction element refers to a display element that can respond to user operations. For example, the interface interaction element may be an element of the type of button, slider, input box, menu, etc. The electronic device may receive the user's operation on the interface interaction element and then perform the corresponding interactive function. For example, the interface interaction element may be a click button. When the user clicks the button, the electronic device may start the function corresponding to the button.
[0064] In the embodiment of the present application, the target display strategy represents a display strategy that can match the current form of the electronic device, that is, the interface interaction elements displayed based on the target display strategy can match the current form of the electronic device. For example, the electronic device can have multiple interface interaction elements in the second form. The electronic device may not support certain interface interaction elements in the first form due to the limitations of the display area and function. Therefore, the interface interaction elements that are not supported or cannot be better presented in the first form can be not displayed in the display area corresponding to the first form based on the target display strategy, so that the user's operation effect can be improved. Specifically, it can be adjusted according to the target display strategy. The presentation mode of the interface interaction element is presented only in the first form, or the interface interaction elements that are not supported by the first form are presented in a hidden manner, so that the user can more conveniently obtain the corresponding interface interaction elements when operating, which improves the user's operation efficiency and experience effect. After adjusting the interface interaction element based on the target display strategy, the interface interaction element can be displayed in the target display area corresponding to the target form. If the target form of the electronic device is the first form, the interface interaction element corresponding to the first form can be determined based on the target display strategy, and then the interface interaction element is displayed in the first display area corresponding to the first form, so that the interface interaction element supported by the first form can be displayed only in the first display area. Correspondingly, when the electronic device switches from the first form to the second form, the interface interaction elements corresponding to the second form can be determined based on the target display strategy, and these interface interaction elements can be displayed in the second display area corresponding to the second form.
[0065] For example, the first form of the electronic device is a folded form, and the interface interaction elements are presented in a drop-down menu on the screen. When the user folds the electronic device from the expanded form to the folded form, the display processing method is triggered to execute, and the electronic device is currently in the folded form. Based on the target display strategy corresponding to the folded state, the interface interaction elements in the drop-down menu are adjusted to interface interaction elements that match the folded form, such as only presenting interface interaction elements supported by the folded form in the drop-down menu. This makes it easier for users to select the required interface interaction elements in the drop-down menu, avoiding unusable interface interaction elements from being presented in the drop-down menu, thereby improving the user experience.
[0066] The following describes the implementation of the display processing method in the embodiment of the present application in combination with specific application scenarios.
[0067] In one implementation of the embodiment of the present application, when the electronic device is in the first form, adjusting the interface interaction elements based on the target display strategy includes: obtaining a first element set of interface interaction elements executable by the electronic device in the first form; based on the first element set, displaying at least some of the interface interaction elements in the first element set in the target display area corresponding to the first form. Wherein, displaying the interface elements in the target display area corresponding to the target form includes: based on the first element set, displaying at least some of the interface interaction elements in the first element set in the first display area corresponding to the first form.
[0068] Among them, the first element set includes at least one interface interaction element. In this embodiment, the target display strategy represents a strategy for screening and displaying the interface interaction elements corresponding to the first form in the interface interaction elements. In this embodiment, it can be that all the interface interaction elements in the first element set are displayed in the first display area corresponding to the first form, or only part of the interface interaction elements in the first element set are displayed. Specifically, it can be displayed according to the area size or display requirements corresponding to the first display area corresponding to the first form and the preset display mode. For example, the first display area corresponding to the first form of the electronic device is the display area corresponding to the screen drop-down menu. The interface interaction element can be a shortcut function element in the drop-down menu, such as "WiFi", "Bluetooth", "Mobile Data" of the network function, and can also include volume control, brightness adjustment, power mode, projection mode, night mode, flashlight, etc. The first element set may include interface interaction elements that can be supported in the folded form, such as interface interaction elements including network functions, power mode, flashlight, etc. Specifically, the first element set can be displayed in full in the drop-down menu. If the display area corresponding to the drop-down menu is limited, part of the first element set can be displayed. Correspondingly, the remaining interface interaction elements can be presented in hidden mode. Figure 3As shown, some of the interface interaction elements in the first element set, such as element 1, element 2, element 3, element 4, and element 5, are displayed in the current first display area of the drop-down menu. When the user clicks the slide button under the drop-down menu or slides to the left in the current display area, the hidden elements 6, element 7, and element 8, etc. can be displayed in the current display area. In this way, the executable interface interaction elements corresponding to the current first form of the electronic device can be displayed in an easier interactive display mode, thereby improving the user experience.
[0069] In the process of determining the first element set of executable interface interaction elements corresponding to the first form, in addition to determining the interface interaction elements supported by the first form, it is also possible to further select interface interaction elements that meet the state characteristics of the current electronic device from the interface interaction elements executable in the first form as the first element set based on the state characteristics of the electronic device, so that the interface interaction elements that are not supported by the first form can be filtered out, and the selected first element set can also meet the actual application needs of the user. Specifically, in one embodiment, obtaining the first element set of executable interface interaction elements of the electronic device in the first form includes: obtaining the state characteristics of the electronic device; and determining the first element set based on the state characteristics of the electronic device.
[0070] Among them, the state characteristics of the electronic device include the use environment characteristics of the electronic device and / or the application execution characteristics of the electronic device. The use environment characteristics of the electronic device include the current environment characteristics of the electronic device, such as the brightness, temperature and network status of the environment where the electronic device is located. The application execution characteristics of the electronic device may include the application characteristics currently being executed by the electronic device, or the application frequently called by the electronic device in the first form, etc. For example, if it is detected that the current environment brightness of the electronic device is low, the interface interaction elements that can be applied to the environment brightness can be formed into a first element set, for example, the interaction element "flashlight" can be added to the first element set. For another example, if it is detected that the electronic device often displays the interface of the music player through the display screen in the first form (such as the folding form) or the application time of using the music player in the first form (such as the folding form) exceeds a certain threshold, the corresponding first element set may include interface interaction elements such as volume adjustment. In this way, the interface interaction elements supported by the first form can be displayed in the first display area corresponding to the first form, and these interface interaction elements can be made more in line with the current use environment and / or the application needs of the user, thereby improving the user experience effect.
[0071] In one implementation of the embodiment of the present application, a method for displaying the interface interaction elements in the first element set may also be provided. Figure 4 , the method may include the following steps:
[0072] S201, obtaining a target form of an electronic device.
[0073] S202: When the electronic device is in a first form, determine a first element set of interface interaction elements that can be executed by the electronic device in the first form.
[0074] The first display area corresponding to the current first form displays at least some of the interface interaction elements in the first element set.
[0075] S203: Determine a second element set based on the first operation signal.
[0076] S204. Based on the second element set, display at least part of the interface interaction elements in the second element set in the first display area corresponding to the first form.
[0077] In this embodiment, when an operation signal for changing the form of an electronic device is detected, such as an operation signal for folding the display screen of an electronic device, an element set corresponding to the interface interaction element of the current electronic device form will be determined. For example, if the current electronic device is in the first form, the interface interaction elements that can be executed by the electronic device in the first form are determined and used as the first element set. Then, the interface interaction elements in the first element set will be displayed in the first display area corresponding to the first form, such as the display area of the screen drop-down menu representing the target display area in the folded form of the electronic device. When the first element set is displayed in the display area of the drop-down menu, a first operation signal is received. The first operation signal represents a signal for adjusting the interface interaction element. For example, the first operation signal may be a signal that the user clicks the element editing shortcut button in the current first display area, that is, it represents that the user needs to adjust the currently displayed interface interaction element. Specifically, the first operation signal may be a signal representing the adjustment of the interface interaction element as a whole, or it may be a signal representing the adjustment of the interface interaction element selected by the user. After receiving the first operation signal, a second element set may be determined according to the operation intention represented by the first operation signal. Then, based on the second element set, at least part of the interface interaction elements in the second element set are displayed in the first display area. It should be noted that the interface interaction elements in the first element set and the second element set may be the same or different. Correspondingly, when the interface interaction elements in the first element set and the second element set are the same, the arrangement positions of their respective corresponding interface interaction elements may also be different. In this implementation, after determining the interface interaction elements supported by the first form of the electronic device, the interface interaction elements may be further adjusted based on the first operation signal according to the needs of the user, thereby achieving the purpose of editing and adjusting the interface interaction elements when the electronic device is in the first form (such as the folded form), meeting the actual needs of the user and improving the user experience.
[0078] After receiving the first operation signal, the function type of the interface interaction element may be adjusted, the current display quantity of the interface interaction element may be adjusted, or the arrangement position of the interaction interface element may be adjusted. In one embodiment, based on the first operation signal, a second element set is obtained, including:
[0079] Update the functions corresponding to the interface interaction elements in the first element set to obtain a second element set; wherein, there is at least one interface interaction element with different functions in the second element set and the first element set; and / or, update the display positions of the interface interaction elements in the first element set in the first display area to obtain the second element set.
[0080] In this embodiment, the functions corresponding to the interface interaction elements in the first element set can be updated according to the first operation signal, such as adding new interface interaction elements on the basis of the interface interaction elements included in the first element set, or deleting a certain interface interaction element in the first element set, or replacing a certain interface interaction element in the first element set with a new interface interaction element, so that the interface interaction elements have different functions, or performing the above two operations or three operations at the same time, so as to obtain the second element set. In the update process, it can be that only the interface interaction elements are added, deleted, and modified without changing the positions of each interface interaction element, or corresponding adjustments can be made according to the addition, deletion, and modification of the interface interaction elements. For example, if a new interface interaction element is added, it can be directly added to the end of the currently displayed interface interaction elements by default. If a certain interface interaction element is deleted, the position occupied by the interface interaction element can be kept vacant, or the interface interaction elements behind the interface interaction element can be sequentially filled in the corresponding position. If a certain interface interaction element is replaced, the new interface interaction element can be placed in the position of the interface interaction element that was originally replaced.
[0081] In this embodiment, the display position of the interface interaction elements in the first element set in the first display area can also be updated based on the first operation signal. For example, the positions of the interface interaction elements can be rearranged according to the first operation signal. Further, the display positions of the interface interaction elements can be updated according to the operation intention represented by the first operation signal, such as the position arrangement rules carried in the first operation signal. Correspondingly, it can also be that according to the first operation signal, not only the interface interaction elements in the first element set are updated, but also the display position of the current interface interaction elements is updated again according to the updated interface interaction elements. For example, according to the first operation signal, a new interface interaction element representing a network connection is added. The display position of the new interface interaction element can be determined according to the position of the element matching the network connection type in the original interface interaction element, and then it can be inserted into the corresponding position, and the positions of other interface interaction elements can be adjusted synchronously. It can also be that after adding, deleting, or replacing the interface interaction element, the display position of all interface interaction elements can be readjusted. In this way, the interface interaction elements in the first element set can be updated according to the user's first operation signal, thereby meeting the user's editing needs for the interface interaction elements and improving the user's experience effect.
[0082] Specifically, in an embodiment of the present application, after detecting the first operation signal, the interface interaction elements can be automatically rearranged according to the characteristics of each interface interaction element to achieve the purpose of updating its display position. In one embodiment, updating the display position of the interface interaction elements in the first element set in the first display area includes: determining the arrangement characteristics of the interface interaction elements in the first element set; determining the target layout of the first element set according to the arrangement characteristics of the interface interaction elements; and updating the display position of the interface interaction elements in the first element set in the first display area according to the target layout.
[0083] Among them, the arrangement characteristics include at least one of the following: the functional priority of the interface interaction element, the frequency of use of the interface interaction element, and the functional relevance of the interface interaction element to the first form of the electronic device. In this embodiment, the target layout can be determined according to the functional priority of the interface interaction element, that is, the interface interaction element with a higher functional priority in the target layout is displayed more forward in the first display area. In the case where the target layout is determined according to the frequency of use of the interface interaction element, in the target layout, the interface interaction element with a higher frequency of use is displayed more forward in the first display area. In the case where the target layout is determined according to the functional relevance of the interface interaction element to the first form of the electronic device, in the target layout, the interface interaction element with a higher functional relevance to the first form is displayed more forward in the first display area. For example, the first form represents the folding form of the mobile phone. When the mobile phone is in the folded form, the user usually selects the related elements of the network connection through a drop-down menu, and the arrangement position of these related elements of the network connection can be placed in the front position of the drop-down menu. Further, the arrangement characteristics of the above two or three dimensions can also be selected according to the real-time application scenario and needs, and the target layout is comprehensively determined, so as to update its display position in the first display area according to the position of each interface interaction element in the target layout, and this application does not limit this.
[0084] Correspondingly, in the embodiment of the present application, the interface interaction elements corresponding to the electronic device in the first form can also be adjusted in response to the manual adjustment operation of the user. In one embodiment, based on the first operation signal, the second element set is obtained, and it also includes: adjusting the interface interaction elements displayed in the first display area to an editable state; based on the second operation signal, the number and / or display position of the interface interaction elements displayed in the first display area are adjusted to obtain the second element set. Wherein, the second operation signal is different from the first operation signal.
[0085] In this embodiment, the interface interaction element displayed in the first display area is adjusted to an editable state through the first operation signal. At this time, if the second operation signal is received, the interface interaction element in the editable state is further adjusted according to the second operation signal. For example, the second operation signal can be a signal representing the overall adjustment of the interface interaction element, such as the second operation signal can be a quick trigger signal acting on the electronic device, specifically a signal of shaking the electronic device, or can also be a specified gesture signal, voice signal, etc. See Figure 5 , when the interface interaction element displayed in the first display area is in an editable state (such as Figure 5The editable state of the element shown is characterized by the background of the element becoming a gray background). When it is detected that the user is shaking the phone, the position of each interface interaction element in the current display area can be updated. Furthermore, if the second operation signal represents that the interface interaction element is in an editable state, it is a signal for adjusting the display position of the interface interaction element as a whole. The display position of each interface interaction element can be determined based on the arrangement characteristics of the current interface interaction elements in the above embodiment. For details, please refer to the above embodiment. It will not be described in detail here. In the case of updating the interface interaction elements based on the second operation signal, not only the position of the current interface interaction element can be updated, but also its quantity can be updated, such as adding new interface interaction elements or deleting original interface interaction elements, or replacing the original interface interaction elements with new interface interaction elements.
[0086] Correspondingly, the second operation signal can also be an operation signal representing that the user manually updates the interface interaction elements, such as the user manually adjusting the positions of various interface interaction elements, or manually deleting certain interface interaction elements, or manually adding or replacing certain interface interaction elements. At this time, the user's manual adjustment operation signal can be recorded, and these operation signals can be responded to, and the interface interaction elements corresponding to the corresponding operation signals can be updated. For example, the second operation signal represents that the user needs to swap the positions of element 1 and element 4. Then, according to the second operation signal, the position of element 4 will be updated to the original position of element 1, and the position of element 1 will be updated to the original position of element 4. Thereby satisfying the user's editing needs for interface interaction elements when the electronic device is in the first form, and improving the user experience.
[0087] In an embodiment of the present application, the first form may be a folded form of the electronic device. When the electronic device is in the folded form, the display screen will be smaller than when the electronic device is in the unfolded form. In order to better present the interface interaction elements, the interface interaction elements with matching functional types may be displayed in combination. Specifically, in one embodiment, based on the first element set, at least some of the interface interaction elements in the first element set are displayed in the first display area corresponding to the first form, including: obtaining the element type of the interface interaction element displayed in the first display area; determining a hierarchical menu based on the element type; and displaying at least some of the interface interaction elements in the first element set in a hierarchical menu in the first display area corresponding to the first form. Among them, the types of the interface interaction elements in the element area corresponding to each level in the hierarchical menu match.
[0088] The element type of an interface interaction element can be determined based on the execution function of the interface interaction element. For example, the interface interaction elements for communication connection are collectively referred to as network types. Taking the shortcut function buttons in the screen drop-down menu as an example, the interface interaction elements corresponding to the network type may include "WiFi", "Bluetooth" and "Mobile Data". In this way, different types correspond to different hierarchical menus. When the user clicks on the hierarchical menu, the various interface interaction elements included in the hierarchical menu can be presented. This can effectively utilize the current display area and make it easier for users to find interface interaction elements of the corresponding type, thereby improving the user experience. See Figure 6 , which shows a schematic diagram of a hierarchical menu display interface interactive element provided by an embodiment of the present application. Figure 6 As shown, the various interface interaction elements corresponding to the electronic device in the folded form are displayed in a hierarchical menu, and the hierarchical menu includes network, audio, image and other types. When the user clicks on the hierarchical menu corresponding to the network type, "WiFi", "Bluetooth" and "Mobile Data" can be further displayed.
[0089] In the embodiment of the present application, a display processing device is also provided. Figure 7 , the device may include:
[0090] An acquisition unit 701 is configured to acquire a target state of the electronic device in response to acquiring a first operation signal;
[0091] An adjusting unit 702 is configured to adjust the interface interaction elements based on a target display strategy when the electronic device is in the first state;
[0092] A display unit 703, configured to display the interface interaction element in a target display area corresponding to the target form;
[0093] In which, the electronic device has a second form, the electronic device has a first display area in the first form, and has a second display area in the second form, the first display area is smaller than the second display area, and the number of interface interaction elements of the electronic device in the first form is less than the number of interface interaction elements in the second form.
[0094] Optionally, the adjustment unit includes:
[0095] A first determining subunit, configured to determine, when the electronic device is in a first state, a first element set of interface interaction elements executable by the electronic device in the first state, wherein the first element set includes at least one interface interaction element;
[0096] Wherein, the display unit comprises:
[0097] The first display subunit is used to display at least part of the interface interaction elements in the first element set in a first display area corresponding to the first form based on the first element set.
[0098] Optionally, the first display subunit is configured as:
[0099] When the electronic device is in the first state, obtaining a state characteristic of the electronic device, wherein the state characteristic includes a usage environment characteristic of the electronic device and / or an application execution characteristic of the electronic device;
[0100] The first element set is determined based on the state characteristics of the electronic device.
[0101] Optionally, the first display subunit includes:
[0102] A first acquisition subunit, configured to obtain a second element set based on the first operation signal;
[0103] A second display subunit, configured to display at least part of the interface interaction elements in the second element set in a first display area corresponding to the first form based on the second element set;
[0104] The first operation signal is characterized as a signal for adjusting an interface interaction element.
[0105] Optionally, the first acquiring subunit is configured to:
[0106] Updating the interface interaction elements in the first element set to obtain a second element set, wherein the second element set and the first element set contain at least one interface interaction element with a different function; and / or,
[0107] The display positions of the interface interaction elements in the first element set in the first display area are updated to obtain a second element set.
[0108] Optionally, updating the display position of the interface interaction element in the first element set in the target display area includes:
[0109] Determining arrangement characteristics of the interface interaction elements in the first element set;
[0110] Determining a target layout of the first element set according to the arrangement characteristics of the interface interaction elements;
[0111] According to the target layout, the display positions of the interface interaction elements in the first element set in the first display area are updated.
[0112] The arrangement feature includes at least one of the following: a functional priority of an interface interaction element, a usage frequency of an interface interaction element, and a functional association between an interface interaction element and the first form of the electronic device.
[0113] Optionally, the first acquiring subunit is configured to:
[0114] Adjusting the interface interaction elements displayed in the first display area to an editable state;
[0115] Based on the second operation signal, the number and / or display positions of the interface interaction elements displayed in the target display area are adjusted to obtain a second element set;
[0116] The second operation signal is different from the first operation signal.
[0117] Optionally, the first display subunit is configured as:
[0118] Obtaining the element type of the interface interaction element displayed in the target display area;
[0119] Based on the element type, determining a hierarchical menu;
[0120] The interface interaction elements are displayed in a hierarchical menu in the first display area of the first form, wherein the types of the interface interaction elements in the element area corresponding to each level in the hierarchical menu match each other.
[0121] It should be noted that the specific implementation of each unit and sub-unit in this embodiment can refer to the corresponding content in the previous text and will not be described in detail here.
[0122] In another embodiment of the present application, a readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the display processing method as described above is implemented.
[0123] In another embodiment of the present application, an electronic device is further provided, and the electronic device may include:
[0124] A memory, used to store applications and data generated by the operation of the applications;
[0125] A processor, configured to execute the application program to implement:
[0126] Acquire a target form of the electronic device;
[0127] When the electronic device is in the first state, adjusting the interface interaction elements based on the target display strategy;
[0128] Displaying the interface interaction element in a target display area corresponding to the target form;
[0129] In which, the electronic device has a second form, the electronic device has a first display area in the first form, and has a second display area in the second form, the first display area is smaller than the second display area, and the number of interface interaction elements of the electronic device in the first form is less than the number of interface interaction elements in the second form.
[0130] In an embodiment of the present application, the electronic device further includes a first body and a second body, and the relative movement of the first body and the second body can change the form of the electronic device; the relative positions of the first body and the second body in the first form and the second form are different. The electronic device has a first display area in the first form and a second display area in the second form, and the first display area is smaller than the second display area.
[0131] Correspondingly, the first form can represent the folded form of the electronic device, and the second form can represent the unfolded form of the electronic device. Among them, the display area corresponding to the folded form of the electronic device is smaller than the display area corresponding to the unfolded form of the electronic device. Specifically, the display processing method executed by the processor in the electronic device can refer to the aforementioned various embodiments, which will not be described in detail here.
[0132] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0133] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0134] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0135] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A display processing method, comprising: Acquire a target form of the electronic device; When the electronic device is in the first state, adjusting the interface interaction elements based on the target display strategy; Displaying the interface interaction element in a target display area corresponding to the target form; In which, the electronic device has a second form, the electronic device has a first display area in the first form, and has a second display area in the second form, the first display area is smaller than the second display area, and the number of interface interaction elements of the electronic device in the first form is less than the number of interface interaction elements in the second form.
2. According to the method of claim 1, when the electronic device is in the first state, adjusting the interface interaction elements based on the target display strategy comprises: Acquire a first element set of interface interaction elements executable by the electronic device in a first form, wherein the first element set includes at least one interface interaction element; The step of displaying the interface element in a target display area corresponding to the target form includes: Based on the first element set, at least some of the interface interaction elements in the first element set are displayed in a first display area corresponding to the first form.
3. According to the method of claim 2, the step of obtaining a first element set of interface interaction elements executable by the electronic device in the first form comprises: Acquiring status characteristics of the electronic device; Determining the first element set based on the state characteristics of the electronic device; The state characteristics include usage environment characteristics of the electronic device and / or application execution characteristics of the electronic device.
4. The method according to claim 2, wherein displaying at least some of the interface interaction elements in the first element set in the first display area corresponding to the first form based on the first element set comprises: Based on the first operation signal, determining a second element set; Based on the second element set, displaying at least part of the interface interaction elements in the second element set in the first display area corresponding to the first form; The first operation signal is characterized as a signal for adjusting an interface interaction element.
5. The method according to claim 4, wherein determining the second element set based on the first operation signal comprises: Updating the functions corresponding to the interface interaction elements in the first element set to obtain a second element set, wherein the second element set and the first element set contain at least one interface interaction element with a different function; and / or, The display positions of the interface interaction elements in the first element set in the first display area are updated to obtain a second element set.
6. The method according to claim 5, wherein updating the display position of the interface interaction elements in the first element set in the first display area comprises: Determining arrangement characteristics of the interface interaction elements in the first element set; Determining a target layout of the first element set according to the arrangement characteristics of the interface interaction elements; According to the target layout, updating the display positions of the interface interaction elements in the first element set in the first display area; The arrangement feature includes at least one of the following: a functional priority of an interface interaction element, a usage frequency of an interface interaction element, and a functional association between an interface interaction element and the first form of the electronic device.
7. The method according to claim 4, wherein determining the second element set based on the first operation signal further comprises: Adjusting the interface interaction elements displayed in the first display area to an editable state; Based on the second operation signal, the number and / or display positions of the interface interaction elements displayed in the first display area are adjusted to obtain a second element set; The second operation signal is different from the first operation signal.
8. The method according to claim 2, wherein displaying at least some of the interface interaction elements in the first element set in the first display area corresponding to the first form based on the first element set comprises: Obtaining the element type of the interface interaction element displayed in the first display area; Based on the element type, determining a hierarchical menu; Displaying at least part of the interface interaction elements in the first element set in a hierarchical menu in a first display area corresponding to the first form; Among them, the types of interface interaction elements in the element area corresponding to each level in the hierarchical menu match.
9. An electronic device, comprising: A memory, used to store applications and data generated by the operation of the applications; A processor, configured to execute the application program to implement: Acquire a target form of the electronic device; When the electronic device is in the first state, adjusting the interface interaction elements based on the target display strategy; Displaying the interface interaction element in a target display area corresponding to the target form; In which, the electronic device has a second form, the electronic device has a first display area in the first form, and has a second display area in the second form, the first display area is smaller than the second display area, and the number of interface interaction elements of the electronic device in the first form is less than the number of interface interaction elements in the second form.
10. The electronic device according to claim 9 further comprises a first body and a second body, the relative movement of the first body and the second body can change the form of the electronic device; the relative positions of the first body and the second body in the first form and the second form are different; the electronic device has a first display area in the first form and a second display area in the second form, and the first display area is smaller than the second display area.