A display method, device, electronic equipment and storage medium

The issue of abnormal display controls in dark mode was resolved by detecting and obtaining recommended display parameters, thus improving the efficiency of display parameter updates and user experience.

CN112882785BActive Publication Date: 2025-11-28BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202110184334.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-02-08
Publication Date
2025-11-28
Estimated Expiration
2041-02-08

AI Technical Summary

Technical Problem

In dark mode, the display controls on electronic devices appear abnormal, resulting in a poor user experience. Existing manual adjustment methods are inefficient and ineffective.

Method used

The original parameters of the display control are detected. If an anomaly is found, recommended display parameters are obtained. The control is then displayed in dark mode using the recommended parameters. The recommended parameters can be obtained by receiving data from the server, adjusting operations based on the device, or from historical records.

Benefits of technology

It improves the efficiency of updating display parameters, ensures the normal display of controls in dark mode, and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112882785B_ABST
    Figure CN112882785B_ABST
Patent Text Reader

Abstract

The embodiment of the present disclosure discloses a display method applied to an electronic device, and the method comprises the following steps: detecting original display parameters of a display control; if the display control is displayed in an abnormal manner in a first display mode by using the original display parameters, obtaining recommended display parameters; and displaying the display control in the first display mode according to the recommended display parameters. In the embodiment of the present disclosure, the efficiency of updating the display parameters by the electronic device is higher, and the updated display parameters can be more suitable for normally displaying the display control in the first display mode.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of communication, and particularly relates to a display method and device, electronic equipment and storage medium. BACKGROUND

[0002] With the continuous development of mobile terminal technology, electronic equipment is used more and more widely and has more and more complete functions. The dark display mode is a new display mode introduced by electronic equipment, wherein the dark display mode is a display mode that ensures consistent, comfortable and easy-to-read viewing experience of human eyes by optimizing the contrast between foreground and dark background and the color of text and system icons. The display in the dark display mode takes dark color as the main keynote of the display interface.

[0003] With the emergence of various applications, the page content of the applications is also different. When the electronic equipment works in the dark display mode, various applications need to be adapted to the dark display mode. However, many display details cannot be adapted in the adaptation process, which cannot bring good experience to users. SUMMARY

[0004] The present disclosure provides a display method and device, electronic equipment and storage medium.

[0005] According to a first aspect of the present disclosure, a display method is provided, applied to an electronic equipment, and the method comprises:

[0006] detecting original display parameters of a display control;

[0007] if the display control is displayed abnormally in a first display mode by using the original display parameters, obtaining recommended display parameters;

[0008] displaying the display control in the first display mode according to the recommended display parameters.

[0009] In one embodiment, the detecting of the original display parameters of the display control comprises:

[0010] detecting the original display parameters of the display control in response to switching from a second display mode to the first display mode, wherein the color purity of the display background of a display area in the first display mode is not equal to the color purity of the display background of the display area in the second display mode.

[0011] In one embodiment, the method comprises obtaining the recommended display parameters by at least one of the following manners:

[0012] receiving the recommended display parameters sent by a server;

[0013] obtaining the recommended display parameter determined based on an adjustment operation acting on the electronic device;

[0014] obtaining the recommended display parameter contained in the historical adjustment record.

[0015] In one embodiment, the method further comprises:

[0016] sending, to the server, request information for obtaining the recommended display parameter;

[0017] the receiving of the recommended display parameter sent by the server comprises:

[0018] receiving the recommended display parameter sent by the server in response to the request information.

[0019] In one embodiment, the sending of the request information to the server for obtaining the recommended display parameter comprises:

[0020] in response to a determination that the display of the display control in the first display mode using the original display parameter is abnormal and a detection of a triggering operation for the display control, sending the request information to the server.

[0021] In one embodiment, the method further comprises:

[0022] in response to a detection of a touch operation acting on a display icon associated with the control on the display interface, determining that the triggering operation for the display control is detected.

[0023] In one embodiment, the method further comprises:

[0024] in response to a difference between a parameter value of the original display parameter and a reference value being within a reference threshold range, determining that the display of the display control in the first display mode using the original display parameter is abnormal; wherein the reference values used in different display modes are different.

[0025] According to a second aspect of the present disclosure, a display device is provided, applied to an electronic device, the device comprising a detection module, an obtaining module and a display module, wherein,

[0026] the detection module is configured to detect an original display parameter of a display control;

[0027] the obtaining module is configured to, if the display of the display control in the first display mode using the original display parameter is abnormal, obtain a recommended display parameter;

[0028] the display module is configured to display the display control in the first display mode according to the recommended display parameter.

[0029] In an embodiment, the detection module is further configured to:

[0030] In response to switching from the second display mode to the first display mode, detecting the original display parameter of the display control; wherein a color purity of a display background of a display area in the first display mode is not equal to a color purity of a display background of a display area in the second display mode.

[0031] In an embodiment, the obtaining module is further configured to obtain the recommended display parameter in at least one of the following manners:

[0032] receiving the recommended display parameter sent by a server;

[0033] or,

[0034] obtaining the recommended display parameter determined based on an adjustment operation acting on the electronic device;

[0035] or,

[0036] obtaining the recommended display parameter contained in a historical adjustment record.

[0037] In an embodiment, the apparatus further includes a first sending module and a first receiving module, wherein,

