Interface adjustment method and device

By displaying and adjusting the application interface in the safe display area of ​​the special-shaped screen, the problem of special-shaped screen adaptation and interface adjustment is solved, providing richer user interface adjustment options and improving the user experience.

CN113190320BActive Publication Date: 2024-09-24ZHUHAI KINGSOFT ONLINE GAME TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110555752.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-21
Publication Date
2024-09-24
Estimated Expiration
2041-05-21

Smart Images

  • Figure CN113190320B
    Figure CN113190320B
Patent Text Reader

Abstract

The present application provides an interface adjustment method and device, wherein the interface adjustment method comprises: receiving a click instruction submitted by a user for a target application; determining a safe display area of ​​a display module of the client according to the click instruction, and displaying a baseline display interface of the target application in the safe display area; upon receiving an interface adjustment instruction submitted by the user for the baseline display interface, determining interface adjustment parameters according to the interface adjustment instruction; adjusting the baseline display interface to a target display interface based on the interface adjustment parameters, and displaying the target display interface in the safe display area; enabling the user to adjust the display interface of the target application at will according to needs, so that the user can use the target application through the adjusted display interface, thereby improving the user's usage experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to an interface adjustment method and device. Background Art

[0002] With the development of Internet technology, users' demands for the size of mobile phone screens are becoming larger and larger. In order to provide users with devices with larger screen sizes, mobile phone service providers have derived mobile phone screens of various shapes, such as water drop screens, hole-punch screens, notch screens, etc., which makes it increasingly difficult to adapt various applications to screens. In the prior art, in the process of adapting applications to special-shaped screens, a safe display area is usually divided in the screen, and the display interface of the application is displayed in the safe display area to achieve the purpose of adapting the display interface of the application to the special-shaped screen. However, due to the different parameters of mobile phones with different special-shaped screens, although the display interface of the application can be displayed in the safe display area, the display interface in the safe display area may not meet the user's viewing needs. For example, if the display interface is too large or too small, the user cannot adjust the display interface in the safe display area. Therefore, an effective solution is urgently needed to solve the above problems. Summary of the invention

[0003] In view of this, the embodiment of the present application provides an interface adjustment method to solve the technical defects existing in the prior art. The embodiment of the present application also provides an interface adjustment device, a computing device, and a computer-readable storage medium.

[0004] According to a first aspect of an embodiment of the present application, there is provided an interface adjustment method, comprising:

[0005] Receiving a click instruction submitted by a user for a target application;

[0006] Determine a safe display area of ​​a display module of the client according to the click instruction, and display a reference display interface of the target application in the safe display area;

[0007] In the case of receiving an interface adjustment instruction submitted by the user for the reference display interface, determining an interface adjustment parameter according to the interface adjustment instruction;

[0008] The reference display interface is adjusted to a target display interface based on the interface adjustment parameter, and the target display interface is displayed in the safe display area.

[0009] Optionally, before the step of receiving a click instruction submitted by a user for a target application is performed, the step further includes:

[0010] Acquire module parameters of the display module and terminal parameters of the client, and send the module parameters and the terminal parameters to the server;

[0011] receiving a region division instruction returned by the server, wherein the region division instruction carries region division information for dividing the secure display area generated based on the module parameters and the terminal parameters;

[0012] The safe display area is determined in the display module according to the area division information carried in the area division instruction, and area information corresponding to the safe display area is stored.

[0013] Optionally, determining a safe display area of ​​a display module of the client according to the click instruction includes:

[0014] Read the area information according to the click instruction;

[0015] A safe display area of ​​the display module of the client is determined according to the reading result.

[0016] Optionally, determining a safe display area of ​​a display module of the client according to the click instruction includes:

[0017] Reading the terminal parameters of the client and the display parameters of the display module according to the click instruction;

[0018] The area parameter is calculated according to the terminal parameter and the display parameter, and the safe display area is determined in the display module according to the area parameter.

[0019] Optionally, displaying a reference display interface of the target application in the secure display area includes:

[0020] Obtaining an initial display interface of the target application;

[0021] Adjusting the initial display interface and display elements included in the initial display interface based on the display area parameters of the safe display area;

[0022] The reference display interface is obtained according to the adjustment result, and the reference display interface is displayed in the safe display area through the display module.

[0023] Optionally, in the case where the user submits an interface adjustment instruction for the reference display interface, before the step of determining the interface adjustment parameters according to the interface adjustment instruction is executed, the method further includes:

[0024] receiving a touch control instruction submitted by the user for an interface adjustment control included in the reference display interface;

[0025] Determine a region adjustment interface according to the touch command, and display the region adjustment interface in the safe display area;

[0026] Accordingly, when receiving an interface adjustment instruction submitted by the user for the reference display interface, determining the interface adjustment parameters according to the interface adjustment instruction includes:

[0027] When the interface adjustment instruction submitted by the user through the area adjustment interface is received, the interface adjustment parameters are determined according to the interface adjustment instruction.

[0028] Optionally, determining the interface adjustment parameter according to the interface adjustment instruction includes:

[0029] Parsing the interface adjustment instruction to obtain a horizontal adjustment parameter and / or a vertical adjustment parameter;

[0030] The interface adjustment parameter is determined according to the horizontal adjustment parameter and / or the vertical adjustment parameter.

[0031] Optionally, adjusting the reference display interface to a target display interface based on the interface adjustment parameter includes:

[0032] Determining the horizontal parameters and the vertical parameters of the reference display interface, and the display elements to be adjusted included in the reference display interface;

[0033] Adjusting the horizontal parameter according to the horizontal adjustment parameter and / or adjusting the vertical parameter according to the vertical adjustment parameter, and adjusting the display element to be adjusted;

[0034] The target display interface is obtained according to the adjustment result.

[0035] Optionally, the adjusting the display element to be adjusted includes:

[0036] Determine a lateral adjustment ratio according to the lateral adjustment parameter and the lateral parameter, and / or determine a longitudinal adjustment ratio according to the longitudinal adjustment parameter and the longitudinal parameter;

[0037] The display element to be adjusted is adjusted based on the horizontal adjustment ratio and / or the vertical adjustment ratio.

[0038] According to a second aspect of an embodiment of the present application, there is provided an interface adjustment device, comprising:

[0039] A command receiving module is configured to receive a click command submitted by a user for a target application;

[0040] A region determination module, configured to determine a safe display region of a display module of the client according to the click instruction, and to display a reference display interface of the target application in the safe display region;

[0041] a parameter determination module, configured to determine an interface adjustment parameter according to the interface adjustment instruction submitted by the user for the reference display interface when receiving the interface adjustment instruction;

[0042] The display interface module is configured to adjust the reference display interface to a target display interface based on the interface adjustment parameter, and display the target display interface in the safe display area.

[0043] According to a third aspect of an embodiment of the present application, another interface adjustment method is provided, including:

[0044] Receiving a click instruction submitted by a user for a target application;

[0045] Determine a safe display area of ​​a display module of the client according to the click instruction, and display a reference display interface of the target application in the safe display area;

[0046] In a case where a region adjustment instruction submitted by the user for the safe display region is received, determining a region adjustment parameter according to the region adjustment instruction;

[0047] The safe display area is adjusted to a target safe display area based on the area adjustment parameter, and the reference display interface is displayed in the target safe display area.

[0048] Optionally, before the step of receiving a click instruction submitted by a user for a target application is performed, the step further includes:

[0049] Acquire module parameters of the display module and terminal parameters of the client, and send the module parameters and the terminal parameters to the server;

[0050] receiving a region division instruction returned by the server, wherein the region division instruction carries region division information for dividing the secure display area generated based on the module parameters and the terminal parameters;

[0051] The safe display area is determined in the display module according to the area division information carried in the area division instruction, and area information corresponding to the safe display area is stored.

[0052] Optionally, determining a safe display area of ​​a display module of the client according to the click instruction includes:

[0053] Read the area information according to the click instruction;

[0054] A safe display area of ​​the display module of the client is determined according to the reading result.

[0055] Optionally, determining a safe display area of ​​a display module of the client according to the click instruction includes:

[0056] Reading the terminal parameters of the client and the display parameters of the display module according to the click instruction;

[0057] The area parameter is calculated according to the terminal parameter and the display parameter, and the safe display area is determined in the display module according to the area parameter.

[0058] Optionally, displaying a reference display interface of the target application in the secure display area includes:

[0059] Obtaining an initial display interface of the target application;

[0060] Adjusting the initial display interface and display elements included in the initial display interface based on the display area parameters of the safe display area;

[0061] The reference display interface is obtained according to the adjustment result, and the reference display interface is displayed in the safe display area through the display module.

[0062] Optionally, in the case where the user submits an area adjustment instruction for the safe display area, before the step of determining the area adjustment parameters according to the area adjustment instruction is performed, the method further includes:

[0063] receiving a touch instruction submitted by the user for a region adjustment control included in the reference display interface;

[0064] Determine a region adjustment interface according to the touch command, and display the region adjustment interface in the safe display area;

