CN109143717B - Control method and device of electronic equipment, storage medium and electronic equipment - Google Patents
Control method and device of electronic equipment, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN109143717B CN109143717B CN201810922988.5A CN201810922988A CN109143717B CN 109143717 B CN109143717 B CN 109143717B CN 201810922988 A CN201810922988 A CN 201810922988A CN 109143717 B CN109143717 B CN 109143717B
- Authority
- CN
- China
- Prior art keywords
- electrochromic
- intensity value
- value
- electronic equipment
- electronic device
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 239000000463 material Substances 0.000 claims description 39
- 230000006870 function Effects 0.000 claims description 23
- 230000001681 protective effect Effects 0.000 claims description 13
- 238000012545 processing Methods 0.000 claims description 11
- 238000005286 illumination Methods 0.000 claims description 9
- 238000004590 computer program Methods 0.000 claims description 8
- 238000004891 communication Methods 0.000 claims description 6
- 239000003086 colorant Substances 0.000 claims description 4
- 230000000712 assembly Effects 0.000 claims 4
- 238000000429 assembly Methods 0.000 claims 4
- 239000010410 layer Substances 0.000 description 25
- 239000010408 film Substances 0.000 description 14
- 238000010586 diagram Methods 0.000 description 10
- 238000007726 management method Methods 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 5
- 230000002441 reversible effect Effects 0.000 description 4
- 238000001514 detection method Methods 0.000 description 3
- 150000002500 ions Chemical class 0.000 description 3
- 239000000758 substrate Substances 0.000 description 3
- 238000002834 transmittance Methods 0.000 description 3
- ZNOKGRXACCSDPY-UHFFFAOYSA-N tungsten trioxide Chemical compound O=[W](=O)=O ZNOKGRXACCSDPY-UHFFFAOYSA-N 0.000 description 3
- 238000010521 absorption reaction Methods 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 2
- 230000005684 electric field Effects 0.000 description 2
- 239000003792 electrolyte Substances 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 239000011521 glass Substances 0.000 description 2
- 230000005484 gravity Effects 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 229910000480 nickel oxide Inorganic materials 0.000 description 2
- 238000006479 redox reaction Methods 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- SKRWFPLZQAAQSU-UHFFFAOYSA-N stibanylidynetin;hydrate Chemical compound O.[Sn].[Sb] SKRWFPLZQAAQSU-UHFFFAOYSA-N 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 150000001875 compounds Chemical class 0.000 description 1
- 239000004020 conductor Substances 0.000 description 1
- 239000012792 core layer Substances 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000002845 discoloration Methods 0.000 description 1
- AMGQUBHHOARCQH-UHFFFAOYSA-N indium;oxotin Chemical group [In].[Sn]=O AMGQUBHHOARCQH-UHFFFAOYSA-N 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000011244 liquid electrolyte Substances 0.000 description 1
- MHCFAGZWMAWTNR-UHFFFAOYSA-M lithium perchlorate Chemical compound [Li+].[O-]Cl(=O)(=O)=O MHCFAGZWMAWTNR-UHFFFAOYSA-M 0.000 description 1
- 229910001486 lithium perchlorate Inorganic materials 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 229910052751 metal Inorganic materials 0.000 description 1
- 239000002184 metal Substances 0.000 description 1
- 239000007769 metal material Substances 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- GNRSAWUEBMWBQH-UHFFFAOYSA-N oxonickel Chemical compound [Ni]=O GNRSAWUEBMWBQH-UHFFFAOYSA-N 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- IEQIEDJGQAUEQZ-UHFFFAOYSA-N phthalocyanine Chemical class N1C(N=C2C3=CC=CC=C3C(N=C3C4=CC=CC=C4C(=N4)N3)=N2)=C(C=CC=C2)C2=C1N=C1C2=CC=CC=C2C4=N1 IEQIEDJGQAUEQZ-UHFFFAOYSA-N 0.000 description 1
- 229920000123 polythiophene Polymers 0.000 description 1
- 238000002310 reflectometry Methods 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- BAZAXWOYCMUHIX-UHFFFAOYSA-M sodium perchlorate Chemical compound [Na+].[O-]Cl(=O)(=O)=O BAZAXWOYCMUHIX-UHFFFAOYSA-M 0.000 description 1
- 229910001488 sodium perchlorate Inorganic materials 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 239000007784 solid electrolyte Substances 0.000 description 1
- FHCPAXDKURNIOZ-UHFFFAOYSA-N tetrathiafulvalene Chemical compound S1C=CSC1=C1SC=CS1 FHCPAXDKURNIOZ-UHFFFAOYSA-N 0.000 description 1
- 239000010409 thin film Substances 0.000 description 1
- XOLBLPGZBRYERU-UHFFFAOYSA-N tin dioxide Chemical compound O=[Sn]=O XOLBLPGZBRYERU-UHFFFAOYSA-N 0.000 description 1
- 229910001887 tin oxide Inorganic materials 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G02—OPTICS
- G02F—OPTICAL DEVICES OR ARRANGEMENTS FOR THE CONTROL OF LIGHT BY MODIFICATION OF THE OPTICAL PROPERTIES OF THE MEDIA OF THE ELEMENTS INVOLVED THEREIN; NON-LINEAR OPTICS; FREQUENCY-CHANGING OF LIGHT; OPTICAL LOGIC ELEMENTS; OPTICAL ANALOGUE/DIGITAL CONVERTERS
- G02F1/00—Devices or arrangements for the control of the intensity, colour, phase, polarisation or direction of light arriving from an independent light source, e.g. switching, gating or modulating; Non-linear optics
- G02F1/01—Devices or arrangements for the control of the intensity, colour, phase, polarisation or direction of light arriving from an independent light source, e.g. switching, gating or modulating; Non-linear optics for the control of the intensity, phase, polarisation or colour
- G02F1/15—Devices or arrangements for the control of the intensity, colour, phase, polarisation or direction of light arriving from an independent light source, e.g. switching, gating or modulating; Non-linear optics for the control of the intensity, phase, polarisation or colour based on an electrochromic effect
- G02F1/163—Operation of electrochromic cells, e.g. electrodeposition cells; Circuit arrangements therefor
-
- G—PHYSICS
- G02—OPTICS
- G02F—OPTICAL DEVICES OR ARRANGEMENTS FOR THE CONTROL OF LIGHT BY MODIFICATION OF THE OPTICAL PROPERTIES OF THE MEDIA OF THE ELEMENTS INVOLVED THEREIN; NON-LINEAR OPTICS; FREQUENCY-CHANGING OF LIGHT; OPTICAL LOGIC ELEMENTS; OPTICAL ANALOGUE/DIGITAL CONVERTERS
- G02F1/00—Devices or arrangements for the control of the intensity, colour, phase, polarisation or direction of light arriving from an independent light source, e.g. switching, gating or modulating; Non-linear optics
- G02F1/01—Devices or arrangements for the control of the intensity, colour, phase, polarisation or direction of light arriving from an independent light source, e.g. switching, gating or modulating; Non-linear optics for the control of the intensity, phase, polarisation or colour
- G02F1/15—Devices or arrangements for the control of the intensity, colour, phase, polarisation or direction of light arriving from an independent light source, e.g. switching, gating or modulating; Non-linear optics for the control of the intensity, phase, polarisation or colour based on an electrochromic effect
- G02F1/153—Constructional details
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/34—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
- G09G3/38—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using electrochromic devices
Landscapes
- Physics & Mathematics (AREA)
- Nonlinear Science (AREA)
- General Physics & Mathematics (AREA)
- Optics & Photonics (AREA)
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Theoretical Computer Science (AREA)
- Electrochromic Elements, Electrophoresis, Or Variable Reflection Or Absorption Elements (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
The embodiment of the application discloses a control method and device of electronic equipment, a storage medium and the electronic equipment; the method comprises the following steps: the method comprises the steps of obtaining a light intensity value of a scene where the electronic equipment is located currently, judging whether the light intensity value is smaller than a preset intensity value or not, if so, controlling the electrochromic assembly to change color according to the light intensity value of the current scene, and if not, controlling the photochromic assembly to change color. The application can control the electronic equipment to adjust the color of the shell according to the light intensity value under different scenes, and can close the electrochromic assembly under the condition that the light intensity value is higher, and only the photochromic assembly is needed to adjust the color, and the power consumption of the electronic equipment can be reduced because the photochromic does not need to consume the electric quantity of the electronic equipment.
Description
Technical Field
The present application relates to the field of electronic devices, and in particular, to a method and an apparatus for controlling an electronic device, a storage medium, and an electronic device.
Background
With the development of terminal technology, terminals have begun to change from simply providing telephony devices to a platform for running general-purpose software. The platform no longer aims at providing call management, but provides an operating environment including various application software such as call management, game and entertainment, office events, mobile payment and the like, and with a great deal of popularization, the platform has been deeply developed to the aspects of life and work of people.
Electrochromism refers to a phenomenon in which optical properties (reflectivity, transmittance, absorption, and the like) of a material undergo a stable and reversible color change under the action of an applied electric field, and is visually represented as a reversible change in color and transparency. Materials having electrochromic properties are referred to as electrochromic materials, and devices made with electrochromic materials are referred to as electrochromic devices. Electrochromic materials may be used in the prior art on the housing of an electronic device to change the color of the housing. However, since the electrochromic material needs to be supplied with voltage to realize color change, power consumption of the electronic device is large.
Disclosure of Invention
The embodiment of the application provides a control method and device of electronic equipment, a storage medium and the electronic equipment, which can reduce the power consumption of the electronic equipment.
In a first aspect, an embodiment of the present application provides a method for controlling an electronic device, which is applied to an electronic device including an electrochromic device and a photochromic device, and includes the following steps:
acquiring a light intensity value of a scene where the electronic equipment is located;
judging whether the light intensity value is smaller than a preset intensity value or not;
if the current scene is smaller than the preset scene, controlling the electrochromic component to change color according to the light intensity value of the current scene;
and if not, controlling the photochromic component to change color.
In a second aspect, an embodiment of the present application further provides a control device for an electronic device, where the control device is applied to an electronic device, where the electronic device includes an electrochromic component and a photochromic component, and the device includes: the device comprises an acquisition module, a judgment module, a first control module and a second control module;
the acquisition module is used for acquiring the light intensity value of the scene where the electronic equipment is located;
the judging module is used for judging whether the light intensity value is smaller than a preset intensity value or not;
the first control module is used for controlling the electrochromic assembly to change color according to the light intensity value of the current scene when the judgment module judges that the current scene is the scene;
and the second control module is used for controlling the photochromic component to change color when the judgment module judges that the photochromic component does not change color.
In a third aspect, embodiments of the present application further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the control method for the electronic device.
In a fourth aspect, an embodiment of the present application further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the control method of the electronic device when executing the program.
In a fifth aspect, an embodiment of the present application further provides an electronic device, including a light sensor, an electrochromic component, a photochromic component and a control circuit, where the light sensor is used to detect a light intensity value of a scene where the electronic device is currently located, and the control circuit controls the electrochromic component to change color when the light intensity value is smaller than a preset intensity value, and controls the photochromic component to change color when the light intensity value is not smaller than the preset intensity value.
The control method of the electronic device, provided by the embodiment of the application, includes the steps of firstly obtaining a light intensity value of a current scene of the electronic device, judging whether the light intensity value is smaller than a preset intensity value, if so, controlling an electrochromic assembly to change color according to the light intensity value of the current scene, and if not, controlling a photochromic assembly to change color. The color of the electronic equipment can be controlled to adjust the shell according to the light intensity value under different scenes, the electrochromic assembly can be closed under the condition that the light intensity value is high, the color can be adjusted only according to the photochromic assembly, and the power consumption of the electronic equipment can be reduced because the electric quantity of the electronic equipment is not consumed by the photochromic assembly.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an electronic device provided in this embodiment.
Fig. 2 is a schematic structural diagram of the electrochromic cell provided in this embodiment.
Fig. 3 is a schematic diagram of a structure for applying voltage to an electrochromic cell according to this embodiment.
Fig. 4 is a flowchart illustrating a control method of an electronic device according to an embodiment of the present application.
Fig. 5 is another schematic flowchart of a control method of an electronic device according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of a control device of an electronic device according to an embodiment of the present application.
Fig. 7 is another schematic structural diagram of a control device of an electronic device according to an embodiment of the present application.
Fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 9 is another schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Referring to the drawings, wherein like reference numbers refer to like elements, the principles of the present application are illustrated as being implemented in a suitable computing environment. The following description is based on illustrated embodiments of the application and should not be taken as limiting the application with respect to other embodiments that are not detailed herein.
In the description that follows, specific embodiments of the present application will be described with reference to steps and symbols executed by one or more computers, unless otherwise indicated. Accordingly, these steps and operations will be referred to, several times, as being performed by a computer, the computer performing operations involving a processing unit of the computer in electronic signals representing data in a structured form. This operation transforms the data or maintains it at locations in the computer's memory system, which may be reconfigured or otherwise altered in a manner well known to those skilled in the art. The data maintains a data structure that is a physical location of the memory that has particular characteristics defined by the data format. However, while the principles of the application have been described in language specific to above, it is not intended to be limited to the specific form set forth herein, and it will be recognized by those of ordinary skill in the art that various of the steps and operations described below may be implemented in hardware.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an electronic device provided in this embodiment. The electronic device 100 may include a rear cover 10, and the rear cover 10 may include a housing 11 and an electrochromic assembly 12. The electrochromic element 12 may be disposed on the housing 11, and the housing 11 is covered with a protective film on which the photochromic material is distributed. The electronic device 100 can provide an operating voltage for the electrochromic component 12.
The housing 11 may be made of a metal material, and in other embodiments, the housing 11 may also be made of glass.
The electrochromic assembly 12 is made primarily of electrochromic materials. Electrochromism refers to a phenomenon that the optical properties (such as emissivity, light transmittance, absorptivity and the like) of a material are changed stably and reversibly under the action of an external electric field. Electrochromism appears in appearance as a reversible change in the color and transparency of the material. Materials with electrochromic properties may be referred to as electrochromic materials.
Photochromic materials are materials that change color when excited by a light source. Photochromic refers to the fact that certain compounds undergo a change in their molecular structure under the action of light of a certain wavelength and intensity, which results in a corresponding change in the absorption peak, i.e., color, of the light, and this change is generally reversible.
In this embodiment, the electrochromic assembly 12 may include a plurality of electrochromic cells, a switching assembly, and a voltage control line. Each electrochromic cell can be selectively connected with the voltage control circuit through the switch component. For example, each electrochromic cell may be selectively connected to a voltage control line by a switching assembly. When the switch assembly is in a switch-on state, the voltage control circuit can be electrically connected with the corresponding electrochromic unit so as to charge and discharge the electrochromic unit. When a certain electrochromic cell is charged and discharged, the electrochromic cell may display a color corresponding to its current voltage. For example, when the voltage applied to the electrochromic cell is changed from 0V to 1V, the electrochromic cell may be changed from white to red. When the voltage applied to the electrochromic cell is changed from 0V to 1.2V, the electrochromic cell may be changed from white to black. When the voltage applied to the electrochromic cell is changed from 1.2V to-0.2V, the electrochromic cell may be changed from black to white, and so on.
When the switch assembly is in a disconnected state, the voltage control circuit and the corresponding electrochromic unit are also in a disconnected state, namely, the voltage control circuit cannot charge and discharge the electrochromic unit.
In one embodiment, a switching assembly in an electrochromic assembly may include a switch and a switch control line. Each switch may be connected to a switch control line, a voltage control line, and an electrochromic cell, respectively. In one embodiment, the switch may be a switching element such as a Thin Film Transistor (TFT). That is, one end of the TFT may be connected to one switch control line, one end to one voltage control line, and one end to the electrochromic cell.
In one embodiment, as shown in fig. 2, the electrochromic cell in the electrochromic assembly may include a conductive layer 21, a discoloration layer 22, an electrolyte layer 23, an ion storage layer 24, and a conductive layer 25, which are stacked. Wherein, the conductive layer 21 can be connected with the corresponding switch of the electrochromic unit, and the conductive layer 25 can be connected with the common electrode of the electrochromic component. It should be noted that the common electrode of the electrochromic device refers to the fixed voltage terminal of the electrochromic device.
The conductive layer may be a transparent conductive layer, and has excellent conductivity and good optical transmittance. The transparent conductive layer can be Indium Tin Oxide (ITO) or tin oxide (SnO)2) And Antimony Tin Oxide (ATO).
The color-changing layer is a core layer of the electrochromic unit and is also a generation layer of color-changing reaction. The material of the color-changing layer may be classified into an inorganic electrochromic material and an organic electrochromic material according to types. The inorganic electrochromic material may be tungsten trioxide (WO)3) Or nickel oxide (NiO). The organic electrochromic material mainly comprises polythiophene and derivatives thereof, viologen, tetrathiafulvalene, metal phthalocyanine compounds and the like.
The electrolyte layer is composed of a special conductive material such as a liquid electrolyte material containing a solution of lithium perchlorate, sodium perchlorate, or the like, or may be a solid electrolyte material. The ion storage layer plays a role in storing charges in the electrochromic unit, namely corresponding counter ions are stored when the material of the electrochromic layer undergoes an oxidation-reduction reaction, so that the charge balance of the whole electrochromic unit is ensured.
As shown in fig. 3, when a certain voltage is applied between the two transparent conductive layers, the material of the color-changing layer of the electrochromic cell undergoes an oxidation-reduction reaction under the action of the voltage, thereby undergoing a color change.
In one embodiment, the electrochromic assembly in this embodiment may further include a substrate and a cover plate. The electrochromic cells in the electrochromic assembly cover the substrate, and the cover plate covers the electrochromic cells. For example, the substrate and the cover plate may be transparent glass or the like.
Referring to fig. 4, fig. 4 is a schematic flowchart of a control method of an electronic device according to an embodiment of the present disclosure, including the following steps:
step S101, obtaining a light intensity value of a scene where the electronic equipment is located currently.
In an embodiment, the ambient light sensor may be disposed on the electronic device, for example, below the screen region, wherein to further improve accuracy of the ambient light intensity, a plurality of ambient light sensors may be disposed in the terminal, for example, respectively disposed at a lower left corner, an upper right corner and a lower right corner of the screen display region, that is, the screen regions respectively corresponding to the 4 ambient light sensors are the four corners of the display region. And acquiring the light intensity value of the current scene of the electronic equipment through an ambient light sensor.
The unit of the light intensity value may be Lux (Lux), for example, the light intensity value in a starlight environment is 0.0002 to 0.00002 Lux (Lux), the light intensity value in a moon-circle environment is 0.3 to 0.03Lux, the light intensity value in an office is 30 to 50Lux, the light intensity value on a desktop 60cm away from a 60W desk lamp is 300Lux, the light intensity value outside a cloudy day is 1 ten thousand Lux, and the light intensity value in summer sunlight is 10 ten thousand Lux.
In practical use, because the ambient light sensor is arranged below the screen, the screen can affect the measurement of the light intensity value of the current scene in a bright screen state. Therefore, in an embodiment, before the light intensity value of the current scene detected by the ambient light sensor is obtained, it may be further determined whether the electronic device is in a bright screen state, if so, an image currently displayed on the screen is obtained, then a current brightness value of an image area corresponding to the ambient light sensor in the image is further obtained, and finally the light intensity value of the current scene of the electronic device is calculated according to the value detected by the ambient light sensor and the brightness value. Specifically, the screen is in a bright screen state as a trigger condition, when the progress of the system application program is monitored, whether the screen of the electronic device is in the bright screen state is judged, and when it is monitored that the capacitive touch screen is lightened, the screen is in the bright screen state, that is, an image currently displayed on the screen is acquired.
Step S102, determining whether the light intensity value is smaller than a preset intensity value, if so, performing step S103, and if not, performing step S104.
In the embodiment of the application, because the surface of the shell is covered with the protective film on which the photochromic material is distributed, when the light intensity is high, the color of the protective film can be obviously changed by the photochromic material on the protective film according to the current light intensity value, and at the moment, the color of the electrochromic assembly on the shell is not required to be changed, so that part of electric quantity of the electronic equipment can be saved. In addition, due to the existence of the protective film on the surface of the shell, the photochromic layer can also play a role in protecting the electrochromic layer after falling, and even if the photochromic material is damaged, the photochromic function can be realized due to the existence of the electrochromic material layer.
In one embodiment, a preset light intensity value may be set, and if the current light intensity value is not less than the preset value, for example, in an outdoor environment or a bright environment in the daytime, the electrochromic device may be turned off and the protection film containing the photochromic material changes color; if the current light intensity value is smaller than the preset value, for example, the electrochromic assembly can be opened in an outdoor environment or a dark environment at night, so that power consumption caused by the fact that the electrochromic assembly is opened for color change in the daytime can be saved.
Wherein, above-mentioned luminous intensity value of predetermineeing can set up according to the present electric quantity of electronic equipment, for example when electronic equipment residual capacity is 80% comparatively sufficient, can set up some height with above-mentioned luminous intensity value of predetermineeing, when electronic equipment residual capacity is 20% comparatively lack, for the power consumption that further reduces electrochromic subassembly and bring, can set up some lowly with above-mentioned luminous intensity value of predetermineeing. In other embodiments, the preset light intensity value may also be set by a user according to an actual situation, which is not further limited in this application.
And step S103, controlling the electrochromic component to change color according to the light intensity value of the current scene.
In this embodiment, when the electrochromic device is in the on state, the voltage control circuit may be electrically connected to the corresponding electrochromic unit to charge and discharge the electrochromic unit. When the electrochromic cell is charged and discharged, the electrochromic cell may display a color corresponding to its current voltage. Therefore, the voltage value corresponding to the light intensity value can be determined, and then an electric signal corresponding to the voltage value is output to the electrochromic component, so that the electrochromic component displays the corresponding color.
For example, the electronic device may store a mapping relationship between the light intensity value and a voltage value in advance, where the voltage value may specifically be a voltage value of the electronic device outputting the electrical signal to the electrochromic component. In this step, a voltage value corresponding to the detected light intensity value, i.e., a target voltage value, may be determined according to the above-described mapping relationship. When an electric signal of a target voltage value is input to the electrochromic device, the electrochromic device may change color according to the input voltage value. Specifically, the voltage value required to be input when the electrochromic device displays a darker color may correspond to a higher light intensity value. For example, if the light intensity value of the electronic device in the sunlight is 10 ten thousand Lux, the color of the electrochromic element may be displayed as red, and the voltage to be input at this time is 3 volts, and 10 ten thousand Lux may be corresponding to 3 volts. When the input voltage of the electrochromic element is 3 volts, the electrochromic element appears red, i.e., can be used to indicate that the electronic device is currently in the sun. The electronic device can receive user operation and set the initial color of the electrochromic component, so that the electrochromic component changes color according to the input voltage value. For example, the user-set initial color of the electrochromic device is red, the electrochromic device may change to dark red or light red according to a change in voltage value, and so on. That is, the above controlling the electrochromic component on the housing to change color according to the light intensity value of the current scene may include:
determining a voltage value corresponding to the light intensity value;
and outputting an electric signal corresponding to the voltage value to the electrochromic component, wherein when the electrochromic component inputs the electric signal, the matched color is displayed.
In an embodiment, since the screen brightness value varies with the light intensity value, obtaining the target voltage value according to the screen brightness value, that is, determining the voltage value corresponding to the light intensity value, may include:
detecting a screen brightness value of the electronic equipment;
and determining a corresponding voltage value in a preset corresponding relation according to the screen brightness value, wherein the corresponding relation is the corresponding relation between the screen brightness value and the voltage value.
And step S104, controlling the photochromic component to change color.
If the light intensity value is not less than the preset intensity value, the color display function of the electrochromic assembly can be closed, the photochromic material controls the protective film to change color, and specifically, a switch connected with the electrochromic assembly can be disconnected, so that the voltage control circuit and the corresponding electrochromic unit are also in a disconnected state, namely, the voltage control circuit cannot charge and discharge the electrochromic unit.
In the embodiment of the present invention, the electronic device may be any intelligent electronic device capable of disposing an electrochromic component on a housing, for example: a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
Therefore, the light intensity value of the current scene of the electronic device can be obtained, whether the light intensity value is smaller than the preset intensity value or not is judged, if yes, the electrochromic assembly is controlled to change color according to the light intensity value of the current scene, and if not, the photochromic assembly is controlled to change color. The color of the electronic equipment can be controlled to adjust the shell according to the light intensity value under different scenes, the electrochromic assembly can be closed under the condition that the light intensity value is high, the color can be adjusted only according to the photochromic assembly, and the power consumption of the electronic equipment can be reduced because the electric quantity of the electronic equipment is not consumed by the photochromic assembly.
According to the description of the above embodiment, the control method of the electronic device of the present application will be further explained below.
Referring to fig. 5, fig. 5 is a schematic flowchart of another control method for an electronic device according to an embodiment of the present disclosure, including the following steps:
step S201, obtaining a light intensity value of a scene where the electronic device is currently located.
In an embodiment, the ambient light sensor may be disposed on the electronic device, for example, below the screen region, wherein to further improve accuracy of the ambient light intensity, a plurality of ambient light sensors may be disposed in the terminal, for example, respectively disposed at a lower left corner, an upper right corner and a lower right corner of the screen display region, that is, the screen regions respectively corresponding to the 4 ambient light sensors are the four corners of the display region. And acquiring the light intensity value of the current scene of the electronic equipment through an ambient light sensor.
Step S202, determining whether the light intensity value is smaller than a preset intensity value, if so, performing step S203, and if not, performing step S205.
In the embodiment of the application, because the surface of the shell is covered with the protective film on which the photochromic material is distributed, when the light intensity is high, the color of the protective film can be obviously changed by the photochromic material on the protective film according to the current light intensity value, and at the moment, the color of the electrochromic assembly on the shell is not required to be changed, so that part of electric quantity of the electronic equipment can be saved. In addition, due to the existence of the protective film on the surface of the shell, the photochromic layer can also play a role in protecting the electrochromic layer after falling, and even if the photochromic material is damaged, the photochromic function can be realized due to the existence of the electrochromic material layer.
In one embodiment, a preset light intensity value may be set, and if the current light intensity value is not less than the preset value, for example, in an outdoor environment or a bright environment in the daytime, the electrochromic device may be turned off and the protection film containing the photochromic material changes color; if the current light intensity value is smaller than the preset value, for example, the electrochromic assembly can be opened in an outdoor environment or a dark environment at night, so that power consumption caused by the fact that the electrochromic assembly is opened for color change in the daytime can be saved.
Step S203, determine the illumination color of the ambient light corresponding to the light intensity value.
In an embodiment, the electrochromic component may change color according to a color of ambient light, for example, when the room is indoors, the indoor light may be in multiple colors, when the color of the indoor light is red, the electrochromic component on the electronic device control housing is connected to the corresponding electrical signal to change the electrochromic component into red, and when the color of the indoor light is yellow, the electrochromic component on the electronic device control housing is connected to the corresponding electrical signal to change the electrochromic component into yellow.
And S204, controlling an electrochromic assembly on the shell to change color according to the illumination color and the light intensity value.
In an embodiment, after determining the illumination color of the ambient light corresponding to the light intensity value, determining a voltage value corresponding to the illumination color, and outputting an electrical signal of the target voltage value to a housing containing the electrochromic component, wherein the electrochromic component displays a color matching the illumination color of the ambient light when the electrical signal is input, so that the housing of the electronic device can display the same color as the current ambient light, and the appearance of the electronic device is diversified.
And step S205, turning off the color display function of the electrochromic component.
If the light intensity value is not less than the predetermined intensity value, for example, in an outdoor environment or a bright environment during the daytime, the electrochromic device can be turned off, and the protective film containing the photochromic material changes color, so that the appearance of the electronic device has diversity.
In an embodiment, whether to turn off the color display function of the electrochromic device may also be determined according to the current time, for example, after the light intensity value is determined to be not less than the preset intensity value, the current time of the electronic device is obtained, whether the current time is within the preset time range is determined, and if the current time is within the preset time range, the color display function of the electrochromic device is turned off. The preset time range may be a time period of the day. That is, before turning off the color display function of the electrochromic device, the method further includes:
acquiring current time;
judging whether the time is within a preset time range or not;
if yes, the step of turning off the color display function of the electrochromic component is executed.
In the embodiment of the present invention, the electronic device may be any intelligent electronic device capable of disposing an electrochromic component on a housing, for example: a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
Therefore, the control method of the electronic device provided in the embodiment of the present application can obtain the light intensity value of the current scene of the electronic device, determine whether the light intensity value is smaller than the preset intensity value, if so, determine the illumination color of the ambient light corresponding to the light intensity value, and control the electrochromic component on the housing to change color according to the illumination color and the light intensity value, if not, close the color display function of the electrochromic component, and control the protective film to change color by the photochromic material. The application can control the electronic equipment to adjust the color of the shell according to the light intensity value under different scenes, can close the electrochromic assembly under the condition that the light intensity value is higher, and can adjust the color according to the photochromic material, and the power consumption of the electronic equipment can be reduced because the photochromic material does not need to consume the electric quantity of the electronic equipment.
In order to better implement the control method of the electronic device provided by the embodiment of the present application, the embodiment of the present application further provides a device based on the control method of the electronic device. The terms are the same as those in the control method of the electronic device, and details of implementation may refer to the description in the method embodiment.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a control device of an electronic apparatus according to an embodiment of the present application, where the control device 30 of the electronic apparatus includes: an acquisition module 301, a judgment module 302, a first control module 303 and a second control module 304;
the obtaining module 301 is configured to obtain a light intensity value of a scene where the electronic device is currently located;
the determining module 302 is configured to determine whether the light intensity value is smaller than a preset intensity value;
the first control module 303 is configured to, when the determining module 302 determines that the current scene is the target scene, control the electrochromic component to change color according to the light intensity value of the current scene;
the second control module 304 is configured to control the photochromic component to change color when the determining module 302 determines that the photochromic component is not the photochromic component.
In one embodiment, as shown in fig. 7, the first control module 303 includes: a determination submodule 3031 and a processing submodule 3032;
the determining submodule 3031 is configured to determine a voltage value corresponding to the light intensity value;
and the processing submodule 3032 is configured to output an electrical signal corresponding to the voltage value to the electrochromic module, where when the electrical signal is input to the electrochromic module, a matched color is displayed.
In an embodiment, the control device 30 of the electronic device may further include: a time acquisition module 305 and a time judgment module 306;
the time obtaining module 305 is configured to obtain a current time before the second control module 304 controls the photochromic component to perform color change;
the time judging module 306 is configured to judge whether the time is within a preset time range;
the second control module 304 is specifically configured to, when the time determination module 306 determines that the color of the electrochromic device is positive, turn off the color display function of the electrochromic device, and control the photochromic device to change color.
As can be seen from the above, the control device 30 of the electronic device provided in the embodiment of the present application can obtain the light intensity value of the current scene of the electronic device, determine whether the light intensity value is smaller than the preset intensity value, if so, control the electrochromic component to change color according to the light intensity value of the current scene, and if not, control the photochromic component to change color. The color of the electronic equipment can be controlled to adjust the shell according to the light intensity value under different scenes, the electrochromic assembly can be closed under the condition that the light intensity value is high, the color can be adjusted only according to the photochromic assembly, and the power consumption of the electronic equipment can be reduced because the electric quantity of the electronic equipment is not consumed by the photochromic assembly.
The application also provides a storage medium, on which a computer program is stored, wherein the computer program is executed by a processor to implement the control method of the electronic device provided by the method embodiment.
The application also provides an electronic device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, and is characterized in that the processor executes the program to realize the control method of the electronic device provided by the method embodiment.
In another embodiment of the present application, an electronic device is also provided, and the electronic device may be a smart phone, a tablet computer, or the like. As shown in fig. 8, the electronic device 400 includes a processor 401, a memory 402. The processor 401 is electrically connected to the memory 402.
The processor 401 is a control center of the electronic device 400, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or loading an application program stored in the memory 402 and calling data stored in the memory 402, thereby integrally monitoring the electronic device.
In this embodiment, the processor 401 in the electronic device 400 loads instructions corresponding to processes of one or more application programs into the memory 402 according to the following steps, and the processor 401 runs the application programs stored in the memory 402, thereby implementing various functions:
acquiring a light intensity value of a scene where the electronic equipment is located;
judging whether the light intensity value is smaller than a preset intensity value or not;
if the current scene is smaller than the preset scene, controlling the electrochromic component to change color according to the light intensity value of the current scene;
if not, controlling the photochromic component to change color.
The embodiment of the application further provides an electronic device, including light sensor, electrochromic subassembly, photochromic subassembly and control circuit, wherein, light sensor is used for detecting the light intensity value of the current scene of electronic device, control circuit is in when the light intensity value is less than predetermineeing the intensity value, control electrochromic subassembly changes colour the light intensity value is not less than when predetermineeing the intensity value, control photochromic subassembly changes colour.
In an embodiment, the electronic device further includes a housing and a display screen fixedly connected to the housing, and the electrochromic component and the photochromic component are disposed on the housing.
In one embodiment, the electrochromic component and the photochromic component layer may be disposed on the housing in a stack. In other embodiments, the electrochromic assembly may cover a portion of the housing surface, the photochromic assembly covers another portion of the housing surface, and there are various methods for disposing the electrochromic assembly and the photochromic assembly, which are not further limited in this disclosure.
Referring to fig. 9, fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. The electronic device 500 may include Radio Frequency (RF) circuitry 501, memory 502 including one or more computer-readable storage media, input unit 503, display unit 504, sensor 504, audio circuitry 506, Wireless Fidelity (WiFi) module 507, processor 508 including one or more processing cores, and power supply 509. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 9 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The rf circuit 501 may be used for receiving and transmitting information, or receiving and transmitting signals during a call, and in particular, receives downlink information of a base station and then sends the received downlink information to one or more processors 508 for processing; in addition, data relating to uplink is transmitted to the base station. In general, radio frequency circuit 501 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the radio frequency circuit 501 may also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Message Service (SMS), and the like.
The memory 502 may be used to store applications and data. Memory 502 stores applications containing executable code. The application programs may constitute various functional modules. The processor 508 executes various functional applications and data processing by executing application programs stored in the memory 502. The memory 502 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the electronic device, and the like. Further, the memory 502 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 502 may also include a memory controller to provide the processor 508 and the input unit 503 access to the memory 502.
The input unit 503 may be used to receive input numbers, character information, or user characteristic information (such as a fingerprint), and generate a keyboard, mouse, joystick, optical, or trackball signal input related to user setting and function control. In particular, in one particular embodiment, the input unit 503 may include a touch-sensitive surface as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 508, and can receive and execute commands sent by the processor 508.
The display unit 504 may be used to display information input by or provided to a user and various graphical user interfaces of the electronic device, which may be made up of graphics, text, icons, video, and any combination thereof. The display unit 504 may include a display panel. Alternatively, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay the display panel, and when a touch operation is detected on or near the touch-sensitive surface, the touch operation is transmitted to the processor 508 to determine the type of touch event, and then the processor 508 provides a corresponding visual output on the display panel according to the type of touch event. Although in FIG. 9 the touch sensitive surface and the display panel are two separate components to implement input and output functions, in some embodiments the touch sensitive surface may be integrated with the display panel to implement input and output functions.
The electronic device may also include at least one sensor 505, such as light sensors, motion sensors, and other sensors. In particular, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that may turn off the display panel and/or the backlight when the electronic device is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which may be further configured to the electronic device, detailed descriptions thereof are omitted.
The audio circuit 506 may provide an audio interface between the user and the electronic device through a speaker, microphone. The audio circuit 506 can convert the received audio data into an electrical signal, transmit the electrical signal to a speaker, and convert the electrical signal into a sound signal to output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 506 and converted into audio data, which is then processed by the audio data output processor 508 and then sent to another electronic device via the rf circuit 501, or the audio data is output to the memory 502 for further processing. The audio circuit 506 may also include an earbud jack to provide communication of a peripheral headset with the electronic device.
Wireless fidelity (WiFi) belongs to short-distance wireless transmission technology, and electronic equipment can help users to send and receive e-mails, browse webpages, access streaming media and the like through a wireless fidelity module 507, and provides wireless broadband internet access for users. Although fig. 9 shows the wireless fidelity module 507, it is understood that it does not belong to the essential constitution of the electronic device, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 508 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing an application program stored in the memory 502 and calling data stored in the memory 502, thereby integrally monitoring the electronic device. Optionally, processor 508 may include one or more processing cores; preferably, the processor 508 may integrate an application processor, which primarily handles operating systems, user interfaces, application programs, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 508.
The electronic device also includes a power supply 509 (such as a battery) to power the various components. Preferably, the power source may be logically connected to the processor 508 through a power management system, so that the power management system may manage charging, discharging, and power consumption management functions. The power supply 509 may also include any component such as one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown in fig. 9, the electronic device may further include a camera, a bluetooth module, and the like, which are not described in detail herein.
In specific implementation, the above modules may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and specific implementation of the above modules may refer to the foregoing method embodiments, which are not described herein again.
It should be noted that, all or part of the steps in the methods of the above embodiments may be implemented by relevant hardware instructed by a program, which may be stored in a computer readable storage medium, such as a memory of a terminal, and executed by at least one processor in the terminal, and during the execution, the flow of the embodiments of the control method of the electronic device may be included. Among others, the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
In the above, detailed descriptions are given to the control method, the control device, the storage medium, and the electronic device for the electronic device provided in the embodiments of the present application, and each functional module may be integrated in one processing chip, or each module may exist alone physically, or two or more modules are integrated in one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The principle and the implementation of the present application are explained herein by applying specific examples, and the above description of the embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.
Claims (10)
1. A control method of an electronic device is applied to the electronic device, the electronic device comprises an electrochromic assembly and a photochromic assembly, and the control method is characterized in that the electrochromic assembly comprises a plurality of electrochromic units, a plurality of switch assemblies and a plurality of voltage control circuits, each electrochromic unit is selectively connected with one voltage control circuit through one switch assembly, when the switch assemblies are in a connected state, the voltage control circuits are electrically connected with the corresponding electrochromic units so as to charge and discharge the electrochromic units, and the electrochromic units display corresponding colors, and the control method comprises the following steps:
acquiring an ambient light value of a current scene;
when the electronic equipment is on screen, acquiring the current screen brightness value of the electronic equipment in an image area corresponding to an ambient light sensor;
calculating the light intensity value of the current scene according to the environment light numerical value and the screen brightness value;
acquiring the current electric quantity of the electronic equipment, and determining a preset intensity value according to the current electric quantity of the electronic equipment;
judging whether the light intensity value is smaller than a preset intensity value or not;
if the screen brightness value is smaller than the preset corresponding relation, determining a corresponding voltage value in the preset corresponding relation according to the screen brightness value, wherein the corresponding relation is the corresponding relation between the screen brightness value and the voltage value;
outputting an electric signal corresponding to the voltage value to the electrochromic component, wherein when the electrochromic component inputs the electric signal, the matched color is displayed;
if not, the electrochromic component is closed, and the photochromic component is controlled to change color.
2. The method for controlling the electronic device according to claim 1, wherein controlling the electrochromic component to change color according to the light intensity value of the current scene comprises:
determining the illumination color of the environment light corresponding to the light intensity value;
and controlling the electrochromic component to change color according to the illumination color and the light intensity value.
3. The method of controlling an electronic device according to claim 1, wherein prior to controlling the photochromic component to change color, the method further comprises:
acquiring current time;
judging whether the time is within a preset time range or not;
if so, the color display function of the electrochromic component is closed, and the photochromic component is controlled to change color.
4. The utility model provides an electronic equipment's controlling means, is applied to electronic equipment, electronic equipment includes electrochromic subassembly and photochromic subassembly, a serial communication port, electrochromic subassembly includes a plurality of electrochromic units, a plurality of switch module and many voltage control circuit, and each electrochromic unit is through a switch module and a voltage control circuit selective switch-on, and when switch module was in the on-state, voltage control circuit electric connection corresponds electrochromic unit to charge and discharge electrochromic unit for electrochromic unit shows corresponding colour, the device includes: the device comprises an acquisition module, a judgment module, a first control module and a second control module;
the acquisition module is used for acquiring the ambient light value of the current scene;
when the electronic equipment is on screen, acquiring the current screen brightness value of the electronic equipment in an image area corresponding to an ambient light sensor;
calculating the light intensity value of the current scene according to the environment light numerical value and the screen brightness value;
the preset intensity value acquisition module is used for acquiring the current electric quantity of the electronic equipment and determining a preset intensity value according to the current electric quantity of the electronic equipment;
the judging module is used for judging whether the light intensity value is smaller than a preset intensity value or not;
the first control module comprises a determining submodule and a processing submodule, wherein the determining submodule is used for determining a corresponding voltage value in a preset corresponding relation according to the screen brightness value when the judging module judges that the screen brightness value is not the screen brightness value, and the corresponding relation is the corresponding relation between the screen brightness value and the voltage value;
the processing submodule is used for outputting an electric signal corresponding to the voltage value to the electrochromic assembly, wherein when the electrochromic assembly inputs the electric signal, the matched color is displayed;
and the second control module is used for closing the color display function of the electrochromic assembly and controlling the protective film to change color by the photochromic material when the judgment module judges that the electrochromic assembly is not the electrochromic assembly.
5. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 3.
6. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method according to any of claims 1-3 are implemented when the processor executes the program.
7. An electronic device comprises a light sensor, an electrochromic assembly, a photochromic assembly and a control circuit, and is characterized in that the electrochromic assembly comprises a plurality of electrochromic units, a plurality of switch assemblies and a plurality of voltage control circuits, each electrochromic unit is selectively connected with one voltage control circuit through one switch assembly, and when the switch assemblies are in a connected state, the voltage control circuits are used for electrically connecting the corresponding electrochromic units so as to charge and discharge the electrochromic units, so that the electrochromic units display corresponding colors;
the light sensor is used for obtaining an environment light value of a current scene, the environment light value and a screen brightness value of an image area corresponding to the environment light sensor are used for calculating a light intensity value of the current scene, the control circuit is used for obtaining the current electric quantity of the electronic equipment, a preset intensity value is determined according to the current electric quantity of the electronic equipment, when the light intensity value is smaller than the preset intensity value, a corresponding voltage value is determined in a preset corresponding relation according to the screen brightness value, the corresponding relation is the corresponding relation between the screen brightness value and the voltage value, and an electric signal corresponding to the voltage value is output to the electrochromic assembly, wherein when the electric signal is input to the electrochromic assembly, a matched color is displayed;
and when the light intensity value is not less than the preset intensity value, the control circuit closes the electrochromic assembly and controls the photochromic assembly to change colors.
8. The electronic device of claim 7, further comprising a housing and a display screen fixedly connected to the housing, wherein the electrochromic component and the photochromic component are disposed on the housing.
9. The electronic device of claim 8, wherein the electrochromic component and the photochromic component are disposed in a stack on the housing.
10. The electronic device of claim 8, wherein the electrochromic component covers a portion of the housing surface and the photochromic component covers another portion of the housing surface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810922988.5A CN109143717B (en) | 2018-08-14 | 2018-08-14 | Control method and device of electronic equipment, storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810922988.5A CN109143717B (en) | 2018-08-14 | 2018-08-14 | Control method and device of electronic equipment, storage medium and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109143717A CN109143717A (en) | 2019-01-04 |
CN109143717B true CN109143717B (en) | 2021-02-26 |
Family
ID=64792957
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810922988.5A Expired - Fee Related CN109143717B (en) | 2018-08-14 | 2018-08-14 | Control method and device of electronic equipment, storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109143717B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109782576B (en) * | 2018-12-30 | 2021-12-10 | 淮北中易光电科技有限公司 | Intelligent watch |
CN110174835B (en) * | 2019-04-19 | 2021-12-10 | 淮北中易光电科技有限公司 | Intelligent watch |
CN112449028A (en) * | 2019-08-30 | 2021-03-05 | 北京小米移动软件有限公司 | Electronic device |
CN111240120B (en) * | 2020-03-12 | 2023-08-18 | Oppo广东移动通信有限公司 | Electrochromic control method, device, system, storage medium and related equipment |
CN112612438A (en) * | 2020-12-30 | 2021-04-06 | 北京小米移动软件有限公司 | Shell display state control method and device, electronic equipment and storage medium |
CN114349337A (en) * | 2022-01-13 | 2022-04-15 | 广东电网有限责任公司 | Vehicle window glass device and preparation method and application thereof |
Family Cites Families (28)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7142190B2 (en) * | 2002-02-28 | 2006-11-28 | Motorola, Inc. | Cellular communication handsets having variable appearance housings and methods therefor |
CN1430047A (en) * | 2003-01-24 | 2003-07-16 | 中华研升科技股份有限公司 | Apparatus having UV ray intensity indicator |
CN1957269A (en) * | 2004-05-17 | 2007-05-02 | 株式会社尼康 | Optical elements and combiner optical systems and image-display units |
JP2006153925A (en) * | 2004-11-25 | 2006-06-15 | Fuji Photo Film Co Ltd | Optical device and photograph unit |
CN2760882Y (en) * | 2004-12-21 | 2006-02-22 | 北京中星微电子有限公司 | Mobile communication terminal power supply managing device |
US7480096B2 (en) * | 2005-06-08 | 2009-01-20 | Hewlett-Packard Development Company, L.P. | Screen characteristic modification |
CN101055700A (en) * | 2006-04-13 | 2007-10-17 | 乐金电子(昆山)电脑有限公司 | Background lamp adjusting device of LCD and its method |
US8964298B2 (en) * | 2010-02-28 | 2015-02-24 | Microsoft Corporation | Video display modification based on sensor input for a see-through near-to-eye display |
CN202166812U (en) * | 2011-06-13 | 2012-03-14 | 珠海先歌游艇制造有限公司 | Device for photoelectrically controlling color change of glass |
US20130171903A1 (en) * | 2012-01-03 | 2013-07-04 | Andrew Zsinko | Electroluminescent devices and their manufacture |
CN103777424A (en) * | 2012-10-17 | 2014-05-07 | 珠海兴业绿色建筑科技有限公司 | Photochromic device |
KR101526007B1 (en) * | 2013-01-11 | 2015-06-04 | 제일모직주식회사 | Photocurable composition, barrier layer comprising the same and encapsulated apparatus comprising the same |
JP2014183206A (en) * | 2013-03-19 | 2014-09-29 | Sony Corp | Solid-state imaging device, driving method of solid-state imaging device, and electronic apparatus |
CN106164213A (en) * | 2014-03-25 | 2016-11-23 | 沙特基础工业全球技术公司 | Off-color material |
US9524092B2 (en) * | 2014-05-30 | 2016-12-20 | Snaptrack, Inc. | Display mode selection according to a user profile or a hierarchy of criteria |
KR101951022B1 (en) * | 2016-07-28 | 2019-05-10 | 부산대학교 산학협력단 | Manufacturing process for electrochromic fibers |
CN106019755B (en) * | 2016-08-04 | 2018-12-21 | 京东方科技集团股份有限公司 | A kind of total reflection display device and its driving method |
CN106136557A (en) * | 2016-08-25 | 2016-11-23 | 江西上大绿色智能产业发展研究院有限公司 | The portable variable color vanity mirror that electrochromism and photochromic double-bang firecracker are answered |
CN106507067B (en) * | 2016-11-29 | 2018-01-23 | 广东欧珀移动通信有限公司 | Control method, control device and electronic installation |
CN106413064B (en) * | 2016-11-30 | 2019-09-20 | 努比亚技术有限公司 | Mobile terminal control device and method |
KR102040388B1 (en) * | 2017-04-19 | 2019-11-04 | 선전 구딕스 테크놀로지 컴퍼니, 리미티드 | light intensity detection method, device and SMART terminal |
CN107331367B (en) * | 2017-08-31 | 2019-12-20 | 京东方科技集团股份有限公司 | Display device, manufacturing method thereof and method for converting color gamut standard of display device |
CN107813659A (en) * | 2017-09-04 | 2018-03-20 | 合肥龙图腾信息技术有限公司 | A kind of road conditions travel automatic color-changing tire |
CN107645610B (en) * | 2017-10-19 | 2020-07-03 | 维沃移动通信有限公司 | Control method of mobile terminal and mobile terminal |
CN107665697B (en) * | 2017-10-20 | 2019-07-26 | 维沃移动通信有限公司 | A kind of adjusting method and mobile terminal of screen intensity |
CN107845738A (en) * | 2017-11-01 | 2018-03-27 | 武汉华星光电半导体显示技术有限公司 | Flexible OLED display and preparation method thereof |
CN107825425A (en) * | 2017-11-03 | 2018-03-23 | 深圳市杉川机器人有限公司 | Robot control method, device, robot and cradle |
CN107665698B (en) * | 2017-11-13 | 2020-01-03 | 维沃移动通信有限公司 | Ambient light intensity compensation method and device |
-
2018
- 2018-08-14 CN CN201810922988.5A patent/CN109143717B/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN109143717A (en) | 2019-01-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109143717B (en) | Control method and device of electronic equipment, storage medium and electronic equipment | |
CN109029768B (en) | Temperature reminding method and device of electronic equipment, storage medium and electronic equipment | |
CN109064996B (en) | Display adjustment method and device, storage medium and electronic equipment | |
CN109246288B (en) | Control method and device of electronic equipment, storage medium and electronic equipment | |
CN109116656B (en) | Electronic device, electrochromic portion control method, and storage medium | |
CN107531003B (en) | Peep-proof film, display device, terminal and preparation method of peep-proof film | |
US10439406B2 (en) | Terminal and method for charging the same | |
CN107770376B (en) | Control method of mobile terminal and mobile terminal | |
CN107943211A (en) | terminal device and its control method | |
CN109126132B (en) | Game role position prompting method and device, storage medium and electronic equipment | |
CN107943345A (en) | Calibration method, device, storage medium and the electronic equipment of proximity sensor | |
CN109101833B (en) | Content display method, content display device, storage medium and electronic equipment | |
CN109192178B (en) | Control method and device of electronic equipment, storage medium and electronic equipment | |
CN107707430B (en) | Control method of mobile terminal and mobile terminal | |
CN108924360B (en) | Display method, storage medium, and electronic device | |
CN108989567A (en) | Information prompting method, storage medium and electronic equipment | |
US11915633B2 (en) | Screen color temperature control method, apparatus, storage medium, and mobile terminal | |
CN112445407A (en) | Display method and electronic device | |
CN107818038A (en) | A kind of information cuing method and mobile terminal | |
CN104991699A (en) | Video display control method and apparatus | |
CN110352532B (en) | Method for detecting swelling of rechargeable battery and portable electronic equipment | |
CN109634023B (en) | Electrochromic assembly processing method and device, electronic equipment and readable storage medium | |
CN110768317A (en) | Charging state prompting method and device, storage medium and electronic equipment | |
CN109165492B (en) | Device control method, device, storage medium and electronic device | |
CN107832131A (en) | Closing application program method, apparatus, storage medium and electronic equipment |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20210226 |
|
CF01 | Termination of patent right due to non-payment of annual fee |