[0038] the first sending module is configured to send, to the server, request information for obtaining the recommended display parameter;

[0039] the first receiving module is configured to receive the recommended display parameter sent by the server in response to the request information.

[0040] In an embodiment, the first sending module is further configured to:

[0041] in response to determining that it is abnormal to display the display control in a first display mode using the original display parameter and detecting a trigger operation for the display control, sending the request information to the server.

[0042] In an embodiment, the first determining module is further configured to:

[0043] in response to detecting a touch operation acting on a display icon associated with the control on a display interface, determining that the trigger operation for the display control is detected.

[0044] In an embodiment, the first determining module is further configured to:

[0045] In response to a difference between a parameter value of the original display parameter and a reference value being within a reference threshold range, it is determined that the display control is displayed in the first display mode using the original display parameter is abnormal; wherein the reference values used in different display modes are different.

[0046] According to a third aspect of the embodiments of the present disclosure, a communication device is provided, comprising:

[0047] An antenna;

[0048] A memory;

[0049] A processor connected with the antenna and the memory respectively, configured to control the antenna to transceive wireless signals by executing an executable program stored in the memory, and capable of executing steps of the method provided in any of the preceding technical solutions.

[0050] According to a fourth aspect of the embodiments of the present disclosure, a non-transitory computer readable storage medium is provided, which stores an executable program, wherein the executable program is executed by a processor to implement steps of the method provided in any of the preceding technical solutions.

[0051] The technical solutions provided by the embodiments of the present disclosure can include the following beneficial effects:

[0052] In the embodiments of the present disclosure, an original display parameter of a display control is detected; if the display control is displayed in the first display mode using the original display parameter is abnormal, a recommended display parameter is obtained; and the display control is displayed in the first display mode according to the recommended display parameter. In this way, when the electronic device determines that the display control is displayed in the first display mode using the original display parameter is abnormal, the recommended display parameter can be obtained, and the display control is displayed in the first display mode using the recommended display parameter. Compared with the way of manually updating the original display parameter, the efficiency of updating the display parameter is higher, and the updated display parameter can be more suitable for normally displaying the display control in the first display mode.

[0053] It should be understood that the foregoing general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF DRAWINGS

[0054] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments consistent with the present disclosure and serve to explain the principles of the present disclosure together with the specification.

[0055] Figure 1 is a schematic diagram of a display scene according to an exemplary embodiment.

[0056] Figure 2 is a flowchart of a display method according to an exemplary embodiment.

[0057] Figure 3 is a flowchart of a display method according to an exemplary embodiment.

[0058] Figure 4 is a flowchart of a display method according to an exemplary embodiment.

[0059] Figure 5 is a flowchart of a display method according to an exemplary embodiment.

[0060] Figure 6 is a flowchart of a display method according to an exemplary embodiment.

[0061] Figure 7 is a flowchart of a display method according to an exemplary embodiment.

[0062] Figure 8 is a flowchart of a display method according to an exemplary embodiment.

[0063] Figure 9a is a flowchart of a display method according to an exemplary embodiment.

[0064] Figure 9b is a flowchart of a display method according to an exemplary embodiment.

[0065] Figure 10 is a block diagram of a display apparatus according to an exemplary embodiment.

[0066] Figure 11 is a block diagram of a display apparatus according to an exemplary embodiment.

[0067] Figure 12 is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0068] The exemplary embodiments will now be described in detail with reference to the accompanying drawings. The following description is made with reference to the accompanying drawings, in which like reference numerals in different drawings designate identical or similar elements. The following exemplary embodiments are described in order to explain the present disclosure to a person with ordinary skill in the art. Therefore, the following exemplary embodiments are not intended to limit the scope of the present disclosure. Rather, they are intended to explain the present disclosure to a person with ordinary skill in the art.

[0069] For the convenience of understanding any one of the embodiments of the present disclosure, first, a display mode of an electronic device will be described.

[0070] In an embodiment, the display mode of the electronic device includes a light color display mode and a dark color display mode.

[0071] Here, the light color display mode can be a display mode in which a light color background is used to display a foreground.

[0072] In an embodiment, the light color background can be a background with a color purity less than a purity threshold.

[0073] Here, the dark color display mode can be a display mode in which the contrast between the foreground and the dark color background, the color of the text, and the color of the system icon are optimized to ensure that the human eye has a consistent, comfortable, and easy-to-read viewing experience.

[0074] In an embodiment, the dark color background can be a background with a color purity greater than a purity threshold.

[0075] In an embodiment, the display mode of the electronic device can be switched between the light color display mode and the dark color display mode.

[0076] In an embodiment, in response to the light intensity of the environment in which the electronic device is located being greater than or equal to a brightness threshold, the electronic device can operate in the light color display mode. In response to the light intensity of the environment in which the electronic device is located being less than or equal to a brightness threshold, the electronic device can operate in the dark color display mode.

[0077] Here, the electronic device operating in the dark color display mode can prolong the battery life of the electronic device, protect the user's eyesight, and improve the visibility of the user in bright light, as well as the user's ability to use the electronic device in a dimly lit environment.