[0065] Accordingly, in the case of receiving the area adjustment instruction submitted by the user for the safe display area, determining the area adjustment parameter according to the area adjustment instruction includes:

[0066] When the area adjustment instruction submitted by the user through the area adjustment interface is received, the area adjustment parameter is determined according to the area adjustment instruction.

[0067] Optionally, determining the area adjustment parameter according to the area adjustment instruction includes:

[0068] Parsing the regional adjustment parameters to obtain horizontal adjustment parameters and / or vertical adjustment parameters;

[0069] The area adjustment parameter is determined according to the horizontal adjustment parameter and / or the vertical adjustment parameter.

[0070] Optionally, adjusting the safe display area to a target safe display area based on the area adjustment parameter includes:

[0071] Determining a regional transverse parameter and a regional longitudinal parameter of the safe display area;

[0072] Adjusting the transverse parameter of the region according to the transverse adjustment parameter and / or adjusting the longitudinal parameter of the region according to the longitudinal adjustment parameter;

[0073] The target safe display area is obtained according to the adjustment result.

[0074] Optionally, displaying the reference display interface in the target safety display area includes:

[0075] Adjusting the reference display interface based on the target safe display area to obtain a target display interface;

[0076] The target display interface is displayed in the target safety display area.

[0077] Optionally, the adjusting the reference display interface based on the target safe display area to obtain a target display interface includes:

[0078] Determining an interface adjustment parameter according to the safe display area and the target safe display area;

[0079] The reference display interface is adjusted according to the interface adjustment parameters, and the target display interface is obtained according to the adjustment result.

[0080] According to a fourth aspect of an embodiment of the present application, another interface adjustment device is provided, comprising:

[0081] A click instruction receiving module is configured to receive a click instruction submitted by a user for a target application;

[0082] A display reference display interface module, configured to determine a safe display area of ​​a display module of the client according to the click instruction, and to display a reference display interface of the target application in the safe display area;

[0083] a region adjustment parameter determination module, configured to determine region adjustment parameters according to the region adjustment instruction when receiving a region adjustment instruction submitted by the user for the safe display region;

[0084] The safe display area adjustment module is configured to adjust the safe display area to a target safe display area based on the area adjustment parameter, and display the reference display interface in the target safe display area.

[0085] According to a fifth aspect of an embodiment of the present application, there is provided a computing device, including:

[0086] Memory and processor;

[0087] The memory is used to store computer executable instructions, and the processor implements the steps of the interface adjustment method when executing the computer executable instructions.

[0088] According to a sixth aspect of an embodiment of the present application, a computer-readable storage medium is provided, which stores computer-executable instructions, and when the instructions are executed by a processor, the steps of the interface adjustment method are implemented.

[0089] The interface adjustment method provided by the present application, when receiving a click instruction submitted by the user for the target application, will determine the safe display area of ​​the display module of the client according to the click instruction, and display the baseline display interface of the target application in the safe display area, so as to avoid the irregular display module from being unable to fully display the baseline display interface; thereafter, when receiving the interface adjustment instruction submitted by the user, the interface adjustment parameters can be determined according to the interface adjustment instruction, and the baseline display page can be adjusted to the target display interface based on the interface adjustment, and finally the target display interface can be displayed in the safe display area, so that the user can arbitrarily adjust the display interface of the target application in the safe display area, providing the user with more abundant interface adjustment options, so that the user can adjust the interface to meet the viewing needs. BRIEF DESCRIPTION OF THE DRAWINGS

[0090] Figure 1 is a flow chart of an interface adjustment method provided by an embodiment of the present application;

[0091] Figure 2 This is a schematic diagram of a special-shaped mobile phone screen provided by an embodiment of the present application;

[0092] Figure 3 is a schematic diagram of an adjustment reference display interface provided by an embodiment of the present application;

[0093] Figure 4 is a schematic diagram of a target display interface provided by an embodiment of the present application;

[0094] Figure 5It is a structural schematic diagram of an interface adjustment device provided in one embodiment of the present application;

[0095] Figure 6 is a flow chart of another interface adjustment method provided by an embodiment of the present application;

[0096] Figure 7 is a structural schematic diagram of another interface adjustment device provided in one embodiment of the present application;

[0097] Figure 8 It is a structural block diagram of a computing device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0098] Many specific details are described in the following description to facilitate a full understanding of the present application. However, the present application can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of the present application, so the present application is not limited by the specific implementation disclosed below.

[0099] The terms used in one or more embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit one or more embodiments of the present application. The singular forms of "a", "said" and "the" used in one or more embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in one or more embodiments of the present application refers to and includes any or all possible combinations of one or more associated listed items.

[0100] It should be understood that, although the terms first, second, etc. may be used to describe various information in one or more embodiments of the present application, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of the present application, the first may also be referred to as the second, and similarly, the second may also be referred to as the first.

[0101] In the present application, two interface adjustment methods are provided. The present application also relates to two interface adjustment devices, a computing device, and a computer-readable storage medium, which are described in detail one by one in the following embodiments.

[0102] Figure 1 A flowchart of an interface adjustment method provided according to an embodiment of the present application is shown. The interface adjustment method is applied to a client and specifically includes the following steps:

[0103] Step S102: receiving a click instruction submitted by a user for a target application.

[0104] Specifically, the client specifically refers to a terminal device held by a user, including but not limited to a mobile phone, tablet or computer. Correspondingly, the target application specifically refers to an application installed on the client, including but not limited to game applications, video applications, payment applications, instant messaging applications, etc.; the click instruction specifically refers to an instruction submitted by a user when opening the target application through the client.

[0105] Based on this, since different clients have display modules of different shapes, such as Figure 2 Schematic diagram of the mobile phone screen shown, where Figure 2 The mobile phone screen shown in (a) is a notch screen. Figure 2 The mobile phone screen shown in (b) is a water drop screen. Figure 2 The mobile phone screens shown in (c) and (d) are punch-hole screens. Figure 2 When displaying the display interface of an application on various irregular screens shown in the figure, due to the irregular shape of the screen (irregular polygon), in order to display the display interface of the application normally, it is necessary to determine the safe display area in the mobile phone screen before displaying, and then display the display interface of the application in the safe display area; wherein, the safe display area is the remaining display area after subtracting the irregular area from the mobile phone screen, such as Figure 3 The dotted area shown in (a) is the safe display area after deducting the phone bangs area. Figure 3 The dotted area shown in (b) is the safe display area obtained after deducting the height area of ​​the phone's bangs.

[0106] Therefore, in order to enable the display interface of the application to be normally displayed in the display module of the client, the safe display area of ​​the client can be pre-determined according to the terminal parameters of the client and the module parameters of the display module, and the area information of the safe display area is stored in the client, so that when the target application is opened, the display interface can be adapted to the display module of the client to be normally displayed to the user. In this embodiment, the specific implementation method of determining the safe display area of ​​the client is as follows:

[0107] Acquire module parameters of the display module and terminal parameters of the client, and send the module parameters and the terminal parameters to the server;

[0108] receiving a region division instruction returned by the server, wherein the region division instruction carries region division information for dividing the secure display area generated based on the module parameters and the terminal parameters;

[0109] The safe display area is determined in the display module according to the area division information carried in the area division instruction, and area information corresponding to the safe display area is stored.

[0110] Specifically, the module parameters include but are not limited to the size parameters and resolution parameters of the display module, and correspondingly, the terminal parameters include but are not limited to the device size parameters, etc.; it should be noted that the interface adjustment method provided in this embodiment is applied to the client, so the implementation of the interface adjustment method can be a function of the client or a function of the target application. Accordingly, when the client has the interface adjustment function, the size of any display interface can be adjusted; when the application has the interface adjustment function, only the size of the display interface of the application can be adjusted.

[0111] Among them, the server can be the side corresponding to the publisher of the client, or the side corresponding to the service side of the target application; the area division instruction specifically refers to the instruction of the server to divide the client into a safe display area, and the area division information specifically refers to the relevant information on how to divide the safe display area in the display module; accordingly, the area information is the information corresponding to the safe display area after the division, and the area information can enable the client to quickly adapt and display the display interface and the safe display area.

[0112] Based on this, in order to quickly adapt the client's baseline display interface to the safe display area, the area information corresponding to the safe display area can be stored in advance in the client. The specific implementation method is: obtain the module parameters of the display module and the terminal parameters of the client, and then send the terminal parameters and the module parameters to the server. The server can then divide the safe display area according to the module parameters and the terminal parameters. The area division information corresponding to the safe display area, and then the client receives the area division instruction issued by the server carrying the area division information. The client can now divide the safe display area in the display module according to the area division information. In order to quickly display the baseline display interface of the target application in the safe display area later, the area information corresponding to the safe display area can be stored, so that the safe display area can be determined by reading the area information, and the corresponding display interface can be displayed.

[0113] In practical applications, the safe display area is the area that is not blocked by the special-shaped display module of the client. The setting of the safe display area can be set according to actual needs. Different safe display areas can be set for different clients, such as Figure 2The schematic diagrams of the mobile phone screens shown in (a), (b), (c) and (d) respectively can set different safe display areas respectively, or directly set the same rectangular safe display area. This embodiment does not make too many restrictions here, and it only needs to be able to display the display interface of the target application.

