Information display method and device, electronic equipment and computer readable storage medium
Patent Information
- Application Number
- CN202311767659.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-20
- Publication Date
- 2026-08-21
- Estimated Expiration
- 2043-12-20
AI Technical Summary
[0003]但是,该种方式还主要是调节显示的亮度,目的还主要是美观和护眼,而对用户观看到显示内容清晰度的调节和影响还十分有限,内容观看清晰度的体验还有待提升
Smart Images

Figure CN117785357B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computers, specifically to an information display method, apparatus, electronic device, and computer-readable storage medium. Background Technology
[0002] Ambient brightness has a significant impact on the display of content on terminal devices; both excessively high and low ambient brightness can affect the clarity of content viewed on the screen. Currently, there are solutions designed to adjust display brightness based on ambient light levels, such as daytime and nighttime modes on mobile phone screens.
[0003] However, this method mainly adjusts the brightness of the display, and its purpose is mainly for aesthetics and eye protection. Its adjustment and impact on the clarity of the displayed content are still very limited, and the experience of viewing content clarity needs to be improved. Summary of the Invention
[0004] This application provides an information display method, apparatus, electronic device, and computer-readable storage medium, which can improve the clarity of the displayed content and enhance the user experience.
[0005] This application provides an information display method applied to a terminal device, the method comprising:
[0006] Obtain the ambient brightness and ambient color information of the terminal device;
[0007] The display style information of the target content information on the screen of the terminal device is determined based on the ambient brightness information and the ambient hue information;
[0008] The target content information is displayed on the screen according to the display style information.
[0009] Accordingly, embodiments of this application also provide an information display device applied to a terminal device, the device comprising:
[0010] The acquisition module is used to acquire ambient brightness information and ambient color tone information of the terminal device.
[0011] The determination module is used to determine the display style information of the target content information on the screen of the terminal device based on the ambient brightness information and the ambient hue information;
[0012] The display module is used to display the target content information on the screen according to the display style information.
[0013] Optionally, in some embodiments of this application, the display module includes:
[0014] The first determining unit is used to determine the background information and display position information of the target content information when it is displayed on the screen;
[0015] The second determining unit is used to determine, based on the display position information, background content information that overlaps with the display of the target content information from the background information;
[0016] The adjustment unit is used to adjust the display style information according to the content color information of the background content information to obtain the target display style information;
[0017] The first display unit is used to display the target content information on the screen according to the target display style information.
[0018] In some embodiments of this application, the screen is translucent, and when the target content information is displayed on the screen, it is superimposed on the scene information previewed through the screen. The first determining unit includes:
[0019] A sub-unit is defined for setting the scene information previewed through the screen as background information.
[0020] In some embodiments of this application, the first display unit includes:
[0021] An acquisition subunit is used to acquire environmental perception information of the terminal device.
[0022] A screen adjustment subunit is used to adjust the light transmittance of the screen based on the environmental perception information.
[0023] The style adjustment subunit is used to adjust the target display style information according to the light transmittance to obtain optimized display style information;
[0024] The display subunit is used to display the target content information on the screen according to the optimized display style information.
[0025] In some embodiments of this application, the display style information includes text display style information for the target content information and background card display style information for the background card used to complement the target content information, and the determining module includes:
[0026] The third determining unit is used to determine the text display style information based on the ambient brightness information and the ambient hue information;
[0027] The fourth determining unit is used to determine the fill tone information of the background card based on the ambient tone information, and set the fill tone information as the background card display style information.
[0028] In some embodiments of this application, the display module includes:
[0029] A degree determination unit is used to determine the degree information of display defects based on the ambient brightness information and the ambient hue information;
[0030] A depth determination unit is used to determine display depth information based on the display defect degree information;
[0031] The second display unit is used to display the target content information on the screen according to the display style information and the display depth information.
[0032] In some embodiments of this application, the determining module includes:
[0033] A defect determination unit is used to determine display defect information based on the ambient brightness information and the ambient hue information;
[0034] The first style determination unit is used to set the display repair style information corresponding to the display defect information in the mapping relationship set as the display style information;
[0035] And / or,
[0036] The second style determination unit is used to determine display style information based on the display defect information and the historical habit information of the target user holding the terminal device.
[0037] Thirdly, embodiments of this application also provide an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, it implements the steps in the above-described information display method.
[0038] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps in the above-described information display method.
[0039] Fifthly, embodiments of this application also provide a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in the various optional implementations described in embodiments of this application.
[0040] In summary, this application embodiment improves the clarity of the target content information viewed on the screen by adjusting its display style, compared to related technologies that only adjust screen brightness. Specifically, it determines the display style information by incorporating environmental factors, enhancing the accuracy and effectiveness of this information. Furthermore, by adjusting the display style based on ambient brightness and color tone information, this application embodiment improves the accuracy and effectiveness of the display style information, enhancing the clarity of the target content information viewed on the screen and improving the user experience, compared to using only ambient brightness as the basis for adjustment. Attached Figure Description
[0041] To more clearly illustrate the technical solutions in this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0042] Figure 1 This is a schematic diagram of a scenario illustrating the information display method provided in an embodiment of this application;
[0043] Figure 2 This is a flowchart illustrating the information display method provided in an embodiment of this application;
[0044] Figure 3 This is a schematic diagram of the first display effect before adjusting the display style of the target content information, provided in an embodiment of this application;
[0045] Figure 4 This is a schematic diagram of the second display effect before the display style of the target content information is adjusted, provided in an embodiment of this application.
[0046] Figure 5 This is a schematic diagram illustrating the display effect after adjusting the display style of the target content information according to an embodiment of this application;
[0047] Figure 6 This is a schematic diagram of the first display effect when displaying target content information based on a background card, provided in an embodiment of this application;
[0048] Figure 7 This is a second display effect diagram provided in the embodiments of this application when displaying target content information based on a background card;
[0049] Figure 8 This is a schematic diagram illustrating the third display effect when displaying target content information based on a background card, as provided in this application.
[0050] Figure 9This is a schematic diagram of the fourth display effect provided in this application when displaying target content information based on a background card;
[0051] Figure 10 This is a schematic diagram of screen depth provided in an embodiment of this application;
[0052] Figure 11 This is a flowchart illustrating the information display method performed by the augmented reality device provided in this application embodiment;
[0053] Figure 12 This is a schematic diagram of the structure of the information display device provided in the embodiments of this application;
[0054] Figure 13 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0055] The technical solutions of this application will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0056] This application provides an information display method, apparatus, electronic device, and computer-readable storage medium. Specifically, this application provides an information display apparatus suitable for electronic devices, which include terminal devices or servers. The terminal devices include, but are not limited to, televisions, mobile phones, desktop computers, laptops, or tablets, and also include extended reality (XR) devices, including virtual reality (VR), augmented reality (AR), and mixed reality (MR) devices. The server can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms. The server can be directly or indirectly connected via wired or wireless communication.
[0057] It should be noted that the information display method can be executed by the terminal device or the server alone, or by both the terminal device and the server. This application embodiment illustrates the method by having the terminal device execute it alone. For details, please refer to [link to relevant documentation]. Figure 1 , Figure 1 This is a schematic diagram illustrating a scenario in which a terminal device, according to an embodiment of this application, executes the information display method. The specific execution process of the terminal device executing the information display method is as follows:
[0058] Terminal device 10 acquires ambient brightness information and ambient color tone information of the environment where terminal device 10 is located, and determines the display style information of target content information on the screen of terminal device 10 based on the ambient brightness information and ambient color tone information, and then displays the target content information on the screen of terminal device 10 according to the display style information.
[0059] In this embodiment of the application, after obtaining the ambient brightness information and ambient hue information of the terminal device 10, the ambient brightness information and ambient hue information can be sent to the server, and the server can calculate the display style information of the target content information on the screen of the terminal device based on the ambient brightness information and ambient hue information.
[0060] In summary, this application embodiment improves the clarity of the target content information viewed on the screen by adjusting its display style, compared to related technologies that only adjust screen brightness. Specifically, it determines the display style information by incorporating environmental factors, enhancing the accuracy and effectiveness of this information. Furthermore, by adjusting the display style based on ambient brightness and color tone information, this application embodiment improves the accuracy and effectiveness of the display style information, enhancing the clarity of the target content information viewed on the screen and improving the user experience, compared to using only ambient brightness as the basis for adjustment.
[0061] The following sections provide detailed descriptions of each example. It should be noted that the order in which the embodiments are described is not intended to limit the priority of the embodiments.
[0062] Please see Figure 2 , Figure 2 This is a flowchart illustrating the information display method provided in an embodiment of this application. The information display method is applied to a terminal device, and the specific flow of the method is as follows:
[0063] 101. Obtain the ambient brightness information and ambient color tone information of the terminal device.
[0064] Ambient brightness information refers to the intensity and darkness of light in the environment, representing the ambient brightness near the terminal device, and can include ambient light intensity. Different ambient brightness levels affect the user's experience of seeing objects clearly; for example, the brighter the ambient brightness, the clearer the surface of the object appears, and vice versa.
[0065] Ambient color information refers to the color temperature and color distribution of ambient light, as well as information about the colors and tones in the environment. Examples include the natural color tone of sunlight, the warm, yellowish hue of warm-colored lighting, and the colors of objects in the environment. Different ambient colors provide different visual experiences, and different ambient color information affects a user's ability to clearly see target objects.
[0066] It is understood that both ambient brightness and ambient color information can be obtained through sensors, such as photoresistors and photodiodes. Correspondingly, ambient color information can also be obtained by capturing scene images with a camera and recognizing those images. Therefore, the method of obtaining ambient brightness and ambient color information is not limited here.
[0067] 102. Determine the display style information of the target content information on the screen of the terminal device based on the ambient brightness information and the ambient hue information.
[0068] The display style information refers to the way the target content information is displayed on the screen. This display style includes font type, font weight, line thickness, font color and transparency, as well as the shape and color of the background card displaying the target content information. For example, making the text lines of the target content information thicker and the color darker.
[0069] It should be noted that ambient brightness affects the clarity of information seen on the terminal device screen. For example, the higher the ambient brightness, the more difficult it is to see the content on the screen, or the lower the ambient brightness, the easier it is to see the content on the screen. Therefore, this application embodiment considers the impact of ambient brightness on the clarity of the content seen on the terminal device screen and adjusts the display style of the screen content so that the content on the screen can be viewed clearly and without obstacles, regardless of the ambient brightness.
[0070] Similarly, since ambient color tone information also affects the clarity of information viewed by users on the screen, in this embodiment of the application, the display style of the target content information is determined by combining the ambient brightness with the ambient color tone to ensure that the target content information can still have a certain degree of clarity under the ambient brightness and color tone conditions, which helps users to view the target content information on the screen without obstacles.
[0071] The display style information under different ambient brightness and color tones can be obtained through table lookup. For example, for different ambient brightness and color tones, the clarity of content displayed under different display styles is collected in advance. The sample display style with the best clarity is selected, and then a data table is configured based on this sample display style. When a content display requirement arises, the corresponding display style information is retrieved from this data table using the obtained real-time ambient brightness and color tones.
[0072] Whether the display style information meets the conditions can be determined by whether the clarity of the target content information viewed from the screen is greater than the clarity threshold. That is, the display style information determined based on the ambient brightness information and ambient color information needs to meet the following condition: when displaying the target content information based on the display style information, the clarity of the target content information viewed from the screen is greater than the clarity threshold.
[0073] It is understood that the embodiments of this application improve the accuracy of display style information by combining ambient brightness with ambient color tone to determine display style information.
[0074] 103. Display the target content information on the screen according to the display style information.
[0075] Understandably, since the display style information is determined based on the ambient brightness and ambient color tone to ensure that the target content information can be clearly seen on the screen, when the target content information is displayed on the terminal device according to the display style information, the clarity of the target content information under the ambient brightness and ambient color tone can be guaranteed, which helps the user to browse the target content information.
[0076] In summary, this application embodiment improves the clarity of the target content information viewed on the screen by adjusting its display style, compared to related technologies that only adjust screen brightness. Specifically, it determines the display style information by incorporating environmental factors, enhancing the accuracy and effectiveness of this information. Furthermore, by adjusting the display style based on ambient brightness and color tone information, this application embodiment improves the accuracy and effectiveness of the display style information, enhancing the clarity of the target content information viewed on the screen, improving immersion, and enhancing the user experience, compared to using only ambient brightness as the basis for adjustment.
[0077] It is understood that the target content information can be displayed based on a certain background, that is, the target content information can be presented on a background image, such as the background image of a chat interface or the background image of an application interface. Correspondingly, the display style information of the target content information can also be adjusted based on the background to improve the display clarity of the target content information. That is, optionally, in some embodiments of this application, the step of "displaying the target content information on the screen according to the display style information" includes:
[0078] Determine the background information and display position information of the target content information when it is displayed on the screen;
[0079] Based on the display position information, determine the background content information that overlaps with the target content information from the background information;
[0080] Adjust the display style information according to the content color information of the background content information to obtain the target display style information;
[0081] The target content information is displayed on the screen according to the target display style information.
[0082] Background information includes background images or background scenes, such as natural landscape images or webpage background images. Display location information refers to the display location of the target content information on the screen, which can be represented by coordinates.
[0083] It is understandable that background content information is a part of the background information, that is, a part that overlaps with the target content information in terms of position when displayed. For example, please refer to... Figure 3 As shown, the background information at the location where the target content information A is presented is used as the background content information B.
[0084] Since the background content information and the target content information overlap in presentation position, the color of the background content information affects the presentation effect of the target content information. For example, when the background content information is brightly colored, the target content information is not easily visible. Accordingly, this embodiment adjusts the display style information by using the content color information of the background content information to obtain the target display style information. This helps improve the display effect of the target content information when presented based on or against the background content information, making it easier to see the target content information on the screen and improving the user experience.
[0085] In this embodiment of the application, the content color information of the background content information can be extracted by cropping the background content image of the background content information and then extracting the content color information from the background content image through image recognition.
[0086] Correspondingly, since the display style information is determined based on the ambient brightness and ambient hue information, in order to ensure that the adjusted target display style information can still meet the ambient brightness and ambient hue requirements, the target display style information can be obtained by fine-tuning the display style information. After obtaining the target display style information based on the content color information, it can also be fine-tuned based on the ambient brightness and ambient hue information to obtain the final display style information that meets the ambient brightness and ambient hue requirements as well as the content color requirements of the background content information.
[0087] Accordingly, in this embodiment, the target display style information can also be determined comprehensively based on the ambient brightness information, ambient hue information, and content color information of the background content information. That is, optionally, in some embodiments of this application, the step "determining the display style information of the target content information on the screen of the terminal device based on the ambient brightness information and the ambient hue information" includes:
[0088] Determine the background information and display position information of the target content information when it is displayed on the screen;
[0089] Based on the display position information, determine the background content information that overlaps with the target content information from the background information;
[0090] The display style information is determined based on the ambient brightness information, the ambient hue information, and the content color information of the background content information.
[0091] That is, based on the weights corresponding to the ambient brightness information, ambient hue information, and content color information of the background content information, the display style information that satisfies the ambient brightness, ambient hue, and content color is comprehensively determined.
[0092] Optionally, in this embodiment, the background information may not be fixed background content. For example, the background information may be scene information previewed in real time, such as dynamic scene images previewed through a camera. For example, for style-based shooting applications, when shooting and previewing scene images, text or special effects content of anime characters can be added to the preview interface, and an image containing scene content and special effects content can be obtained by responding to shooting commands. For such scenarios, in order to improve the clarity of the special effects content viewed by the user on the screen, the display style information such as the display color and transparency of the special effects content can be adjusted according to the scene image of the shooting preview, so that the user can more easily view the special effects content on the screen, making it easier for the user to select various special effects content. At the same time, after generating display style information based on ambient brightness and ambient color, the style-based shooting application can be made suitable for scenes with changing ambient light, such as outdoor and indoor environments.
[0093] Correspondingly, in the application scenarios of this style-type shooting application, the display style information of the special effects content in the generated image can still retain the original display style of the special effects content, or it can adopt the display style adjusted by the display style information. For example, it can obtain an image corresponding to the special effects content containing red as the main color, or obtain an image corresponding to the special effects content whose red main color is adjusted to blue as the main color.
[0094] Optionally, in this embodiment, the background information can also be game footage or live video feed, such as bullet comments displayed on the live stream. The display style of the bullet comments is adjusted by considering ambient brightness, ambient chromaticity, and the color tone of the live stream content, allowing users to intuitively view the bullet comments under appropriate environmental conditions. For example, in a daytime outdoor scene, deepening the display color of the bullet comments helps improve their display clarity.
[0095] Optionally, in this embodiment, the scheme of using real-time previewed scene information as background information is also applicable to scenarios combining virtual and real elements. For example, in augmented reality (AR) or mixed reality (MR) scenarios, if an AR device is used as a terminal device, the target content information is projected onto the screen, and the real scene information can be previewed through the screen's light transmittance, thus overlaying the target content information onto the real scene. Correspondingly, this real scene information can be used as background information, and the display style information of the target content information can be adjusted based on the color tone information of the real scene information. That is, the scene information previewed through the terminal device's screen is set as the background information. Accordingly, adjusting the display style information of the target content information based on the color tone information of the real scene helps improve the clarity of viewing the target content information on the screen.
[0096] For example, please see Figure 4 As shown, Figure 4 This is a schematic diagram of the second display effect before adjusting the display style of the target content information, provided in an embodiment of this application. The background information is a scene previewed through the screen of the AR glasses. Figure 4 As can be seen from this, the main color of the scene is white. When the main color of the display style information of the target content is also white, it is not easy to preview the target content information on the screen. Figure 4 When previewing content in a scene, it is not easy to observe the target content information displayed on the screen, which affects the user experience.
[0097] Correspondingly, if the display style information is adjusted based on the content color information of ambient brightness, ambient hue, and background content, then when displaying according to the obtained display style information, the target content information can be viewed more intuitively and easily from the screen. For example, please refer to... Figure 5 As shown, Figure 5 This is a schematic diagram illustrating the display effect after adjusting the display style of the target content information according to an embodiment of this application. The background information is a scene previewed through the screen of AR glasses. Figure 5 As can be seen from the image, the main color of the scene is gray-blue. When the main color of the display style information of the target content information is white, that is, when the display style information of the target content information is adjusted to white as the main color, it is relatively easy to preview the target content information on the screen, which helps users to browse the target content information and improves the display effect of the target content information.
[0098] Accordingly, in this embodiment of the application, when applied to an augmented reality device, the display effect of the target content information on the screen can also be controlled by adjusting the screen's transmittance. For example, reducing the transmittance can reduce the impact of the real scene content on the display of the target content information.
[0099] Accordingly, in this embodiment, the display style information of the target content information can also be adjusted in conjunction with other environmental factors, such as environmental temperature, humidity, or wind speed. This improves the accuracy of the display style information corresponding to the target content information.
[0100] Accordingly, in this embodiment, the display effect of the target content information on the screen can be adjusted by regulating the screen transmittance using environmental awareness information. That is, optionally, in some embodiments of this application, the step "displaying the target content information on the screen according to the target display style information" includes:
[0101] Obtain environmental perception information of the terminal device;
[0102] The transmittance of the screen is adjusted according to the environmental perception information;
[0103] The target display style information is adjusted based on the light transmittance to obtain optimized display style information;
[0104] The target content information is displayed on the screen according to the optimized display style information.
[0105] Transmittance refers to the ability of light to pass through a medium. It is the percentage of light flux passing through a transparent or translucent body relative to the incident light flux. In this embodiment, it refers to the percentage of light flux passing through a screen relative to the incident light flux.
[0106] It should be noted that environmental perception information refers to information that users can perceive from the environment, such as ambient temperature, humidity, or wind speed. This information can be obtained through sensors, such as temperature sensors, humidity sensors, or wind speed sensors. By adjusting the screen's transmittance, the impact of colors in the real-world scene on the display of target content information is reduced, thereby improving the display effect of the target content information.
[0107] Optionally, in this embodiment, display defect information of the target content information can be analyzed based on ambient brightness information and ambient hue information, and targeted design of display style information can be performed based on the display defect information. That is, optionally, in some embodiments of this application, the step "determining the display style information of the target content information on the screen of the terminal device based on the ambient brightness information and the ambient hue information" includes:
[0108] The display defect information is determined based on the ambient brightness information and the ambient hue information;
[0109] Set the display repair style information corresponding to the display defect information in the mapping relationship set as the display style information;
[0110] And / or,
[0111] The display style information is determined based on the display defect information and the historical habit information of the target user holding the terminal device.
[0112] Display defect information refers to defects in the content displayed on the screen, including but not limited to poor clarity or average clarity. It may also include the cause of the defect; for example, display defect information may include poor viewing clarity due to excessive brightness or excessive color brightness.
[0113] Correspondingly, whether different ambient brightness and ambient hue will cause display defects can be determined by comparing the ambient brightness value and ambient hue value with the corresponding reference thresholds. For example, when the ambient brightness value exceeds the first reference threshold, it is considered that the target content information displayed on the screen has a defect of poor viewing clarity due to high brightness. Or, when the ambient hue value exceeds the second reference threshold, it is considered that the target content information displayed on the screen has a defect of poor viewing clarity due to high ambient hue.
[0114] Accordingly, in the embodiments of this application, the display defect information corresponding to the ambient brightness information and ambient hue information can also be obtained through the analysis of a neural network model in machine learning. For example, the ambient brightness information and ambient hue information are input into a defect classification model, and the features of the ambient brightness information and ambient hue information are extracted through the defect classification model. Then, based on the features, the display defect information of the target content information displayed on the screen is analyzed. That is, the display defects of the target content information on the screen are classified through a neural network model.
[0115] Optionally, in this embodiment of the application, when determining the display style information of the target content information on the screen, referring to the user's historical habits and combining the user's historical habits helps to obtain display style information that conforms to the user's habits or needs, thereby improving the matching degree between the display style information and the user's needs.
[0116] Optionally, in this embodiment, to improve the clarity of viewing the target content information on the screen, a background card can be configured for the target content information to enhance its display. Correspondingly, the color tone of the background card can be adjusted according to the ambient color tone information to improve the display effect of the target content information on the screen. That is, optionally, in some embodiments of this application, the display style information includes text display style information for the target content information and background card display style information for the background card used to enhance the target content information. The step "determining the display style information of the target content information on the screen of the terminal device according to the ambient brightness information and the ambient color tone information" includes:
[0117] The text display style information is determined based on the ambient brightness information and the ambient hue information;
[0118] The fill tone information of the background card is determined based on the ambient tone information, and the fill tone information is set as the background card display style information.
[0119] It should be noted that the embodiments of this application mainly use text as the target content information for illustration. It can be understood that the target content information can also be non-text information such as graphics, images, and cartoon characters.
[0120] Correspondingly, for target content information of text type, text display style information refers to the display information of the text for the target content information, including font type, line thickness, font color and transparency, font outline, etc. For example, by using the pre-configured mapping relationship between ambient brightness information, ambient hue information and text font, text line thickness, font color and font outline, the text display style information corresponding to the current ambient brightness information and ambient hue information can be obtained.
[0121] Correspondingly, the background card display style information mainly includes the background card's fill color. This fill color, or fill hue information, can be adjusted based on the ambient hue information. For example, if the ambient hue information is black, the background card's fill hue information can be adjusted to white; if the ambient hue information is white, the background card's fill hue information can be adjusted to blue. For example, please refer to... Figure 6 As shown, Figure 6 This is a schematic diagram of the first display effect when displaying target content information based on a background card, provided in an embodiment of this application. Figure 4 The background card, which was originally white and consistent with the ambient color scheme, was changed to a background card with a blue main color. This utilizes the contrast between the background card's color and the text line color of the target content to enhance the display effect of the target content and improve the clarity of viewing it on the screen. Correspondingly, in Figure 6 In addition, the line thickness and font transparency of the text corresponding to the target content information were adjusted.
[0122] For example, please see Figure 7 , Figure 7 This is a second display effect diagram provided in the embodiments of this application when displaying target content information based on a background card. Figure 6 Based on this, the text corresponding to the target content information is outlined to achieve a better display effect.
[0123] Accordingly, in this embodiment of the application, to avoid the target content information appearing too abruptly on the screen, the fill color information of the background card can also be adjusted with reference to the ambient color information. This makes the fill color information of the background card similar to or matching the ambient color information, allowing the background card and ambient color information to complement and adapt to each other, thus enhancing the integration of the target content information within the ambient color information. For example, please refer to... Figure 8 As shown, Figure 8 This is a schematic diagram illustrating the third display effect when displaying target content information based on a background card, as provided in this application. The fill hue of the background card is adjusted to match the blue color of the walls in the environment, ensuring that it not only distinguishes itself from the wall's color but also matches its appearance with similar colors. This prevents the target content information from appearing too abrupt and improves the visual effect. For example, please refer to... Figure 9 As shown, Figure 9 This is a schematic diagram of the fourth display effect provided by this application when displaying target content information based on a background card. The warm color tone of the room is given by the light, and the fill color information of the background card is adjusted to be close to the warm color tone, but darker than the room color tone.
[0124] Optionally, in this embodiment, to improve the clarity of viewing target content information on the screen, the display depth of the target content information on the screen can also be adjusted. Since different display depths result in different levels of clarity, when facing harsh environmental conditions that make it difficult to view screen content, the display depth of the target content information on the screen can be reduced. For example, please refer to... Figure 10 As shown, Figure 10 This is a schematic diagram of screen depth provided in an embodiment of this application. The screen includes three depths: foreground C, default D, and background E (the depth from foreground to default to background increases sequentially). Accordingly, the target content information can be presented in the foreground to improve the display effect of the target content information.
[0125] Correspondingly, the display depth information for the target content information can be determined by analyzing the degree of display defects under the current environmental conditions. For example, different degrees of display defects can be represented by different depths of display depth information. That is, optionally, in some embodiments of this application, the step "displaying the target content information on the screen according to the display style information" includes:
[0126] The degree of display defects is determined based on the ambient brightness information and the ambient hue information.
[0127] The display depth information is determined based on the display defect severity information;
[0128] The target content information is displayed on the screen according to the display style information and the display depth information.
[0129] Among them, the display defect level information reflects the degree of display defect, which can be divided or represented by levels. For example, the display defect level information includes, but is not limited to, low, normal, high and very high.
[0130] Correspondingly, the degree of display defects can be obtained by checking whether the ambient brightness and ambient hue information exceed the corresponding reference thresholds. For example, reference ranges can be configured for low, normal, high, and very high, and the ranges that the ambient brightness and ambient hue information satisfy can be determined to obtain the degree of display defects.
[0131] Among them, a one-to-one correspondence can be configured between different display defect level information and display depth information, and the display depth information corresponding to the current display defect level information can be obtained according to the correspondence.
[0132] For example, the specific steps for determining display depth information based on the display defect severity information can be: obtaining a mapping relationship set that records the mapping relationship between preset display defect severity information and preset display repair depth information; matching target display repair depth information from the preset display repair depth information in the mapping relationship set based on the display defect severity information and the preset display defect severity information; and setting the target display repair depth information as the display depth information.
[0133] In summary, this application embodiment improves the clarity of the target content information viewed on the screen by adjusting its display style, compared to related technologies that only adjust screen brightness. Specifically, it determines the display style information by incorporating environmental factors, enhancing the accuracy and effectiveness of this information. Furthermore, by adjusting the display style based on ambient brightness and color tone information, this application embodiment improves the accuracy and effectiveness of the display style information, enhancing the clarity of the target content information viewed on the screen and improving the user experience, compared to using only ambient brightness as the basis for adjustment.
[0134] In particular, adjusting the display style of the target content information based on the background of the target content information helps to improve the display effect of the target content information and enhance the clarity of browsing the target content information on the screen.
[0135] In particular, by configuring the background card for the target content information during presentation and adjusting the color of the background card, the presentation effect of the target content information is further improved.
[0136] Adjusting the display depth of the target content information on the screen helps improve the display effect in harsh environmental conditions and enhances the clarity of viewing the target content information on the screen.
[0137] To facilitate understanding of the embodiments of this application, the following will use an augmented reality (AR) device as an example for illustration. The target content information is the information displayed on the screen of the AR device. For details, please refer to [link to relevant documentation]. Figure 11 As shown, Figure 11 This is a flowchart illustrating the information display method performed by the augmented reality device provided in this application embodiment, specifically including:
[0138] 201. Obtain ambient brightness and ambient color information through sensors built into augmented reality devices;
[0139] 202. Determine the background information and display location information of the target content on the augmented reality device;
[0140] 203. Based on the display position information, determine the background content information that overlaps with the target content information from the background information;
[0141] 204. Determine the target display style information of the target content information on the screen of the augmented reality device based on the ambient brightness information, ambient hue information, and content color information of the background content information;
[0142] 205. Determine the degree of display defects based on the ambient brightness and color tone information;
[0143] 206. Determine the display depth information based on the degree of display defects;
[0144] 207. Display the target content information on the screen of the augmented reality device according to the target display style information and display depth information.
[0145] Among them, the display style of the target content information is determined by the ambient brightness information, ambient chromaticity information and content color information of the background content information when wearing the augmented reality device, so that the target content information on the screen of the augmented reality device can be previewed without obstacles and clearly, thus improving the user experience.
[0146] Furthermore, the augmented reality device of this application embodiment also has the following advantages when displaying information, specifically:
[0147] Improved user experience: The most obvious benefit is that the user interface of augmented reality devices will be much clearer and more visible outdoors and in bright light. Users are no longer affected by light intensity and can use augmented reality devices more easily.
[0148] Enhanced usability: By dynamically adjusting UI parameters and depth, this approach enhances the usability of augmented reality devices, enabling them to deliver excellent performance under various lighting conditions.
[0149] Improved work efficiency: For professional users who need to use augmented reality devices outdoors or in bright environments, such as architects and field workers, this solution can improve their work efficiency because they no longer need to worry about light intensity.
[0150] Energy saving: Dynamically adjusting UI parameters and depth based on ambient light intensity can reduce energy consumption such as device brightness, which helps extend the device's battery life.
[0151] Expanding application areas: This solution can make augmented reality devices more suitable for outdoor activities, gaming, navigation, and other scenarios that require outdoor use.
[0152] Reduce eye strain: By adjusting display parameters according to lighting conditions, users no longer need to strain to see the screen in bright light, thus reducing eye strain.
[0153] Correspondingly, in addition to augmented reality devices, there are also corresponding benefits or effects for other devices such as virtual reality (VR) and mixed reality (MR).
[0154] To facilitate better implementation of the information display method of this application, this application also provides an information display device based on the above-described information display method. The meanings of the terms used are the same as in the information display method described above, and specific implementation details can be found in the descriptions of the method embodiments.
[0155] Please see Figure 12 , Figure 12 This is a schematic diagram of the structure of an information display device provided in an embodiment of this application, wherein the information display device is applied to a terminal device, and the device may specifically be as follows:
[0156] The acquisition module 301 is used to acquire the ambient brightness information and ambient color tone information of the terminal device.
[0157] The determining module 302 is used to determine the display style information of the target content information on the screen of the terminal device based on the ambient brightness information and the ambient hue information;
[0158] The display module 303 is used to display the target content information on the screen according to the display style information.
[0159] Optionally, in some embodiments of this application, the display module 303 includes:
[0160] The first determining unit is used to determine the background information and display position information of the target content information when it is displayed on the screen;
[0161] The second determining unit is used to determine, based on the display position information, background content information that overlaps with the display of the target content information from the background information;
[0162] The adjustment unit is used to adjust the display style information according to the content color information of the background content information to obtain the target display style information;
[0163] The first display unit is used to display the target content information on the screen according to the target display style information.
[0164] In some embodiments of this application, the screen is translucent, and when the target content information is displayed on the screen, it is superimposed on the scene information previewed through the screen. The first determining unit includes:
[0165] A sub-unit is defined for setting the scene information previewed through the screen as background information.
[0166] In some embodiments of this application, the first display unit includes:
[0167] An acquisition subunit is used to acquire environmental perception information of the terminal device.
[0168] A screen adjustment subunit is used to adjust the light transmittance of the screen based on the environmental perception information.
[0169] The style adjustment subunit is used to adjust the target display style information according to the light transmittance to obtain optimized display style information;
[0170] The display subunit is used to display the target content information on the screen according to the optimized display style information.
[0171] In some embodiments of this application, the display style information includes text display style information for the target content information and background card display style information for the background card used to complement the target content information. The determining module 302 includes:
[0172] The third determining unit is used to determine the text display style information based on the ambient brightness information and the ambient hue information;
[0173] The fourth determining unit is used to determine the fill tone information of the background card based on the ambient tone information, and set the fill tone information as the background card display style information.
[0174] In some embodiments of this application, the display module 303 includes:
[0175] A degree determination unit is used to determine the degree information of display defects based on the ambient brightness information and the ambient hue information;
[0176] A depth determination unit is used to determine display depth information based on the display defect degree information;
[0177] The second display unit is used to display the target content information on the screen according to the display style information and the display depth information.
[0178] In some embodiments of this application, the determining module 302 includes:
[0179] A defect determination unit is used to determine display defect information based on the ambient brightness information and the ambient hue information;
[0180] The first style determination unit is used to set the display repair style information corresponding to the display defect information in the mapping relationship set as the display style information;
[0181] And / or,
[0182] The second style determination unit is used to determine display style information based on the display defect information and the historical habit information of the target user holding the terminal device.
[0183] In this embodiment, the acquisition module 301 first acquires the ambient brightness information and ambient color tone information of the terminal device. Then, the determination module 302 determines the display style information of the target content information on the screen of the terminal device based on the ambient brightness information and the ambient color tone information. Subsequently, the display module 303 displays the target content information on the screen according to the display style information.
[0184] In this application, the embodiment adjusts the display style of the target content information on the screen. Compared to related technologies that only adjust the screen's brightness, this embodiment helps improve the clarity of the target content information viewed on the screen. Specifically, it determines the display style information of the target content information on the screen by incorporating environmental factors, thus improving the accuracy and effectiveness of the display style information. Furthermore, by adjusting the display style of the target content information on the screen in conjunction with ambient light information, compared to using only ambient brightness as the basis for adjustment, this embodiment can improve the accuracy and effectiveness of the display style information, enhance the clarity of the target content information viewed on the screen, and improve the user experience.
[0185] In addition, this application also provides an electronic device, such as Figure 13 As shown, it illustrates the structural diagram of the electronic device involved in this application, specifically:
[0186] The electronic device may include components such as a processor 401 with one or more processing cores, a memory 402 with one or more computer-readable storage media, a power supply 403, and an input unit 404. Those skilled in the art will understand that... Figure 13 The electronic device structure shown does not constitute a limitation on the electronic device and may include more or fewer components than shown, or combine certain components, or have different component arrangements. Wherein:
[0187] The processor 401 is the control center of the electronic device. It connects various parts of the electronic device via various interfaces and lines. By running or executing software programs and / or modules stored in the memory 402, and by calling data stored in the memory 402, it performs various functions and processes data, thereby providing overall monitoring of the electronic device. Optionally, the processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 401.
[0188] The memory 402 can be used to store software programs and modules. The processor 401 executes various functional applications and data processing by running the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, application programs required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 402 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.
[0189] The electronic device also includes a power supply 403 that supplies power to the various components. Preferably, the power supply 403 can be logically connected to the processor 401 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply 403 may also include one or more DC or AC power supplies, recharging systems, power equipment debugging circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0190] The electronic device may also include an input unit 404, which can be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
[0191] Although not shown, the electronic device may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 401 in the electronic device loads the executable files corresponding to the processes of one or more applications into the memory 402 according to the following instructions, and the processor 401 runs the applications stored in the memory 402, thereby implementing the steps in any of the information display methods provided in the embodiments of this application.
[0192] In this embodiment of the application, the terminal device obtains the ambient brightness information and ambient color tone information of the terminal device, determines the display style information of the target content information on the screen of the terminal device based on the ambient brightness information and ambient color tone information, and displays the target content information on the screen according to the display style information.
[0193] In this application, the embodiment adjusts the display style of the target content information on the screen. Compared to related technologies that only adjust the screen's brightness, this embodiment helps improve the clarity of the target content information viewed on the screen. Specifically, it determines the display style information of the target content information on the screen by incorporating environmental factors, thus improving the accuracy and effectiveness of the display style information. Furthermore, by adjusting the display style of the target content information on the screen in conjunction with ambient light information, compared to using only ambient brightness as the basis for adjustment, this embodiment can improve the accuracy and effectiveness of the display style information, enhance the clarity of the target content information viewed on the screen, and improve the user experience.
[0194] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0195] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.
[0196] Therefore, this application provides a computer-readable storage medium storing a computer program that can be loaded by a processor to execute the steps in any of the information display methods provided in this application.
[0197] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0198] The computer-readable storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0199] Since the instructions stored in the computer-readable storage medium can execute the steps in any of the information display methods provided in this application, the beneficial effects that any of the information display methods provided in this application can achieve can be realized, as detailed in the preceding embodiments, and will not be repeated here.
[0200] The above provides a detailed description of an information display method, apparatus, electronic device, and computer-readable storage medium provided in this application. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, those skilled in the art will recognize that there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.
[0201] It should be noted that, in the specific embodiments of this application, data related to the ambient brightness information, ambient color tone information, scene information, background information, content color information of background content information, screen transmittance, and display style information of target content information displayed on the screen are involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.
Claims
1. An information display method, characterized in that, Applied to a terminal device, the method includes: Obtain the ambient brightness and ambient color information of the terminal device; The display style information of the target content information on the screen of the terminal device is determined based on the ambient brightness information and the ambient hue information; The target content information is displayed on the screen according to the display style information; The step of displaying the target content information on the screen according to the display style information includes: The degree of display defects is determined based on the ambient brightness information and the ambient hue information. The display depth information is determined based on the display defect severity information; The target content information is displayed on the screen according to the display style information and the display depth information; The step of determining the display style information of the target content information on the screen of the terminal device based on the ambient brightness information and the ambient hue information includes: The display defect information is determined based on the ambient brightness information and the ambient hue information; Set the display repair style information corresponding to the display defect information in the mapping relationship set as the display style information; And / or, The display style information is determined based on the display defect information and the historical habit information of the target user holding the terminal device.
2. The information display method according to claim 1, characterized in that, The step of displaying the target content information on the screen according to the display style information includes: Determine the background information and display position information of the target content information when it is displayed on the screen; Based on the display position information, determine the background content information that overlaps with the target content information from the background information; Adjust the display style information according to the content color information of the background content information to obtain the target display style information; The target content information is displayed on the screen according to the target display style information.
3. The information display method according to claim 2, characterized in that, The screen is transparent, and when the target content information is displayed on the screen, it is superimposed on the scene information previewed through the screen; Determining the background information of the target content information when it is displayed on the screen includes: Set the scene information previewed through the screen as background information.
4. The information display method according to claim 3, characterized in that, The step of displaying the target content information on the screen according to the target display style information includes: Obtain environmental perception information of the terminal device; The transmittance of the screen is adjusted according to the environmental perception information; The target display style information is adjusted based on the light transmittance to obtain optimized display style information; The target content information is displayed on the screen according to the optimized display style information.
5. The information display method according to claim 1, characterized in that, The display style information includes text display style information for the target content information and background card display style information for the background card used to complement the target content information; The step of determining the display style information of the target content information on the screen of the terminal device based on the ambient brightness information and the ambient hue information includes: The text display style information is determined based on the ambient brightness information and the ambient hue information; The fill tone information of the background card is determined based on the ambient tone information, and the fill tone information is set as the background card display style information.
6. An information display device, characterized in that, Applied to a terminal device, the device is used to implement the steps in the information display method as described in any one of claims 1-5.
7. An electronic device, characterized in that, It includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the information display method as described in any one of claims 1-5.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the information display method as described in any one of claims 1-5.
Citation Information
Patent Citations
Word display method and device and mobile terminal
CN105809645A
Augmented reality display equipment adjusting method and device and computer equipment
CN111856752A
Paper-like screen display method, device and equipment
CN113391778A