[0078] However, when the electronic device operates in the dark color display mode, the display controls of the display interface of the electronic device often display abnormally. Please refer to Figure 1 , the display of the a and c icons is not coordinated with the black background; the b icon is completely invisible, and the subway icon is not adapted; the pop-up window in the d icon does not have a dark color background, resulting in an unfriendly color scheme on the page, which does not achieve visual noise reduction on a complex information density interface, and affects the user experience.

[0079] In an embodiment, to solve the problem of abnormal display of the display controls, the display parameters of the display controls need to be manually adjusted or updated. However, this method is inefficient and has poor display effect.

[0080] As shown in Figure 2 , the present disclosure provides a display method, applied to an electronic device, the method comprising the following steps:

[0081] Step 21, detecting original display parameters of a display control;

[0082] Step 22, if the display control is abnormal when displayed in a first display mode by using the original display parameters, obtaining recommended display parameters;

[0083] Step 23, displaying the display control in the first display mode according to the recommended display parameters.

[0084] In one embodiment, after detecting the original display parameters of the display control, it is determined whether the display control is abnormal when displayed in the first display mode by using the original display parameters.

[0085] In one embodiment, the electronic device can be various types of mobile devices or fixed devices. For example, the electronic device can be a mobile phone, a smart wearable terminal, a smart home terminal, an industrial sensor device, and / or a medical device, etc.

[0086] Here, the electronic device is provided with a display screen. The display screen can be used to display the interface of an application.

[0087] Here, the display area of the display screen can be used to display various types of display controls. Here, the display control can be a button, a player, and / or a pop-up window containing text and picture information, etc.

[0088] In one embodiment, the application interface of an application running on the electronic device contains at least one display control displayed on the display area.

[0089] In one embodiment, the electronic device can display various types of display controls in the display area of the display screen according to the original display parameters. Here, the original display parameters include at least one of brightness, color purity, and color category.

[0090] In one embodiment, the original display parameters controlling the display of each display control are set in advance. Here, the original display parameters set in advance are stored in the cache area of the electronic device.

[0091] In one embodiment, detecting the original display parameters of the display control can be obtaining the original display parameters of the display control from the cache area of the electronic device.

[0092] In one embodiment, the electronic device periodically detects the original display parameter of the display control; or, in response to an application in the electronic device being started, the original display parameter of the display control is detected; or, in response to the electronic device switching from a second display mode to a first display mode, the original display parameter of the display control is detected; or, in response to the electronic device detecting an operation acting on the electronic device, the original display parameter of the display control is detected.

[0093] In one embodiment, the display mode of the electronic device can be switched between the first display mode and a second display mode.

[0094] In one embodiment, the first display mode is a dark color display mode, and the second display mode is a light color display mode. Here, the color purity of the first display mode is greater than the color purity of the second display mode.

[0095] In one embodiment, in response to the light brightness of the environment in which the electronic device is located being greater than or equal to a brightness threshold, the electronic device can work in the light color display mode. In response to the light brightness of the environment in which the electronic device is located being less than or equal to a brightness threshold, the electronic device can work in the dark color display mode.

[0096] In one embodiment, in response to the electronic device working in the second display mode, the control is displayed using the original display parameter. In response to the electronic device working in the first display mode, the electronic device will perform an adaptation process on the original display parameter using an adaptation algorithm, obtain an adapted display parameter, and switch to displaying the display control in the first display mode using the adapted display parameter.

[0097] For example, the first display mode is a dark color display mode, and the second display mode is a light color display mode. The original display parameter of the display control is a gray level a1, where a1=225; and the adaptation algorithm for the electronic device switching from the second display mode to the first display mode is:

[0098] a2=225-a1;

[0099] Then, after the electronic device switches from the second display mode to the first display mode, the value of the display parameter a2 obtained based on the above adaptation algorithm is 0. The electronic device can display the display control in the dark color display mode based on the display parameter a2.

[0100] In one embodiment, different reference values are set in different display modes. Here, the reference value can be a value of at least one of a reference brightness, a reference color, and a reference color purity.

[0101] In one embodiment, the reference value can be determined according to the adaptation algorithm between different display modes and the display requirement in the target display mode. After the display parameter required in the target display mode is determined, the reference value can be determined based on the required display parameter and the adaptation algorithm.

[0102] In one embodiment, whether the display control is displayed normally in the first display mode using the original display parameter can be determined according to the parameter value of the original display parameter in the second display mode and the reference value in the first display mode.

[0103] In one embodiment, in response to the difference between the parameter value of the original display parameter and the reference value being within the threshold range, it is determined that the display control is displayed normally in the first display mode using the original display parameter; in response to the difference between the parameter value of the original display parameter and the reference value being outside the threshold range, it is determined that the display control is displayed abnormally in the first display mode using the original display parameter.

[0104] In one embodiment, the original display parameter of the display control displayed in the light color display mode is a1, for example, a1=225; the display parameter required for displaying the control in the dark color display mode is A, for example, A=0; the adaptation algorithm between the light color display mode and the dark color display mode is x=225-y; the threshold value is C, for example, C=20. Then the reference value B can be determined based on the required display parameter and the adaptation algorithm, where B=225-0=225; since the difference between a1 and B is less than C, it can be determined that the display control can be displayed normally in the dark color display mode using the original display parameter.