[0114] Taking the client as a mobile phone as an example, the interface adjustment method is described; mobile phone X is as follows Figure 2 The appearance shape shown in (a) of the figure, at this time, the screen parameters of mobile phone X are obtained as {height 143mm, width 70mm}, and the mobile phone parameters of mobile phone X are obtained as {model X, upper earpiece size: height 8mm, width 35mm}. At this time, the screen parameters and mobile phone parameters are sent to the server of application Y. The server determines the area division information for dividing the safe display area according to the screen parameters and mobile phone parameters: take the lower left corner of the screen as the origin, the lower border of the screen as the x-axis (unit: mm), and the right border as the y-axis, take x=70mm, y=135mm to divide the safe display area, and send the area division information of the safe display area to mobile phone X. After receiving the area division information, mobile phone X divides the screen to obtain the following: Figure 3 The dotted area shown in (b) corresponds to the safe display area, and the size of the safe display area is 70 mm in width and 135 mm in height. At this time, mobile phone X will store the area information of the safe display area (70 mm in width and 135 mm in height, divided with the lower left corner of the screen as the origin) so that when application Y is opened, the interface of application Y can be adapted in the safe display area.

[0115] In summary, by pre-storing the area information of the safe display area adapted to the client, not only the efficiency of the subsequent display interface of the target application can be improved, but also the display interface can be prevented from being blocked by the special-shaped display module, thereby improving the user experience.

[0116] Step S104: determining a safe display area of ​​the display module of the client according to the click instruction, and displaying a reference display interface of the target application in the safe display area.

[0117] Specifically, based on the above-mentioned receipt of the click instruction submitted by the user for the target application, further, at this time, the safe display area can be determined in the display module of the client according to the click instruction, and then the baseline display interface of the target application can be displayed in the safe display area; wherein, the baseline display interface specifically refers to the display interface of the target application that is adapted to the safe display area, that is, after opening the target application, the display interface of the target application will completely overlap with the safe display area, so that it will be displayed in the safe display area.

[0118] Furthermore, in the process of determining the safe display area, in order to quickly read the safe display area and display it on the display interface of the target application, it can be achieved by reading the area information. In this embodiment, the specific implementation method is as follows:

[0119] Read the area information according to the click instruction;

[0120] A safe display area of ​​the display module of the client is determined according to the reading result.

[0121] Specifically, after receiving the click instruction submitted by the user, the pre-stored area information can be read according to the click instruction, and the safe display area in the display module of the client can be determined according to the reading result, so that the safe display area can be quickly determined for the click instruction.

[0122] In addition, if the client has an interface adjustment function, in order to realize normal display of the display interface of any target application, the safe display area can be temporarily determined according to the user's click instruction. In this embodiment, the specific implementation method is as follows:

[0123] Reading the terminal parameters of the client and the display parameters of the display module according to the click instruction;

[0124] The area parameter is calculated according to the terminal parameter and the display parameter, and the safe display area is determined in the display module according to the area parameter.

[0125] Specifically, when the click instruction is received, the terminal parameters of the client and the display parameters of the display module in the client can be read according to the click instruction, and then the area parameters are calculated using the terminal parameters and the display parameters. The area parameters specifically refer to the parameters corresponding to the safe display area, and then the safe display area can be determined in the display module based on the area parameters.

[0126] For example, a user clicks on application Y through mobile phone X. According to the user's click instruction, the screen parameters of mobile phone X are determined to be {height 143 mm, width 70 mm}, and the phone parameters of mobile phone X are {model X, upper earpiece size: height 8 mm, width 35 mm}. In order to display the display interface of application Y normally on mobile phone X, the area parameters of the safe display area can be calculated according to the screen parameters and phone parameters of mobile phone X, and the area parameters are determined to be {width 70 mm, height 135 mm}. Then, according to the area parameters, the safe display area can be determined on the screen of mobile phone X for displaying the display interface of application Y.

[0127] In summary, by determining the safe display area after receiving the click instruction, the display page of any application can be displayed through the safe display area, which effectively ensures that the baseline display interface of the target application can be displayed normally and avoids being blocked by the irregular display module.

[0128] Furthermore, after the safe display area is determined, the display interface of the target application can be displayed according to the safe display area. During the display process, in order to ensure that the display interface can be displayed normally, that is, the size of the display elements in the display interface is adapted to the size ratio of the safe display area, the reference display interface can be adjusted according to the safe display area for display. In this embodiment, the specific implementation method is as follows:

[0129] Obtaining an initial display interface of the target application;

[0130] Adjusting the initial display interface and display elements included in the initial display interface based on the display area parameters of the safe display area;

[0131] The reference display interface is obtained according to the adjustment result, and the reference display interface is displayed in the safe display area through the display module.

[0132] Specifically, the initial display interface specifically refers to the display interface of the default size of the target application, the display area parameters specifically refer to the size parameters corresponding to the safe display area, and accordingly, the display elements specifically refer to the elements contained in the initial display page, which may be UI controls, UI elements, and background images, etc.; the baseline display interface is the display interface adapted to the safe display area.

[0133] Based on this, after determining the safe display area, the initial display interface of the target application can be obtained. In order to ensure that the display interface of the target application can be displayed normally to the user, the initial display interface and the display elements contained in the initial display interface can be adjusted according to the display area parameters of the safe display area. According to the adjustment result, the benchmark display page can be obtained, that is, the size of the initial display interface and the size of the display elements will be adjusted according to the display area parameters. Finally, the benchmark display interface can be displayed in the safe display area through the display module.

[0134] Using the above example, the size of the initial display interface of application Y is {height 150 mm, width 77 mm}, and the display area parameters of the safe display area are {width 70 mm, height 135 mm}. At the same time, it is determined that the initial display interface of application Y includes HP_UI and MP_UI. At this time, in order to normally display the display interface of application Y in the safe display area, the initial display interface, HP_UI and MP_UI can be adjusted according to the display area parameters {width 70 mm, height 135 mm}. The adjustment process is to reduce the height and width of the initial display interface by 0.9 times, and HP_UI and MP_UI are also reduced by 0.9 times as a whole, so as to obtain the reference display interface, wherein the height of the reference display interface is 135 mm, the width is 70 mm, and the HP_UI and MP_UI contained therein are also scaled. Finally, the reference display interface can be displayed through the safe display area on the screen of mobile phone X, so that application Y can be normally displayed to the user.

[0135] In summary, in the process of displaying the baseline display interface through the safe display area, in order to enable the display interface of the target application to adapt to the safe display area, the initial display interface and the display elements contained in the initial display interface can be adjusted according to the display area parameters of the safe display area, so that the baseline display interface can adapt to the safe display area and be displayed, thereby avoiding the problem of the display interface of the target application being blocked by the special-shaped display module.

[0136] Step S106: upon receiving an interface adjustment instruction submitted by the user for the reference display interface, determining interface adjustment parameters according to the interface adjustment instruction.

[0137] Specifically, based on the successful display of the benchmark display page of the target application through the security zone display area as mentioned above, further, since the security display area is set by the server according to the parameters of the client, it is possible that the size of the security display area does not meet the user's viewing needs. For example, the security display area is too large or too small, resulting in the display effect of the benchmark display interface not meeting the user's viewing needs, greatly affecting the user's experience of using the target application.

[0138] Therefore, in order to enable the display effect of the display interface of the target application to meet the user's usage requirements, an adjustment interface can be provided to the user, so that the user can adjust the size of the baseline display interface in the safe display area according to usage requirements, so that the user can view the display interface that meets the viewing requirements in the safe display area, thereby improving the user's usage experience.

[0139] Based on this, the interface adjustment instruction specifically refers to the adjustment instruction submitted by the user for the benchmark display interface. The interface adjustment instruction includes but is not limited to submission through touch UI controls, submission by entering adjustment values ​​into an input box, etc. In actual applications, the triggering method of the interface adjustment instruction can be set according to the actual application scenario, and this embodiment does not make any limitations here.

[0140] Furthermore, when receiving an interface adjustment instruction submitted by the user for the benchmark display interface, it means that the benchmark display interface displayed in the current safe display area does not meet the user's viewing needs. The user can adjust the benchmark display interface by submitting the interface adjustment instruction, thereby realizing the display interface of the target application that meets the user's viewing needs in the safe display area. After receiving the interface adjustment instruction, the interface adjustment parameters can be determined according to the interface adjustment instruction. The interface adjustment parameters specifically refer to parameters for how to adjust the benchmark display interface. The adjustment parameters are determined according to the user's needs, that is, the interface adjustment parameters are determined according to the interface adjustment instruction.

[0141] Since the adjustment screen of most target applications is triggered in a set adjustment interface, before receiving the interface adjustment instruction, it is necessary to display the area adjustment interface to the user according to the touch instruction, so as to receive the user's interface adjustment instruction to adjust the reference display interface. In this embodiment, the specific implementation method is as follows:

[0142] receiving a touch control instruction submitted by the user for an interface adjustment control included in the reference display interface;

