[go: up one dir, main page]

CN108616649B - Display control method and device of electronic equipment - Google Patents

Display control method and device of electronic equipment Download PDF

Info

Publication number
CN108616649B
CN108616649B CN201810249560.9A CN201810249560A CN108616649B CN 108616649 B CN108616649 B CN 108616649B CN 201810249560 A CN201810249560 A CN 201810249560A CN 108616649 B CN108616649 B CN 108616649B
Authority
CN
China
Prior art keywords
background color
screen brightness
client application
electronic device
brightness
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810249560.9A
Other languages
Chinese (zh)
Other versions
CN108616649A (en
Inventor
李达
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201810249560.9A priority Critical patent/CN108616649B/en
Publication of CN108616649A publication Critical patent/CN108616649A/en
Application granted granted Critical
Publication of CN108616649B publication Critical patent/CN108616649B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/10Intensity circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/22Illumination; Arrangements for improving the visibility of characters on dials
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0626Adjustment of display parameters for control of overall brightness
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

A display control method and device of an electronic device are provided, wherein the display control method of the electronic device comprises the following steps: acquiring screen brightness of the electronic equipment; and changing the background color of the displayed client application according to the screen brightness and a preset rule, wherein the preset rule comprises the corresponding relation between the screen brightness and the background color, and the client application is installed on the electronic equipment.

Description

Display control method and device of electronic equipment
Technical Field
The present disclosure relates to the field of electronic technologies, and in particular, to a display control method and device for an electronic device.
Background
With the rapid development of electronic technology, the use of intelligent electronic devices is becoming more and more popular. In consideration of the diversity of application environments, the display brightness of the electronic device needs to be adaptively adjusted according to the change of the environment brightness, so that the stimulation to the eyes of the user is reduced, and the user experience is improved.
In the process of implementing the inventive concept, the inventor finds that at least the following problems exist in the prior art: although the screen brightness of the existing intelligent electronic equipment with the display function can be automatically or manually adjusted along with the ambient brightness, the screen brightness still cannot meet various daily scenes, and the defect of poor user experience still exists. For example: in a dark environment, although the screen brightness is reduced adaptively according to the environment brightness, if the background color of the client application installed on the electronic device is bright, the obvious difference between the background color and the environment brightness may cause discomfort in opening and using the client application by the user, and cause a certain degree of stimulation to the eyes of the user, so that the user experience is poor.
Disclosure of Invention
In view of this, the present disclosure provides a display control method and apparatus for an electronic device, which can improve a user experience.
One aspect of the present disclosure provides a display control method of an electronic device, including: acquiring screen brightness of the electronic equipment; and changing the background color of the displayed client application according to the screen brightness and a preset rule. The preset rule comprises a corresponding relation between screen brightness and the background color, and the electronic equipment is provided with the client application.
According to an embodiment of the present disclosure, the display control method of an electronic device further includes: the background color of the displayed client application is changed in response to an operation by the user.
According to an embodiment of the present disclosure, the display control method of an electronic device further includes: judging whether the difference value between the currently acquired screen brightness and the screen brightness acquired at the previous moment is greater than a threshold value; and under the condition that the difference value between the currently acquired screen brightness and the screen brightness acquired at the previous moment is larger than a threshold value, changing the background color of the displayed client application according to the currently acquired screen brightness and a preset rule.
According to an embodiment of the present disclosure, the display control method of an electronic device further includes: changing a background color theme of the displayed client application in response to an operation of a user; and changing the background color of the displayed client application according to the screen brightness, the preset rule and the background color theme of the displayed client application. Wherein the background color theme comprises a plurality of preset background color themes.
According to an embodiment of the present disclosure, the display control method of an electronic device further includes: sensing the brightness change of the screen to generate an acquisition instruction; and acquiring the screen brightness of the electronic equipment according to the acquisition instruction.
According to an embodiment of the present disclosure, the preset rule includes: and based on a preset corresponding relation model of the screen brightness and the background color, obtaining a corresponding relation between the screen brightness and the background color by adopting artificial neural network architecture training.
According to the embodiment of the disclosure, the screen brightness of the electronic device is adaptively adjusted according to the brightness of the environment where the electronic device is located.
Another aspect of the present disclosure provides a display control apparatus of an electronic device, including an acquisition module and a processing module. The acquisition module is used for acquiring the screen brightness of the electronic equipment; and the processing module is used for changing the background color of the displayed client application according to the screen brightness and a preset rule. The preset rule comprises a corresponding relation between screen brightness and background color, and the electronic equipment is provided with the client application.
According to the embodiment of the disclosure, the display control device of the electronic equipment further comprises a response module. The response module is used for responding to the operation of a user and changing the background color of the displayed client application.
According to the embodiment of the disclosure, the display control device of the electronic device further comprises a judging module. The judging module is used for judging whether the difference value between the screen brightness currently acquired by the acquiring module and the screen brightness acquired at the previous moment is larger than a threshold value. Correspondingly, the processing module changes the background color of the displayed client application according to the currently acquired screen brightness and a preset rule under the condition that the difference value is larger than the threshold value.
According to the embodiment of the disclosure, the display control device of the electronic equipment further comprises a response module. The response module is used for responding to the operation of a user and changing the background color theme of the displayed client application. Correspondingly, the processing module changes the background color of the displayed client application according to the screen brightness, the preset rule and the background color theme of the displayed client application. Wherein the background color theme comprises a plurality of preset background color themes.
According to an embodiment of the present disclosure, the electronic device includes a sensing module. The sensing module is used for sensing the brightness change of the screen to generate an acquisition instruction. And an acquisition module in the display control device of the electronic equipment acquires the screen brightness of the electronic equipment according to the acquisition instruction.
Another aspect of the present disclosure provides an electronic device including: one or more processors; and a storage device for storing one or more programs. Wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the display control method of the electronic device described above.
Another aspect of the present disclosure provides a computer-readable medium having stored thereon executable instructions that, when executed by a processor, cause the processor to perform the display control method of the electronic device described above.
According to the embodiment of the disclosure, the problem that the background color of the client application has a significant difference from the ambient brightness can be at least partially solved, and thus the discomfort of the eyes when the user uses the client application can be reduced, and the user experience can be improved.
Drawings
Fig. 1A to 1C schematically illustrate application scene diagrams of a display control method and apparatus of an electronic device according to an embodiment of the present disclosure;
2A-2D schematically illustrate method flow diagrams of a display control method of an electronic device according to an embodiment of the present disclosure;
3A-3B schematically illustrate a method flow diagram of a display control method of an electronic device according to another embodiment of the present disclosure;
FIG. 4 schematically illustrates a method flow diagram of a display control method of an electronic device according to another embodiment of the present disclosure;
fig. 5A to 5D schematically show structural block diagrams of a display control apparatus of an electronic device according to an embodiment of the present disclosure;
fig. 6 schematically shows a block diagram of a display control apparatus suitable for implementing an electronic device according to an embodiment of the present disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is illustrative only and is not intended to limit the scope of the present disclosure. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B and C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.). Where a convention analogous to "A, B or at least one of C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B or C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.). It will be further understood by those within the art that virtually any disjunctive word and/or phrase presenting two or more alternative terms, whether in the description, claims, or drawings, should be understood to contemplate the possibilities of including one of the terms, either of the terms, or both terms. For example, the phrase "a or B" should be understood to include the possibility of "a" or "B", or "a and B".
The embodiment of the disclosure provides a display control method and device of electronic equipment. The method comprises the following steps: acquiring screen brightness of the electronic equipment; and changing the background color of the displayed client application according to the screen brightness and a preset rule. The preset rule comprises a corresponding relation between screen brightness and background color, and the client application is installed on the electronic equipment. The background color of the client application can be adaptively adjusted according to the corresponding relation between the background color and the screen brightness, and the screen brightness of the electronic equipment can be automatically adjusted according to the environment brightness, so that the difference between the background color and the environment brightness of the client application is partially reduced, the stimulation to eyes when the user uses the client application is avoided, and the user experience is improved.
Fig. 1A to 1C schematically show application scene diagrams of a display control method and apparatus of an electronic device according to an embodiment of the present disclosure. It should be noted that fig. 1A to 1C are only examples of application scenarios in which the embodiments of the present disclosure may be applied to help those skilled in the art understand the technical content of the present disclosure, but do not mean that the embodiments of the present disclosure may not be applied to other devices, systems, environments or scenarios.
As shown in fig. 1A, the application scenario according to this embodiment may include terminal devices 101, 102, 103, and various communication client applications 104, such as a shopping application, a web browser application, a search application, an instant messenger, a mailbox client, social platform software, etc. (for example only), may be installed on the terminal devices 101, 102, 103.
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The display brightness of the display screen of the existing electronic equipment can be adaptively adjusted along with the brightness degree of the environment where the electronic equipment is located, so that a comfortable interface is provided for a user.
Although the existing electronic device can automatically adjust the screen brightness according to the brightness of the environment through its own light source sensor, it cannot control the background color of the display content of the client application in the electronic device because the display content of the client application is provided by the developer of the client application. Therefore, the background color of the client application installed in the electronic device is usually not changeable, or only two background colors of the daytime mode and the nighttime mode are available for the user to select through the settings. Therefore, a situation as shown with reference to fig. 1B or with reference to fig. 1C often occurs.
For example, when the user is in a dark environment (e.g., after turning off light at night or when the ambient light is dark), although the screen brightness of the electronic device is correspondingly darkened, since the background of the client application installed in the electronic device is usually a bright background as shown in fig. 1B, the background color is strongly different from the ambient brightness, and the user may have discomfort such as sour eyes when using the corresponding client application.
For another example, if the screen brightness of the electronic device is correspondingly increased when the user is in a bright environment (e.g., in a sunshine environment or under bright light), but the background of some interfaces of the client application is a dark background, or the background of the client application is a night mode set by the user, as shown in fig. 1C, due to diffuse reflection of light at the screen in the environment or a significant difference between the ambient brightness and the background color, a part of the content in the client application is not displayed clearly, and the user needs to change the ambient brightness or use eyes excessively to see the part of the content, thereby providing a poor experience for the user.
Therefore, in order to improve the user experience and avoid the eye fatigue of the user, it is necessary to control the display of the client application installed in the electronic device, for example, the background color of the client application may be adaptively adjusted according to the ambient brightness or the screen brightness changing with the ambient brightness.
It should be noted that, the description is made with reference to fig. 1B to fig. 1C with a smartphone as an electronic device that requires display control, which is only used for understanding the embodiment of the present disclosure, and the electronic device of the embodiment of the present disclosure may include any electronic device with a display screen shown in fig. 1A.
It should be noted that the display control method of the electronic device provided by the embodiment of the present disclosure may be generally executed by the terminal devices 101, 102, and 103, and accordingly, the display control apparatus of the electronic device provided by the embodiment of the present disclosure may be generally disposed in the electronic devices 101, 102, and 103.
Fig. 2A to 2D schematically show flowcharts of a display control method of an electronic apparatus according to an embodiment of the present disclosure.
As shown in fig. 2A, the method includes operations S201 to S202.
In operation S201, screen brightness of an electronic device is acquired.
According to an embodiment of the present disclosure, the electronic device may include, for example, the terminal device in fig. 1A, and the electronic device has a display screen.
According to an embodiment of the present disclosure, the screen brightness may be obtained through an API (Application Programming Interface) Interface provided by an operating system of the electronic device, for example. The method for acquiring the screen Brightness of the electronic device according to the embodiment of the present disclosure is not limited, and those skilled in the art may select an appropriate acquisition method according to the type of the electronic device, for example, the current screen Brightness of the electronic device may be acquired by using the method [ [ UIScreen mai screen ] Brightness ].
According to the embodiment of the disclosure, the obtained return value of the mobile phone screen brightness may be, for example, a floating point number with a value range between 0 and 1. Wherein, 0 represents that the current mobile phone screen brightness is the darkest value of the electronic equipment screen brightness in the system, and 1 represents that the current mobile phone screen brightness is the brightest value of the electronic equipment screen brightness in the system. The returned value of the screen brightness may be referred to as a screen brightness ratio value.
According to the embodiment of the disclosure, the screen brightness is adaptively adjusted by the electronic device according to the brightness degree of the environment where the electronic device is located. For example, the intelligent electronic device of the iOS system can automatically adjust the screen brightness by the photosensitive intensity of the light source sensor, so as to reduce the difference between the screen brightness and the ambient brightness, and the specific implementation process of the intelligent electronic device can be adjusted by the comparison table of the photosensitive intensity and the screen brightness as shown in table 1. For example, when the exposure intensity is 800, which falls within the range of [400, 1000), the adjusted screen brightness is 75 accordingly.
TABLE 1
Intensity of light sensing Brightness of screen
[0,200) 25
[200,400) 55
[400,1000) 75
[1000,3000) 90
[3000,+∞) 250
In operation S202, the background color of the displayed client application is changed according to the screen brightness and a preset rule.
According to the embodiment of the disclosure, the client application may be various communication client applications installed on the electronic device, such as a shopping application, a web browser application, an instant messaging application, a social platform application, and the like. The embodiment of the present disclosure does not limit the specific type of the client application, and a person skilled in the art may select any client application installed on the electronic device according to the user requirement.
According to an embodiment of the present disclosure, the preset rule may be a rule obtained by being preset by a developer or being self-set by a user. If the preset rule includes a corresponding relationship between the screen brightness and the background color of the client application, the background color of the client application currently displayed by the electronic device may be adjusted according to the preset rule and the screen brightness obtained in operation S210.
According to the embodiment of the present disclosure, the preset rule is, for example, preset by a developer, and the preset rule is specifically a corresponding relationship between a screen brightness ratio and a background color of a client application, and specifically may be, for example, a segment corresponding relationship similar to that shown in table 1. The background color may be represented by, for example, RGB values, and the preset rule may also be, for example, a graph of a relationship between the RGB values and the screen brightness ratio as shown in fig. 2B, where the background color is a color with equal R, G, and B values of the RGB values, and the value of R, G, B is linearly related to the screen brightness ratio. It should be noted that the preset rules are only used as examples to facilitate understanding of the present disclosure, and the present disclosure is not limited thereto, and those skilled in the art can set reasonable preset rules according to actual needs to make the displayed background color meet the needs of users.
According to an embodiment of the present disclosure, the embodiment of the present disclosure may further change a background color of the displayed client application in response to an operation of a user. The specific embodiment can actively adjust the panel of the background color by the user provided in the client application installed on the electronic device, for example, similar to the panel of the existing electronic device in which the user manually adjusts the screen brightness, so that the background color is more suitable for the personalized requirements of the user.
According to an embodiment of the present disclosure, the preset rule may be, for example: and changing the background color of the client application according to the relationship between the pre-stored background color and the screen brightness.
According to an embodiment of the present disclosure, the preset rule may also be a preset rule obtained by training an artificial neural network architecture shown in fig. 2C, where the specific obtaining method of the preset rule is as follows: collecting the background color of the client application set by the user at different screen brightness by using an artificial neural network, then modeling by using the artificial neural network according to the RGB value of the collected background color and the screen brightness ratio, training the neural network layer according to the rule preset by the developer and the screen brightness ratio obtained in real time, which are input by the first neural network layer (input layer), and transmitting the rule to the third neural network layer (output layer) to obtain an output value after calculating the weight value by the second neural network layer (hidden layer), meanwhile comparing the RGB value of the recorded user-adjusted background color with the output value, if the output value is not the expected output value, calculating the error change value of the output layer, then turning to the backward propagation, and transmitting the error signal back along the original connection path through the network, and modifying the weights of the neurons in each neural network layer until the expected target is reached, and finally obtaining the learning result as shown by referring to fig. 2D. As can be seen from comparison between the preset value of the preset rule in the reference fig. 2B and the recorded user adjustment value and learning result value in the reference fig. 2D, the preset rule can be gradually optimized according to the preference of the user through the artificial neural network training, so that the finally obtained preset rule meets the requirements of the user, and the experience of the user is improved.
According to the display control method of the electronic equipment, the background color of the client application installed on the electronic equipment can be changed according to the screen brightness, and the screen brightness is changed along with the brightness degree of the environment where the electronic equipment is located, so that the background color of the client application is changed along with the environment brightness, the situation described with reference to fig. 1B or fig. 1C can be avoided at least, the sour and astringent feeling of eyes of a user when the user uses the client application can be reduced at least partially, and the experience feeling of the user is improved.
Fig. 3A to 3B schematically illustrate a method flowchart of a display control method of an electronic device according to another embodiment of the present disclosure.
As shown in fig. 3A, the method includes operations S201 to S202, and operation S301.
Operations S201 to S202 are the same as or similar to operations S201 to S202 described above with reference to fig. 2A, and are not described again here.
In operation S301, it is determined whether a difference between the currently acquired screen brightness and the screen brightness acquired at the previous time is greater than a threshold.
According to the embodiment of the present disclosure, in the case that the difference value is greater than the threshold value as the determination result in operation S301, operation S202 is performed, and in the case that the difference value is less than the threshold value as the determination result in operation S301, no operation, that is, no change of the background color of the client is performed.
According to an embodiment of the present disclosure, the case where the difference is greater than the threshold includes a case where a difference between the currently acquired screen brightness and the screen brightness acquired at the previous time is equal to the threshold. The threshold range of the embodiment of the present disclosure may be set according to the resolution capability of the user for the screen brightness, and specifically, for example, the threshold is smaller than the minimum difference value at which the user can recognize the screen brightness change.
According to the embodiment of the present disclosure, by the determination of the operation S301, the display control method according to the embodiment of the present disclosure can avoid unnecessary loss of system resources as much as possible on the premise of not affecting the user experience.
As shown in fig. 3B, according to the embodiment of the present disclosure, the method for controlling display of an electronic device further includes operations S201 and operations S302 to S303.
Operation S201 is the same as or similar to operation S201 described above with reference to fig. 2A, and is not repeated here.
In operation S302, a background color theme of the client application displayed is changed in response to an operation of a user.
According to the embodiment of the disclosure, the background color theme is a theme color system preset by a client developer, and may include a white-gray-black gradient theme, a white-red gradient theme, a white-blue gradient theme, and/or a white-violet gradient theme, for example, so that different users may select a color system that is personal to like according to personal preferences. For example, the theme of white-gray-black gradient is that the G value, B value and R value in the GBR value of the background color are equal and all gradually change from 255 to 0. The background color theme comprises at least two preset background color themes for the user to select and change.
According to the embodiment of the disclosure, the background color theme can also customize the theme template according to the preference of the user, and the client application can have a theme color panel similar to a color palette of Photoshop, so that the user can optionally select at least two colors in the theme color panel to define the theme color template.
According to an embodiment of the present disclosure, the operation S302 may be performed according to a user requirement, for example, before the operation S201, and may also be performed after the screen brightness is acquired, and the timing for performing the operation S302 is not limited in the embodiment of the present disclosure.
In operation S303, the displayed background color of the client application is changed according to the screen brightness, a preset rule, and the displayed background color theme of the client application.
According to the embodiment of the present disclosure, operation S303 is similar to operation S202 in fig. 2A, except that in operation S303, the background color change is performed according to the background color theme of the client application. For example, if the background color theme is a white-gray-black gradient theme, when the screen brightness of the electronic device is the brightest value (for example, the screen brightness ratio is 1), the background color modified according to the preset rule should be white, and when the screen brightness of the electronic device is the darkest value (for example, the screen brightness ratio is 0), the background color modified according to the preset rule should be black.
By referring to the display control method of the electronic device in fig. 3B, the user can set and change the background color of the client application according to personal preferences, so that the user experience of the corresponding client application can be improved, the time for the user to use the client application can be prolonged, and greater benefits can be brought to the client application developer.
Fig. 4 schematically illustrates a method flowchart of a display control method of an electronic device according to another embodiment of the present disclosure.
As shown in fig. 4, the method includes operations S401 to S402 and operation S202.
In operation S401, an acquisition instruction is generated in response to a screen brightness change.
According to an embodiment of the present disclosure, operation S401 specifically includes: the sensor of the electronic equipment can sense the change of the ambient light, the adaptive adjustment of the screen brightness is carried out according to the change of the ambient light, and when the electronic equipment detects that the sensor sends an instruction to the display screen and receives a feedback signal of the display screen, a screen brightness acquisition instruction is generated. The sensor sends an instruction to the display device to indicate that the screen brightness displayed by the display screen needs to be adjusted, the screen brightness is correspondingly changed, when the sensor receives a feedback signal, the brightness of the display screen is indicated to be changed, and the screen brightness needs to be timely obtained to timely update the background color applied by the client, so that an obtaining instruction is generated. It should be noted that the specific operation of the operation S401 is only used as an example to facilitate understanding of the present disclosure, and the embodiment of the present disclosure does not limit the specific implementation method and the steps thereof.
In operation S402, the screen brightness of the electronic device is acquired according to the acquisition instruction.
According to an embodiment of the present disclosure, operation S402 is different from operation S201 in fig. 2A only in that, in operation S402, the screen brightness of the electronic device is obtained only in the presence of an obtaining instruction, which may be generated by an onboard system (e.g., android system, iOS system, windows system, etc.) of the electronic device, for example.
Operation S202 is the same as or similar to operation S202 described above with reference to fig. 2A, and is not repeated herein.
Fig. 5A to 5D schematically show structural block diagrams of a display control apparatus of an electronic device according to an embodiment of the present disclosure.
As shown in fig. 5A, the display control apparatus 500 includes an acquisition module 510 and a processing module 520.
Specifically, the obtaining module 510 is configured to obtain screen brightness of an electronic device, where the electronic device is installed with a client application. According to an embodiment of the present disclosure, the obtaining module 510 may, for example, perform operation S201 described above with reference to fig. 2A, which is not described herein again.
Specifically, the processing module 520 is configured to change a background color of the displayed client application according to the screen brightness and a preset rule, where the preset rule includes a corresponding relationship between the screen brightness and the background color. According to an embodiment of the present disclosure, the processing module 520 may perform, for example, the operation S202 described above with reference to fig. 2A, which is not described herein again.
According to an embodiment of the present disclosure, as shown in fig. 5B, the display control apparatus 500 of the electronic device may further include a determination module 530.
Specifically, the determining module 530 is configured to determine whether a difference between the screen brightness currently acquired by the acquiring module and the screen brightness acquired at the previous time is greater than a threshold. According to an embodiment of the present disclosure, the determining module 530 may, for example, perform the operation S301 described above with reference to fig. 3A, which is not described herein again. Accordingly, the processing module 520 is configured to perform the operation S202 described above with reference to fig. 3A if the difference is greater than the threshold.
According to an embodiment of the present disclosure, as shown in fig. 5C, the display control apparatus 500 of the electronic device may further include a response module 540.
Specifically, the response module 540 is configured to change the background color of the displayed client application in response to an operation of the user.
According to an embodiment of the present disclosure, the response module 540 may be further configured to change a background color theme of the displayed client application in response to an operation of the user, where the background color theme includes a plurality of preset background color themes. According to an embodiment of the present disclosure, the response module 540 may further perform the operation S302 described above with reference to fig. 3B, for example, and is not described herein again. Correspondingly, the processing module 520 is configured to change the background color of the displayed client application according to the screen brightness, the preset rule, and the displayed background color theme of the client application, that is, the processing module 520 is further configured to execute operation S303 in fig. 3B, which is not described herein again.
According to an embodiment of the present disclosure, as shown in fig. 5D, the display control apparatus 500 of the electronic device may further include a sensing module 550.
Specifically, the sensing module 550 is configured to sense a change in screen brightness and generate an acquisition instruction. According to an embodiment of the present disclosure, the sensing module 550 may perform, for example, the operation S401 described with reference to fig. 4, which is not described herein again. Accordingly, the obtaining module 510 may also perform operation S402 described with reference to fig. 4, for example, which is not described herein again.
It is understood that the obtaining module 510, the processing module 520, the determining module 530, the responding module 540, and the sensing module 550 may be combined into one module to be implemented, or any one of the modules may be split into a plurality of modules. Alternatively, at least part of the functionality of one or more of these modules may be combined with at least part of the functionality of the other modules and implemented in one module. According to an embodiment of the present invention, at least one of the obtaining module 510, the processing module 520, the determining module 530, the responding module 540, and the sensing module 550 may be at least partially implemented as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented in hardware or firmware in any other reasonable manner of integrating or packaging a circuit, or in a suitable combination of three implementations of software, hardware, and firmware. Alternatively, at least one of the obtaining module 510, the processing module 520, the determining module 530, the responding module 540, and the sensing module 550 may be at least partially implemented as a computer program module, which when executed by a computer, may perform the functions of the respective modules.
Fig. 6 schematically shows a block diagram of a display control apparatus suitable for implementing an electronic device according to an embodiment of the present disclosure. The computer system illustrated in FIG. 6 is only one example and should not impose any limitations on the scope of use or functionality of embodiments of the disclosure.
As shown in fig. 6, a computer system 600 according to an embodiment of the present disclosure includes a processor 601, which can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage section 608 into a Random Access Memory (RAM) 603. Processor 601 may include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or associated chipset, and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), among others. Processor 601 may also include an onboard processor for caching purposes. Processor 601 may include a single processing unit or multiple processing units for performing the different actions of the method flows described with reference to fig. 2A-4 in accordance with embodiments of the present disclosure.
In the RAM 603, various programs and data necessary for the operation of the system 600 are stored. The processor 601, the ROM602, and the RAM 603 are connected to each other via a bus 604. The processor 601 performs various operations of the display control method of the electronic apparatus described above with reference to fig. 2A to 4 by executing programs in the ROM602 and/or the RAM 603. It is to be noted that the programs may also be stored in one or more memories other than the ROM602 and RAM 603. The processor 601 may also perform various operations of the display control method of the electronic device described above with reference to fig. 2A to 4 by executing the program stored in the one or more memories.
According to an embodiment of the present disclosure, system 600 may also include an input/output (I/O) interface 605, input/output (I/O) interface 605 also connected to bus 604. The system 600 may also include one or more of the following components connected to the I/O interface 605: an input portion 606 including a keyboard, a mouse, and the like; an output portion 607 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The driver 610 is also connected to the I/O interface 605 as needed. A removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 610 as necessary, so that a computer program read out therefrom is mounted in the storage section 608 as necessary.
According to an embodiment of the present disclosure, the method described above with reference to the flow chart may be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 609, and/or installed from the removable medium 611. The computer program, when executed by the processor 601, performs the above-described functions defined in the system of the embodiments of the present disclosure. The systems, devices, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
It should be noted that the computer readable media shown in the present disclosure may be computer readable signal media or computer readable storage media or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer-readable signal medium may include a propagated data signal with computer-readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing. According to embodiments of the present disclosure, a computer-readable medium may include the ROM602 and/or RAM 603 described above and/or one or more memories other than the ROM602 and RAM 603.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
As another aspect, the present disclosure also provides a computer-readable medium, which may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The above-mentioned computer-readable medium carries one or more programs that, when executed by one of the apparatuses, cause the apparatus to execute the display control method of the electronic apparatus described with reference to fig. 2A to 4.
The embodiments of the present disclosure have been described above. However, these examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described separately above, this does not mean that the measures in the embodiments cannot be used in advantageous combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be devised by those skilled in the art without departing from the scope of the present disclosure, and such alternatives and modifications are intended to be within the scope of the present disclosure.