[0105] In one embodiment, the original display parameter of the display control displayed in the light color display mode is a1, for example, a1=3; the display parameter required for displaying the control in the dark color display mode is A, for example, A=0; the adaptation algorithm between the light color display mode and the dark color display mode is x=225-y; the threshold value is C, for example, C=20. Then the reference value B can be determined based on the required display parameter and the adaptation algorithm, where B=225-0=225; since the difference between a1 and B is greater than C, it can be determined that the display control cannot be displayed normally in the dark color display mode using the original display parameter.

[0106] In one embodiment, the electronic device records the display parameter of the display control displayed normally in each display mode in the display mode, and stores the display parameter of the display control displayed normally as a historical record. The recommended display parameter can be the display parameter in the historical record stored in the storage area.

[0107] In an embodiment, the recommended display parameter can be sent by a server. The recommended display parameter can be determined by the server based on a reference display parameter of a display control of at least one electronic device. Here, the reference display parameter is a display parameter of the electronic device for normally displaying the display control in a first display mode.

[0108] In an embodiment, the recommended display parameter sent by the server can be received in advance.

[0109] In an embodiment, the recommended display parameter sent by the server can be received periodically.

[0110] In an embodiment, the recommended display parameter received currently can be used to update the recommended display parameter received previously.

[0111] In an embodiment, the recommended display parameter sent by the server in response to an acquisition request of the electronic device can be received.

[0112] In an embodiment, the recommended display parameter can be acquired based on a selection operation of a recommended display parameter in a preset recommended display parameter set detected by the electronic device.

[0113] In an embodiment of the present disclosure, when the electronic device determines that it is abnormal to display the display control in the first display mode using the original display parameter, the recommended display parameter can be acquired and used to display the display control in the first display mode, which is more efficient than manually updating the original display parameter and the updated display parameter can be more suitable for normally displaying the display control in the first display mode.

[0114] It should be noted that those skilled in the art can understand that the method provided by the embodiments of the present disclosure can be executed alone or together with some methods in some methods or related technologies in the embodiments of the present disclosure.

[0115] As shown in Figure 3 The embodiments of the present disclosure provide a display method, which comprises the following steps:

[0116] Step 31, in response to switching from a second display mode to the first display mode, detecting the original display parameter of the display control; wherein the color purity of the display background of the display area in the first display mode is not equal to the color purity of the display background of the display area in the second display mode.

[0117] In one embodiment, the electronic device switches the display mode according to the brightness of the light in the environment where the electronic device is located. For example, switching from operating in the first display mode to operating in the second display mode; or switching from operating in the second display mode to operating in the first display mode.

[0118] In one embodiment, the electronic device can operate in the light color display mode in response to the brightness of the light in the environment where the electronic device is located being greater than or equal to a brightness threshold. The electronic device can operate in the dark color display mode in response to the brightness of the light in the environment where the electronic device is located being less than or equal to a brightness threshold.

[0119] In one embodiment, the electronic device can switch from operating in the dark color display mode to operating in the light color display mode in response to the brightness of the light in the environment where the electronic device is located switching from being less than a brightness threshold to being greater than the brightness threshold. The electronic device can switch from operating in the light color display mode to operating in the dark color display mode in response to the brightness of the light in the environment where the electronic device is located switching from being greater than a brightness threshold to being less than the brightness threshold.

[0120] In one embodiment, the display control is displayed using the original display parameter in response to the electronic device operating in the second display mode. In response to the electronic device operating in the first display mode, the electronic device performs adaptation processing on the original display parameter using an adaptation algorithm, obtains an adapted display parameter, and switches to display the display control in the first display mode using the adapted display parameter.

[0121] In one embodiment, the color purity of the display background of the display area in the first display mode can be less than the color purity of the display background of the display area in the second display mode. Alternatively, the color purity of the display background of the display area in the first display mode can be greater than the color purity of the display background of the display area in the second display mode.

[0122] In one embodiment, the method comprises obtaining the recommended display parameter by at least one of the following:

[0123] receiving the recommended display parameter sent by a server;

[0124] obtaining the recommended display parameter determined based on an adjustment operation acting on the electronic device;

[0125] obtaining the recommended display parameter contained in a historical adjustment record.

[0126] In one embodiment, the recommended display parameter can be sent by the server.

[0127] In one embodiment, the recommended display parameter can be determined by the server based on a reference display parameter of a display control of at least one electronic device. Here, the reference display parameter is a display parameter of the electronic device that normally displays the display control in the first display mode.

[0128] In one embodiment, the recommended display parameter sent by the server can be received in advance.

[0129] In one embodiment, the recommended display parameter sent by the server can be received periodically.

[0130] In one embodiment, the recommended display parameter received currently is used to update the recommended display parameter received previously.

[0131] In one embodiment, the recommended display parameter sent by the server in response to the acquisition request of the electronic device can be received.

[0132] In one embodiment, the recommended display parameter can be acquired based on a selection operation of the electronic device acting on a recommended display parameter in a preset recommended display parameter set.

[0133] In one embodiment, the electronic device records the display parameter of the display control that is normally displayed in each display mode and stores the display parameter of the display control that is normally displayed as a historical adjustment record. The recommended display parameter can be a display parameter in the historical adjustment record stored in the storage area.

[0134] It should be noted that those skilled in the art can understand that the method provided by the embodiments of the present disclosure can be executed alone or together with some methods in some methods or related technologies in the embodiments of the present disclosure.