[0143] Determine a region adjustment interface according to the touch command, and display the region adjustment interface in the safe display area;

[0144] Accordingly, when receiving an interface adjustment instruction submitted by the user for the reference display interface, determining the interface adjustment parameters according to the interface adjustment instruction includes:

[0145] When the interface adjustment instruction submitted by the user through the area adjustment interface is received, the interface adjustment parameters are determined according to the interface adjustment instruction.

[0146] Specifically, the interface adjustment control specifically refers to the UI control that needs to be triggered when entering the area adjustment interface, and the touch instruction specifically refers to the instruction submitted after clicking the interface adjustment control. Accordingly, the area adjustment interface specifically refers to an interface provided to the user for adjusting the display interface of the target application, in which the user can adjust the baseline display interface as needed.

[0147] Based on this, after receiving the touch instruction submitted by the user for the interface adjustment control contained in the baseline display interface, it indicates that the user may need to adjust the size of the baseline display interface. Therefore, the area adjustment interface can be determined according to the touch instruction, and the area adjustment interface can be displayed to the user through the safe display area; at this time, if the interface adjustment instruction is received again, the interface adjustment parameters can be determined according to the interface adjustment instruction, which are used for subsequent adjustments to the baseline display interface to obtain a target display interface that meets the user's viewing needs.

[0148] See also Figure 3 In the schematic diagram shown in (c), the "adjustment" control is the interface adjustment control included in the baseline display interface. Correspondingly, the circular UIs on the horizontal and vertical axes of the screen are controls for receiving interface adjustment instructions. The user can drag the control to adjust the size of the display interface of the target application. For example, dragging the UI control on the vertical axis downward can reduce the vertical length of the display interface, and dragging the UI control on the horizontal axis to the right can reduce the horizontal length of the display interface. In actual applications, distance markers can be added to the horizontal and vertical axes. At the same time, the UI controls on the horizontal and vertical axes can also be set to other shapes, such as triangles, squares, ellipses, etc., which are not limited in this embodiment.

[0149] It should be noted that when the control receiving the interface adjustment instruction is a sliding control, it is necessary to set the sliding distance of the sliding control and the ratio of the enlargement and reduction of the reference display interface. For example, if the user slides the control 1cm, the display interface will be reduced by 10mm accordingly.

[0150] Furthermore, in the process of determining the interface adjustment parameters according to the interface adjustment instruction, since different users have different adjustment requirements, adjustment parameters corresponding to the horizontal and / or vertical directions may be received according to the interface adjustment instruction. In this embodiment, the specific implementation method is as follows:

[0151] Parsing the interface adjustment instruction to obtain a horizontal adjustment parameter and / or a vertical adjustment parameter;

[0152] The interface adjustment parameter is determined according to the horizontal adjustment parameter and / or the vertical adjustment parameter.

[0153] Specifically, the horizontal adjustment parameter specifically refers to the relevant parameters for horizontal adjustment of the benchmark display interface, that is, the numerical value corresponding to the horizontal adjustment size of the benchmark display interface; correspondingly, the vertical adjustment parameter specifically refers to the relevant parameters for vertical adjustment of the benchmark display interface, that is, the numerical value corresponding to the vertical adjustment size of the benchmark display interface; based on this, by parsing the interface adjustment instruction, the horizontal adjustment parameter and / or the vertical adjustment parameter can be obtained, and the interface adjustment parameter can be determined based on the horizontal adjustment parameter and / or the vertical adjustment parameter.

[0154] Using the above example, when the base display interface of application Y (height 135mm, width 70mm) is displayed in the safe display area of ​​mobile phone X, the interface is too large to meet the user's viewing needs. At this time, the user can adjust the size of the interface. Based on this, the touch command submitted by the user clicking the "adjust" control included in the base display interface is received, and the user is displayed according to the touch command. Figure 3 The area adjustment interface shown in (c) is then used to drag the UI controls on the horizontal and vertical axes according to viewing needs. The horizontal axis dragging distance is 5 cm, and the vertical axis dragging distance is 3 cm. According to the adjustment ratio of the UI controls and the interface, the interface adjustment parameters of the baseline display interface are determined to be {horizontally reduce by 50 mm, vertically reduce by 30 mm}, which is used for subsequent adjustments to the baseline display interface in the safe display area to generate an interface that meets the user's viewing needs.

[0155] In summary, in order to enable users to adjust the baseline display interface of the target application, a regional adjustment interface is provided to users so that users can adjust the baseline display interface to any size according to their needs, thereby allowing users to adjust the interface to meet their viewing needs, effectively improving the user's viewing experience.

[0156] In addition, to facilitate user operation, a UI control can be provided to the user. By triggering the UI control, the user can adjust the horizontal and vertical dimensions of the benchmark display interface at the same time. That is, by triggering the UI control, the benchmark display interface will automatically adjust the horizontal and vertical dimensions according to the zoom ratio, thereby avoiding the problem of distortion of the benchmark display interface caused by changes in the horizontal and vertical ratios of the benchmark display interface.

[0157] Step S108: adjusting the reference display interface to a target display interface based on the interface adjustment parameters, and displaying the target display interface in the safe display area.

[0158] Specifically, on the basis of determining the interface adjustment parameters according to the interface adjustment instruction, further, the baseline display interface can be adjusted according to the interface adjustment parameters to obtain a target display interface that meets the user's viewing needs, wherein the target display interface is the display interface obtained after adjusting the baseline display interface according to the interface adjustment parameters, and finally the target display interface is displayed to the user through the safe display area, so that the user can adjust the display interface at will according to needs.

[0159] In actual applications, in order to enable the target display interface to be displayed normally to the user, that is, when the target display interface is displayed in the safe display area, it is convenient for the user to view and operate the target display interface, the target display interface can be displayed in the center of the safe display area, see Figure 4 As shown in the schematic diagram, when the user slides the UI control on the horizontal axis horizontally and reduces the baseline display interface, the baseline display interface will be as follows Figure 4 As shown in (a), after the benchmark display interface is reduced, it is displayed in the center of the mobile phone screen, so as to facilitate the user to view and operate; or when the user slides the UI control on the vertical axis vertically and reduces the benchmark display interface, the benchmark display interface will change as follows Figure 4 As shown in (b), after the baseline display interface is reduced, it is displayed in the center of the mobile phone screen, making it easier for users to view and operate. Or when the user slides the UI controls on the vertical axis vertically and slides the UI controls on the horizontal axis horizontally to reduce the baseline display interface, the quasi-display interface will change as follows: Figure 4 The change shown in (c) is that after the baseline display interface is reduced in size, it is displayed in the center of the mobile phone screen, making it easier for users to view and operate.

[0160] In addition, after the target display interface is displayed in the safe display area, in order to facilitate the user to view the target display interface, the user can also drag the target display interface to move in the display module of the client as needed, so that the target display interface can be displayed to the user in the correct position according to the user's needs.

[0161] Furthermore, in the process of adjusting the reference display interface to the target display interface, in order to enable the corresponding display elements of the target display interface to be reduced or enlarged when being displayed to the user, the display elements in the interface may also be adjusted at the same time. In this embodiment, the specific implementation method is as follows:

[0162] Determining the horizontal parameters and the vertical parameters of the reference display interface, and the display elements to be adjusted included in the reference display interface;

[0163] Adjusting the horizontal parameter according to the horizontal adjustment parameter and / or adjusting the vertical parameter according to the vertical adjustment parameter, and adjusting the display element to be adjusted;

[0164] The target display interface is obtained according to the adjustment result.

[0165] Specifically, the horizontal parameter refers to the horizontal size of the benchmark display interface, and correspondingly, the vertical parameter refers to the vertical size of the benchmark display interface, and the display element to be adjusted refers to the unadjusted UI element contained in the benchmark display interface.

[0166] Based on this, in the process of adjusting the baseline display interface according to the interface adjustment parameters, the horizontal parameters and the vertical parameters of the baseline display interface can be determined first, and based on the display elements to be adjusted contained in the baseline display interface, the horizontal parameters are then adjusted according to the horizontal adjustment parameters in the interface adjustment parameters, and / or the vertical parameters are adjusted according to the vertical adjustment parameters in the interface adjustment parameters. At the same time, in order to achieve the adaptation of the display elements to the target display interface, the display elements to be adjusted can also be adjusted at the same time. Finally, the target display interface can be obtained according to the adjustment results. That is to say, after the user adjusts the baseline display interface, the baseline display interface and the elements contained in the interface will also be simultaneously reduced or enlarged, so that the adjusted target display interface can be normally displayed to the user.

[0167] Furthermore, in the process of adjusting the display element to be adjusted, in order to enable the display element to be adjusted to fit the target display screen after adjustment, the adjustment can be made according to the interface zoom ratio. In this embodiment, the specific implementation method is as follows:

[0168] Determine a lateral adjustment ratio according to the lateral adjustment parameter and the lateral parameter, and / or determine a longitudinal adjustment ratio according to the longitudinal adjustment parameter and the longitudinal parameter;

[0169] The display element to be adjusted is adjusted based on the horizontal adjustment ratio and / or the vertical adjustment ratio.