Claims (12)

1. A display control method of an electronic device includes:
acquiring screen brightness of the electronic equipment; and
changing the background color of the displayed client application according to the screen brightness and a preset rule,
the preset rule comprises a corresponding relation between the screen brightness and the background color, and the electronic equipment is provided with the client application;
the method further comprises the following steps:
changing the displayed background color theme of the client application in response to the operation of a user;
changing the background color of the displayed client application according to the screen brightness, preset rules and the displayed background color theme of the client application,
wherein the background color theme comprises a plurality of preset background color themes.
2. The method of claim 1, further comprising:
and changing the background color of the displayed client application in response to the operation of the user.
3. The method of claim 1, further comprising:
judging whether the difference value between the currently acquired screen brightness and the screen brightness acquired at the previous moment is greater than a threshold value;
and changing the background color of the displayed client application according to the currently acquired screen brightness and a preset rule under the condition that the difference value is larger than the threshold value.
4. The method of claim 1, further comprising:
sensing the brightness change of the screen to generate an acquisition instruction;
and acquiring the screen brightness of the electronic equipment according to the acquisition instruction.
5. The method of claim 1, wherein the preset rule comprises:
and based on a preset corresponding relation model of the screen brightness and the background color, obtaining a corresponding relation between the screen brightness and the background color by adopting artificial neural network architecture training.
6. The method of claim 1, wherein the screen brightness of the electronic device is adaptively adjusted according to the brightness level of the environment in which the electronic device is located.
7. A display control apparatus of an electronic device, comprising:
the acquisition module acquires the screen brightness of the electronic equipment;
a processing module for changing the background color of the displayed client application according to the screen brightness and the preset rule,
the preset rule comprises a corresponding relation between the screen brightness and the background color, and the electronic equipment is provided with the client application;
the device further comprises:
the response module is used for responding to the operation of the user and changing the background color theme of the displayed client application;
the processing module changes the background color of the displayed client application according to the screen brightness, the preset rule and the background color theme of the displayed client application,
wherein the background color theme comprises a plurality of preset background color themes.
8. The apparatus of claim 7, further comprising:
and the response module is used for changing the background color of the displayed client application in response to the operation of the user.
9. The apparatus of claim 7, further comprising:
the judging module is used for judging whether the difference value between the screen brightness currently acquired by the acquiring module and the screen brightness acquired by the acquiring module at the previous moment is larger than a threshold value or not;
and the processing module is used for changing the background color of the displayed client application according to the currently acquired screen brightness and a default rule under the condition that the difference value is larger than the threshold value.
10. The apparatus of claim 7, wherein the electronic device comprises:
the sensing module is used for sensing the brightness change of the screen and generating an acquisition instruction;
and the acquisition module acquires the screen brightness of the electronic equipment according to the acquisition instruction.
11. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method of any of claims 1-6.
12. A computer readable medium having stored thereon executable instructions which, when executed by a processor, cause the processor to perform the method of any one of claims 1 to 6.
CN201810249560.9A 2018-03-23 2018-03-23 Display control method and device of electronic equipment Active CN108616649B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810249560.9A CN108616649B (en) 2018-03-23 2018-03-23 Display control method and device of electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810249560.9A CN108616649B (en) 2018-03-23 2018-03-23 Display control method and device of electronic equipment