[0135] As shown in Figure 4 The embodiments of the present disclosure provide a display method, and the method comprises the following steps:

[0136] Step 41, sending request information for acquiring the recommended display parameter to the server;

[0137] Step 42, receiving the recommended display parameter sent by the server in response to the request information.

[0138] In one embodiment, the request information for acquiring the recommended display parameter can be sent to the server in response to determining that the display control is displayed abnormally in the first display mode by using the original display parameter.

[0139] In an embodiment, the server can be pre-configured to receive the request information for obtaining the recommended display parameter.

[0140] In an embodiment, the request information can carry an identifier of the display control. Here, the identifier of the display control is used to uniquely identify a display control. In this way, the server can determine the display control and the recommended display parameter corresponding to the display control based on the identifier of the display control after receiving the request information.

[0141] It should be noted that those skilled in the art can understand that the method provided by the embodiments of the present disclosure can be executed alone or together with some methods in some methods or related technologies in the embodiments of the present disclosure.

[0142] As shown in Figure 5 The embodiments of the present disclosure provide a display method, and the method comprises the following steps:

[0143] Step 51, in response to determining that the display of the display control in the first display mode using the original display parameter is abnormal and detecting the trigger operation for the display control, sending the request information to the server.

[0144] In an embodiment, different reference values are set for different display modes. Here, the reference value can be the value of the parameter of at least one of the reference brightness, the reference color, and the reference color purity.

[0145] In an embodiment, the reference value can be determined according to an adaptation algorithm for switching between different display modes and display requirements in the target display mode. After the display parameters required in the target display mode are determined, the reference value can be determined based on the required display parameters and the adaptation algorithm. Here, the target display mode can be the display mode of the electronic device after the display mode switching.

[0146] In an embodiment, whether the display of the display control in the first display mode using the original display parameter is abnormal can be determined according to the original display parameter in the second display mode and the reference value in the first display mode.

[0147] In an embodiment, in response to the difference between the parameter value of the original display parameter and the reference value being within a threshold range, it is determined that the display of the display control in the first display mode using the original display parameter is normal; and in response to the difference between the parameter value of the original display parameter and the reference value being outside the threshold range, it is determined that the display of the display control in the first display mode using the original display parameter is abnormal.

[0148] In one embodiment, the trigger operation can be a touch operation on a display screen of the mobile terminal.

[0149] In one embodiment, the touch operation can be a point touch operation on any position or specific position of the display screen of the mobile terminal, or can be a double-click operation on the display screen, or can be a touch sliding operation on the display screen, etc.

[0150] In one embodiment, the touch operation on the mobile terminal is detected every interval of a preset time period.

[0151] In one embodiment, the preset time period can be determined according to the frequency of performing the touch operation.

[0152] In one embodiment, in response to the frequency of performing the touch operation being greater than a frequency threshold, the preset time period can be set to be less than a time period threshold; in response to the frequency of performing the touch operation being less than the frequency threshold, the preset time period can be set to be greater than the time period threshold. In this way, the preset time period can be determined according to the situation of the user operating the mobile terminal, which is beneficial to saving the power consumption of the mobile terminal.

[0153] It should be noted that those skilled in the art can understand that the method provided by the embodiments of the present disclosure can be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.

[0154] As shown in Figure 6 the embodiments of the present disclosure provide a display method, the method comprising the following steps:

[0155] Step 61, in response to detecting a touch operation on a display icon associated with the control on the display interface, determining that a trigger operation on the display control is detected.

[0156] In one embodiment, the touch operation on the display icon associated with the control can be a point touch operation on any position or specific position of the display icon, or the touch operation on the display icon associated with the control can be a double-click operation on the display icon, or the touch operation on the display icon associated with the control can be a touch sliding operation on the display icon, etc.

[0157] It should be noted that those skilled in the art can understand that the method provided by the embodiments of the present disclosure can be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.

[0158] As shown in Figure 7 the embodiments of the present disclosure provide a display method, the method comprising the following steps:

[0159] In step 71, in response to the difference between the parameter value of the original display parameter and the reference value being within a reference threshold range, it is determined that the display control is displayed normally in the first display mode using the original display parameter; wherein the reference value is different in different display modes.

[0160] In one embodiment, different reference values are set in different display modes. Here, the reference value can be the value of the parameter of at least one of the reference brightness, the reference color and the reference color purity.

[0161] In one embodiment, the reference value can be determined according to an adaptation algorithm and display requirements in the target display mode when switching between different display modes. After the display parameters required in the target display mode are determined, the reference value can be determined based on the required display parameters and the adaptation algorithm. Here, the target display mode can be the display mode of the electronic device after the display mode switching.

[0162] In one embodiment, whether the display control is displayed abnormally in the first display mode using the original display parameter can be determined according to the parameter value of the original display parameter in the second display mode and the reference value in the first display mode.

[0163] In one embodiment, in response to the difference between the parameter value of the original display parameter and the reference value being within a reference threshold range, it is determined that the display control is displayed normally in the first display mode using the original display parameter; in response to the difference between the parameter value of the original display parameter and the reference value being outside the reference threshold range, it is determined that the display control is displayed abnormally in the first display mode using the original display parameter.

[0164] In one embodiment, the first display mode can be a dark display mode; and the second display mode can be a light display mode.