[0170] Specifically, the horizontal adjustment ratio specifically refers to the horizontal ratio of the baseline display interface to be reduced or enlarged, and the vertical adjustment ratio specifically refers to the vertical ratio of the baseline display interface to be reduced or enlarged; based on this, in the process of adjusting the display element to be adjusted, the horizontal adjustment ratio can be determined according to the horizontal adjustment parameter and the horizontal parameter, and / or the vertical adjustment ratio can be determined according to the vertical adjustment parameter and the vertical parameter, and then the display element to be adjusted can be adjusted according to the horizontal adjustment ratio and / or the vertical adjustment ratio.

[0171] Using the above example, it is determined that the interface adjustment parameters of the reference display interface are {horizontally reduced by 50mm, vertically reduced by 30mm}. At this time, the height of the reference display interface is read as 135mm and the width is 70mm. At this time, the reference display interface can be scaled according to the interface adjustment parameters. According to the processing results, a target display interface with a height of 85mm and a width of 40mm is obtained. At the same time, in order to facilitate user operation and viewing, the UI elements contained in the application Y can also be scaled. The horizontal adjustment ratio is (135mm-50mm) / 135mm=0.63, and the vertical adjustment ratio is (70mm-30mm) / 70mm=0.57. Then, the UI elements contained in the interface can be scaled according to the horizontal adjustment ratio and the vertical adjustment ratio to obtain the target display interface, and then displayed to the user through the safe display area.

[0172] In summary, in order to enable the target display interface to be displayed normally and ensure that the display elements contained in the interface can adapt to the size of the interface, the display elements to be adjusted contained in the interface will be simultaneously reduced or enlarged during the process of adjusting the interface, so that the adjusted target display interface is more reasonable.

[0173] In addition, if the target display interface is smaller after adjustment and contains controls that can be touched by the user, in order to avoid the controls being adjusted too small and affecting user operations, the controls that can be touched by the user can be moved outside the target display interface and placed in the safe display area when adjusted to a certain ratio threshold. This allows the user to avoid blocking the target display interface with their fingers when touching the controls, thereby affecting user operations.

[0174] The interface adjustment method provided by the present application, when receiving a click instruction submitted by the user for the target application, will determine the safe display area of ​​the display module of the client according to the click instruction, and display the baseline display interface of the target application in the safe display area, so as to avoid the irregular display module from being unable to fully display the baseline display interface; thereafter, when receiving the interface adjustment instruction submitted by the user, the interface adjustment parameters can be determined according to the interface adjustment instruction, and the baseline display page can be adjusted to the target display interface based on the interface adjustment, and finally the target display interface can be displayed in the safe display area, so that the user can arbitrarily adjust the display interface of the target application in the safe display area, providing the user with more abundant interface adjustment options, so that the user can adjust the interface to meet the viewing needs.

[0175] Corresponding to the above method embodiment, the present application also provides an interface adjustment device embodiment, Figure 5 FIG. 1 is a schematic diagram showing the structure of an interface adjustment device provided by an embodiment of the present application. Figure 5 As shown, the device comprises:

[0176] The instruction receiving module 502 is configured to receive a click instruction submitted by a user for a target application;

[0177] A determination area module 504 is configured to determine a safe display area of ​​a display module of the client according to the click instruction, and display a reference display interface of the target application in the safe display area;

[0178] The parameter determination module 506 is configured to determine the interface adjustment parameters according to the interface adjustment instruction when receiving the interface adjustment instruction submitted by the user for the reference display interface;

[0179] The display interface module 508 is configured to adjust the reference display interface to a target display interface based on the interface adjustment parameter, and display the target display interface in the safe display area.

[0180] In an optional embodiment, the interface adjustment device further includes:

[0181] A secure display area module is created, which is configured to obtain module parameters of the display module and terminal parameters of the client, and send the module parameters and the terminal parameters to a server; receive an area division instruction returned by the server, wherein the area division instruction carries area division information for dividing the secure display area generated based on the module parameters and the terminal parameters; determine the secure display area in the display module according to the area division information carried in the area division instruction, and store area information corresponding to the secure display area.

[0182] In an optional embodiment, the region determination module 504 is further configured to:

[0183] The area information is read according to the click instruction; and a safe display area of ​​the display module of the client is determined according to the reading result.

[0184] In an optional embodiment, the region determination module 504 is further configured to:

[0185] The terminal parameters of the client and the display parameters of the display module are read according to the click instruction; the area parameters are calculated according to the terminal parameters and the display parameters, and the safe display area is determined in the display module according to the area parameters.

[0186] In an optional embodiment, the region determination module 504 is further configured to:

[0187] Acquire the initial display interface of the target application; adjust the initial display interface and the display elements contained in the initial display interface based on the display area parameters of the safe display area; obtain the baseline display interface according to the adjustment result, and display the baseline display interface in the safe display area through the display module.

[0188] In an optional embodiment, the interface adjustment device further includes:

[0189] A display area adjustment interface module is configured to receive a touch instruction submitted by the user for an interface adjustment control included in the reference display interface; determine an area adjustment interface according to the touch instruction, and display the area adjustment interface in the safe display area;

[0190] Accordingly, the parameter determination module 506 is further configured to:

[0191] When the interface adjustment instruction submitted by the user through the area adjustment interface is received, the interface adjustment parameters are determined according to the interface adjustment instruction.

[0192] In an optional embodiment, the parameter determination module 506 is further configured to:

[0193] The interface adjustment instruction is parsed to obtain a horizontal adjustment parameter and / or a vertical adjustment parameter; and the interface adjustment parameter is determined according to the horizontal adjustment parameter and / or the vertical adjustment parameter.

[0194] In an optional embodiment, the display interface module 508 is further configured to:

[0195] Determine the horizontal parameters and the vertical parameters of the reference display interface, and the display elements to be adjusted contained in the reference display interface; adjust the horizontal parameters according to the horizontal adjustment parameters and / or adjust the vertical parameters according to the vertical adjustment parameters, and adjust the display elements to be adjusted; obtain the target display interface according to the adjustment results.

[0196] In an optional embodiment, the display interface module 508 is further configured to:

[0197] Determine a horizontal adjustment ratio according to the horizontal adjustment parameter and the horizontal parameter, and / or determine a vertical adjustment ratio according to the vertical adjustment parameter and the vertical parameter; and adjust the display element to be adjusted based on the horizontal adjustment ratio and / or the vertical adjustment ratio.

[0198] The interface adjustment device provided in this embodiment, when receiving a click instruction submitted by the user for the target application, will determine the safe display area of ​​the display module of the client according to the click instruction, and display the baseline display interface of the target application in the safe display area to avoid the abnormal display module from being unable to fully display the baseline display interface; thereafter, when receiving the interface adjustment instruction submitted by the user, the interface adjustment parameters can be determined according to the interface adjustment instruction, and the baseline display page can be adjusted to the target display interface based on the interface adjustment, and finally the target display interface can be displayed in the safe display area, so that the user can arbitrarily adjust the display interface of the target application in the safe display area, providing the user with more abundant interface adjustment options, so that the user can adjust the interface to meet the viewing needs.

[0199] The above is a schematic scheme of an interface adjustment device of the present embodiment. It should be noted that the technical scheme of the interface adjustment device and the technical scheme of the above-mentioned interface adjustment method belong to the same concept. For details not described in detail in the technical scheme of the interface adjustment device, please refer to the description of the technical scheme of the above-mentioned interface adjustment method. In addition, each component in the device embodiment should be understood as a functional module that must be established to implement each step of the program flow or each step of the method, and each functional module is not an actual functional division or separation definition. The device claim defined by such a group of functional modules should be understood as a functional module architecture that mainly implements the solution through the computer program recorded in the specification, and should not be understood as a physical device that mainly implements the solution through hardware.

[0200] Figure 6 A flowchart of another interface adjustment method provided according to an embodiment of the present application is shown. The interface adjustment method is applied to a client and specifically includes the following steps:

[0201] Step S602: receiving a click instruction submitted by a user for a target application.

[0202] In this embodiment, before the step of receiving a click instruction submitted by a user for a target application is executed, it also includes: obtaining module parameters of the display module and terminal parameters of the client, and sending the module parameters and the terminal parameters to the server; receiving an area division instruction returned by the server, the area division instruction carrying area division information for dividing the safe display area generated based on the module parameters and the terminal parameters; determining the safe display area in the display module according to the area division information carried in the area division instruction, and storing area information corresponding to the safe display area.

[0203] Step S604: determining a safe display area of ​​the display module of the client according to the click instruction, and displaying a reference display interface of the target application in the safe display area.

[0204] In this embodiment, determining the safe display area of ​​the display module of the client according to the click instruction includes: reading the area information according to the click instruction; and determining the safe display area of ​​the display module of the client according to the reading result.

[0205] In this embodiment, determining the safe display area of ​​the display module of the client according to the click instruction includes: reading the terminal parameters of the client and the display parameters of the display module according to the click instruction; calculating the area parameters according to the terminal parameters and the display parameters, and determining the safe display area in the display module according to the area parameters.