Publications (2)

Publication Number Publication Date
CN108616649A CN108616649A (en) 2018-10-02
CN108616649B true CN108616649B (en) 2021-10-15

Family

ID=63658961

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810249560.9A Active CN108616649B (en) 2018-03-23 2018-03-23 Display control method and device of electronic equipment

Country Status (1)

Country Link
CN (1) CN108616649B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111367600A (en) * 2018-12-26 2020-07-03 沈阳美行科技有限公司 Application software display color adjusting method and device and vehicle-mounted equipment
CN110211549B (en) * 2019-04-25 2023-06-09 深圳市泰衡诺科技有限公司 Screen brightness adjustment method and device, terminal and storage medium
CN110162291B (en) * 2019-05-31 2022-03-11 重庆城市职业学院 Webpage design device
CN111913863B (en) * 2020-08-07 2023-10-17 北京达佳互联信息技术有限公司 Statistical model establishment method, night mode page generation method, device and equipment
CN112331158B (en) * 2020-11-18 2022-11-18 北京小米移动软件有限公司 Terminal display adjustment method, device, equipment and storage medium
CN114815256B (en) * 2022-04-15 2023-10-03 青岛虚拟现实研究院有限公司 Screen parameter adjustment method, device and storage medium of virtual reality head-mounted device
CN116913224A (en) * 2023-07-20 2023-10-20 咪咕视讯科技有限公司 Display interface adjustment method, device and terminal
CN116755589B (en) * 2023-08-22 2023-11-28 苔花科迈(西安)信息技术有限公司 Method, device, medium and equipment for changing color matching theme of visual large screen

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453885A (en) * 2016-09-30 2017-02-22 努比亚技术有限公司 Eye protecting terminal and eye protecting method
CN107742510A (en) * 2017-11-07 2018-02-27 珠海市魅族科技有限公司 A kind of eyeshield intensity adjustment method, apparatus, electric terminal and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101719944A (en) * 2009-12-09 2010-06-02 中兴通讯股份有限公司 Terminal for sensing light and method for adjusting human-computer interface by sensing light
US8929679B1 (en) * 2013-06-12 2015-01-06 Google Inc. Systems and methods for changing contrast based on brightness of an output for presentation on a display
CN104346057B (en) * 2013-08-02 2021-10-12 腾讯科技(深圳)有限公司 Background color adjusting method and device
CN106057169B (en) * 2016-05-25 2019-08-20 维沃移动通信有限公司 A kind of eye care method and mobile terminal of mobile terminal
CN106713654A (en) * 2017-01-11 2017-05-24 维沃移动通信有限公司 Mobile terminal display adjustment method and mobile terminal
CN107045416A (en) * 2017-04-07 2017-08-15 广东欧珀移动通信有限公司 Color temperature adjusting method and device and display equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453885A (en) * 2016-09-30 2017-02-22 努比亚技术有限公司 Eye protecting terminal and eye protecting method
CN107742510A (en) * 2017-11-07 2018-02-27 珠海市魅族科技有限公司 A kind of eyeshield intensity adjustment method, apparatus, electric terminal and storage medium