[0165] In one embodiment, the original display parameter of the display control displayed in the light display mode is a1, for example, a1=225; the display parameter required for displaying the control in the dark display mode is A, for example, A=0; the adaptation algorithm between the light display mode and the dark display mode is x=225-y; and the threshold value is less than C, for example, C=20. Then, the reference value B can be determined based on the required display parameter and the adaptation algorithm, wherein B=225-0=225; since the difference between a1 and B is less than C, it can be determined that the display control can be displayed normally in the dark display mode using the original display parameter.

[0166] In an embodiment, the original display parameter of the display control displayed in the light color display mode is a1, for example, a1=3; the display parameter required for displaying the control in the dark color display mode is A, for example, A=0; the adaptation algorithm between the light color display mode and the dark color display mode is x=225-y; the threshold is greater than C, for example, C=20. Then, the reference value B can be determined based on the required display parameter and the adaptation algorithm, where B=225-0=225; since the difference between a1 and B is greater than C, it can be determined that the display control cannot be normally displayed in the dark color display mode using the original display parameter.

[0167] It should be noted that those skilled in the art can understand that the method provided by the embodiments of the present disclosure can be executed alone or together with some methods in some methods or related technologies in the embodiments of the present disclosure.

[0168] As shown in Figure 8 The embodiments of the present disclosure provide a display method, applied to a server, the method comprising:

[0169] Step 81, determining a recommended display parameter of a display control of at least one electronic device based on a reference display parameter of the display control; wherein the reference display parameter is a display parameter of the electronic device for normally displaying the display control in a first display mode;

[0170] Step 82, sending the recommended display parameter to a target electronic device.

[0171] In an embodiment, the server can be a cloud server with a neural network algorithm model.

[0172] Here, the neural network algorithm model can calculate the recommended display parameter based on the reference display parameter.

[0173] In an embodiment, the recommended display parameter is periodically sent to the target electronic device.

[0174] In an embodiment, the recommended display parameter is sent to the target electronic device in response to receiving a request message for obtaining the recommended display parameter sent by the target electronic device.

[0175] In response to determining that the display control is abnormal when displayed in the first display mode using the original display parameter and detecting a trigger operation for the display control, the request information is sent to the server.

[0176] In an embodiment, the electronic device periodically sends the reference display parameter of the display control to the server.

[0177] It should be noted that the method provided by the embodiments of the present disclosure can be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.

[0178] As shown in Figure 9a The embodiments of the present disclosure provide a display method, and the method comprises:

[0179] Step 91, receiving request information for acquiring recommended display parameters sent by a target electronic device;

[0180] Step 92, sending the recommended display parameters to the target electronic device according to the request information.

[0181] In one embodiment, the request information for acquiring the recommended display parameters can be sent to the server in response to determining that it is abnormal to display the display control in the first display mode by using the original display parameters.

[0182] In one embodiment, the request information for acquiring the recommended display parameters can be sent to the server in advance.

[0183] In one embodiment, the request information can carry the identifier of the display control. Here, the identifier of the display control is used to uniquely identify a display control.

[0184] Please refer to Figure 9b The server receives the reference display parameters sent by the electronic device A, the electronic device B and the electronic device C, determines the recommended display parameters based on the reference display parameters, and then sends the recommended display parameters to the target electronic device D.

[0185] In one embodiment, the recommended display parameters at least include a color purity parameter.

[0186] It should be noted that the method provided by the embodiments of the present disclosure can be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.

[0187] Figure 10 An exemplary embodiment is provided to show a display device applied to an electronic device, and the device comprises a detection module 101, an acquisition module 103 and a display module 104, wherein,

[0188] The detection module 101 is configured to detect the original display parameters of a display control.

[0189] The acquisition module 103 is configured to acquire recommended display parameters if it is abnormal to display the display control in a first display mode by using the original display parameters.

[0190] The display module 104 is configured to display the display control in the first display mode according to the recommended display parameter.

[0191] In an embodiment, the apparatus further includes a first determination module 102, where the first determination module 102 is configured to determine whether it is abnormal to display the display control in the first display mode using the original display parameter.

[0192] In an embodiment, the detection module 101 is further configured to:

[0193] In response to switching from the second display mode to the first display mode, detect the original display parameter of the display control, where a color purity of a display background of a display area in the first display mode is not equal to a color purity of a display background of a display area in the second display mode.

[0194] In an embodiment, the obtaining module 103 is further configured to obtain the recommended display parameter in at least one of the following manners:

[0195] receive the recommended display parameter sent by a server;

[0196] obtain the recommended display parameter determined based on an adjustment operation acting on the electronic device;

[0197] obtain the recommended display parameter contained in a historical adjustment record.

[0198] In an embodiment, the apparatus further includes a first sending module 105 and a first receiving module 106, where:

[0199] The first sending module 105 is configured to send, to the server, request information for obtaining the recommended display parameter;

[0200] The first receiving module 106 is configured to receive the recommended display parameter sent by the server in response to the request information.

[0201] In an embodiment, the first sending module 105 is further configured to:

[0202] In response to determining that it is abnormal to display the display control in the first display mode using the original display parameter and detecting a triggering operation for the display control, send the request information to the server.

[0203] In an embodiment, the first determination module 102 is further configured to:

