Method and apparatus for adjusting interface display state, device, and storage medium
The method and device adjust interface display states on electronic devices by determining attribute information during zoom operations, addressing inefficiencies and improving user interaction and aesthetic appeal through consistent and efficient transitions.
Patent Information
- Application Number
- JP2023535954
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2021-06-03
- Filing Date
- 2021-10-08
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2041-10-08
AI Technical Summary
Existing methods for adjusting interface display status on electronic devices, such as smartphones and tablets, are inefficient, require high user learning costs, lack consistency, and compromise the aesthetic appeal and valid display area due to inconsistent operation methods like adding explicit buttons or bars.
A method and device for adjusting interface display states on electronic devices by determining attribute information during a zoom operation and adjusting the display state when preset conditions are met, including full screen or icon display based on position and size information, with optional time-based adjustments.
Enhances user interaction by reducing learning costs, maintaining aesthetic appeal, and improving operational efficiency through intuitive and consistent transitions between display states.
Smart Images

Figure 0007621493000001 
Figure 0007621493000002 
Figure 0007621493000003
Abstract
Description
cross reference
[0001] This application claims priority from Chinese patent application no. 202011490723.6 filed on December 16, 2020, and Chinese patent application no. 202110620173.3 filed on June 3, 2021, the entire contents of which are incorporated herein by reference. [Technical field]
[0002] The embodiments of the present application relate to electronic technology, and are not limited to a method and apparatus for adjusting an interface display state, a device, and a storage medium. [Background technology]
[0003] At present, with the improvement of productivity levels, electronic devices (e.g., smartphones, tablet PCs) play an increasingly important role in people's work and life, and the interaction operations between the display screen of the electronic device and the user are also becoming more and more. On the display screen, the display state of the application interface is also diverse, and the user can adaptively adjust the display state of the application interface according to the actual usage situation. For example, electronic devices produced by some manufacturers can be made full screen by pulling down the horizontal bar at the bottom of the small window, and electronic devices produced by some manufacturers can be changed to full screen by clicking the "full screen" button at the top of the small window. Summary of the Invention
[0004] In view of this, the embodiments of the present application provide a method, apparatus, device, and storage medium for adjusting an interface display state.
[0005] The technical solutions of the embodiments of the present application are realized as follows.
[0006] In a first aspect, an embodiment of the present application provides a method for adjusting an interface display state, applied to an electronic device having a display screen, the method comprising: in response to a zoom operation of a display interface of a target application, determining attribute information of the display interface during the zoom operation; and in response to a termination of the zoom operation, adjusting a display state of the display interface when the attribute information satisfies a preset condition.
[0007] In a second aspect, an embodiment of the present application provides an interface display state adjustment apparatus, the apparatus including: a determination unit and an adjustment unit, the determination unit is configured to respond to a zoom operation of a display interface of a target application and to determine attribute information of the display interface during the zoom operation, and the adjustment unit is configured to respond to an end of the zoom operation and to adjust the display state of the display interface when the attribute information satisfies a preset condition.
[0008] In a third aspect, an embodiment of the present application provides an electronic device, the electronic device including at least a memory, a communication bus, and a processor, the memory is used for storing an interface display state adjustment program, the communication bus is used for realizing the connection and communication between the processor and the memory, and the processor is used for executing the interface display state adjustment program stored in the memory, and realizing the following steps: responding to a zoom operation of a display interface of a target application, and determining attribute information of the display interface during the zoom operation; and the adjustment unit responding to an end of the zoom operation, and adjusting the display state of the display interface when the attribute information satisfies a preset condition.
[0009] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the above method are realized. [Brief description of the drawings]
[0010] [Figure 1A] 1 is a flowchart illustrating an implementation of an interface display state adjustment method according to an embodiment of the present application; [Figure 1B] FIG. 2 is a schematic diagram of an implementation of a zoom operation in an embodiment of the present application; [Figure 2A] 2 is a flowchart illustrating an implementation of the interface display state adjustment method according to an embodiment of the present application; [Figure 2B] FIG. 1 is a schematic diagram of an adjustment operation of an interface display state in an embodiment of the present application. [Figure 3A] 3 is an implementation flowchart 3 of the interface display state adjustment method according to the embodiment of the present application; [Figure 3B] FIG. 2 is a schematic diagram of the adjustment operation of the interface display state of an embodiment of the present application. [Figure 4A] FIG. 1 is a schematic diagram of an adjustment operation for switching to full screen display in an embodiment of the present application. [Figure 4B] FIG. 2 is a schematic diagram of an adjustment operation for switching to full screen display in an embodiment of the present application. [Figure 4C] FIG. 3 is a schematic diagram of an adjustment operation for switching to full screen display in an embodiment of the present application. [Figure 5A] FIG. 1 is a schematic diagram 1 of an adjustment operation for switching to an icon display according to an embodiment of the present application. [Figure 5B] FIG. 2 is a schematic diagram 2 of an adjustment operation for switching to an icon display according to an embodiment of the present application. [Figure 5C] FIG. 3 is a schematic diagram 3 of an adjustment operation for switching to an icon display according to an embodiment of the present application. [Figure 6] 1 is a schematic diagram of the configuration structure of an interface display state adjustment device according to an embodiment of the present application; [Figure 7] FIG. 2 is a schematic diagram of a hardware entity of an electronic device according to an embodiment of the present application; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] The technical solutions of the present application will be described in more detail below with reference to the drawings and embodiments. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative efforts are within the scope of protection of the present application. In the following description, "some embodiments" are referred to to describe a subset of all possible embodiments, but it should be understood that "some embodiments" may be the same or different subsets of all possible embodiments, and may be combined with each other without contradiction.
[0012] In the following description, the use of suffixes indicating elements such as "module", "component" or "unit" is for ease of description of the present application and does not have any specific meaning in itself. Therefore, "module", "component" or "unit" can be used interchangeably. The terms "first\second\third" in relation to the embodiments of the present application are merely for distinguishing similar objects and do not represent any particular ordering of the objects. It should be understood that "first\second\third" can be interchanged in a specific order or sequential order where permitted, such that the embodiments of the present application described herein can be implemented in an order other than that shown or described herein.
[0013] At present, users can adaptively adjust the display state of the application interface of electronic devices according to actual usage. For example, some electronic devices produced by manufacturers can be made full screen by pulling down the horizontal bar at the bottom of the small window, and some electronic devices produced by manufacturers can be changed to full screen by clicking the "full screen" button at the top of the small window. However, the above adjustment methods have various shortcomings. For example, the method of "making full screen by pulling down the horizontal bar at the bottom of the small window" has a relatively high learning cost for users because two horizontal bars are designed in the small window, which is inconsistent with the operation of switching to full screen, not easy to learn, and lacks aesthetics. The method of "adding buttons" also seriously affects the effective display area of the floating window by adding explicit buttons to the floating window, which is not beautiful enough.
[0014] Based on this, an embodiment of the present application provides a method for adjusting an interface display state, applied to an electronic device having a display screen, the method including: in response to a zoom operation of a display interface of a target application, determining attribute information of the display interface during the zoom operation; and in response to an end of the zoom operation, adjusting the display state of the display interface when the attribute information satisfies a preset condition.
[0015] In some embodiments, adjusting the display state of the display interface when the attribute information satisfies a preset condition in response to termination of the zoom operation includes adjusting the display state of the display interface when a time during which the attribute information satisfies the preset condition is equal to or longer than a preset time in response to termination of the zoom operation.
[0016] In some embodiments, in response to a zoom operation on the display interface of the target application, determining attribute information of the display interface during the zoom operation includes, in response to a magnification operation on the display interface of the target application, determining position information of a boundary of the display interface during the magnification operation.
[0017] Accordingly, adjusting a display state of the display interface in response to the end of the zoom operation when the attribute information satisfies a preset condition includes adjusting the display interface to a first display state in response to the end of the magnification operation when the position information is within a specific position range of the display screen.
[0018] In some embodiments, adjusting the display interface to a first display state in response to termination of the zooming operation when the position information is within a particular position range of the display screen includes adjusting the display interface to a first display state in response to termination of the zooming operation when a time during which the position information is within the particular position range of the display screen is equal to or longer than a first preset time.
[0019] In some embodiments, adjusting the display interface to a first display state includes adjusting the display interface to a full screen display.
[0020] In some embodiments, the particular positional range of the display screen includes at least one of within a top boundary range of the display screen, within a bottom boundary range of the display screen, and within a side boundary range of the display screen.
[0021] In some embodiments, determining attribute information of the display interface during a zoom operation in response to a zoom operation of the display interface of the target application includes determining size information of the display interface in response to a shrink operation of the display interface of the target application.
[0022] Accordingly, adjusting the display interface to a first display state in response to the end of the zoom operation when the attribute information satisfies a preset condition includes adjusting the display interface to a second display state in response to the end of the reduce operation when the size information matches a preset size.
[0023] In some embodiments, adjusting the display interface to a second display state when the size information matches a preset size in response to completing the shrinking operation includes: In response to completion of the shrinking operation, adjusting the display interface to a second display state when a time during which the size information matches a preset size is equal to or greater than a second preset time.
[0024] In some embodiments, adjusting the display interface to a second display state includes adjusting the display interface to an icon display or adjusting the display interface to a thumbnail display.
[0025] In some embodiments, the method further includes, in response to terminating the zoom operation, adjusting a size of the display interface based on the zoom operation if the attribute information does not satisfy a preset condition.
[0026] In some embodiments, the method further includes, in response to terminating the zoom operation, adjusting a size of the display interface based on the zoom operation if a time during which the attribute information satisfies a preset condition is less than a preset time.
[0027] An embodiment of the present application provides a method for adjusting an interface display state. The method is applied to an electronic device with a display screen. The function realized by the method can be realized through a program code called by a processor in the electronic device. Of course, the program code can be stored in a storage medium of the electronic device. Figure 1A is an implementation flowchart 1 of the method for adjusting an interface display state of an embodiment of the present application. As shown in Figure 1A, the method includes:
[0028] Step S101, in response to a zoom operation of a display interface of a target application, determine attribute information of the display interface during the zoom operation.
[0029] Here, the electronic device may be a device having various information processing capabilities, for example, a mobile phone, a PDA (Personal Digital Assistant), a tablet computer, a navigator, an all-in-one device, etc. The target application is an application in the electronic device, and may be a system application, for example, a camera, a gallery, a memory card, a calculator, etc. The target application may be a third-party application, for example, Wechat, Tik Tok, some editing class applications, shopping applications, etc. That is, the specific type of the target application in the embodiment of the present application is not limited, and may be a target application that performs a zoom operation on a display interface. Here, the zoom operation refers to a zoom operation on the size of the display interface of the target application, and the zoom operation includes a zoom operation and a zoom operation. FIG. 1B is a schematic diagram of a method of implementing a zoom operation in an embodiment of the present application. As shown in FIG. 1B, as shown in FIG. 101, the method of implementing the zoom operation is as follows: By dragging the bottom corner of the display interface of the target application 11, the size of the display interface on the display screen 12 is adjusted. As shown in FIG. 102, the manner in which the zoom operation is realized is to adjust the size of the display interface on the display screen 14 by simultaneously sliding the thumb and index finger outward or inward on the target application 13.
[0030] Of course, the zoom operation may be realized in other ways. For example, a virtual slide operation or a virtual drag operation is used to realize the zoom of the display interface of the target application. For example, a mouse simulation slide operation, an air gesture, VR (Virtual Reality, virtual reality technology), etc. When a user operates an electronic device, the zoom operation can be performed in the air, and the camera of the electronic device is used to capture the user's gesture in front of the display screen, and an algorithm is used to identify the gesture shape, position, and other information to determine the zoom size. Of course, a computer simulation system can also be created using VR technology, generating a simulation environment, and all objects such as electronic devices are represented by three-dimensional models, and the user realizes the zoom of the display interface of the target application in the three-dimensional model. That is, in the embodiment of this application, the specific implementation method of the zoom operation is not limited.
[0031] Here, the attribute information of the display interface during the zoom operation includes at least one of size information of the display interface and position information of the display interface. Here, the position information of the display interface includes boundary position information of the display interface and apex angle position information of the display interface. For example, if the display interface of the target application is a rectangle, the boundary position information of the display interface includes position information of any pixel point of the four sides of the display interface, and the apex angle position information of the display interface is position information of the four apex angles of the rectangle. The size information of the display interface is the size of the display interface. For example, if the display interface of the target application is a rectangle, the display interface of the target application may be enlarged from 5cm*2cm to 15cm*6cm or reduced from 18cm*10cm to 4cm*2cm in the zoom process.
[0032] In an embodiment of the present application, the target application may be displayed on the display screen of the electronic device in the manner of a small window before performing a zoom operation. The small window refers to a small window in the display screen of the electronic device, which can be used to display a reduced application interface, and the user can normally use the application in the small window. Of course, the target application may be displayed on the display screen of the electronic device in other ways before performing a zoom operation. For example, the target application is in a full-screen display manner before performing a zoom operation, and the zoom operation is a reduction operation of the display interface of the target application. That is, in an embodiment of the present application, the display manner of the target application before performing a zoom operation is not limited.
[0033] Step S102: in response to the end of the zoom operation, if the attribute information satisfies a preset condition, adjusting a display state of the display interface.
[0034] Here, if the display screen is a touch screen and the zoom operation is a touch zoom operation on the touch screen, the end of the zoom operation may be a lifting operation performed after dragging or sliding a certain distance. Alternatively, if the zoom operation is an air gesture zoom operation in front of the display screen of the electronic device, the end of the zoom operation may be generating a zoom operation end gesture after the zoom operation is dragged or slid a certain distance. For example, when a user drags or slides a certain distance in front of the display screen and then makes a palm opening gesture, it means that the zoom operation is ended.
[0035] In an embodiment of the present application, when the attribute information is a size of a display interface of a target application, the satisfaction of the predetermined condition of the attribute information may be a size of the display interface matching a predetermined size.When the attribute information is position information of a display interface of a target application, the satisfaction of the predetermined condition of the attribute information may be a boundary of the display interface being located within a boundary range of the display screen.
[0036] Here, the display state of the display interface of the target application includes at least one of a full screen display state, an icon display state, and a thumbnail display state. The icon state may further include a "bubble"-like icon display state, etc. For example, in the process of shrinking the display interface of the target application, if the display interface is reduced to a certain extent and the size of the display interface matches a preset size, the display interface of the target application is adjusted to an icon display. In another example, in the process of enlarging the display interface of the target application, if a certain boundary of the target application is located within a boundary range of the display screen of the electronic device, the display interface of the target application is adjusted to a full screen display.
[0037] It should be noted that: the enlargement or reduction of the size of the display interface of the target application does not belong to the adjustment of the display state of the display interface, and the full-screen display state can be regarded as a special display state of the display interface.
[0038] In some embodiments, adjusting the display state of the display interface when the attribute information meets a preset condition may be adjusting the display state of the display interface when the size of the display interface matches a preset size, or adjusting the display state of the display interface when the boundary of the display interface is within the boundary range of the display screen, or adjusting the display state of the display interface when the time during which the size of the display interface matches a preset size reaches a preset time, or adjusting the display state of the display interface when the time during which the boundary of the display interface is within the boundary range of the display screen reaches a preset time. Here, the preset time may be set before the device is shipped from the factory, or may be set by a user according to actual usage requirements. Furthermore, a prompt may be displayed when the preset time is reached, prompting the user to let go at this time, and adjusting the display state of the display interface.
[0039] In an embodiment of the present application, the attribute information of the display interface of the target application is determined during the zoom operation by responding to the zoom operation of the display interface of the target application. In response to the end of the zoom operation, the display state of the display interface is adjusted if the attribute information meets a preset condition. In this way, a new interactive method is proposed to bring more possibilities and convenience to the operation of a small window.
[0040] Based on the above embodiment, an embodiment of the present application provides a method for adjusting an interface display state, the method including:
[0041] Step S111, in response to a zoom operation of a display interface of a target application, determine attribute information of the display interface during the zoom operation.
[0042] Step S112: in response to the end of the zoom operation, if the time during which the attribute information satisfies a preset condition is equal to or longer than a preset time, adjusting a display state of the display interface.
[0043] Here, after the attribute information satisfies a preset condition, a further determination is made to determine whether the time during which the attribute information satisfies the preset condition is equal to or longer than a preset time, and if the time during which the attribute information satisfies the preset condition is equal to or longer than a preset time, the display state of the display interface is adjusted.
[0044] For example, in a process of reducing a display interface, when a time during which the size of the display interface matches a preset size reaches a preset time, the display state of the display interface is adjusted. As another example, in a process of enlarging a display interface, when a time during which the boundary of the display interface is within a preset range of the display screen reaches a preset time, the display state of the display interface is adjusted. Here, the preset time may be set before the device is shipped, or may be set by a user based on actual usage needs. In addition, when the preset time is reached, a prompt may be issued, and it may be suggested that the display state of the display interface will be adjusted if the user releases his / her hand at this time. Note that when the preset time is set to 0, this corresponds to a correlation operation that does not execute a judgment time, and the display state of the display interface is adjusted after it is determined that the attribute information satisfies a preset condition. In an embodiment of the present application, the attribute information of the display interface is determined during the zoom operation by responding to a zoom operation of the display interface of a target application. In response to the end of the zoom operation, when a time during which the attribute information satisfies a preset condition is equal to or longer than a preset time, the display state of the display interface is adjusted. This proposes a new interactive method that brings more possibilities and convenience to small window operations, while at the same time reducing user operation errors and improving user operation accuracy through time-judging operations.
[0045] Based on the above embodiment, an embodiment of the present application provides an interface display state adjustment method, which is applied to an electronic device with a display screen. Figure 2A is an implementation flowchart 2 of the interface display state adjustment method of the embodiment of the present application. As shown in Figure 2A, the method includes:
[0046] Step S201, in response to a zooming operation of a display interface of a target application, determining position information of a boundary of the display interface during the zooming operation.
[0047] Here, the zoom operation of the display interface refers to a related operation of enlarging the size of the display interface. During the zoom operation, as the size of the display interface increases, the position of the boundary of the display interface on the display screen also changes continuously. For example, if the display interface of the target application is rectangular, the boundary of the display interface includes any side of the rectangle.
[0048] Step S202: in response to the zooming operation being terminated, if the position information is within a specific position range of the display screen, adjust the display interface to a first display state.
[0049] In an embodiment of the present application, the specific position range of the display screen is a preset range. For example, the specific position range may be a boundary of the display screen. The position information is within the specific position range of the display screen when any of the bottom edge, top edge, and side edge of the display interface of the target application is located within the boundary range of the display screen. Of course, the specific position range may be set by a manufacturer based on actual development results, or may be set by a user based on actual usage habits, etc.
[0050] In some embodiments, step S202, in response to the end of the zooming operation, adjusting the display interface to a first display state when the position information is within a specific position range of the display screen, includes, in response to the end of the zooming operation, adjusting the display interface to a first display state when a time during which the position information is within a specific position range of the display screen is equal to or longer than a first preset time.
[0051] In some embodiments, adjusting the display interface to a first display state includes adjusting the display interface to a full screen display.
[0052] FIG. 2B is a schematic diagram 1 of the interface display state adjustment operation of an embodiment of the present application. As shown in FIG. 2B, as shown in FIG. 201, the target application 21 is displayed on the display screen 22 of the electronic device in the manner of a small window. In the target application 21, the user simultaneously slides outward through the thumb and index finger, so that the display interface of the target application 21 enlarges the size on the display screen 22, and the electronic device further responds to the operation command of sliding outward, so that the display interface of the target application 21 adjusts the size on the display screen 22. As shown in FIG. 202, in the enlargement process, when the user slides the bottom edge of the display interface of the target application 21 to the boundary of the display screen 22, a prompt is issued (and the user can not only slide to the boundary of the display screen 22, but also stay on the boundary for more than 0.5 seconds, and then the electronic device recognizes that the bottom edge of the display interface is located on the boundary of the display screen 22 for more than 0.5 seconds, a prompt is issued). The prompt may be a character, an image, a figure, or the like. Of course, the display interface may be presented with a different background color, etc. As shown in Fig. 203, the user then releases his / her hand, and the electronic device responds to the release operation command and changes the target application 21 to a full-screen display state. In this way, the two actions of adjusting the size of a small window by sliding and switching to a full-screen state can be organically and intuitively combined, and a balance between efficiency, functionality, and beauty can be skillfully achieved.
[0053] In some embodiments, the particular position range of the display screen includes at least one of a top boundary range of the display screen, a bottom boundary range of the display screen, and a side boundary range of the display screen.
[0054] In an embodiment of the present application, by responding to a zooming operation of a display interface of a target application, determining position information of a boundary of the display interface during the zooming operation, and in response to a termination of the zooming operation, adjusting the display interface to a first display state when the position information is within a specific position range of the display screen, thereby enabling the display interface of the target application to be quickly and conveniently changed from a small window to a full-screen display state.
[0055] Based on the above embodiment, an embodiment of the present application provides an interface display state adjustment method, which is applied to an electronic device with a display screen. Figure 3A is an implementation flowchart 3 of the interface display state adjustment method of the embodiment of the present application. As shown in Figure 3A, the method includes:
[0056] Step S301: determining size information of a display interface of a target application in response to a reduction operation of the display interface.
[0057] Here, the shrinking operation of the display interface refers to a related operation of reducing the size of the display interface, and the size of the display interface is gradually reduced during the shrinking operation.
[0058] Step S302: in response to the completion of the shrinking operation, if the size information matches a preset size, adjust the display interface to a second display state.
[0059] Here, the preset size may correspond to a minimum size to which the floating window can be reduced, for example, the minimum size to which the floating window can be reduced on the display screen may be set to 2 cm*1 cm.
[0060] In some embodiments, step S302, adjusting the display interface to a second display state when the size information matches a preset size in response to the completion of the shrinking operation, includes adjusting the display interface to the second display state when a time period of the size information matching the preset size is equal to or greater than a second preset time in response to the completion of the shrinking operation.
[0061] In some embodiments, adjusting the display interface to a second display state includes adjusting the display interface to an icon display or adjusting the display interface to a thumbnail display.
[0062] FIG. 3B is a schematic diagram 2 of the interface display state adjustment operation of the embodiment of the present application. As shown in FIG. 3B, as shown in FIG. 301, the target application 31 is displayed on the display screen 32 of the electronic device in the form of a small window. In the target application 31, the user simultaneously slides inward with the thumb and index finger, thereby reducing the size of the display interface of the target application 31 on the display screen 32, and the electronic device further responds to the operation command of sliding inward, and adjusts the size of the display interface of the target application 31 on the display screen 32. As shown in FIG. 302, in the reduction process, when the user slides the size of the display interface to the set minimum size, a prompt is issued (not only is the size of the display interface slid to the set minimum size, but the dwell time after reaching the minimum size exceeds 0.5 seconds, and the electronic device recognizes that the time from the size of the display interface to the set minimum size exceeds 0.5 seconds, and issues a prompt). The prompt may be a character, an image, a figure, or the like. Of course, the background color of the display interface may be changed to present it. As shown in Fig. 303, at this time the user releases his / her hand, and the electronic device responds to the operation command of releasing the hand, and the target application 31 changes its display state on the display screen 32 to a "bubble"-like icon display state. In this way, the two actions of adjusting the size of a small window by sliding and switching to an icon can be organically and intuitively combined, skillfully achieving a balance between efficiency, functionality, and beauty.
[0063] In an embodiment of the present application, size information of a display interface of a target application is determined in response to a shrinking operation of the display interface, and in response to a completion of the shrinking operation, when the size information matches a preset size, the display interface is adjusted to a second display state, so that the display interface of the target application can be quickly and conveniently changed from a small window to an icon display state.
[0064] Based on the above embodiment, an embodiment of the present application provides a method for adjusting an interface display state, the method including the following steps.
[0065] Step S311, in response to a zoom operation of a display interface of a target application, determine attribute information of the display interface during the zoom operation.
[0066] Step S312: in response to the end of the zoom operation, if the attribute information satisfies a preset condition, adjusting a display state of the display interface.
[0067] Step S313: in response to the end of the zoom operation, if the attribute information does not satisfy the preset condition, adjust the size of the display interface based on the zoom operation.
[0068] In an embodiment of the present application, when the attribute information is the size of a display interface of a target application, the reason why the attribute information does not satisfy a preset condition may be that the size of the display interface is not zoomed to a preset size. For example, in the process of reducing the size of the display interface of the target application, if a user selects to let go before the size of the display interface is reduced to a preset minimum size, the size of the display interface is correspondingly reduced based on the distance dragged or slid when the user releases his / her hand.
[0069] When the attribute information is position information of a display interface of a target application, the attribute information not satisfying a preset condition may be that a boundary of the display interface does not touch a boundary of the display screen. For example, in the process of enlarging the size of the display interface of the target application, if a user selects to release his / her hand when the boundary of the display interface is not touching the boundary of the display screen, the size of the display interface is correspondingly enlarged based on a distance dragged or slid when the user releases his / her hand.
[0070] Based on the above embodiment, an embodiment of the present application provides a method for adjusting an interface display state, the method including the following steps.
[0071] Step S321: in response to a zoom operation of a display interface of a target application, determine attribute information of the display interface during the zoom operation.
[0072] Step S322: in response to the end of the zoom operation, if the time during which the attribute information satisfies a preset condition is equal to or longer than a preset time, adjusting a display state of the display interface.
[0073] Step S323: in response to the zoom operation being terminated, if the time during which the attribute information satisfies the preset condition is shorter than the preset time, correspondingly adjust the size of the display interface based on the zoom operation.
[0074] In an embodiment of the present application, when the attribute information is a size of a display interface of a target application, the attribute information satisfies a preset condition when the size of the display interface matches a preset size.When the attribute information is position information of a display interface of a target application, the attribute information satisfies a preset condition when the boundary of the display interface is located within a boundary range of the display screen.
[0075] Furthermore, if the time during which the size of the display interface matches a preset size is shorter than a preset time, or the time during which the boundary of the display interface is located within the boundary range of the display screen is shorter than a preset time, the size of the display interface is correspondingly adjusted based on the zoom operation, and the display state of the display interface is not adjusted. That is, if the attribute information of the display interface satisfies a preset condition and the time also reaches a preset time, the display state of the display interface is adjusted. For example, in the process of reducing the size of the display interface of a target application, if the size of the display interface is reduced to a preset minimum size, but if the user stays there for less than 0.5 seconds after the size is reduced to the minimum size, if the user selects to release the hand, the size of the display interface is correspondingly reduced according to the distance dragged or slid when the user releases the hand. Also, in the process of enlarging the size of the display interface of a target application, if the boundary of the display interface is already located within the boundary range of the display screen, but if the user stays there for less than 0.5 seconds after the user enlarges the display interface and the display interface is located within the boundary range, if the user selects to release the hand, the size of the display interface is correspondingly enlarged according to the distance dragged or slid when the user releases the hand.
[0076] Based on the above embodiment, an embodiment of the present application provides a method for adjusting an interface display state, the method including the following steps.
[0077] Step S331: in response to a zoom operation of a display interface of a target application, determine attribute information of the display interface during the zoom operation.
[0078] Step S332: if the attribute information satisfies a preset condition, send presentation information, which is used to present to a user that if the zoom operation is ended at this point, the display state of the display interface will be adjusted, and if the zoom operation is continued, the adjustment of the display state of the display interface will be canceled.
[0079] Here, when the attribute information satisfies the preset condition, presentation information can be sent, and the display state of the display interface is suggested to be adjusted when the user releases his / her hand at that time. The presentation information may be a variety of presentation information, and the type, content, etc. of the presentation information in the embodiment of the present application are not limited. For example, in the process of reducing the display interface, if the size of the display interface is reduced to a set minimum size, a circle with the same size as an icon is displayed on the display interface, and the user is suggested to adjust the display interface to an icon display when the user releases his / her hand at that time. In addition, in the process of enlarging the display interface, if the boundary of the display interface is already located within the boundary range of the display screen, text presentation information is sent or the border color of the display interface is changed, and the user is suggested to adjust the display interface to a full screen display when the user releases his / her hand at that time.
[0080] In some embodiments, when the time that the attribute information satisfies the preset condition is longer than the preset time, presentation information is sent, and if the user releases his / her hand at this time, a display state of the display interface is adjusted. Furthermore, the presentation information may be various types of presentation information, and the type and content of the presentation information are not limited in the embodiments of the present application. For example, in the process of reducing the display interface, if the size of the display interface is reduced to a set minimum size, and the user stays for 0.5 seconds or more after the size of the display interface is reduced to the minimum size, a circle with the same size as an icon is displayed on the display interface, so that if the user releases his / her hand at this time, the display interface is adjusted to an icon display. In addition, in the process of enlarging the display interface, if the boundary of the display interface is already located within the boundary range of the display screen, and the user enlarges the display interface, and the time that the display interface is located within the boundary range exceeds 0.5 seconds, text presentation information is sent or the border color of the display interface is changed, so that if the user releases his / her hand at this time, the display interface is adjusted to a full screen display.
[0081] Step S333: in response to the end of the zoom operation, if the attribute information satisfies a preset condition, adjusting a display state of the display interface.
[0082] Based on the above embodiment, an embodiment of the present application provides an interface display state adjustment method, which can organically and intuitively combine two operations of adjusting the size of a floating window and switching to full screen.
[0083] FIG. 4A is a schematic diagram 1 of an adjustment operation of switching to full screen display in an embodiment of the present application. As shown in FIG. 4A, in FIG. 41, a target application 402 is displayed on a display screen 401 of an electronic device, and the target application 402 is displayed on the display screen 401 in the manner of a floating window. A user can adjust the size of the display interface of the target application 402 on the display screen 401 by dragging a bottom corner of the display interface of the target application 402, and the electronic device correspondingly adjusts the size of the display interface of the target application 402 on the display screen 401 according to the drag operation command. After the user drags the bottom corner outward, the electronic device enlarges the display interface of the target application 402, and the display interface after enlargement is as shown in FIG. 42.
[0084] FIG. 4B is a schematic diagram 2 of the adjustment operation of switching to full screen display in the embodiment of the present application. As shown in FIG. 4B, in FIG. 43, the user continuously drags the bottom corner of the display interface of the target application 402 outward, and when the bottom corner of the display interface is dragged to the edge (no matter the side or bottom) of the display screen 401, a prompt is issued (and the bottom corner stays for 0.5 seconds after dragging to the edge of the display screen 401, and then the electronic device recognizes that the bottom corner of the display interface stays on the edge of the display screen 401 for more than 0.5 seconds, and then the prompt is sent. Of course, the staying time in the embodiment of the present application is not limited and can be adjusted according to the actual development or use requirements). At this time, the user releases his / her hand, and the electronic device responds to the operation command of releasing his / her hand, and switches the display interface of the target application 402 to full screen, and the full screen display interface is as shown in FIG. 44. Here, the content of the prompt may be such that the user is prompted to switch to the full screen state if the user releases his / her hand at this point, and to cancel the switch to the full screen state if the user slides inward. Furthermore, the method of the prompt may be to display a gray graphic resembling a full screen size on the display screen of the electronic device, thereby prompting the user that the target application 402 will be in the full screen state if the user releases his / her hand at this point. This allows the two operations of adjusting the size of the floating window by dragging and switching to the full screen to be organically and intuitively combined, thereby skillfully achieving a balance between efficiency, functionality, and beauty.
[0085] Figure 4C is a schematic diagram 3 of an adjustment operation to switch to full screen display in an embodiment of the present application. As shown in Figure 4C, if the user does not choose to let go and slides inward after the electronic device sends a prompt, the electronic device responds to the operation command of sliding inward and cancels the switch to full screen, as shown in Figure 45. If the user releases his / her hand after sliding inward, the electronic device responds to the operation command of releasing his / her hand, and switches the display interface of the target application 402 to full screen, and adjusts the size of the display interface of the target application 402 on the display screen 401 according to the end position of the sliding operation, and the interface after the size adjustment is as shown in Figure 46.
[0086] FIG. 5A is a schematic diagram 1 of an adjustment operation to switch to icon display in an embodiment of the present application. As shown in FIG. 5A, in FIG. 51, a target application 502 is displayed on a display screen 501 of an electronic device, and the target application 502 is displayed on the display screen 501 in the manner of a floating window. A user can adjust the size of the display interface of the target application 502 on the display screen 501 by dragging a bottom corner of the display interface of the target application 502, and the electronic device correspondingly adjusts the size of the display interface of the target application 502 on the display screen 501 according to the drag operation command. After the user drags the bottom corner inward, the electronic device reduces the display interface of the target application 502, and the reduced display interface is as shown in FIG. 52.
[0087] FIG. 5B is a schematic diagram 2 of the adjustment operation of switching to icon display in the embodiment of the present application. As shown in FIG. 5B, in FIG. 53, the user continues to drag the bottom corner of the display interface of the target application 502 inward, and when the bottom corner of the display interface reaches a set minimum size (wherein the minimum size is generally set in the development stage, but of course it can be left as user-configurable), a prompt is sent (also, after reaching the set minimum size, the user can stay for 0.5 seconds. Then, the electronic device recognizes that the display interface of the target application 502 remains at the minimum specification size for more than 0.5 seconds, and then sends a prompt. Of course, the stay time in the embodiment of the present application is not limited and can be adjusted according to the actual development or use requirements). The manner of the prompt can display a picture 503 in the center of the display interface of the target application 502. At this time, the user releases his / her hand, and the electronic device responds to the operation command of releasing the hand, switches the display interface of the target application 502 to a "bubble"-like icon display, and the interface displayed by the icon is as shown in FIG. 54. Of course, the result of switching the interface after shrinking in the embodiment of the present application is not limited, and may be an icon like a "bubble", an icon of other styles, and even a thumbnail, a mini window, etc. This allows the two operations of adjusting the size of the floating window by dragging and switching to an icon (or thumbnail, mini window, etc.) to be organically and intuitively combined, skillfully achieving a balance between efficiency, functionality, and aesthetics.
[0088] Fig. 5C is a schematic diagram 3 of an adjustment operation to switch to icon display in an embodiment of the present application. As shown in Fig. 5C, if the user does not choose to let go and slides outward after the electronic device sends a prompt, the electronic device cancels the icon switching in response to the operation command of sliding outward, as shown in Fig. 55. And if the user releases his / her hand after sliding outward, the electronic device responds to the operation command of releasing his / her hand by adjusting the size of the display interface of the target application 502 on the display screen 501 according to the end position of the sliding operation, and the interface after the size adjustment is as shown in Fig. 56.
[0089] In the embodiment of the present application, the newly proposed interactive gesture is as follows: This gesture brings more possibilities and convenience to the operation of the small window, while maintaining the best aesthetics. In this way, the balance of efficiency, functionality and beauty can be skillfully achieved in one intuitive and natural way. The small window in the embodiment of the present application refers to a small window in the display screen of an electronic device, which can be used to present a reduced application interface, and the user can operate the application in the small window as usual.
[0090] Based on the above embodiment, the embodiment of the present application provides an interface display state adjustment device, which includes each unit contained therein, each module contained in each unit, and each component contained in each module, and can be realized by a processor in an electronic device, and of course can also be realized by a specific logic circuit. In the process of implementation, the processor can be a CPU (Central Processing Unit), MPU (Microprocessor Unit), DSP (Digital Signal Processing), or FPGA (Field Programmable Gate Array), etc.
[0091] 6 is a schematic diagram of the configuration structure of an interface display state adjusting device in an embodiment of the present application. As shown in FIG. 6, the device 600 includes a determining unit 601 and an adjusting unit 602.
[0092] The determining unit 601 is configured to, in response to a zoom operation of a display interface of a target application, determine attribute information of the display interface during the zoom operation.
[0093] The adjusting unit 602 is configured to adjust a display state of the display interface in response to the end of the zoom operation, when the attribute information satisfies a preset condition.
[0094] In some embodiments, the adjustment unit 602 includes an adjustment sub-module configured to adjust a display state of the display interface in response to the end of the zoom operation, when a time during which the attribute information satisfies a preset condition is equal to or longer than a preset time.
[0095] In some embodiments, the determining unit 601 includes a position determining module, which is used to determine, in response to a zooming operation of a display interface of a target application, position information of a boundary of the display interface during the zooming operation. Correspondingly, the adjusting unit 602 includes a first adjusting module, which is configured to adjust the display interface to a first display state in response to a termination of the zooming operation when the position information is within a specific position range of the display screen.
[0096] In some embodiments, the first adjustment module includes a first adjustment sub-module configured to adjust the display interface to a first display state in response to a termination of the zooming operation when a time during which the position information is within a specific position range of the display screen is equal to or greater than a first preset time.
[0097] In some embodiments, the first adjustment module includes a first adjustment member configured to adjust the display interface to a full screen display.
[0098] In some embodiments, the particular position range of the display screen includes at least one of within a top boundary range of the display screen, within a bottom boundary range of the display screen, and within a side boundary range of the display screen.
[0099] In some embodiments, the determining unit 601 includes a size determining module configured to determine size information of a display interface of a target application in response to a shrinking operation of the display interface. Correspondingly, the adjusting unit 602 includes a second adjusting module configured to adjust the display interface to a second display state in response to a completion of the shrinking operation when the size information matches a preset size.
[0100] In some embodiments, the second adjustment module includes a second adjustment sub-module configured to adjust the display interface to a second display state in response to completion of the shrinking operation when a time that the size information matches a preset size is equal to or greater than a second preset time.
[0101] In some embodiments, the second adjustment module includes a second adjustment member configured to adjust the display interface to an icon view, the second adjustment member further configured to adjust the display interface to a thumbnail view.
[0102] In some embodiments, the apparatus further includes a first size adjusting unit, configured to adjust a size of the display interface based on the zooming operation in response to a termination of the zooming operation and when the attribute information does not satisfy the preset condition.
[0103] In some embodiments, the apparatus further includes a second size adjusting unit, configured to adjust a size of the display interface based on the zoom operation in response to a termination of the zoom operation when a time during which the attribute information satisfies the preset condition is shorter than the preset time.
[0104] The above description of the apparatus embodiment is similar to the description of the method embodiment, and has the same beneficial effects as the method embodiment. For technical details not disclosed in the apparatus embodiment of the present application, they should be understood by referring to the description of the method embodiment of the present application.
[0105] It should be noted that in the embodiments of the present application, the above-mentioned method for adjusting an interface display state is realized in the form of a software function module, which can also be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solutions of the embodiments of the present application essentially or in part contributing to the prior art can be realized in the form of a software product. The computer software product is stored in a storage medium and includes some instructions for enabling an electronic device (which may be a personal computer, a server, etc.) to execute all or part of the methods described in various embodiments of the present application. The storage medium includes various media capable of storing program code, such as U disk, mobile hard disk, ROM (Read Only Memory), magnetic disk or optical disk. Thus, the embodiments of the present application are not limited to any specific combination of hardware and software.
[0106] Correspondingly, an embodiment of the present application provides an electronic device. The electronic device includes at least a memory, a communication bus, and a processor. The memory is used to store an adjustment program for an interface display state. The communication bus is used to realize the connection and communication between the memory and the processor. The processor is used to execute the adjustment program for an interface display state stored in the memory, and realizes the following steps: in response to a zoom operation of a display interface of a target application, determine attribute information of the display interface during the zoom operation; in response to the end of the zoom operation, adjust the display state of the display interface when the attribute information meets a preset condition.
[0107] In some device embodiments, adjusting a display state of the display interface in response to termination of the zoom operation when the attribute information satisfies a preset condition includes adjusting a display state of the display interface in response to termination of the zoom operation when a time during which the attribute information satisfies the preset condition is equal to or longer than a preset time.
[0108] In some device embodiments, in response to a zoom operation of a display interface of the target application, determining attribute information of the display interface during the zoom operation includes, in response to a magnification operation of the display interface of the target application, determining position information of a boundary of the display interface during the magnification operation.
[0109] Accordingly, adjusting a display state of the display interface in response to the end of the zoom operation when the attribute information satisfies a preset condition includes adjusting the display interface to a first display state in response to the end of the magnification operation when the position information is within a specific position range of the display screen.
[0110] In some device embodiments, adjusting the display interface to a first display state in response to termination of the zooming operation when the position information is within a particular position range of a display screen includes adjusting the display interface to a first display state in response to termination of the zooming operation when a time that the position information is within the particular position range of a display interface is greater than or equal to a first preset time.
[0111] In some device embodiments, adjusting the display interface to a first display state includes adjusting the display interface to a full screen display.
[0112] In some device embodiments, the particular positional range of the display screen includes at least one of within a top boundary range of the display screen, within a bottom boundary range of the display screen, and within a side boundary range of the display screen.
[0113] In some device embodiments, in response to a zoom operation of a display interface of a target application, determining attribute information of the display interface during the zoom operation includes determining size information of the display interface in response to a shrink operation of the display interface of the target application.
[0114] Accordingly, adjusting the display interface to a first display state in response to the end of the zoom operation when the attribute information satisfies a preset condition includes adjusting the display interface to a second display state in response to the end of a reduce operation when the size information matches a preset size.
[0115] In some device embodiments, adjusting the display interface to a second display state in response to completion of the shrinking operation when the size information matches a preset size includes adjusting the display interface to a second display state in response to completion of the shrinking operation when the time that the size information matches the preset size is greater than or equal to a second preset time.
[0116] In some device embodiments, adjusting the display interface to a second display state includes adjusting the display interface to an icon display or adjusting the display interface to a thumbnail display.
[0117] In some device embodiments, the processor is adapted to execute an interface display state adjustment program stored in the memory, to realize the following steps: in response to the end of the zoom operation, if the attribute information does not satisfy a preset condition, adjust a size of the display interface based on the zoom operation.
[0118] In some device embodiments, the processor is adapted to execute an interface display state adjustment program stored in the memory, to realize the following steps: in response to the end of the zoom operation, if the time during which the attribute information satisfies a preset condition is less than a preset time, adjust a size of the display interface based on the zoom operation.
[0119] Correspondingly, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program, which, when executed by a processor, realizes the steps of the method for adjusting an interface display state.
[0120] It should be noted here that the above description of the storage medium and device embodiments is similar to the description of the method embodiments described above, and has the same beneficial effects as the method embodiments. For technical details not disclosed in the storage medium and device embodiments of the present application, they should be understood by referring to the description of the method embodiments of the present application.
[0121] 7 is a schematic diagram of the hardware entities of an electronic device in an embodiment of the present application. As shown in FIG. 7, the hardware entities of the electronic device 700 include: a processor 701, a communication interface 702 and a memory 703.
[0122] The processor 701 typically controls the overall operation of the electronic device 700 .
[0123] The communication interface 702 allows the electronic device 700 to communicate with other electronic devices or servers over a network.
[0124] The memory 703 is configured to store instructions and applications executable by the processor 701, and can further cache data (e.g., image data, audio data, audio communication data, and video communication data) that the processor 701 and each module in the electronic device 700 is to process or has processed, and can be realized by FLASH (flash memory) or RAM (random access memory).
[0125] In some embodiments provided in the present application, it should be understood that the disclosed devices and methods may be realized in other ways. The above-described device embodiments are merely examples. For example, the division of the units is only a logical function division, and may have other division methods when actually realized. For example, multiple units or components may be combined or integrated into another system, or some functions may be omitted or not implemented. Furthermore, the coupling, direct coupling, or communication connection between each component shown or discussed may be made through some interfaces, and the indirect coupling or communication connection of the devices or units may be electrical, mechanical, or other forms.
[0126] The units described above as separate components may or may not be physically separated. The components shown as units may or may not be physical units, i.e., they may be located in one place or distributed among multiple network units. Some or all of them can be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
[0127] In addition, each functional unit in each embodiment of the present application may be integrated into one processing module, each unit may be a single unit, or two or more units may be integrated into one unit. The integrated units may be realized in the form of hardware, or may be realized by adding software functional units to hardware. Those skilled in the art can understand the following: Realizing all or part of the steps of the above method embodiments can be completed by hardware related to program commands. The program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps in the above method embodiments. The storage medium includes media that can store various program codes, such as mobile storage devices, ROMs, RAMs, magnetic disks, or optical disks.
[0128] The methods disclosed in some method embodiments provided herein may be combined in any manner, provided that they are not inconsistent, to obtain new method embodiments.The features disclosed in some product embodiments provided herein may be combined in any manner, provided that they are not inconsistent, to obtain new product embodiments.The features disclosed in some method or device embodiments provided herein may be combined in any manner, provided that they are not inconsistent, to obtain new method or device embodiments.
[0129] The above is merely a specific embodiment of the present application, and the scope of protection of the present application is not limited thereto, and any changes or replacements that a person skilled in the art can easily think of within the technical scope disclosed in the present application should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.
Claims
1. A method for adjusting an interface display state applied to an electronic device having a display screen, the method comprising the steps of: determining size information for a display interface of a target application in response to a shrinking operation of the display interface; In response to completion of the reducing operation, adjusting the display interface to a second display state when the size information matches a preset size; in response to the completion of the reduction operation, if size information of the display interface is greater than a preset size information or if a time during which the size information of the display interface is equal to or less than the preset size information is shorter than a preset time, adjusting a size of the display interface by dragging a bottom corner of the display interface of the target application during the reduction operation according to a user request, wherein the size of the adjusted display interface is greater than a size of the display interface in the second display state.
2. 2. The method for adjusting an interface display state according to claim 1, further comprising: when the size information matches a preset size, the electronic device displays first presentation information; and when the user releases his / her hand, the first presentation information is used to adjust the display state of the display interface to the second display state.
3. The method of claim 1 or 2, wherein adjusting the display interface to a second display state comprises adjusting the display interface to an icon display or adjusting the display interface to a thumbnail display.
4. adjusting a size of the display interface of the target application by dragging a bottom corner of the display interface during the shrinking operation in response to a request from the user; 2. The method for adjusting an interface display state according to claim 1, further comprising: reducing a size of the display interface of the target application according to a dragged distance when the user stops dragging while dragging a bottom corner of the display interface inward; and the size of the reduced display interface is larger than preset size information.
5. An electronic device including at least a memory, a communication bus, and a processor, The memory is used to store an interface display state adjustment program; the communication bus is used to realize connection and communication between the processor and the memory; An electronic device, wherein the processor is used to execute an interface display state adjustment program stored in the memory, thereby implementing the steps of the interface display state adjustment method according to any one of claims 1 to 4.
6. 1. A computer-readable storage medium, comprising: A computer-readable storage medium having a computer program stored therein, the computer program being executed by a processor to realize steps of the method for adjusting the interface display state according to any one of claims 1 to 4.
Citation Information
Patent Citations
Content display device, content display method and program
CN105094592A
Application window display method and electronic equipment
CN111966252A
Printing system, printing method and program
JP2002086833A
List image display device, list image display control method, and list image display control program
JP2008271094A
Method and device for executing object on display
JP2013218689A