Also Published As

Publication number Publication date
CN108616649A (en) 2018-10-02

Similar Documents

Publication Publication Date Title
CN108616649B (en) Display control method and device of electronic equipment
US10726585B2 (en) Method and electronic device for converting color of image
US10204593B2 (en) Display apparatus and method for controlling the same
EP3682439B1 (en) Adaptive display brightness adjustment
US9892714B2 (en) Brightness control method, apparatus and program product
US8754902B2 (en) Color-space selective darkness and lightness adjustment
US11388348B2 (en) Systems and methods for dynamic range compression in multi-frame processing
KR102589356B1 (en) Display apparatus and controlling method thereof
WO2022072197A1 (en) Object relighting using neural networks
US11373280B2 (en) Electronic device and method of training a learning model for contrast ratio of an image
CN110308836B (en) Data processing method, device, terminal and storage medium
CN105355188A (en) Method and system for adjusting screen brightness of mobile terminal and mobile terminal
US10997947B2 (en) Electronic device and control method thereof
US20230186440A1 (en) Display apparatus and operating method thereof
KR102684434B1 (en) Display controlling method and electronic device supporting the same
US11258954B2 (en) Image processing method and apparatus, and electronic device and storage medium
US12148335B2 (en) Method for image rendering, terminal device and non-transitory computer-readable storage medium
KR102623148B1 (en) Electronic apparatus and controlling method thereof
KR102094504B1 (en) Method and apparatus for improving readability of contents
CN107578753B (en) Mobile terminal, display screen brightness adjusting method and storage medium
US12086971B2 (en) Global tone mapping with contrast enhancement and chroma boost
US9571751B2 (en) Selective brightness control in photography
CN117315124A (en) Image processing method, device, electronic equipment, medium and program product
CN108053436B (en) Picture processing method and device, electronic equipment and picture server
CN114697630B (en) Driver status monitoring method, device, electronic device and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant