Display interface display method and device, electronic equipment and storage medium
By obtaining and adjusting the scaling ratio and strategy of the operation keys in the display interface, the problem that the operation key display size cannot be dynamically adjusted in the existing technology is solved, and personalized settings and user experience are improved.
Patent Information
- Application Number
- CN202311101391.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-29
- Publication Date
- 2025-02-28
AI Technical Summary
When existing screen-mounted devices display the operation keys, the display size of the operation keys cannot be adjusted dynamically, which limits the user's personalized needs and is not conducive to user experience.
By obtaining the scaling ratio of the target operation key from the display interface, determining the adjustment strategy of the remaining operation key based on the scaling ratio and the current proportion of the remaining operation key, and adjusting the size of the target operation key and the remaining operation key in the display interface to achieve personalized settings.
Dynamic adjustment of operation key controls is realized, meeting users' personalized needs for the display interface and improving user experience.
Smart Images

Figure CN119536565A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a display interface display method, device, electronic equipment and storage medium. Background Art
[0002] With the progress of society, the emergence of electronic devices with display screens (referred to as screen devices) has brought great convenience to users' daily lives. However, as users' personalized needs increase, they have gradually put forward higher requirements for the display functions of screen devices. When existing screen devices display operation keys (function keys of each electronic control key), the display size of the operation keys is generally fixed at the factory and cannot be dynamically adjusted, which limits the personalized needs of users and is not conducive to user experience. Summary of the invention
[0003] The present invention provides a display interface display method, device, electronic equipment and storage medium, which can improve the existing display interface display solution.
[0004] In a first aspect, the present invention provides a method for displaying a display interface, comprising:
[0005] Acquire a zoom ratio when performing a zoom operation on a target operation control key from a display interface, wherein the display interface is used to display N operation control keys;
[0006] Determining an adjustment strategy corresponding to the remaining operation control keys according to the zoom ratio and the current ratio corresponding to the remaining operation control keys;
[0007] In the display interface, the N operation control keys are displayed according to the scaled target operation control key and the remaining operation control keys adjusted by the adjustment strategy.
[0008] Optionally, the scaling operation includes a zoom-in operation, and correspondingly, the scaling ratio includes a zoom-in ratio;
[0009] The determining the adjustment strategy corresponding to the remaining operation control keys according to the zoom ratio and the current ratio corresponding to the remaining operation control keys includes:
[0010] Acquire a first area of the target operation control key after being enlarged according to the enlargement ratio, and acquire a second area of the remaining operation control keys at the current ratio;
[0011] When the display interface cannot fully display each of the operation control keys according to the first area and the second area, controlling the remaining operation control keys to be reduced and adjusted according to the magnification ratio at the current ratio;
[0012] When the display interface is able to fully display each of the operation keys according to the first area and the second area, it is determined that the remaining operation keys maintain the current proportion.
[0013] Optionally, the amplification ratio includes an amplification threshold; and the method further includes:
[0014] When the enlargement ratio exceeds the enlargement threshold, the target operation key is controlled to be enlarged according to the enlargement threshold, and the remaining operation keys are controlled to be reduced and adjusted to the corresponding reduction threshold according to the enlargement threshold at the current ratio.
[0015] Optionally, the display interface includes a main interface and at least one auxiliary interface. When displaying N operation control keys, the display priority of the main interface is higher than that of at least one auxiliary interface. The remaining operation control keys include a first operation control key and a second operation control key. The first operation control key is an operation control key accommodated in the main interface; the second operation control key is an operation control key accommodated in at least one auxiliary interface.
[0016] When the display interface cannot fully display each of the operation control keys according to the first area and the second area, the method further includes:
[0017] Determine a remaining accommodation area of the main interface according to the first area;
[0018] Determining the first operation control key according to a current ratio between the remaining accommodation area and the remaining operation control keys;
[0019] Correspondingly, displaying the N operation control keys in the display interface according to the scaled target operation control key and the remaining operation control keys adjusted by the adjustment strategy includes:
[0020] The enlarged target operation control key and the first operation control key maintaining the current ratio are displayed on the main interface, and the second operation control key maintaining the current ratio is displayed on at least one of the auxiliary interfaces.
[0021] Optionally, the zooming operation includes a zooming-out operation, and the zooming-out operation includes a first zooming-out operation;
[0022] The determining the adjustment strategy corresponding to the remaining operation control keys according to the zoom ratio and the current ratio corresponding to the remaining operation control keys includes:
[0023] When the first reduction operation is performed on the enlarged target operation key, the remaining operation keys are controlled to be adjusted from a reduced state corresponding to the current ratio to a normal state.
[0024] Optionally, the zoom-out operation further includes a second zoom-out operation;
[0025] The determining the adjustment strategy corresponding to the remaining operation control keys according to the zoom ratio and the current ratio corresponding to the remaining operation control keys includes:
[0026] When the second zoom-out operation is performed on the target operation key in the normal state, the remaining operation keys maintain the normal state corresponding to the current ratio.
[0027] Optionally, the method further comprises:
[0028] receiving a background modification instruction for the target operation control key, wherein the background modification instruction includes at least one of a background color, a background image, and a background font;
[0029] A target background is determined from a background database according to the background modification instruction, and the target background is applied to the target operation control key for display.
[0030] In a second aspect, the present invention provides a display device for a display interface, the device comprising:
[0031] An acquisition module, used to acquire a zoom ratio when performing a zoom operation on a target operation control key from a display interface, wherein the display interface is used to display N operation control keys;
[0032] A determination module, configured to determine an adjustment strategy corresponding to the remaining operation control keys according to the zoom ratio and the current ratio corresponding to the remaining operation control keys;
[0033] A display module is used to display the N operation control keys in the display interface according to the scaled target operation control key and the remaining operation control keys adjusted by the adjustment strategy.
[0034] In a third aspect, the present invention further provides an electronic device, the electronic device comprising:
[0035] at least one processor; and
[0036] a memory communicatively connected to the at least one processor; wherein,
[0037] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the display interface display method described in any embodiment of the present invention.
[0038] In a fourth aspect, the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the display interface display method described in any embodiment of the present invention when executed.
[0039] The display interface display scheme provided by the embodiment of the present invention first obtains the scaling ratio when performing scaling operations on the target operation control key from the display interface, and the display interface is used to display N operation control keys; then determines the adjustment strategy corresponding to the remaining operation control keys according to the scaling ratio and the current ratios corresponding to the remaining operation control keys; finally, displays the N operation control keys in the display interface according to the scaled target operation control key and the remaining operation control keys adjusted by the adjustment strategy. The scheme provided by this embodiment scales the target operation control key in the display interface according to user needs, thereby automatically adjusting the remaining operation control keys according to the scaling of the target operation control key, thereby meeting the user's needs for personalized settings of the operation control keys in the display interface, solving the problem that the operation control keys of the screen device cannot be dynamically adjusted in the existing scheme, and achieving the beneficial effect of improving the user experience.
[0040] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the technical solution of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0042] Figure 1 It is a flow chart of the display interface display method provided by the present invention;
[0043] Figure 2 is another flow chart of the display interface display method provided by the present invention;
[0044] Figure 3 It is a schematic diagram of an interface of the display interface display method provided by the present invention;
[0045] Figure 4 is another interface schematic diagram of the display interface display method provided by the present invention;
[0046] Figure 5 It is another interface schematic diagram of the display interface display method provided by the present invention;
[0047] Figure 6 It is another interface schematic diagram of the display interface display method provided by the present invention;
[0048] Figure 7It is another interface schematic diagram of the display interface display method provided by the present invention;
[0049] Figure 8 It is another interface schematic diagram of the display interface display method provided by the present invention;
[0050] Fig. 9 It is a structural schematic diagram of a display device of a display interface provided by the present invention;
[0051] Fig.10 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0052] In order to enable those skilled in the art to better understand the solution of the present invention, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings in the present embodiment. Obviously, the described embodiment is only a part of the embodiment of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0053] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. 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 necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0054] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0055] Figure 1 This is a flow chart of the display interface display method provided by the present invention. This embodiment is applicable to the case of displaying the display interface of a device with a screen. The method can be executed by a display interface display device, which can be implemented in the form of hardware and / or software, and can be configured in a computer device such as a server. Figure 1 , the method may specifically include the following steps:
[0056] S110: Obtain, from the display interface, a zoom ratio when performing a zoom operation on a target operation control key.
[0057] The display interface indicates an interface for displaying the corresponding operation function buttons of the electronic device with a screen. The electronic devices applicable to this embodiment may be mobile terminal devices, smart home appliances with display screens (such as smart refrigerators, smart washing machines, and smart range hoods, etc.), or electronic devices with display screens used in the manufacturing industry, etc. The specific usage scenarios of this embodiment are not limited here.
[0058] One of the functions of the display interface in a device with a screen is to display N operation control keys contained in the corresponding electronic device. The user clicks on any operation control key to respond to the corresponding function of the operation control key, so as to provide service to the user through the function corresponding to the operation control key.
[0059] In conventional electronic devices, the display size of the display interface is limited by the size of the display screen in the device with a screen, and the display size of the N operation control keys contained therein is also limited. If each operation control key is displayed in the same size, it is not convenient for the user to click the operation control key preferred by the user. In view of this, the display interface display method provided in this embodiment improves the above problem.
[0060] The target operation control key is any operation control key among N operation control keys. Taking the electronic device as a washing device as an example, the function corresponding to each operation control key can be multiple washing functions corresponding to the washing device, such as mixed washing, quick washing, down washing, cotton and linen washing, denim washing, air washing and disinfection washing, etc. The washing functions included in the specific washing equipment are not limited here.
[0061] When selecting a washing function, taking mixed washing as an example, the user's preferred washing function, at this time, the user can use the operation control key corresponding to mixed washing as the target operation control key to perform a zoom operation, so as to facilitate the user's selection and facilitate use by the elderly; correspondingly, taking air washing as an example, the user's seldom used washing function, the user can use the operation control key corresponding to air washing as the target operation control key to perform a zoom operation, etc.
[0062] The above-mentioned zoom operation user indicates the actual required operation of the user on the target operation control key, and the current actual required operation is a zoom-in operation or a zoom-out operation, etc.
[0063] The method for obtaining the zoom ratio when performing a zoom operation on the target operation control key can be that a zoom ratio is preset in the application development stage of the electronic device. Taking the default ratio of 1 as an example, the corresponding zoom ratio can be set to multiples such as 0.25, 0.5, 1, 2, 4 and 8. When the user zooms the target operation control key, the zoom-in can be indicated by spreading the target operation control key outward with two fingers, and the larger the expansion degree, the larger the corresponding zoom-in multiple; the zoom-out can be indicated by gathering the target operation control key inward with two fingers, and the larger the zoom-out degree, the larger the corresponding zoom-out multiple, etc. In the display interface, the presentation size of the target operation control key can be dynamically displayed as the user zooms the target operation control key, so that the corresponding target zoom ratio of the target operation control key can be obtained when the user stops the zooming operation. The specific zoom ratio of the target operation control key and the zooming method of the target operation control key are not limited here.
[0064] S120: Determine adjustment strategies corresponding to the remaining operation control keys according to the zoom ratio and the current ratios corresponding to the remaining operation control keys.
[0065] The remaining operation keys indicate the remaining keys that can be displayed on the display interface except the target operation key and that have not been zoomed in or out by the user.
[0066] Among them, the method for determining the adjustment strategy corresponding to the remaining operation controls can be: Strategy 1, when the target operation control key is enlarged by a first multiple, the remaining operation controls are displayed at the current ratio, that is, the size state of the remaining operation controls will not change; Strategy 2, when the target operation control key is enlarged by a second multiple (the second multiple > the first multiple), the remaining operation controls are controlled to be reduced; Strategy 3, when the target operation control key is reduced from the first state (enlarged state), the remaining operation controls can be gradually enlarged from the current ratio until they are enlarged to the default ratio; Strategy 4, when the target operation control is reduced from the second state (default state), the remaining operation controls can maintain the current ratio, etc.
[0067] The above strategy can be further explained as follows: the N operation control keys in the initial state all maintain the same size, that is, the default ratio of each operation control key at the same size is 1. Among them. In strategy one, taking the first multiple of 1.25 times as an example, after the target operation control key is enlarged by 1.25 times, if the display interface can fully display the target operation control key enlarged by 1.25 times and the remaining operation control keys that maintain the current ratio in the display interface, the remaining operation control keys can continue to be displayed at the current ratio; in strategy two, taking the first multiple of 2 times as an example, after the target operation control key is enlarged by 2 times, there is a situation where the display interface cannot fully display the target operation control key enlarged by 2 times and the remaining operation control keys that maintain the current ratio. At this time, the remaining operation control keys can be controlled to shrink; in strategy three, after the target operation control key is enlarged by 2 times, Before the target operation key is reduced from the first state (enlarged state), there are two situations for the remaining operation control keys: situation one, reduced state; situation two, default ratio state. When the target operation control key is reduced from the first state (enlarged state), if the remaining operation control keys originally maintain the default ratio state, the remaining operation control keys may remain unchanged; if the remaining operation control keys are in a reduced state, when the target operation control key is reduced from the first state (enlarged state), the remaining operation control keys gradually return to the default ratio state; in strategy four, when the target operation control key is reduced from the second state (default state), the remaining operation control keys maintain their own state without changing.
[0068] S130 . Displaying N operation control keys in the display interface according to the scaled target operation control key and the remaining operation control keys adjusted by the adjustment strategy.
[0069] In step S110, the user can manually scale the target operation control key to the target ratio, and in step S120, the remaining operation control keys can be automatically controlled to make corresponding dynamic adjustments according to the changes of the target operation control key, so that N operation control keys can be displayed according to the user's personalized needs, and the display interface can be freely laid out, thereby improving the user's usage experience and personalized customization needs.
[0070] The display interface display method provided in this embodiment first obtains the scaling ratio when performing scaling operations on the target operation control key from the display interface, and the display interface is used to display N operation control keys; then determines the adjustment strategy corresponding to the remaining operation control keys according to the scaling ratio and the current ratio corresponding to the remaining operation control keys; finally, displays the N operation control keys in the display interface according to the scaled target operation control key and the remaining operation control keys adjusted by the adjustment strategy. The solution provided in this embodiment scales the target operation control key in the display interface according to user needs, thereby automatically adjusting the remaining operation control keys according to the scaling of the target operation control key, thereby meeting the user's needs for personalized settings of the operation control keys in the display interface, solving the problem that the operation control keys of the screen device in the existing solution cannot be dynamically adjusted, and achieving the beneficial effect of improving the user experience.
[0071] Figure 2 1 is another flow chart of the display interface display method provided by the present invention. The relationship between this embodiment and the above embodiment is a further refinement of the corresponding features of the above embodiment. Figure 2 As shown, the method may include the following steps:
[0072] S210: Obtain, from the display interface, a zoom ratio when performing a zoom operation on a target operation control key.
[0073] The display interface is used to display N operation control keys.
[0074] S220: Determine whether the zoom operation is a zoom-in operation.
[0075] In the display interface display solution provided in this embodiment, the zoom operation includes a zoom-in operation and a zoom-out operation.
[0076] If the currently executed zooming operation is a zoom-in operation, then step S230 is executed; otherwise, if it is a zoom-out operation, then step S270 is executed.
[0077] S230: Acquire a first area of the target operation key after being enlarged according to the enlargement ratio, and acquire a second area of the remaining operation keys at the current ratio.
[0078] The first area is obtained by the length and width of the target operation control key after the target operation control key is enlarged according to the enlargement ratio. The second area is the area of all remaining operation control keys at the current ratio. When the current ratio is the default ratio, the second area is obtained by the total length and total width of all remaining operation control keys.
[0079] S240: Determine whether the display interface can fully display each operation control key according to the first area and the second area.
[0080] The display area of the display interface is related to the size of the display screen. Among the N operation control keys, if any operation control key is enlarged, the size of the remaining operation control keys may change in order to keep the total number of displayed operation control keys unchanged.
[0081] Specifically, if the display interface can fully display each operation control key according to the first area and the second area, execute step S250; if the display interface cannot fully display each operation control key according to the first area and the second area, execute step S260.
[0082] S250: Determine that the remaining operation control keys maintain the current ratio.
[0083] Please refer to Figure 3 , Figure 3 FIG. 1 is a schematic diagram of an interface of a display interface display method provided by the present invention. Figure 3 In the case where the display interface is not full (the operation control keys do not fill the display interface), after the target operation control keys are enlarged by a certain ratio (such as 4 times), the display interface can still fully display the enlarged target operation control keys and the remaining operation control keys of the current ratio, and the remaining operation control keys do not need to be changed and still maintain the current ratio.
[0084] S251. Display N operation control keys in the display interface according to the enlarged target operation control key and the remaining operation control keys that maintain the current proportion.
[0085] S260, controlling the remaining operation keys to reduce and adjust according to the magnification ratio at the current ratio.
[0086] Please refer to Figure 4 and Figure 5 , Figure 4 is another interface schematic diagram of the display interface display method provided by the present invention; Figure 5 is another interface schematic diagram of the display interface display method provided by the present invention. Figure 4 exist Figure 3 On the basis of Figure 3 Use the target operation control key to further zoom in.
[0087] exist Figure 4 As can be seen from the figure, for a display interface that is not full of the screen, if you further zoom in (from Figure 3 In the example of enlarging the image from 4 times to 8 times), if the target operation control key of the first area and the remaining operation control keys of the second area cannot be fully displayed in the display interface, the remaining operation control keys can be automatically reduced so that each remaining operation control key can continue to be displayed in the display interface.
[0088] Another way to implement it is Figure 5As shown in FIG. 1 , for a display interface in a full-screen state, if the target operation control key is enlarged, the remaining operation control keys will be directly reduced according to the enlargement ratio. Figure 5 It can be seen that the display interface display solution provided by the present embodiment, for a display interface in a full-screen state, if the magnification ratio is a first ratio, the display interface can display the target operation control key after being magnified by the first ratio and the remaining operation control keys after being reduced. Furthermore, when the magnification continues to be to the second ratio, the target operation control key will be larger, and the size of the remaining operation control keys will remain unchanged. However, the difference from the magnification of the first ratio is that at this time, the relative position of the remaining operation control keys is changed compared to the initial position, and the remaining operation control keys will automatically fill in the position according to the magnification of the target operation control key, so that the target operation control key can be magnified to the maximum and the display interface remains coordinated.
[0089] S261. Display N operation control keys in the display interface according to the enlarged target operation control key and the reduced remaining operation control keys.
[0090] A preferred embodiment, in the scheme provided by this embodiment, the magnification ratio includes a magnification threshold, that is, it includes a maximum magnification factor, and accordingly, when the operation control key performs a zoom-out operation, it also includes a maximum zoom-out factor. Specifically, the scheme provided by this embodiment also includes: when the magnification ratio exceeds the magnification threshold, the target operation control key is controlled to be magnified according to the magnification threshold, and the remaining operation control keys are controlled to be zoomed out and adjusted to the corresponding zoom-out threshold according to the magnification threshold at the current ratio. That is, when the magnification ratio exceeds the magnification threshold, the target operation control key is zoomed in according to the maximum threshold, and the remaining operation control keys are controlled to be zoomed out according to the maximum zoom-out threshold.
[0091] Another preferred embodiment, please refer to Figure 6 , Figure 6 It is another interface schematic diagram of the display interface display method provided by the present invention. Figure 6 For Figure 5An optional solution is provided on the basis of . In the solution provided by this embodiment, the display interface includes a main interface and at least one auxiliary interface. When displaying N operation control keys, the display priority of the main interface is higher than that of at least one auxiliary interface. The remaining operation control keys include a first operation control key and a second operation control key. The first operation control key is an operation control key accommodated in the main interface; the second operation control key is an operation control key accommodated in at least one auxiliary interface. Among them, the main interface can indicate a display interface that gives priority to displaying operation control keys, and can also be an interface displayed to the user when the electronic device is powered on or initialized; the auxiliary interface can indicate an interface that is displayed by swiping left or right on the main interface. Among them, when displaying N operation control keys through the main interface and at least one auxiliary interface, the first operation control key can be 0, that is, the main interface only displays the target operation control key after being enlarged. Correspondingly, the remaining operation control keys can be displayed in the auxiliary interface, etc.
[0092] Specifically, if the display interface cannot fully display each operation control key based on the first area and the second area, the solution provided in this embodiment can also be implemented in the following way: determine the remaining accommodation area of the main interface based on the first area; determine the first operation control key based on the current ratio corresponding to the remaining accommodation area and the remaining operation controls.
[0093] The remaining accommodation area of the above-mentioned main interface is in the opposite state to the first area, that is, the larger the remaining accommodation area is, the more remaining operation control keys can be accommodated, and conversely, the smaller the remaining accommodation area is, the fewer remaining operation control keys can be accommodated. Among them, when the display interface includes an auxiliary interface, the current proportion corresponding to the remaining operation control keys can indicate the default proportion of the operation control keys, that is, the remaining operation control keys may not shrink as the target operation control key is enlarged, and the current proportion is always maintained. When there is a remaining accommodation area on the main interface that can accommodate the first operation control key, the corresponding number of operation control keys are determined from the remaining operation control keys as the first operation control keys and placed in the main interface; the remaining number of operation control keys among the remaining operation control keys are placed in the auxiliary interface as the second operation control keys.
[0094] Furthermore, the enlarged target operation control key and the first operation control key maintaining the current ratio may be displayed on the main interface, and the second operation control key maintaining the current ratio may be displayed on at least one auxiliary interface.
[0095] S270: Determine whether the zoom-out operation is the first zoom-out operation.
[0096] The display interface display scheme provided in this embodiment, when the target operation control key is reduced, the reduction operation includes a first reduction operation and a second reduction operation, wherein the first reduction operation is used to indicate the reduction of the enlarged target operation control key, and the second reduction operation is used to indicate the reduction of the target operation control key in a normal state (default ratio state).
[0097] If the zoom-out operation is the first zoom-out operation, step S280 is executed; if the zoom-out operation is not the first zoom-out operation, step S290 is executed.
[0098] S280: When a first reduction operation is performed on the enlarged target operation key, the remaining operation keys are controlled to be adjusted from a reduced state corresponding to the current ratio to a normal state.
[0099] Please refer to Figure 7 , Figure 7 is another interface diagram of the display interface display method provided by the present invention. The change process of the above step S280 can be seen from Figure 7 It is reflected in.
[0100] In an optional manner, before the first reduction operation is performed on the enlarged target operation key, if the remaining operation keys are in a normal state, when the first reduction operation is performed on the enlarged target operation key, the remaining operation keys remain in the normal state.
[0101] S281. Display N operation control keys in a normal state in the display interface.
[0102] S290: When a second zoom-out operation is performed on the target operation control key in the normal state, the remaining operation control keys maintain the normal state corresponding to the current ratio.
[0103] Please refer to Figure 8 , Figure 8 is another interface diagram of the display interface display method provided by the present invention. The change process of the above step S290 can be seen from Figure 8 It is reflected in.
[0104] S291. Display N operation control keys on the display interface according to the reduced target operation control key and the remaining operation control keys in the normal state.
[0105] In another preferred embodiment, the display interface display method provided by this embodiment further includes: receiving a background modification instruction for a target operation control key, the background modification instruction including at least one of background color, background image, and background font; determining a target background from a background database according to the background modification instruction, and applying the target background to the target operation control key for display. The current step is to further meet the personalized needs of users, allowing users to customize the background color, background image, and background font of the target operation control key to meet personal preferences and visual needs.
[0106] The display interface display method provided in this embodiment can adaptively adjust the remaining operation keys according to the adjustment strategy after the size of the target operation key changes, and the display interface can automatically maintain coordination on the basis of meeting the personalized needs of users. In addition, users can also customize the background color, background image and background font of the key operation keys to adapt to the user's various preferences and operating habits, improve the usability of the display interface and enhance the flexibility of the interface layout, thereby achieving the effect of dynamic layout and improving the user experience.
[0107] Fig. 9 FIG. 1 is a schematic diagram of a display interface display device provided by the present invention, and the device is suitable for executing the display interface display method provided by this embodiment. Fig. 9 As shown, the device may specifically include: an acquisition module 310, a determination module 320 and a display module 330, wherein:
[0108] An acquisition module 310 is used to acquire a zoom ratio when performing a zoom operation on a target operation control key from a display interface, wherein the display interface is used to display N operation control keys;
[0109] A determination module 320, configured to determine an adjustment strategy corresponding to the remaining operation control keys according to the zoom ratio and the current ratio corresponding to the remaining operation control keys;
[0110] The display module 330 is used to display the N operation control keys in the display interface according to the scaled target operation control key and the remaining operation control keys adjusted by the adjustment strategy.
[0111] The display interface display device provided in this embodiment first obtains the scaling ratio when performing scaling operations on the target operation control key from the display interface, and the display interface is used to display N operation control keys; then determines the adjustment strategy corresponding to the remaining operation control keys according to the scaling ratio and the current ratio corresponding to the remaining operation control keys; finally, displays the N operation control keys in the display interface according to the scaled target operation control key and the remaining operation control keys adjusted by the adjustment strategy. The solution provided in this embodiment scales the target operation control key in the display interface according to user needs, thereby automatically adjusting the remaining operation control keys according to the scaling of the target operation control key, thereby meeting the user's needs for personalized settings of the operation control keys in the display interface, solving the problem that the operation control keys of the screen device in the existing solution cannot be dynamically adjusted, and achieving the beneficial effect of improving user experience.
[0112] In one embodiment, the scaling operation includes a zoom-in operation, and correspondingly, the scaling ratio includes a zoom-in ratio; the determination module 320 includes an acquisition unit, a control unit, and a determination unit, wherein:
[0113] an acquisition unit, configured to acquire a first area of the target operation control key after being enlarged according to the enlargement ratio, and acquire a second area of the remaining operation control keys at the current ratio;
[0114] A control unit, configured to control the remaining operation keys to be reduced and adjusted according to the magnification ratio at the current ratio when the display interface cannot fully display each of the operation control keys according to the first area and the second area;
[0115] A determining unit is configured to determine that the remaining operation keys maintain the current proportion when the display interface is able to fully display each of the operation keys according to the first area and the second area.
[0116] In one embodiment, the amplification ratio includes an amplification threshold;
[0117] The control unit is specifically used to control the target operation control key to be enlarged according to the enlargement threshold when the enlargement ratio exceeds the enlargement threshold, and control the remaining operation control keys to be reduced and adjusted to the corresponding reduction threshold according to the enlargement threshold at the current ratio.
[0118] In one embodiment, the display interface includes a main interface and at least one auxiliary interface. When displaying N operation control keys, the display priority of the main interface is higher than that of at least one auxiliary interface. The remaining operation control keys include a first operation control key and a second operation control key. The first operation control key is an operation control key accommodated in the main interface; the second operation control key is an operation control key accommodated in at least one auxiliary interface.
[0119] The determination module 320 is further configured to determine a remaining accommodation area of the main interface according to the first area; and determine the first operation control key according to a current ratio between the remaining accommodation area and the remaining operation control keys.
[0120] The display module 330 is further specifically used to display the enlarged target operation control key and the first operation control key maintaining the current ratio on the main interface, and to display the second operation control key maintaining the current ratio on at least one of the auxiliary interfaces.
[0121] In one embodiment, the zoom operation includes a zoom-out operation, and the zoom-out operation includes a first zoom-out operation;
[0122] The determination module 320 is further specifically configured to control the remaining operation keys to adjust from a reduced state corresponding to a current ratio to a normal state when the first reduction operation is performed on the enlarged target operation key.
[0123] In one embodiment, the zoom-out operation further includes a second zoom-out operation;
[0124] The determination module 320 is further configured to, when the second zoom-out operation is performed on the target operation key in the normal state, keep the remaining operation keys in the normal state corresponding to the current ratio.
[0125] In one embodiment, the device further comprises a receiving module, wherein:
[0126] A receiving module, configured to receive a background modification instruction for the target operation control key, wherein the background modification instruction includes at least one of a background color, a background image, and a background font;
[0127] The display module 330 is further specifically configured to determine a target background from a background database according to the background modification instruction, and apply the target background to the target operation control key for display.
[0128] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example for illustration. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the functional modules described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0129] The present invention also provides an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the display interface display method described in any embodiment of the present invention.
[0130] The present invention further provides a computer-readable medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the display interface display method described in any embodiment of the present invention when executed.
[0131] Reference below Fig.10 , which shows a schematic diagram of the structure of a computer system 500 suitable for implementing the electronic device of the present invention. Fig.10 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the present embodiment.
[0132] like Fig.10As shown, the computer system 500 includes a central processing unit (CPU) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage part 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the system 500 are also stored. The CPU 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0133] The following components are connected to the I / O interface 505: an input section 506 including a keyboard, a mouse, etc.; an output section 507 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 508 including a hard disk, etc.; and a communication section 509 including a network interface card such as a LAN card, a modem, etc. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the I / O interface 505 as needed. A removable medium 511, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 510 as needed, so that a computer program read therefrom is installed into the storage section 508 as needed.
[0134] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 509, and / or installed from the removable medium 511. When the computer program is executed by the central processing unit (CPU) 501, the above-mentioned functions defined in the system of the present invention are executed.
[0135] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0136] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0137] The modules and / or units involved in the description of this embodiment may be implemented by software or hardware. The modules and / or units described may also be set in a processor, for example, it may be described as: a processor includes an acquisition module, a determination module and a display module. The names of these modules do not constitute limitations on the modules themselves in some cases.
[0138] As another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes: obtaining a scaling ratio when performing a scaling operation on a target operation control key from a display interface, the display interface being used to display N operation control keys; determining an adjustment strategy corresponding to the remaining operation control keys according to the scaling ratio and the current ratio corresponding to the remaining operation control keys; and displaying the N operation control keys in the display interface according to the scaled target operation control key and the remaining operation control keys adjusted by the adjustment strategy.
[0139] According to the technical solution of this embodiment, the target operation control key in the display interface is scaled according to user needs, so that the remaining operation control keys are automatically adjusted according to the scaling of the target operation control key, thereby meeting the user's needs for personalized settings of the operation control keys in the display interface, solving the problem that the operation control keys of the screen device cannot be dynamically adjusted in the existing solution, and achieving the beneficial effect of improving user experience.
[0140] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for displaying a display interface, characterized in that: include: Acquire a zoom ratio when performing a zoom operation on a target operation control key from a display interface, wherein the display interface is used to display N operation control keys; Determining an adjustment strategy corresponding to the remaining operation control keys according to the zoom ratio and the current ratio corresponding to the remaining operation control keys; In the display interface, the N operation control keys are displayed according to the scaled target operation control key and the remaining operation control keys adjusted by the adjustment strategy.
2. The display interface display method according to claim 1, characterized in that: The scaling operation includes a zoom-in operation, and correspondingly, the scaling ratio includes a zoom-in ratio; The determining the adjustment strategy corresponding to the remaining operation control keys according to the zoom ratio and the current ratio corresponding to the remaining operation control keys includes: Acquire a first area of the target operation control key after being enlarged according to the enlargement ratio, and acquire a second area of the remaining operation control keys at the current ratio; When the display interface cannot fully display each of the operation control keys according to the first area and the second area, controlling the remaining operation control keys to be reduced and adjusted according to the magnification ratio at the current ratio; When the display interface is able to fully display each of the operation keys according to the first area and the second area, it is determined that the remaining operation keys maintain the current proportion.
3. The display interface display method according to claim 2, characterized in that: The amplification ratio includes an amplification threshold; the method further includes: When the enlargement ratio exceeds the enlargement threshold, the target operation key is controlled to be enlarged according to the enlargement threshold, and the remaining operation keys are controlled to be reduced and adjusted to the corresponding reduction threshold according to the enlargement threshold at the current ratio.
4. The display interface display method according to claim 2, characterized in that: The display interface includes a main interface and at least one auxiliary interface. When displaying N operation control keys, the display priority of the main interface is higher than that of at least one auxiliary interface. The remaining operation control keys include a first operation control key and a second operation control key. The first operation control key is an operation control key accommodated in the main interface; the second operation control key is an operation control key accommodated in at least one auxiliary interface. When the display interface cannot fully display each of the operation control keys according to the first area and the second area, the method further includes: Determine a remaining accommodation area of the main interface according to the first area; Determining the first operation control key according to a current ratio between the remaining accommodation area and the remaining operation control keys; Correspondingly, displaying the N operation control keys in the display interface according to the scaled target operation control key and the remaining operation control keys adjusted by the adjustment strategy includes: The enlarged target operation control key and the first operation control key maintaining the current ratio are displayed on the main interface, and the second operation control key maintaining the current ratio is displayed on at least one of the auxiliary interfaces.
5. The display interface display method according to claim 1, characterized in that: The zoom operation includes a zoom-out operation, and the zoom-out operation includes a first zoom-out operation; The determining the adjustment strategy corresponding to the remaining operation control keys according to the zoom ratio and the current ratio corresponding to the remaining operation control keys includes: When the first reduction operation is performed on the enlarged target operation key, the remaining operation keys are controlled to be adjusted from a reduced state corresponding to the current ratio to a normal state.
6. The display interface display method according to claim 5, characterized in that: The zoom-out operation further includes a second zoom-out operation; The determining the adjustment strategy corresponding to the remaining operation control keys according to the zoom ratio and the current ratio corresponding to the remaining operation control keys includes: When the second zoom-out operation is performed on the target operation key in the normal state, the remaining operation keys maintain the normal state corresponding to the current ratio.
7. The display interface display method according to claim 1, characterized in that: The method further comprises: receiving a background modification instruction for the target operation control key, wherein the background modification instruction includes at least one of a background color, a background image, and a background font; A target background is determined from a background database according to the background modification instruction, and the target background is applied to the target operation control key for display.
8. A display device for a display interface, characterized in that: include: An acquisition module, used to acquire a zoom ratio when performing a zoom operation on a target operation control key from a display interface, wherein the display interface is used to display N operation control keys; A determination module, configured to determine an adjustment strategy corresponding to the remaining operation control keys according to the zoom ratio and the current ratio corresponding to the remaining operation control keys; A display module is used to display the N operation control keys in the display interface according to the scaled target operation control key and the remaining operation control keys adjusted by the adjustment strategy.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the display interface display method described in any one of claims 1-7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the display interface display method described in any one of claims 1 to 7 is implemented.