[0206] In this embodiment, displaying the baseline display interface of the target application in the safe display area includes: obtaining the initial display interface of the target application; adjusting the initial display interface and the display elements included in the initial display interface based on the display area parameters of the safe display area; obtaining the baseline display interface according to the adjustment result, and displaying the baseline display interface in the safe display area through the display module.

[0207] Another interface adjustment method provided in this embodiment has the same parts as the above-mentioned interface adjustment method. For the same parts, reference can be made to the corresponding description content in the above-mentioned interface adjustment method, and this embodiment will not be elaborated in detail here.

[0208] Step S606: upon receiving a region adjustment instruction submitted by the user for the safe display region, determining a region adjustment parameter according to the region adjustment instruction.

[0209] Specifically, when the user submits an area adjustment instruction for the safe display area, it means that the baseline display interface displayed in the safe display interface does not meet the user's viewing needs, and the user needs to adjust the safe display area so that the baseline display interface is displayed in the adjusted safe display area, so that the user can view and operate the target application normally.

[0210] Based on this, the area adjustment instruction specifically refers to the adjustment instruction submitted by the user for the safe display area. The area adjustment instruction includes but is not limited to submission through a touch UI control, submission by entering an adjustment value into an input box, etc. In actual applications, the triggering method of the area adjustment instruction can be set according to the actual application scenario, and this embodiment does not make any limitation here.

[0211] Furthermore, when receiving an area adjustment instruction submitted by the user for the safe display area, it means that the baseline display interface displayed in the current safe display area does not meet the user's viewing needs. The user can adjust the safe display area by submitting the area adjustment instruction to adjust the size of the baseline display interface, thereby realizing that the display interface of the target application that meets the user's viewing needs is displayed in the adjusted safe display area. After receiving the area adjustment instruction, the area adjustment parameters can be determined according to the area adjustment instruction. The area adjustment parameters specifically refer to parameters for how to adjust the safe display area. The adjustment parameters are determined according to the user's needs, that is, the area adjustment parameters are determined according to the area adjustment instruction.

[0212] Since the adjustment screen of most target applications is triggered in a set adjustment interface, before receiving the area adjustment instruction, it is necessary to display the area adjustment interface to the user according to the touch instruction, so as to receive the user's area adjustment instruction to adjust the safe display area. In this embodiment, the specific implementation method is as follows:

[0213] receiving a touch instruction submitted by the user for a region adjustment control included in the reference display interface;

[0214] Determine a region adjustment interface according to the touch command, and display the region adjustment interface in the safe display area;

[0215] Accordingly, in the case of receiving the area adjustment instruction submitted by the user for the safe display area, determining the area adjustment parameter according to the area adjustment instruction includes:

[0216] When the area adjustment instruction submitted by the user through the area adjustment interface is received, the area adjustment parameter is determined according to the area adjustment instruction.

[0217] Specifically, the area adjustment control specifically refers to the UI control that needs to be triggered when entering the area adjustment interface, and the touch instruction specifically refers to the instruction submitted after clicking the area adjustment control. Correspondingly, the area adjustment interface specifically refers to an interface provided to the user for adjusting the safe display area of ​​the display module, in which the user can adjust the safe display area according to needs.

[0218] Based on this, after receiving the touch instruction submitted by the user for the area adjustment control, it indicates that the user may need to adjust the size of the safe display area. Therefore, the area adjustment interface can be determined according to the touch instruction, and the area adjustment interface can be displayed to the user through the safe display area; at this time, if the area adjustment instruction is received again, the area adjustment parameters can be determined according to the area adjustment instruction, which can be used for subsequent adjustment of the safe display area to obtain the target safe display area that can display the baseline display interface.

[0219] In actual applications, when the control that receives the area adjustment instruction is a sliding control, it is necessary to set the sliding distance of the sliding control and the ratio of enlargement and reduction of the reference display interface. For example, if the user slides the control 1 cm, the display interface will be reduced by 10 mm accordingly.

[0220] Further, in the process of determining the area adjustment parameters according to the area adjustment instruction, since different users have different adjustment requirements, adjustment parameters corresponding to the horizontal direction and / or the vertical direction may be received according to the area adjustment instruction. In this embodiment, the specific implementation method is as follows:

[0221] Parsing the regional adjustment parameters to obtain horizontal adjustment parameters and / or vertical adjustment parameters;

[0222] The area adjustment parameter is determined according to the horizontal adjustment parameter and / or the vertical adjustment parameter.

[0223] Specifically, the horizontal adjustment parameter specifically refers to the relevant parameter for horizontal adjustment of the safe display area, that is, the numerical value corresponding to the horizontal adjustment size of the safe display area; correspondingly, the vertical adjustment parameter specifically refers to the relevant parameter for vertical adjustment of the safe display area, that is, the numerical value corresponding to the vertical adjustment size of the safe display area; based on this, by parsing the area adjustment instruction, the horizontal adjustment parameter and / or the vertical adjustment parameter can be obtained, and the area adjustment parameter can be determined based on the horizontal adjustment parameter and / or the vertical adjustment parameter.

[0224] For example, when the baseline display interface of application Y is displayed in the safe display area (height of 135 mm and width of 70 mm) of mobile phone X, the interface is too large to meet the viewing needs of the user. At this time, the user can adjust the size of the safe display area on mobile phone X. Based on this, a touch command submitted by the user clicking the "adjustment" control included in the baseline display interface is received, and the area adjustment interface is displayed to the user according to the touch command. Then, the UI controls on the horizontal and vertical axes are dragged according to the viewing needs, and the horizontal axis dragging distance is 5 cm, and the vertical axis dragging distance is 3 cm. According to the adjustment ratio of the UI controls to the interface, the area adjustment parameters for adjusting the safe display area are determined to be {horizontally reduced by 50 mm, vertically reduced by 30 mm}, so as to be used for subsequent adjustment of the safe display area to generate an interface that meets the viewing needs of the user.

[0225] In summary, in order to enable users to adjust the safe display area at will, an area adjustment interface is provided to users, so that users can adjust the safe display area to any size according to their needs, so that users can adjust the safe display area to meet their viewing needs. The interface that meets the user's viewing needs is displayed through the safe display area, which effectively improves the user's viewing experience.

[0226] In addition, to facilitate user operation, a UI control can be provided to the user. By triggering the UI control, the user can adjust the horizontal and vertical dimensions of the safe display area at the same time. That is, by triggering the UI control, the safe display area will automatically adjust the horizontal and vertical dimensions according to the zoom ratio, thereby avoiding the problem of distortion of the baseline display interface caused by changes in the horizontal and vertical ratios of the safe display area.

[0227] Step S608: adjusting the safe display area to a target safe display area based on the area adjustment parameter, and displaying the reference display interface in the target safe display area.

[0228] Specifically, on the basis of determining the area adjustment parameters according to the area adjustment instruction as mentioned above, further, the safe display area can be adjusted according to the area adjustment parameters at this time to obtain the target safe display area that meets the user's operation needs, and the benchmark display interface can be displayed in the target safe display area; wherein, the target safe display area is the safe display area obtained after adjusting the safe display area according to the area adjustment parameters, and finally, the benchmark display interface can be displayed to the user through the target safe display area, so that the user can adjust the safe display area at will according to needs.

[0229] In actual applications, in order to enable the baseline display interface to be displayed normally to the user, that is, when the baseline display interface is displayed in the target safe display area, it is convenient for the user to view and operate the baseline display interface, the baseline display interface can be centered in the target safe display area to facilitate user viewing and operation.

[0230] In addition, after the benchmark display interface is displayed in the target safe display area, in order to enable the user to conveniently view the benchmark display interface, the user can also drag the benchmark display interface to move in the display module of the client as needed, so that the benchmark display interface can be displayed to the user in the correct position as needed.

[0231] Furthermore, in the process of adjusting the safe display area according to the area adjustment parameters, since the user's needs for zooming in or out are different, it may be necessary to adjust the safe display area horizontally and / or vertically according to the user's adjustment needs. In this embodiment, the specific implementation method is as follows:

[0232] Determining a regional transverse parameter and a regional longitudinal parameter of the safe display area;

[0233] Adjusting the transverse parameter of the region according to the transverse adjustment parameter and / or adjusting the longitudinal parameter of the region according to the longitudinal adjustment parameter;

[0234] The target safe display area is obtained according to the adjustment result.

[0235] Specifically, the regional horizontal parameter specifically refers to the horizontal size of the safe display area, and correspondingly, the regional vertical parameter specifically refers to the vertical size of the safe display area; based on this, in the process of adjusting the safe display area according to the regional adjustment parameters, the regional horizontal parameters and regional vertical parameters of the safe display area can be determined first, and then the regional horizontal parameters of the safe display area are adjusted according to the horizontal adjustment parameters in the regional adjustment parameters, and / or the regional vertical parameters of the safe display area are adjusted according to the vertical adjustment parameters in the regional adjustment parameters. Finally, according to the adjustment results, the target safe display area that meets the user's viewing needs can be obtained, so that the baseline display interface can be displayed normally in the target safe display area.

[0236] Furthermore, in the process of displaying the reference display interface through the target safe display area, since the size of the safe display area has changed, if the reference display interface is not adjusted, the display may be incomplete. Therefore, the reference display interface may also be adjusted according to the adjustment parameters. In this embodiment, the specific implementation method is as follows:

[0237] Determining an interface adjustment parameter according to the safe display area and the target safe display area;

[0238] Adjusting the reference display interface according to the interface adjustment parameter, and obtaining the target display interface according to the adjustment result;

[0239] The target display interface is displayed in the target safety display area.

[0240] Specifically, the interface adjustment parameters specifically refer to the proportional parameters for adjusting the baseline display interface, the target display interface specifically refers to the display interface obtained after adjusting the baseline display interface, and the target display interface is adapted to the target safe display area; based on this, after adjusting the target safe display area, in order to be able to realize the normal display of the display interface of the target application in the target safe display area, the interface adjustment parameters can be determined based on the safe display area and the target safe display area, and then the baseline display interface is adjusted according to the interface adjustment parameters to obtain the target display interface, and finally the target display interface can be displayed in the target safe display area.

[0241] Continuing with the above example, after determining that the area adjustment parameters of the safe display area are {50 mm reduction in horizontal direction and 30 mm reduction in vertical direction}, the safe display area (height of 135 mm and width of 70 mm) is adjusted according to the area adjustment parameters to obtain a target safe display area of ​​85 mm in height and 40 mm in width. In order to continue to display the display interface of application Y through the target safe display area, the scaling parameters can be determined according to the first area parameter of the safe display area and the second area parameter of the target safe display area, that is, the horizontal scaling ratio is 0.63 and the vertical scaling ratio is 0.57. The reference display interface is then adjusted according to the scaling ratio to obtain a target display interface that matches the target safe display area. Finally, the target display interface can be displayed to the user through the target safe display area.

[0242] In summary, in order to enable the target safe display area to normally display the display interface of the target application, the baseline display interface can be adjusted when the safe display area is adjusted, so that the target display interface and the target safe display area can be adapted to meet the user's viewing experience.

[0243] Another interface adjustment method provided by this embodiment, after receiving a click instruction submitted by the user for the target application, the safe display area of ​​the display module of the client can be determined according to the click instruction, and the baseline display interface of the target application can be displayed in the safe display area; if thereafter, if a region adjustment instruction submitted by the user for the safe display area is received, indicating that the user needs to adjust the safe display area, the region adjustment parameters can be determined according to the region adjustment instruction, and finally the safe display area is adjusted to the target safe display area based on the region adjustment parameters, and the baseline display interface is displayed in the target safe display area; this enables the user to adjust the safe display area at will, provides the user with more abundant region adjustment options, and allows the user to adjust the interface to meet the viewing needs.

[0244] Corresponding to the above method embodiment, the present application also provides an interface adjustment device embodiment, Figure 7 FIG. 2 shows a schematic diagram of the structure of another interface adjustment device provided by an embodiment of the present application. Figure 7 As shown, the device comprises:

[0245] The click instruction receiving module 702 is configured to receive a click instruction submitted by a user for a target application;

[0246] A display reference display interface module 704 is configured to determine a safe display area of ​​a display module of the client according to the click instruction, and display a reference display interface of the target application in the safe display area;

[0247] The region adjustment parameter determination module 706 is configured to determine the region adjustment parameter according to the region adjustment instruction when receiving the region adjustment instruction submitted by the user for the safe display region;

[0248] The safe display area adjustment module 708 is configured to adjust the safe display area to a target safe display area based on the area adjustment parameter, and display the reference display interface in the target safe display area.

[0249] In an optional embodiment, the interface adjustment device further includes:

[0250] A storage area information module is configured to obtain module parameters of the display module and terminal parameters of the client, and send the module parameters and the terminal parameters to a server; receive an area division instruction returned by the server, wherein the area division instruction carries area division information for dividing the safe display area generated based on the module parameters and the terminal parameters; determine the safe display area in the display module according to the area division information carried in the area division instruction, and store area information corresponding to the safe display area.

[0251] In an optional embodiment, the display benchmark display interface module 704 is further configured to:

[0252] The area information is read according to the click instruction; and a safe display area of ​​the display module of the client is determined according to the reading result.

[0253] In an optional embodiment, the display benchmark display interface module 704 is further configured to:

[0254] The terminal parameters of the client and the display parameters of the display module are read according to the click instruction; the area parameters are calculated according to the terminal parameters and the display parameters, and the safe display area is determined in the display module according to the area parameters.

[0255] In an optional embodiment, the display benchmark display interface module 704 is further configured to:

[0256] Acquire the initial display interface of the target application; adjust the initial display interface and the display elements contained in the initial display interface based on the display area parameters of the safe display area; obtain the baseline display interface according to the adjustment result, and display the baseline display interface in the safe display area through the display module.

[0257] In an optional embodiment, the interface adjustment device further includes:

[0258] A touch instruction receiving module is configured to receive a touch instruction submitted by the user for the area adjustment control included in the reference display interface; determine the area adjustment interface according to the touch instruction, and display the area adjustment interface in the safe display area;

[0259] Accordingly, the region adjustment parameter determination module 706 is further configured to:

[0260] When the area adjustment instruction submitted by the user through the area adjustment interface is received, the area adjustment parameter is determined according to the area adjustment instruction.

[0261] In an optional embodiment, the determining region adjustment parameter module 706 is further configured to:

[0262] The regional adjustment parameter is parsed to obtain a horizontal adjustment parameter and / or a vertical adjustment parameter; and the regional adjustment parameter is determined according to the horizontal adjustment parameter and / or the vertical adjustment parameter.

[0263] In an optional embodiment, the module 708 for adjusting the safe display area is further configured to:

[0264] Determine the regional transverse parameters and regional longitudinal parameters of the safe display area; adjust the regional transverse parameters according to the transverse adjustment parameters and / or adjust the regional longitudinal parameters according to the longitudinal adjustment parameters; obtain the target safe display area according to the adjustment results.

[0265] In an optional embodiment, the module 708 for adjusting the safe display area is further configured to:

[0266] The reference display interface is adjusted based on the target safe display area to obtain a target display interface; and the target display interface is displayed in the target safe display area.

[0267] In an optional embodiment, the module 708 for adjusting the safe display area is further configured to:

[0268] Determine interface adjustment parameters according to the safe display area and the target safe display area; adjust the reference display interface according to the interface adjustment parameters, and obtain the target display interface according to the adjustment result.

[0269] Another interface adjustment device provided by this embodiment can determine the safe display area of ​​the display module of the client according to the click instruction after receiving the click instruction submitted by the user for the target application, and display the baseline display interface of the target application in the safe display area; if the area adjustment instruction submitted by the user for the safe display area is received later, indicating that the user needs to adjust the safe display area, the area adjustment parameters can be determined according to the area adjustment instruction, and finally the safe display area is adjusted to the target safe display area based on the area adjustment parameters, and the baseline display interface is displayed in the target safe display area; the user can adjust the safe display area at will, and the user is provided with more abundant area adjustment options, so that the user can adjust the interface to meet the viewing needs.

[0270] The above is a schematic scheme of another interface adjustment device of the present embodiment. It should be noted that the technical scheme of the interface adjustment device and the technical scheme of the above-mentioned another interface adjustment method belong to the same concept. For details not described in detail in the technical scheme of the interface adjustment device, please refer to the description of the technical scheme of the above-mentioned another interface adjustment method. In addition, each component in the device embodiment should be understood as a functional module that must be established to implement each step of the program flow or each step of the method, and each functional module is not an actual functional division or separation definition. The device claim defined by such a group of functional modules should be understood as a functional module architecture that mainly implements the solution through the computer program recorded in the specification, and should not be understood as a physical device that mainly implements the solution through hardware.

[0271] Figure 8 The structure block diagram of a computing device 800 provided according to an embodiment of the present application is shown. The components of the computing device 800 include but are not limited to a memory 810 and a processor 820. The processor 820 is connected to the memory 810 via a bus 830, and the database 850 is used to store data.

[0272] The computing device 800 also includes an access device 840 that enables the computing device 800 to communicate via one or more networks 860. Examples of these networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communication networks such as the Internet. The access device 840 may include one or more of any type of network interface (e.g., a network interface card (NIC)) that is wired or wireless, such as an IEEE 802.11 wireless local area network (WLAN) wireless interface, a World Wide Interoperability for Microwave Access (Wi-MAX) interface, an Ethernet interface, a universal serial bus (USB) interface, a cellular network interface, a Bluetooth interface, a near field communication (NFC) interface, and the like.

[0273] In one embodiment of the present application, the above components of the computing device 800 and Figure 8 Other components not shown in the figure may also be connected to each other, for example, via a bus. It should be understood that Figure 8 The computing device structure block diagram shown is only for the purpose of illustration, and is not intended to limit the scope of the present application. Those skilled in the art may add or replace other components as needed.