[0204] In response to detecting the touch operation acting on the display icon associated with the control on the display interface, it is determined that the trigger operation for the display control is detected.

[0205] In one embodiment, the first determining module 102 is further configured to:

[0206] In response to the difference between the parameter value of the original display parameter and the reference value being within a reference threshold range, it is determined that the display of the display control in the first display mode using the original display parameter is abnormal; wherein the reference values used in different display modes are different.

[0207] Figure 11 An exemplary embodiment of a display device is provided, which is applied to a server, and the device comprises a second determining module 101 and a second sending module 112, wherein,

[0208] The second determining module 111 is configured to:

[0209] Based on the reference display parameter of the display control of at least one electronic device, a recommended display parameter of the display control is determined; wherein the reference display parameter is the display parameter of the electronic device for normally displaying the display control in the first display mode;

[0210] The second sending module 112 is configured to send the recommended display parameter to a target electronic device.

[0211] In one embodiment, the device further comprises a second receiving module 113; wherein,

[0212] The second receiving module 113 is configured to receive the request information for obtaining the recommended display parameter sent by the target electronic device;

[0213] The second receiving module 113 is configured to send the recommended display parameter to the target electronic device in response to the request information.

[0214] In one embodiment, the second determining module 111 is further configured to configure the recommended display parameter to at least include a color purity parameter.

[0215] Embodiments of the present disclosure also provide an electronic device, comprising:

[0216] A processor;

[0217] A memory for storing processor-executable instructions;

[0218] The processor is configured to implement the method of any of the embodiments of the present disclosure when the executable instructions are executed.

[0219] The memory can include various types of storage media, which are non-transitory computer storage media capable of storing information even after the power of the communication device is turned off.

[0220] The processor can be connected with the memory through a bus or the like, for reading the executable program stored on the memory.

[0221] Embodiments of the present disclosure also provide a computer readable storage medium, which stores an executable program, wherein the executable program is executed by a processor to implement the method according to any of the embodiments of the present disclosure.

[0222] As to the apparatus in the above embodiments, the specific manners in which the various modules perform operations have been described in detail in the embodiments of the method, and thus will not be described in detail here.

[0223] Figure 12 is a block diagram of an electronic device 600 according to an exemplary embodiment. The electronic device 600 can be, for example, a mobile phone, a computer, a digital broadcasting terminal, a message transmitting / receiving device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or the like.

[0224] Referring to Figure 12 , the electronic device 600 can include one or more of the following components: a processing component 602, a memory 604, a power supply component 606, a multimedia component 608, an audio component 610, an input / output (I / O) interface 612, a sensor component 614, and a communication component 616.

[0225] The processing component 602 usually controls overall operations of the electronic device 600, such as operations associated with displaying, making phone calls, data communications, camera operations, and recording operations. The processing component 602 can include one or more processors 820 to execute instructions to complete all or part of steps of the above method. Further, the processing component 602 can include one or more modules so as to facilitate interactions between the processing component 602 and other components. For example, the processing component 602 can include a multimedia module to facilitate the interaction between the multimedia component 608 and the processing component 602.

[0226] The memory 604 is configured to store various types of data to support the operation of the electronic device 600. Examples of such data include instructions for any application or method operating on the electronic device 600, contact data, phonebook data, messages, pictures, videos, and the like. The memory 604 can be implemented by any type of volatile or nonvolatile memory, 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 memory, flash memory, magnetic disc, or optical disc.

[0227] The power supply component 606 supplies power for various components of the electronic device 600. The power supply component 606 can include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 600.

[0228] The multimedia component 608 includes a screen providing an output interface between the electronic device 600 and a user. In some embodiments, the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, swiping, and gestures on the touch panel. The touch sensors can not only sense a boundary of a touching or swiping action, but also detect duration and pressure related to the touching or swiping action. In some embodiments, the multimedia component 608 includes a front camera and / or a rear camera. The front and / or rear camera can receive external multimedia data when the electronic device 600 is in an operation mode, such as a shooting mode or a video mode. Each of the front and rear camera can be a fixed optical lens system or have a focal length and optical zoom capability.

[0229] The audio component 610 is configured to output and / or input audio signals. For example, the audio component 610 includes a microphone (MIC) configured to receive external audio signals when the electronic device 600 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals can be further stored in the memory 604 or transmitted via the communication component 616. In some embodiments, the audio component 610 also includes a speaker for outputting audio signals.

[0230] The I / O interface 612 provides an interface between the processing component 602 and peripheral interface modules, which can be a keyboard, a click wheel, a button, and the like. The buttons can include, but are not limited to, a home button, a volume button, a start button, and a lock button.

[0231] The sensor component 614 includes one or more sensors for providing status assessments for various aspects of the electronic device 600. For example, the sensor component 614 can detect an open / closed position of the device 600, relative positioning of components, such as a display and a keypad of the electronic device 600, a change in position of the electronic device 600 or a component of the electronic device 600, presence or absence of user contact with the electronic device 600, orientation or acceleration / deceleration / g-force and temperature of the electronic device 600. The sensor component 614 can include an optical sensor for detecting ambient light, a proximity sensor configured to detect proximity of an object, a motion sensor, a temperature sensor, a magnetic sensor, an acceleration sensor, a gyroscope sensor, a pressure sensor, or the like.

