Interface display method and device, electronic equipment, storage medium and product
By identifying and adjusting the types of content displayed on the application interface and optimizing display parameters, the problem of interface clarity caused by screen resolution mismatch was resolved, and the display effect was improved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- BEIJING XIAOMI MOBILE SOFTWARE CO LTD
- Filing Date
- 2024-10-25
- Publication Date
- 2026-04-28
AI Technical Summary
Incompatibility in screen resolution between different types or models of electronic devices results in poor clarity of the application interface, affecting the display effect.
By determining the type of content displayed in the application interface, display parameters such as sharpness and contrast are adjusted according to the type to match the type of content and improve display clarity.
It improves the clarity of the application interface and meets users' needs for display effects of different types of content.
Smart Images

Figure CN121934793A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of electronic technology, and in particular to an interface display method, apparatus, electronic device, storage medium, and product. Background Technology
[0002] With the development of electronic technology, electronic devices are becoming increasingly diverse, and different types and even different models of electronic devices have different screen resolutions. Therefore, when the same application is installed on different types or models of electronic devices, a mismatch between the application's interface design resolution and the electronic device's screen resolution can result in poor clarity of the application interface displayed on the screen. Summary of the Invention
[0003] To overcome the problems existing in related technologies, this disclosure provides an interface display method, apparatus, electronic device storage medium, and product, which can improve the display clarity of the interface.
[0004] According to a first aspect of the present disclosure, a method for displaying an interface is provided. The method includes: determining the type of one or more display contents in an application interface; determining a first parameter adjustment value corresponding to the type of each display content; adjusting the display parameters of the application interface based on the first parameter adjustment value; and displaying the application interface according to the adjusted display parameters.
[0005] In some embodiments, each display content is displayed in one or more display areas in the application interface, and the first parameter adjustment value is different for different types of display content; wherein, adjusting the display parameters of the application interface based on the first parameter adjustment value includes: adjusting the display parameters of the display area where each display content is located according to the first parameter adjustment value corresponding to each display content, so as to obtain the adjusted display parameters.
[0006] In some embodiments, determining a first parameter adjustment value corresponding to the type of each display content includes: determining a first parameter adjustment value corresponding to the type of display content in each display area based on the application type of the source application of the application interface and / or relevant information of each display area; wherein the application type is associated with the type of display content in the application interface; the relevant information includes the type of display content in each display area, the size of each display area and / or the position of each display area in the application interface.
[0007] In some embodiments, determining a first parameter adjustment value corresponding to the type of each display content based on the application type of the source application of the application interface and / or relevant information of each display area includes: determining a second parameter adjustment value based on the application type of the source application of the application interface; determining a first adjustment coefficient corresponding to each display area based on relevant information of each display area; and determining a first parameter adjustment value corresponding to the type of display content of each display area based on the second parameter adjustment value and the first adjustment coefficient corresponding to each display area.
[0008] In some embodiments, determining a first adjustment coefficient corresponding to each display area based on relevant information of each display area includes: determining a second adjustment coefficient corresponding to each display area based on the type of display content of each display area; determining a third adjustment coefficient corresponding to each display area based on the size of each display area, wherein the magnitude of the third adjustment coefficient is positively correlated with the size of the display area; determining a first distance between each display area and the center of the application interface based on the position of each display area on the application interface; determining a fourth adjustment coefficient corresponding to each display area based on the first distance of each display area, wherein the magnitude of the fourth adjustment coefficient is negatively correlated with the first distance; and determining the first adjustment coefficient corresponding to each display area based on the second, third, and fourth adjustment coefficients of each display area.
[0009] In some embodiments, the method further includes: determining a second distance between the center of the application interface and a plurality of edge points on the application interface, wherein an edge point is the intersection of a straight line originating from the center of the application interface and passing through a display area with the edge of the application interface; wherein determining a fourth adjustment coefficient for each display area based on a first distance for each display area includes: determining the ratio of the first distance for each display area to the second distance for each display area as the fourth adjustment coefficient for each display area.
[0010] In some embodiments, the types of displayed content include video, image, and text; wherein, the first parameter adjustment value corresponding to the displayed content of video is greater than the first parameter adjustment value corresponding to the displayed content of image, and the first parameter adjustment value corresponding to the displayed content of image is greater than the first parameter adjustment value corresponding to the displayed content of text.
[0011] In some embodiments, the display parameters include sharpness.
[0012] According to a second aspect of the present disclosure, an interface display device is provided, the device comprising: a first determining module configured to determine the type of one or more display contents in an application interface; a second determining module configured to determine a first parameter adjustment value corresponding to the type of each display content; an adjusting module configured to adjust the display parameters of the application interface based on the first parameter adjustment value; and a display module configured to display the application interface according to the adjusted display parameters.
[0013] In some embodiments, each display content is displayed in one or more display areas in the application interface, and the first parameter adjustment value is different for different types of display content; wherein, the adjustment module is configured to: adjust the display parameters of the display area where each display content is located according to the first parameter adjustment value corresponding to each display content, so as to obtain the adjusted display parameters.
[0014] In some embodiments, the second determining module is configured to: determine a first parameter adjustment value corresponding to the type of display content of each display area based on the application type of the source application of the application interface and / or relevant information of each display area; wherein the application type is associated with the type of display content of the application interface; the relevant information includes the type of display content of each display area, the size of each display area and / or the position of each display area in the application interface.
[0015] In some embodiments, the second determining module is configured to: determine a second parameter adjustment value based on the application type of the source application of the application interface; determine a first adjustment coefficient corresponding to each display area based on relevant information of each display area; and determine a first parameter adjustment value corresponding to the type of display content of each display area based on the second parameter adjustment value and the first adjustment coefficient corresponding to each display area.
[0016] In some embodiments, the second determining module is configured to: determine a second adjustment coefficient for each display area based on the type of display content displayed in each display area; determine a third adjustment coefficient for each display area based on the size of each display area, wherein the magnitude of the third adjustment coefficient is positively correlated with the size of the display area; determine a first distance between each display area and the center of the application interface based on the position of each display area on the application interface; determine a fourth adjustment coefficient for each display area based on the first distance, wherein the magnitude of the fourth adjustment coefficient is negatively correlated with the first distance; and determine a first adjustment coefficient for each display area based on the second, third, and fourth adjustment coefficients.
[0017] In some embodiments, the device further includes: a third determining module configured to determine a second distance between the center of the application interface and a plurality of edge points on the application interface, wherein an edge point is the intersection of a straight line originating from the center of the application interface and passing through a display area with the edge of the application interface; wherein the second determining module is configured to: determine the ratio of the first distance corresponding to each display area to the second distance corresponding to each display area as a fourth adjustment coefficient corresponding to each display area.
[0018] In some embodiments, the types of displayed content include video, image, and text; wherein, the first parameter adjustment value corresponding to the displayed content of video is greater than the first parameter adjustment value corresponding to the displayed content of image, and the first parameter adjustment value corresponding to the displayed content of image is greater than the first parameter adjustment value corresponding to the displayed content of text.
[0019] In some embodiments, the display parameters include sharpness.
[0020] According to a third aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing computer programs or instructions; wherein the processor executes the computer programs or instructions to implement the steps of the method described above.
[0021] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, which stores executable instructions or a computer program that, when executed by a processor, implements the steps of the method described above.
[0022] According to a fifth aspect of the present disclosure, a computer program product is provided, including a computer program or instructions that, when executed by a processor, implement the steps of the method described above.
[0023] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects:
[0024] In this disclosure, a first parameter adjustment value corresponding to the application interface is determined based on the type of one or more displayed contents in the application interface. The display parameters pre-configured for the application interface are then adjusted based on this first parameter adjustment value to obtain the adjusted display parameters. Since the first parameter adjustment is determined based on the type of displayed contents of the application interface, the resulting adjusted display parameters are those that match the type of displayed contents. Displaying the application interface based on these parameters can improve its clarity to a certain extent, thereby enhancing its display effect.
[0025] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0026] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0027] Figure 1 This is a flowchart illustrating an interface display method according to an exemplary embodiment.
[0028] Figure 2 This is a schematic diagram illustrating an application interface according to an exemplary embodiment.
[0029] Figure 3 This is a schematic diagram illustrating a type of display content according to an exemplary embodiment.
[0030] Figure 4 This is a schematic diagram illustrating an application interface according to another exemplary embodiment.
[0031] Figure 5 This is a schematic diagram illustrating an application interface according to yet another exemplary embodiment.
[0032] Figure 6 This is a flowchart illustrating an interface display method according to another exemplary embodiment.
[0033] Figure 7 This is a block diagram illustrating an interface display device according to an exemplary embodiment.
[0034] Figure 8 This is a structural block diagram of an electronic device according to an exemplary embodiment. Detailed Implementation
[0035] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0036] With the development of electronic technology, electronic devices are becoming increasingly diverse, and different types and even different models of electronic devices have different screen resolutions. Therefore, when the same application is installed on different types or models of electronic devices, a mismatch between the application's interface design resolution and the electronic device's screen resolution can occur, resulting in poor clarity of the application interface displayed on the screen, thus affecting the display effect of the application interface.
[0037] To address the aforementioned problems, this disclosure provides an interface display method. This method can be executed by an electronic device. Exemplarily, the executing entity of the interface display method provided in this disclosure can be an electronic device. This electronic device can include mobile terminals and fixed terminals. The mobile terminal can include smartphones, tablets, laptops, digital cameras, and wearable electronic devices, etc. The fixed terminal can include desktop computers, all-in-one computers, etc.
[0038] refer to Figure 1 , Figure 1 This is a flowchart illustrating an interface display method according to an exemplary embodiment. In the following text, an electronic device will be used as the execution subject, with reference to... Figure 1 The steps shown illustrate the interface display method provided in this disclosure embodiment. This interface display method mainly includes the following steps:
[0039] In step 101, the type of one or more displayed contents in the application interface is determined.
[0040] Understandably, an application interface displayed on an electronic device can have one or more display contents. Therefore, when displaying an application interface or before displaying an application interface, the electronic device can obtain all the display contents on that application interface and determine the type of each display content.
[0041] In some embodiments, the application interface displayed by the method provided in this disclosure can be any application interface of any application installed in the electronic device. For example, the application interface displayed by the method provided in this disclosure can be the home screen of a shopping application installed in the electronic device.
[0042] In some embodiments, the types of content displayed include, but are not limited to, video, image, and text.
[0043] For example, refer to Figure 2 , Figure 2 This is a schematic diagram illustrating an application interface according to an exemplary embodiment. Figure 2 The application interface shown displays text in the first display area 201, images in the second display area 202, and video in the third display area 203. Based on this, the electronic device can determine that the application interface displays text, images, and videos.
[0044] In step 102, the first parameter adjustment value corresponding to the type of displayed content is determined.
[0045] Understandably, since the human eye is sensitive to different types of display content in different ways, electronic devices can also determine the first parameter adjustment value corresponding to the application interface based on the type of display content of the application interface after obtaining the type of display content of the application interface.
[0046] In some embodiments, the electronic device may store a first mapping relationship, wherein the first mapping relationship is a mapping relationship between the type of display content and a first parameter adjustment value. Based on this, the electronic device can look up the first parameter adjustment value corresponding to each type of display content from the first mapping relationship.
[0047] For example, when the types of displayed content include text, images, and videos, the first mapping relationship may include first parameter adjustment values corresponding to the displayed text content, the displayed image content, and the displayed video content. Based on this, when the electronic device determines that the application interface contains displayed video content, it can obtain the first parameter adjustment value corresponding to the displayed video content from the first mapping relationship. Similarly, when the electronic device determines that the application interface contains displayed text content, it can obtain the first parameter adjustment value corresponding to the displayed text content from the first mapping relationship. When the electronic device determines that the application interface contains both displayed video content and displayed text content, it obtains the first parameter adjustment values corresponding to both the displayed video content and the displayed text content from the first mapping relationship.
[0048] In step 103, the display parameters of the application interface are adjusted based on the first parameter adjustment value.
[0049] Understandably, after obtaining the first parameter adjustment value corresponding to the type of each displayed content in the application interface, the electronic device can adjust the original display parameters of the application interface based on the obtained first parameter adjustment value.
[0050] In some embodiments, when the content displayed on the application interface of the electronic device includes video, image, and text content, the electronic device can obtain the first parameter adjustment values corresponding to the video content, the image content, and the text content based on step 102 described above. Based on this, the electronic device can adjust the display parameters of the video display area on the application interface for displaying videos based on the first parameter adjustment values corresponding to the video content, adjust the display parameters of the image display area on the application interface for displaying images based on the first parameter adjustment values corresponding to the image content, and adjust the display parameters of the text display area on the application interface for displaying text based on the first parameter adjustment values corresponding to the text content.
[0051] In some embodiments, the display parameters of the application interface can be the display parameters configured for the application interface by the application interface developer when developing the application interface, or the display parameters configured for the application interface when optimizing the application interface.
[0052] In some embodiments, the electronic device may use the sum of the display parameters of the application interface and the first parameter adjustment value as the adjusted display parameters of the application interface.
[0053] For example, the electronic device can use the sum of the first parameter adjustment value corresponding to the video display content and the display parameters of the video display area as the adjusted display parameters for the video display area. Similarly, the electronic device can use the sum of the first parameter adjustment value corresponding to the image display content and the display parameters of the image display area as the adjusted display parameters for the image display area. Likewise, the electronic device can use the sum of the first parameter adjustment value corresponding to the text display content and the display parameters of the text display area as the adjusted display parameters for the text display area.
[0054] In some embodiments, the electronic device may also store a second mapping relationship, wherein the second mapping relationship is a mapping relationship between the type of displayed content and display parameters. Based on this, after obtaining the type of one or more displayed contents on the application interface, the electronic device can look up the display parameters corresponding to the type of each displayed content from the second mapping relationship, and determine the obtained display parameters as the adjusted display parameters for the application interface.
[0055] In some embodiments, display parameters include, but are not limited to, sharpness, contrast, saturation, etc.
[0056] In step 104, the application interface is displayed based on the adjusted display parameters.
[0057] Understandably, after adjusting the display parameters of the application interface based on step 103 above, the electronic device can obtain the adjusted display parameters of the application interface. At this time, the electronic device can display the application interface based on the adjusted display parameters.
[0058] In some embodiments, when the types of content displayed by the electronic device include video, image, and text, the electronic device may display video in the application interface based on display parameters adjusted for the video display area, display images in the application interface based on display parameters adjusted for the image display area, and display text in the application interface based on display parameters adjusted for the text display area.
[0059] In this embodiment of the disclosure, a first parameter adjustment value corresponding to the application interface is determined based on the type of one or more displayed contents in the application interface. The display parameters pre-configured for the application interface are then adjusted based on the first parameter adjustment value to obtain the adjusted display parameters. Since the first parameter adjustment is determined based on the type of displayed contents of the application interface, the resulting adjusted display parameters are display parameters that match the type of displayed contents of the application interface. Displaying the application interface based on such display parameters can improve the display clarity of the application interface to a certain extent, thereby improving the display effect of the application interface.
[0060] In some embodiments, the types of displayed content include video, image, and text.
[0061] Among them, the first parameter adjustment value corresponding to the display content of video is greater than the first parameter adjustment value corresponding to the display content of image, and the first parameter adjustment value corresponding to the display content of image is greater than the first parameter adjustment value corresponding to the display content of text.
[0062] Understandably, when the type of content displayed on the application interface includes video, image, and / or text, the first parameter adjustment value determined when the application interface display type is video is greater than the first parameter adjustment value determined when the application interface display content type is image. The first parameter adjustment value determined when the application interface display content type is image is greater than the first parameter adjustment value determined when the application interface display content type is text.
[0063] In some embodiments, when the display parameter is sharpness, the specific value of the first parameter adjustment value can be any value from 0 to 100.
[0064] It should be noted that the specific values of the first parameter adjustment value corresponding to different types of display content can be set as needed, and this embodiment does not limit this.
[0065] In this embodiment, considering that users typically have higher requirements for video display quality than for image display quality, and higher requirements for image display quality than for text display quality, the first parameter adjustment value corresponding to video content is set to be greater than that corresponding to image content, and the first parameter adjustment value corresponding to image content is set to be greater than that corresponding to text content. This allows the adjustment range of the display parameters for the video display area on the application interface to be greater than that for the image display area, and vice versa. This improves the display clarity of videos and images, thereby meeting user needs.
[0066] In some embodiments, each display content is displayed in one or more display interfaces, and the first parameter adjustment value is different for different types of display content; step 103 includes: adjusting the display parameters of the display area where each display content is located according to the first parameter adjustment value corresponding to each display content, so as to obtain the adjusted display parameters.
[0067] Understandably, since the content displayed on the application interface can be of various types, the electronic device can determine different first parameter adjustment values for different types of display content. Furthermore, each piece of display content on the application interface can be displayed in one or more display areas within the application interface. Based on this, after determining the first parameter adjustment value corresponding to each piece of display content on the application interface, for any type of display content, the electronic device can determine the display area where that type of display content is located, and based on the first parameter adjustment value corresponding to that type of display content, adjust the display parameters of the display area containing that type of display content to obtain the adjusted display parameters for each display area of the application interface.
[0068] In some embodiments, where the types of content displayed in the application interface include, but are not limited to, video, image, and text, the types of content displayed in each display area of the application interface also include, but are not limited to, video, image, and text.
[0069] For example, refer to Figure 2 The text content is displayed in Figure 2 The display area shown in the application interface is the first display area 201, and the image content is displayed in... Figure 2 The display area shown in the application interface is the second display area 202, where video content is displayed. Figure 2The display area in the application interface shown is the third display area 203. Based on this, the electronic device can adjust the display parameters of the first display area 201 according to the first parameter adjustment value corresponding to the text-type display content to obtain the adjusted display parameters of the first display area 201. The electronic device can adjust the display parameters of the second display area 202 according to the first parameter adjustment value corresponding to the image-type display content to obtain the adjusted display parameters of the second display area 202. The electronic device can adjust the display parameters of the third display area 203 according to the first parameter adjustment value corresponding to the video-type display content to obtain the adjusted display parameters of the third display area 203.
[0070] In some embodiments, after obtaining the adjusted display parameters for each display area, the electronic device can display the corresponding display area based on the adjusted display parameters for each display area when displaying the application interface.
[0071] For example, refer to Figure 2 When displaying an application interface, the electronic device can display the first display area 201 based on the adjusted display parameters of the first display area 201; display the second display area 202 based on the adjusted display parameters of the second display area 202; and display the third display area 203 based on the adjusted display parameters of the third display area 203.
[0072] In this embodiment, the electronic device adjusts the display parameters of display areas with corresponding types of display content based on first parameter adjustment values corresponding to different types of display content, so that the adjusted display parameters of each display area match the type of display content in each display area. Therefore, when displaying an application interface, displaying each display area based on display parameters that match the type of display content in each display area can improve the clarity of each display area of the application interface and further enhance the display effect of the application interface.
[0073] In some embodiments, each display area of the application interface may consist of a layer. Based on this, the electronic device can determine the display area of a layer in the application interface as a display area.
[0074] In some embodiments, step 102 includes: determining a first parameter adjustment value corresponding to the type of display content in each display area based on the application type of the source application of the application interface and / or relevant information of each display area;
[0075] The relevant information includes the type of content displayed in each display area, the size of each display area, and / or the position of each display area in the application interface.
[0076] Understandably, before displaying an application interface, an electronic device can determine the application type of the source application. Since the application type of the source application is related to the type of content displayed on the application interface, it can reflect the type of content to some extent. Therefore, after determining the application type of the source application, the electronic device can determine a first parameter adjustment value based on that type. Furthermore, since each piece of content on the application interface is displayed within one or more display areas, the electronic device can also obtain information such as the type of content displayed in each display area, the size of each display area, and its position within the application interface. Based on at least one of these factors, it can determine a first parameter adjustment value corresponding to the type of content displayed in each display area.
[0077] In some embodiments, since different types of applications can be installed on an electronic device, the electronic device can categorize the installed applications according to their functions. Based on this, the electronic device can also determine the source application to which the application interface to be displayed belongs, and determine the application type of that source application.
[0078] For example, when an electronic device determines that the currently displayed application interface is the application interface of a first application installed on the electronic device, the electronic device can determine that the source application of the application interface is the first application. At this time, the electronic device can determine the application type of the first application and use the first parameter adjustment value corresponding to the application type of the first application as the first parameter adjustment value number corresponding to the type of the display content of the application interface to be displayed.
[0079] In some embodiments, the electronic device may store a second mapping relationship, wherein the second mapping relationship is a mapping relationship between application identifier and application type. Based on this, when the electronic device determines that the source application of the application interface is the first application, it can obtain the application identifier of the first application and look up the application type corresponding to the application identifier of the first application from the second mapping relationship, thereby determining the application type of the first application.
[0080] In some embodiments, reference Figure 3 , Figure 3 This is a schematic diagram illustrating a type of displayed content according to an exemplary embodiment. For example... Figure 3 As shown, application types can include, but are not limited to: video applications, image applications, and other applications. Among them, other applications are all applications other than video applications and image applications.
[0081] For example, video applications include, but are not limited to, various video playback applications; image applications include, but are not limited to, various photo album applications or photo editing applications; and other types of applications include, but are not limited to, various book reading applications, office applications, and social applications.
[0082] In some embodiments, the electronic device may store a third mapping relationship, which is a mapping relationship between application type and parameter adjustment value. Based on this, after obtaining the application type of the source application of the application interface, the electronic device can look up the parameter adjustment value corresponding to the application type of the source application of the application interface from the third mapping relationship, and use the obtained parameter adjustment value as the first parameter adjustment value.
[0083] For example, when the application type includes video, image, and other types, the third mapping relationship stored in the electronic device can include parameter adjustment values corresponding to video applications, image applications, and other types of applications. Based on this, when the electronic device determines that the source application of the application interface is a video application, it can look up the parameter adjustment value corresponding to the video application in the third mapping relationship and use the obtained parameter adjustment value as the second parameter adjustment value.
[0084] In some embodiments, in the third mapping relationship, the parameter adjustment value corresponding to the video application is greater than the parameter adjustment value corresponding to the image application, and the parameter adjustment value corresponding to the image application is greater than the parameter adjustment value corresponding to other application types.
[0085] In some embodiments, the electronic device may further store a fourth mapping relationship, wherein the fourth mapping relationship is a mapping relationship between relevant information of display areas and parameter adjustment values. After obtaining the relevant information of each display area, the electronic device can look up the parameter adjustment value corresponding to the relevant information of each display area from the fourth mapping relationship, and use the obtained parameter adjustment value as the first parameter adjustment value corresponding to the type of display content of that display area. Based on this, the electronic device can obtain the first parameter adjustment value corresponding to the type of display content of each display area.
[0086] In some embodiments, when the relevant information of a display area includes: the type of display content of the display area, the size of the display area, and / or the position of the display area in the application interface, the fourth mapping relationship may include: the mapping relationship between the type of display content and the parameter adjustment value, the mapping relationship between the size of the display area and the parameter adjustment value, and / or the mapping relationship between the position of the display area in the application interface and the parameter adjustment value.
[0087] In some embodiments, for each display area on the application interface, the electronic device may use the average of the parameter adjustment values of the same display area obtained according to the third mapping relationship and the fourth mapping relationship as the first parameter adjustment value corresponding to the type of display content of the display area.
[0088] In some embodiments, determining a first parameter adjustment value corresponding to the type of each display content based on the application type of the source application of the application interface and / or relevant information of each display area includes: determining a second parameter adjustment value based on the application type of the source application of the application interface; determining a first adjustment coefficient corresponding to each display area based on relevant information of each display area; and determining a first parameter adjustment value corresponding to the type of display content of each display area based on the second parameter adjustment value and the first adjustment coefficient corresponding to each display area.
[0089] Understandably, different types of applications display different types of content. Therefore, electronic devices can determine the application type of the source application of an application interface before displaying it, and based on that application type, determine the corresponding second parameter adjustment value for that application interface.
[0090] In addition, the electronic device can also acquire information such as the type of display content, the size, and the position of each display area. After obtaining the relevant information for each display area, for any given display area, the electronic device can determine a first adjustment coefficient based on at least one of the type of display content, the size, and the position of the display area, and then adjust a second parameter adjustment value based on the first adjustment coefficient to obtain the first parameter adjustment value corresponding to the type of display content for that display area. Based on this, the electronic device can obtain the first parameter adjustment value corresponding to the type of display content for each display area.
[0091] In some embodiments, the electronic device may determine the application type of the source application of the application interface; and based on the application type of the source application of the application interface, determine the type of the display content of the application interface; and based on the type of the display content of the application interface, determine the second parameter adjustment value corresponding to the application interface.
[0092] In some embodiments, reference Figure 2Application types include, but are not limited to, video, image, and other types. Therefore, when an electronic device determines that the source application of the application interface to be displayed is a video application, it can determine that the type of the content displayed on that application interface is a video application. Similarly, when an electronic device determines that the source application of the application interface to be displayed is an image application, it can determine that the type of the content displayed on that application interface is an image application. When an electronic device determines that the source application of the application interface to be displayed is a type other than video or image, it can determine that the type of the content displayed on that application interface is another type.
[0093] For example, other types of applications may include, but are not limited to: reading applications, social applications, and media applications.
[0094] In some embodiments, since the application type is associated with the type of content displayed on the application interface, the electronic device can also directly determine the second parameter adjustment value corresponding to the application interface based on the application type of the source application of the application interface.
[0095] In some embodiments, after determining the application type of the source application of the application interface, the electronic device may also look up the parameter adjustment value corresponding to the application type of the source application of the application interface from the third mapping relationship, and use the obtained parameter adjustment value as the second parameter adjustment value.
[0096] In some embodiments, reference Figure 3 Information related to a display area includes, but is not limited to: the type of content displayed in the display area, the size of the display area, and / or the location of the display area.
[0097] In some embodiments, a display area of the application interface is composed of a layer. Based on this, the electronic device can obtain relevant information about the layer that constitutes a display area, and determine relevant information about the display area based on the relevant information about the layer that constitutes a display area.
[0098] For example, an electronic device may determine the type of content displayed in a display area based on the type of content drawn on a layer that constitutes a display area; an electronic device may determine the position of a display area based on the position of the layer that constitutes a display area on the application interface; and an electronic device may determine the size of a display area based on the size of the layer that constitutes a display area.
[0099] In some embodiments, the position of a layer can be the coordinates of the layer on the application interface.
[0100] In some embodiments, reference Figure 2 The types of content displayed in the display area include, but are not limited to: text, images, and videos.
[0101] In some embodiments, the electronic device can determine that the display content of a display area is text when the content drawn on the layer constituting the display area is text. The electronic device can also determine that the display content of a display area is an image when the content drawn on the layer constituting the display area is an image. Finally, the electronic device can determine that the display content of a display area is video when the content drawn on the layer constituting the display area is video.
[0102] In some embodiments, the electronic device may store a fifth mapping relationship, wherein the fifth mapping relationship is a mapping relationship between the type of display content of a display area and the adjustment coefficient. Based on this, after determining the type of display content of a display area, the electronic device can look up the adjustment coefficient corresponding to the type of display content of that display area from the fifth mapping relationship, and determine the obtained adjustment coefficient as the first adjustment coefficient corresponding to that display area, thereby obtaining the first adjustment coefficient corresponding to each display area.
[0103] In some embodiments, the first adjustment factor corresponding to the display content of video can be greater than the first adjustment factor corresponding to the display content of image, and the first adjustment factor corresponding to the display content of image can be greater than the first adjustment factor corresponding to the display content of text.
[0104] In some embodiments, the electronic device can also obtain the size of each display area. For any display area among multiple display areas, the electronic device can determine an adjustment coefficient for that display area based on its size, and use the determined adjustment coefficient as the first adjustment coefficient corresponding to that display area. Based on this, the electronic device can obtain the first adjustment coefficient corresponding to each display area, wherein the size of the display area is positively correlated with the adjustment coefficient of the display area.
[0105] In some embodiments, the electronic device may acquire the area of each display area and the area of the application interface, and determine the ratio between the area of a display area and the area of the application interface as the first adjustment coefficient corresponding to that display area.
[0106] For example, refer to Figure 4 , Figure 4 This is a schematic diagram illustrating an application interface according to another exemplary embodiment. The electronic device can obtain... Figure 4 The area of the display area 2021 is obtained, and the area of the application interface 20 is obtained. The ratio of the area of the display area 2021 to the area of the application interface 20 is determined as the first adjustment coefficient corresponding to the display area 2021.
[0107] In this embodiment of the disclosure, considering that when designing an application interface, a larger display area is usually set for the more important content in the application interface to facilitate users to view the important content, the electronic device determines a first adjustment coefficient for each display area based on the size of each display area. The larger the size of the display area, the better the display effect of the determined first adjustment coefficient. This ensures that larger display areas in the application interface have better display effects, that is, it ensures that important content in the application interface has a better display effect.
[0108] In some embodiments, the electronic device may further determine a first adjustment coefficient based on a first distance between each display area and the center of the application interface. The magnitude of the first adjustment coefficient is negatively correlated with the first distance.
[0109] In this embodiment, considering that when designing an application interface, important content is usually placed in the central area of the interface so that users can more easily focus on it, a larger first adjustment coefficient is set for the display area closer to the center of the interface, and a smaller first adjustment coefficient is set for the display area farther from the center. This allows the display area closer to the center to have a larger first parameter adjustment value, and the display area farther from the center to have a smaller first parameter adjustment value. Consequently, the adjusted display parameters of the display area closer to the center are larger, and the adjusted display parameters of the display area farther from the center are smaller, thus improving the display effect of the central display area.
[0110] In some embodiments, since the electronic device can determine the first adjustment coefficient corresponding to each display area based on the type of content displayed in each display area, the electronic device can also determine the first adjustment coefficient corresponding to each display area based on the size of each display area, or the electronic device can determine the first adjustment coefficient corresponding to each display area based on the position of each display area. Therefore, each display area may have multiple corresponding first adjustment coefficients. When multiple corresponding first adjustment coefficients exist for each display area, the electronic device can adjust the second parameter adjustment value based on any one of the multiple first adjustment coefficients corresponding to each display area to obtain a third parameter adjustment value corresponding to each display area. Alternatively, the electronic device can calculate the average value of the multiple first adjustment coefficients corresponding to each display area and adjust the second parameter adjustment value based on the average value of the multiple first adjustment coefficients corresponding to each display area to obtain a third parameter adjustment value corresponding to each display area.
[0111] In some embodiments, determining a first adjustment coefficient for each display area based on relevant information of each display area includes: determining a second adjustment coefficient for each display area based on the type of display content displayed in each display area; determining a third adjustment coefficient for each display area based on the size of each display area, wherein the magnitude of the third adjustment coefficient is positively correlated with the size of the display area; determining a first distance between each display area and the center of the application interface based on the position of each display area on the application interface; determining a fourth adjustment coefficient for each display area based on the first distance, wherein the magnitude of the fourth adjustment coefficient is negatively correlated with the first distance; and determining the first adjustment coefficient for each display area based on the second, third, and fourth adjustment coefficients.
[0112] Understandably, after obtaining the type of display content, the size, and the position of each display area, the electronic device can use an adjustment factor corresponding to the type of display content for each display area as a second adjustment factor. Furthermore, the electronic device can use an adjustment factor determined based on the size of the display area as a third adjustment factor for that display area, and an adjustment factor determined based on the first distance between the display area and the center of the application interface as a fourth adjustment factor. After obtaining the second, third, and fourth adjustment factors for a display area, the electronic device can determine the first adjustment factor for that display area based on these factors. Therefore, the electronic device can obtain the first adjustment factor for each display area based on the second, third, and fourth adjustment factors for each display area.
[0113] In some embodiments, after obtaining the type of the display content of a display area, the electronic device can look up the adjustment coefficient corresponding to the display content of the display area from the first mapping relationship, and use the obtained adjustment coefficient as the second adjustment coefficient corresponding to the display area.
[0114] In some embodiments, for each of the plurality of display areas, the electronic device may determine the area of the layer constituting a display area, and determine a third adjustment coefficient corresponding to a display area by means of the following formula (1), based on the area of the layer constituting a display area and the area of the application interface.
[0115]
[0116] Where M is the third adjustment factor, S is the area of the layer that constitutes a display area, and St is the area of the application interface.
[0117] In some embodiments, the electronic device can also acquire the position of each display area and determine the distance between each display area and the center of the application interface based on the position of each display area in the application interface. Then, the electronic device can determine a fourth adjustment coefficient corresponding to a display area based on a first distance between the display area and the center of the application interface, thereby obtaining the fourth adjustment coefficient for each display area.
[0118] In some embodiments, the electronic device may determine the distance between any point on the display area and the center of the application interface, and define the distance between any point on the display area and the center of the application interface as a first distance between the display area and the center of the application interface.
[0119] In some embodiments, the electronic device may determine the distance between the nearest point on a display area to the center of the application interface and the center of the application interface, and determine the obtained distance as a first distance between the display area and the center of the application interface.
[0120] In other embodiments, the electronic device may also determine the distance between the center point of a display area and the center of the application interface, and define the distance between the center point of the display area and the center of the application interface as a first distance between the display area and the center of the application interface.
[0121] In some embodiments, after obtaining the second adjustment coefficient, the third adjustment coefficient, and the fourth adjustment coefficient corresponding to each display area, the electronic device can use the product of the second adjustment coefficient, the third adjustment coefficient, and the fourth adjustment coefficient corresponding to a display area as the first adjustment coefficient corresponding to that display area.
[0122] In other embodiments, the electronic device may also use the sum of the second adjustment coefficient, the third adjustment coefficient, and the fourth adjustment coefficient corresponding to a display area, or the average of the second adjustment coefficient, the third adjustment coefficient, and the fourth adjustment coefficient, as the first adjustment coefficient corresponding to the display area.
[0123] In some embodiments, the center of the application interface can be the center point of the application interface, or any point whose distance from the center point of the application interface is less than a preset distance. The preset distance is less than half the width of the application interface.
[0124] In this embodiment, a first adjustment coefficient is determined based on a second, third, and fourth adjustment coefficient. The second parameter adjustment value is then adjusted based on the first adjustment coefficient to obtain the first parameter adjustment value. Finally, the display parameters of the display area are adjusted based on the first parameter adjustment value. Since the second adjustment coefficient is determined based on the type of content displayed in the display area, the third adjustment coefficient is determined based on the size of the display area, and the fourth adjustment coefficient is determined based on the position of the display area on the application interface, the first adjustment coefficient determined based on multiple parameters can be more adapted to each display area. This results in the first parameter adjustment value corresponding to each display area being more adapted to each display area, further improving the display effect of each display area of the application interface.
[0125] In some embodiments, the method further includes: determining a second distance between the center of the application interface and a plurality of edge points on the application interface, wherein an edge point is the intersection of a straight line originating from the center of the application interface and passing through a display area with the edge of the application interface; wherein determining a fourth adjustment coefficient for each display area based on a first distance for each display area includes: determining a fourth adjustment coefficient for each display area based on the first distance for each display area and the second distance for each display area.
[0126] Understandably, after obtaining the first distance corresponding to each display area, the electronic device can further determine the intersection point between a straight line originating from the center of the application interface, passing through each display area, and the edge of the application interface. This intersection point is then taken as the edge point corresponding to that display area. At this point, the electronic device obtains the edge point corresponding to each display area. Next, the electronic device can calculate the distance between the center of the application interface and the edge point corresponding to each display area, and determine the second distance for each display area based on these distances. After obtaining the second distance for each display area, the electronic device can determine the fourth adjustment coefficient for each display area based on both the first and second distances.
[0127] In some embodiments, the electronic device can determine the intersection point between a straight line originating from the center of the application interface and passing through the center of each display area, and the edge of the application interface. The intersection point of this straight line with the center of the application interface and passing through the center of a display area is then defined as the edge point corresponding to that display area. Based on this, the electronic device can obtain the edge point corresponding to each display area, and the distance between this edge point and the center of the application interface is defined as the second distance corresponding to that display area. In this case, the electronic device can obtain the second distance corresponding to each display area.
[0128] For example, refer to Figure 5 , Figure 5 This is a schematic diagram of an application interface according to yet another exemplary embodiment. The electronic device can determine the distance between the center point A of the second display area 2021 and the center point B of the application interface to obtain a first distance 501 corresponding to the second display area 2021. Additionally, the electronic device can determine the intersection point C of a straight line originating from center point B and passing through center point A with the edge of the application interface, and define intersection point C as the edge point corresponding to the second display area 2021. Then, the electronic device can determine the distance between intersection point C and center point B, and define this distance as a second distance 502 corresponding to the second display area 2021.
[0129] In some embodiments, the display parameters include sharpness.
[0130] It is understood that the display parameters of the application interface adjusted based on the method provided in the above embodiments can be the sharpness value of the application interface.
[0131] In some embodiments, when the display parameter is sharpness, the first parameter adjustment value and the second parameter adjustment value mentioned above can be sharpness adjustment values.
[0132] In some embodiments, when the display parameter is sharpness, the display parameter of the application interface described above can be the sharpness value configured for each display area of the application interface when designing the application interface.
[0133] refer to Figure 6 , Figure 6 This is a flowchart illustrating an interface display method according to another exemplary embodiment. In the following text, sharpness will be used as an example of the display parameter, combined with... Figure 6 The steps shown further illustrate the interface display method provided in the above embodiments.
[0134] In step 601, the application interface to be displayed is obtained.
[0135] In step 602, the application type of the source application of the application interface to be displayed is determined.
[0136] In step 603, if the source application of the application interface is a video application, the sharpness enhancement value T0 of the application interface is determined to be a; if the source application of the application interface is an image application, the sharpness enhancement value T0 of the application interface is determined to be b; if the source application of the application interface is another type, the sharpness enhancement value T0 of the application interface is determined to be c.
[0137] It should be noted that a is greater than b, and b is greater than c.
[0138] In step 604, the type of display content for each display area of the application interface is obtained.
[0139] In step 605, if the type of content displayed in a display area is video, then the first sharpness adjustment factor corresponding to the display area is determined to be d; if the type of content displayed in a display area is image, then the first sharpness adjustment factor corresponding to the display area is determined to be e; if the type of content displayed in a display area is text, then the first sharpness adjustment factor corresponding to the display area is determined to be f.
[0140] In step 606, the ratio of the area S of each display area to the area St of the entire application interface is calculated to obtain the ratio corresponding to each display area.
[0141] In step 607, based on the ratio corresponding to each display area Calculate the second sharpness adjustment factor for each display area.
[0142] In step 608, the third sharpness adjustment coefficient D corresponding to each display area is determined based on the distance between the center of each display area and the center of the application interface.
[0143] In step 609, the product of the first sharpness adjustment coefficient, the second sharpness adjustment coefficient, and the third sharpness adjustment coefficient corresponding to each display area is used as the fourth sharpness adjustment coefficient corresponding to each display area.
[0144] In step 610, the product of the fourth sharpness adjustment coefficient corresponding to each display area and the sharpness enhancement value of the application interface is used as the sharpness enhancement value of each display area.
[0145] In step 611, the sharpness value of the corresponding display area is adjusted based on the sharpness enhancement value of each display area.
[0146] In step 612, the various display areas of the application interface are displayed based on the adjusted sharpness values.
[0147] refer to Figure 7 , Figure 7 This is a block diagram illustrating an interface display device according to an exemplary embodiment. Figure 7 As shown, the interface display device 700 includes: a first determining module 701 configured to determine the type of one or more display contents in the application interface; a second determining module 702 configured to determine a first parameter adjustment value corresponding to the type of each display content; an adjusting module 703 configured to adjust the display parameters of the application interface based on the first parameter adjustment value; and a display module 704 configured to display the application interface according to the adjusted display parameters.
[0148] In some embodiments, each display content is displayed in one or more display areas in the application interface, and the first parameter adjustment value is different for different types of display content; wherein, the adjustment module 703 is configured to: adjust the display parameters of the display area where each display content is located according to the first parameter adjustment value corresponding to each display content, so as to obtain the adjusted display parameters.
[0149] In some embodiments, the second determining module 702 is configured to: determine a first parameter adjustment value corresponding to the type of display content of each display area based on the application type of the source application of the application interface and / or relevant information of each display area; wherein the application type is associated with the type of display content of the application interface; the relevant information includes the type of display content of each display area, the size of each display area and / or the position of each display area in the application interface.
[0150] In some embodiments, the second determining module 702 is configured to: determine a second parameter adjustment value based on the application type of the source application of the application interface; determine a first adjustment coefficient corresponding to each display area based on the relevant information of each display area; and determine a first parameter adjustment value corresponding to the type of display content of each display area based on the second parameter adjustment value and the first adjustment coefficient corresponding to each display area.
[0151] In some embodiments, the second determining module 702 is configured to: determine a second adjustment coefficient corresponding to each display area based on the type of display content of each display area; determine a third adjustment coefficient corresponding to each display area based on the size of each display area, wherein the magnitude of the third adjustment coefficient is positively correlated with the size of the display area; determine a first distance between each display area and the center of the application interface based on the position of each display area on the application interface; determine a fourth adjustment coefficient corresponding to each display area based on the first distance corresponding to each display area, wherein the magnitude of the fourth adjustment coefficient is negatively correlated with the first distance; and determine a first adjustment coefficient corresponding to each display area based on the second, third, and fourth adjustment coefficients corresponding to each display area.
[0152] In some embodiments, the device further includes: a third determining module configured to determine a second distance between the center of the application interface and a plurality of edge points on the application interface, wherein an edge point is the intersection of a straight line originating from the center of the application interface and passing through a display area with the edge of the application interface; wherein the second determining module 702 is configured to: determine the ratio of the first distance corresponding to each display area to the second distance corresponding to each display area as a fourth adjustment coefficient corresponding to each display area.
[0153] In some embodiments, the types of displayed content include video, image, and text; wherein, the first parameter adjustment value corresponding to the displayed content of video is greater than the first parameter adjustment value corresponding to the displayed content of image, and the first parameter adjustment value corresponding to the displayed content of image is greater than the first parameter adjustment value corresponding to the displayed content of text.
[0154] In some embodiments, the display parameters include sharpness.
[0155] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0156] Figure 8 This is a structural block diagram illustrating an electronic device 800 according to an exemplary embodiment. For example, the electronic device 800 may be a mobile phone, tablet computer, smartwatch, in-vehicle device, or other communication device.
[0157] Reference Figure 8 The electronic device 800 may include one or more of the following components: processing component 802, memory 804, power supply component 806, multimedia component 808, audio component 810, input / output (I / O) interface 812, sensor component 814, and communication component 816.
[0158] Processing component 802 typically controls the overall operation of electronic device 800, such as operations associated with at least one of display, telephone call, data communication, camera operation, and recording operation. Processing component 802 may include one or more processors 820 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 802 may include one or more modules to facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.
[0159] Memory 804 is configured to store various types of data to support operation on electronic device 800. Examples of such data include at least one of the following: instructions for any application or method operating on electronic device 800, contact data, phonebook data, messages, pictures, and videos. Memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read Only Memory (PROM), Read-Only Memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0160] Power supply component 806 provides power to various components of electronic device 800. Power supply component 806 may include at least one of the following: a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 800.
[0161] Multimedia component 808 includes a screen that provides an output interface between electronic device 800 and user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a Touch Panel, the screen may be implemented as a touchscreen to receive input signals from the user. The Touch Panel includes one or more touch sensors to sense touches, swipes, and gestures on the Touch Panel. The touch sensors may sense not only the boundaries of touch or swipe actions but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 808 includes a front-facing camera and / or a rear-facing camera. When electronic device 800 is in an operating mode, such as a shooting mode or video mode, the front-facing camera and / or rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0162] Audio component 810 is configured to output and / or input audio signals. For example, audio component 810 includes a microphone (MIC) configured to receive external audio signals when electronic device 800 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 804 or transmitted via communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
[0163] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, and buttons. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0164] Sensor assembly 814 includes one or more sensors for providing state assessments of various aspects of electronic device 800. For example, sensor assembly 814 may detect the on / off state of electronic device 800, the relative positioning of components such as the display and keypad of electronic device 800, changes in position of electronic device 800 or one of its components, the presence or absence of user contact with electronic device 800, orientation or acceleration / deceleration of electronic device 800, and temperature changes of electronic device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 814 may also include an optical sensor, such as a complementary metal-oxide-semiconductor (CMOS) or charge-coupled device (CCD) image sensor, for use in imaging applications. In some embodiments, sensor assembly 814 may also include, but is not limited to, at least one of the following: an accelerometer, a gyroscope, a magnetometer, a pressure sensor, and a temperature sensor.
[0165] Communication component 816 is configured to facilitate wired or wireless communication between electronic device 800 and other devices. Electronic device 800 can access wireless networks based on communication standards, such as Wi-Fi, 4G, 5G, or combinations thereof. In one exemplary embodiment, communication component 816 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 816 also includes a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID), Infrared Data Association (IrDA), Ultra Wide Band (UWB), Bluetooth (BT), and other technologies.
[0166] In an exemplary embodiment, the electronic device 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components.
[0167] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including executable instructions or a computer program, which can be executed by a processor 820 of an electronic device 800 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), a compact disc read-only memory (CD-ROM), magnetic tape, floppy disk, and optical data storage device, etc.
[0168] A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to perform any of the interface display methods described in the embodiments of this disclosure. For example, the method includes:
[0169] Determine the type of one or more display contents in the application interface; determine the first parameter adjustment value corresponding to the type of each display content; adjust the display parameters of the application interface based on the first parameter adjustment value; display the application interface according to the adjusted display parameters.
[0170] This disclosure provides a computer program product comprising a computer program or executable instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer program or executable instructions from the computer-readable storage medium and executes the computer program or executable instructions, causing the computer device to perform any of the interface display methods described in this disclosure.
[0171] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the claims.
[0172] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. A method for displaying an interface, characterized in that, The method includes: Determine the type of one or more displayed content items in the application interface; Determine the adjustment value of the first parameter corresponding to the type of each displayed content; Based on the first parameter adjustment value, the display parameters of the application interface are adjusted; The application interface is displayed according to the adjusted display parameters.
2. The method according to claim 1, characterized in that, Each content item is displayed in one or more display areas of the application interface, and the first parameter adjustment value is different for different types of content. Wherein, adjusting the display parameters of the application interface based on the first parameter adjustment value includes: Based on the first parameter adjustment value corresponding to each displayed content, the display parameters of the display area where each displayed content is located are adjusted to obtain the adjusted display parameters.
3. The method according to claim 2, characterized in that, The determination of the first parameter adjustment value corresponding to the type of each displayed content includes: Based on the application type of the source application of the application interface and / or the relevant information of each display area, determine the first parameter adjustment value corresponding to the type of display content of each display area; The application type is associated with the type of content displayed on the application interface; the relevant information includes the type of content displayed in each display area, the size of each display area, and / or the position of each display area in the application interface.
4. The method according to claim 3, characterized in that, The determination of the first parameter adjustment value corresponding to the type of each displayed content based on the application type of the source application and / or relevant information of each display area, based on the application interface, includes: The adjustment value of the second parameter is determined based on the application type of the source application of the application interface. Based on the relevant information of each display area, a first adjustment coefficient corresponding to each display area is determined; Based on the second parameter adjustment value and the first adjustment coefficient corresponding to each display area, the first parameter adjustment value corresponding to the type of display content in each display area is determined.
5. The method according to claim 4, characterized in that, The step of determining a first adjustment coefficient corresponding to each display area based on relevant information of each display area includes: Based on the type of content displayed in each display area, a second adjustment coefficient is determined for each display area; Based on the size of each display area, a third adjustment coefficient is determined for each display area, wherein the magnitude of the third adjustment coefficient is positively correlated with the size of the display area; Based on the position of each display area on the application interface, a first distance between each display area and the center of the application interface is determined. Based on the first distance corresponding to each display area, a fourth adjustment coefficient corresponding to each display area is determined, wherein the magnitude of the fourth adjustment coefficient is negatively correlated with the first distance; Based on the second adjustment coefficient, the third adjustment coefficient, and the fourth adjustment coefficient corresponding to each display area, the first adjustment coefficient corresponding to each display area is determined.
6. The method according to claim 5, characterized in that, The method further includes: Determine a second distance between the center of the application interface and multiple edge points on the application interface, wherein an edge point is the intersection of a straight line originating from the center of the application interface and passing through a display area with the edge of the application interface. The step of determining the fourth adjustment coefficient corresponding to each display area based on the first distance corresponding to each display area includes: The ratio of the first distance to the second distance corresponding to each display area is determined as the fourth adjustment coefficient corresponding to each display area.
7. The method according to any one of claims 1 to 6, characterized in that, The types of displayed content include video, image, and text. Wherein, the first parameter adjustment value corresponding to the display content of the video class is greater than the first parameter adjustment value corresponding to the display content of the image class, and the first parameter adjustment value corresponding to the display content of the image class is greater than the first parameter adjustment value corresponding to the display content of the text class.
8. The method according to any one of claims 1 to 6, characterized in that, The display parameters include sharpness.
9. An interface display device, characterized in that, The device includes: The first determining module is configured to determine the type of content to be displayed on the application interface to be shown; The second determining module is configured to determine the first parameter adjustment value corresponding to the application interface based on the type of the displayed content. The adjustment module is configured to adjust the first display parameter of the application interface based on the first parameter adjustment value to obtain the second display parameter of the application interface, wherein the first display parameter is a pre-configured display parameter; The display module is configured to display the application interface based on the second display parameters.
10. An electronic device, characterized in that, include: processor; Memory used to store computer programs or instructions; The processor executes the computer program or instructions to implement the steps of the method according to any one of claims 1 to 8.
11. A non-transitory computer-readable storage medium storing a computer program or instructions, characterized in that, When the computer program or instructions in the storage medium are executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.
12. A computer program product, comprising a computer program or instructions, characterized in that, When the computer program or instructions are executed by a processor, they implement the steps of the method according to any one of claims 1 to 8.