[0274] The computing device 800 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., a tablet computer, a personal digital assistant, a laptop computer, a notebook computer, a netbook, etc.), a mobile phone (e.g., a smart phone), a wearable computing device (e.g., a smart watch, smart glasses, etc.), or other types of mobile devices, or a stationary computing device such as a desktop computer or a PC. The computing device 800 may also be a mobile or stationary server. The processor 820 is used to execute computer executable instructions of the above two interface adjustment methods.

[0275] The above is a schematic scheme of a computing device of this embodiment. It should be noted that the technical scheme of the computing device and the technical scheme of the above interface adjustment method belong to the same concept, and the details not described in detail in the technical scheme of the computing device can be referred to the description of the technical scheme of the above interface adjustment method.

[0276] An embodiment of the present application further provides a computer-readable storage medium storing computer instructions, which are used for the above two interface adjustment methods when executed by a processor.

[0277] The above is a schematic scheme of a computer-readable storage medium of this embodiment. It should be noted that the technical scheme of the storage medium and the technical scheme of the above-mentioned interface adjustment method belong to the same concept, and the details not described in detail in the technical scheme of the storage medium can be referred to the description of the technical scheme of the above-mentioned interface adjustment method.

[0278] The above describes specific embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0279] The computer instructions include computer program codes, which may be in source code form, object code form, executable files or some intermediate forms, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0280] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described action sequence, because according to the present application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0281] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0282] The preferred embodiments of the present application disclosed above are only used to help explain the present application. The optional embodiments do not describe all the details in detail, nor do they limit the invention to the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of the present application. The present application selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present application, so that those skilled in the art can understand and use the present application well. The present application is only limited by the claims and their full scope and equivalents.

Claims

1. An interface adjustment method, characterized in that: Applied to the client, including: Receiving a click instruction submitted by a user for a target application, wherein the click instruction specifically refers to an instruction submitted by the user when opening the target application through a client; Determine a safe display area of ​​a display module of the client according to the click instruction, and display a reference display interface of the target application in the safe display area; In the case of receiving an interface adjustment instruction submitted by the user for the reference display interface, determining an interface adjustment parameter according to the interface adjustment instruction; Adjusting the reference display interface to a target display interface based on the interface adjustment parameter, and displaying the target display interface in the safe display area; Before the step of receiving a click instruction submitted by a user to a target application is executed, the method further includes: Acquire module parameters of the display module and terminal parameters of the client, and send the module parameters and the terminal parameters to the server; receive an area division instruction returned by the server, wherein the area division instruction carries area division information for dividing the safe display area generated based on the module parameters and the terminal parameters; determine the safe display area in the display module according to the area division information carried in the area division instruction, and store area information corresponding to the safe display area, wherein the server is the end corresponding to the publisher of the client or the party corresponding to the service party of the target application.

2. The interface adjustment method according to claim 1, characterized in that: The step of determining the safe display area of ​​the display module of the client according to the click instruction includes: Read the area information according to the click instruction; A safe display area of ​​the display module of the client is determined according to the reading result.

3. The interface adjustment method according to claim 1, characterized in that: The step of determining the safe display area of ​​the display module of the client according to the click instruction includes: Reading the terminal parameters of the client and the display parameters of the display module according to the click instruction; The area parameter is calculated according to the terminal parameter and the display parameter, and the safe display area is determined in the display module according to the area parameter.

4. The interface adjustment method according to claim 1, characterized in that: The base display interface of the target application program is displayed in the secure display area, including: Obtaining an initial display interface of the target application; Adjusting the initial display interface and display elements included in the initial display interface based on the display area parameters of the safe display area; The reference display interface is obtained according to the adjustment result, and the reference display interface is displayed in the safe display area through the display module.

5. The interface adjustment method according to claim 1, characterized in that: Before the step of determining the interface adjustment parameters according to the interface adjustment instruction in the case where the user submits the interface adjustment instruction for the reference display interface is executed, the method further includes: receiving a touch control instruction submitted by the user for an interface adjustment control included in the reference display interface; Determine a region adjustment interface according to the touch command, and display the region adjustment interface in the safe display area; Accordingly, when receiving an interface adjustment instruction submitted by the user for the reference display interface, determining the interface adjustment parameters according to the interface adjustment instruction includes: When the interface adjustment instruction submitted by the user through the area adjustment interface is received, the interface adjustment parameters are determined according to the interface adjustment instruction.

6. The interface adjustment method according to claim 1 or 5, characterized in that: The determining the interface adjustment parameter according to the interface adjustment instruction includes: Parsing the interface adjustment instruction to obtain a horizontal adjustment parameter and / or a vertical adjustment parameter; The interface adjustment parameter is determined according to the horizontal adjustment parameter and / or the vertical adjustment parameter.

7. The interface adjustment method according to claim 6, characterized in that: The adjusting the reference display interface to a target display interface based on the interface adjustment parameter includes: Determining the horizontal parameters and the vertical parameters of the reference display interface, and the display elements to be adjusted included in the reference display interface; Adjusting the horizontal parameter according to the horizontal adjustment parameter and / or adjusting the vertical parameter according to the vertical adjustment parameter, and adjusting the display element to be adjusted; The target display interface is obtained according to the adjustment result.

8. The interface adjustment method according to claim 7, characterized in that: The adjusting the display element to be adjusted includes: Determine a lateral adjustment ratio according to the lateral adjustment parameter and the lateral parameter, and / or determine a longitudinal adjustment ratio according to the longitudinal adjustment parameter and the longitudinal parameter; The display element to be adjusted is adjusted based on the horizontal adjustment ratio and / or the vertical adjustment ratio.

9. An interface adjustment device, characterized in that: Applied to the client, including: A storage area information module is configured to obtain module parameters of the display module and terminal parameters of the client, and send the module parameters and the terminal parameters to the server; receive a region division instruction returned by the server, wherein the region division instruction carries region division information for dividing a safe display area generated based on the module parameters and the terminal parameters; determine the safe display area in the display module according to the region division information carried in the region division instruction, and store region information corresponding to the safe display area, wherein the server is a side corresponding to the publisher of the client or a side corresponding to the service side of the target application; The instruction receiving module is configured to receive a click instruction submitted by a user for a target application, wherein the click instruction specifically refers to an instruction submitted by a user when opening the target application through a client; A region determination module, configured to determine a safe display region of a display module of the client according to the click instruction, and to display a reference display interface of the target application in the safe display region; a parameter determination module, configured to determine an interface adjustment parameter according to the interface adjustment instruction submitted by the user for the reference display interface when receiving the interface adjustment instruction; The display interface module is configured to adjust the reference display interface to a target display interface based on the interface adjustment parameter, and display the target display interface in the safe display area.

10. An interface adjustment method, characterized in that: Applied to the client, including: Receiving a click instruction submitted by a user for a target application, wherein the click instruction specifically refers to an instruction submitted by the user when opening the target application through a client; Determine a safe display area of ​​a display module of the client according to the click instruction, and display a reference display interface of the target application in the safe display area; In a case where a region adjustment instruction submitted by the user for the safe display region is received, determining a region adjustment parameter according to the region adjustment instruction; Adjusting the safe display area to a target safe display area based on the area adjustment parameter, and displaying the reference display interface in the target safe display area; Before the step of receiving a click instruction submitted by a user to a target application is executed, the method further includes: Acquire module parameters of the display module and terminal parameters of the client, and send the module parameters and the terminal parameters to the server; receive an area division instruction returned by the server, wherein the area division instruction carries area division information for dividing the safe display area generated based on the module parameters and the terminal parameters; determine the safe display area in the display module according to the area division information carried in the area division instruction, and store area information corresponding to the safe display area, wherein the server is the end corresponding to the publisher of the client or the party corresponding to the service party of the target application.

11. An interface adjustment device, characterized in that: Applied to the client, including: A storage area information module is configured to obtain module parameters of the display module and terminal parameters of the client, and send the module parameters and the terminal parameters to the server; receive a region division instruction returned by the server, wherein the region division instruction carries region division information for dividing a safe display area generated based on the module parameters and the terminal parameters; determine the safe display area in the display module according to the region division information carried in the region division instruction, and store region information corresponding to the safe display area, wherein the server is a side corresponding to the publisher of the client or a side corresponding to the service side of the target application; A click instruction receiving module is configured to receive a click instruction submitted by a user for a target application, wherein the click instruction specifically refers to an instruction submitted by a user when opening the target application through a client; A display reference display interface module, configured to determine a safe display area of ​​a display module of the client according to the click instruction, and to display a reference display interface of the target application in the safe display area; a region adjustment parameter determination module, configured to determine region adjustment parameters according to the region adjustment instruction when receiving a region adjustment instruction submitted by the user for the safe display region; The safe display area adjustment module is configured to adjust the safe display area to a target safe display area based on the area adjustment parameter, and display the reference display interface in the target safe display area.

12. A computing device, characterized in that: include: Memory and processor; The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions to implement the steps of any one of claims 1 to 8 or 10.

13. A computer-readable storage medium storing computer instructions, characterized in that: When the instruction is executed by a processor, the steps of the method described in any one of claims 1 to 8 or 10 are implemented.