[0232] The communication component 616 is configured to facilitate wired or wireless communication between the electronic device 600 and other devices. The electronic device 600 can access a wireless network based on a corresponding communication standard, such as WiFi, 2G, or 3G, or a combination thereof. In an example embodiment, the communication component 616 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In an example embodiment, the communication component 616 further includes a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on Radio Frequency Identification (RFID) techniques, Infrared Data Association (IrDA) techniques, Ultra-WideBand (UWB) techniques, Bluetooth (BT) techniques, and other techniques.

[0233] In an example embodiment, the electronic device 600 can be implemented using 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, micro-controllers, microprocessors, or other electronic elements to perform the above-described methods.

[0234] In an example embodiment, a non-transitory computer-readable storage medium including instructions, such as the memory 604 including instructions, is also provided. The instructions can be executable by the processor 820 of the electronic device 600 to implement the above-described methods. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disc, and an optical data storage device, etc.

[0235] Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. It is intended that the application be construed as including any patent, any patent applications, and any patent publications to the extent that such patent, patent applications, and patent publications are consistent with the present disclosure. It is intended that the specification and examples be considered exemplary only, with the true scope and spirit of the application being indicated by the following claims.

[0236] It is to be understood that the application is not limited to the precise construction herein disclosed and shown in the drawings, and that various modifications and changes can be effected therein by those skilled in the art without departing from the scope of the application. The scope of the application is to be limited only by the appended claims.

Claims

1. A display method characterized by comprising: The method comprises: in response to the electronic device switching from a second display mode to a first display mode, detecting an original display parameter of a display control in the second display mode; wherein the color purity of the display background of the display area in the first display mode is not equal to the color purity of the display background of the display area in the second display mode; in response to the difference between the parameter value of the original display parameter and the reference value in the first display mode being outside the reference threshold range, determining that it is abnormal to display the display control in the first display mode using the original display parameter; wherein the reference value in the first display mode is determined according to the adaptation algorithm of mode switching and the display requirement in the first display mode; if it is abnormal to display the display control in the first display mode using the original display parameter, obtaining a recommended display parameter; displaying the display control in the first display mode according to the recommended display parameter.

2. The method of claim 1, wherein, The method comprises obtaining the recommended display parameter by at least one of the following ways: receiving the recommended display parameter sent by the server; obtaining the recommended display parameter determined based on the adjustment operation acting on the electronic device; obtaining the recommended display parameter contained in the historical adjustment record.

3. The method of claim 2, wherein, The method further comprises: sending request information for obtaining the recommended display parameter to the server; The method further comprises: receiving the recommended display parameter sent by the server in response to the request information.

4. The method of claim 3, wherein, The method further comprises: in response to determining that it is abnormal to display the display control in the first display mode using the original display parameter and detecting a trigger operation for the display control, sending the request information to the server.

5. The method of claim 4, wherein, The method further comprises: in response to detecting a touch operation acting on a display icon associated with the control on the display interface, determining that a trigger operation for the display control is detected.

6. The method of claim 1, wherein, The reference values used in different display modes are different.

7. A display device, characterized by comprising: The device comprises a detection module, an obtaining module and a display module, wherein The detection module is configured to, in response to the electronic device switching from a second display mode to a first display mode, detect an original display parameter of a display control in the second display mode; wherein the color purity of the display background of the display area in the first display mode is not equal to the color purity of the display background of the display area in the second display mode; in response to the difference between the parameter value of the original display parameter and the reference value in the first display mode being outside the reference threshold range, determine that it is abnormal to display the display control in the first display mode using the original display parameter; wherein the reference value in the first display mode is determined according to the adaptation algorithm of mode switching and the display requirement in the first display mode; The obtaining module is configured to, if it is abnormal to display the display control in the first display mode using the original display parameter, obtain a recommended display parameter; The display module is configured to display the display control in the first display mode according to the recommended display parameter.

8. The apparatus of claim 7, wherein, The acquisition module is further configured to acquire the recommended display parameter in at least one of the following manners: receiving the recommended display parameter sent by a server; acquiring the recommended display parameter determined based on an adjustment operation acting on the electronic device; acquiring the recommended display parameter contained in a historical adjustment record.

9. The apparatus of claim 8, wherein, The apparatus further includes a first sending module and a first receiving module, wherein, the first sending module is configured to send, to the server, request information for acquiring the recommended display parameter; the first receiving module is configured to receive the recommended display parameter sent by the server in response to the request information.

10. The apparatus of claim 9, wherein, The first sending module is further configured to: in response to determining that displaying the display control in the first display mode using the original display parameter is abnormal and detecting a trigger operation for the display control, send the request information to the server.

11. The apparatus of claim 10, wherein, The first determining module is further configured to: in response to detecting a touch operation acting on a display icon associated with the control on a display interface, determine that the trigger operation for the display control is detected.

12. The apparatus of claim 8, wherein, The reference value used in different display modes is different.

13. An electronic device, comprising: comprise: an antenna; a memory; a processor connected with the antenna and the memory respectively, configured to execute computer executable instructions stored in the memory, control the transceiving of the antenna, and implement the method provided in any one of claims 1 to 6.

14. A computer storage medium storing computer executable instructions, which, when executed by a processor, can implement the method provided in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Display method and device

    CN110162364A