CN108718367A - Control method of electronic device, device, storage medium and electronic equipment - Google Patents

Control method of electronic device, device, storage medium and electronic equipment Download PDF

Info

Publication number
CN108718367A
CN108718367A CN201810924150.XA CN201810924150A CN108718367A CN 108718367 A CN108718367 A CN 108718367A CN 201810924150 A CN201810924150 A CN 201810924150A CN 108718367 A CN108718367 A CN 108718367A
Authority
CN
China
Prior art keywords
color
electronic equipment
ambience
target environment
ambient image
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.)
Granted
Application number
CN201810924150.XA
Other languages
Chinese (zh)
Other versions
CN108718367B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810924150.XA priority Critical patent/CN108718367B/en
Publication of CN108718367A publication Critical patent/CN108718367A/en
Application granted granted Critical
Publication of CN108718367B publication Critical patent/CN108718367B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

Abstract

The embodiment of the present application discloses a kind of electronic equipment control method, device, storage medium and electronic equipment, this method is applied to electronic equipment, the electronic equipment includes the control circuit of environmental sensor, electrochromic window assemblies and coupling environmental sensor and electrochromic window assemblies, the method includes:Ambient image is obtained by environmental sensor, determines the ambience color information in ambient image;By control circuit, target environment color is determined according to ambience color information;By control circuit, electrochromic window assemblies display target color is driven with control voltage corresponding with target environment color according to target environment color.Electrochromic window assemblies in the embodiment of the present application on casting of electronic device can change self color according to the environmental colors under different ambient conditions, to allow the shell appearance of electronic equipment to meet the color demand under different scenes.

Description

Control method of electronic device, device, storage medium and electronic equipment
Technical field
This application involves technical field of electronic equipment more particularly to a kind of electronic equipment control method, device, storage mediums And electronic equipment.
Background technology
Electronic equipment, can be on the surface of the housing using spraying, baking vanish, mill generally for balance between aesthetics and durability The techniques such as sand are processed surface of shell, to form various shell appearances.
User may have different requirements under different scenes to the shell appearance of electronic equipment.For example, when user goes out When some formal occasions of seat, the personage attended may be based on black tone in dressing.If the shell acquiescence of electronic equipment at this time For red when, then can so that electronic equipment is too obvious, to occur not conforming to the case where scene needs.
Invention content
The embodiment of the present application provides a kind of electronic equipment control method, device, storage medium and electronic equipment, can improve The appearance of electronic equipment.
The embodiment of the present application provides a kind of electronic equipment control method, is applied to electronic equipment, the electronic equipment packet Include the control circuit of environmental sensor, electrochromic window assemblies and the coupling environmental sensor and the electrochromic window assemblies, institute The method of stating includes:
Ambient image is obtained by the environmental sensor, determines the ambience color information in the ambient image;
By the control circuit, target environment color is determined according to the ambience color information;
By the control circuit, according to the target environment color, with control corresponding with the target environment color Voltage drives the electrochromic window assemblies to show the color of object.
The embodiment of the present application also provides a kind of electronic equipment control devices, are applied to electronic equipment, the electronic equipment Including environmental sensor, the control electricity of electrochromic window assemblies and the coupling environmental sensor and the electrochromic window assemblies Road, described device include:
Information determination module is determined for obtaining ambient image by the environmental sensor in the ambient image Ambience color information;
Color determination module, for by the control circuit, target environment face to be determined according to the ambience color information Color;And
Voltage provides module, for by the control circuit, according to target environment color, with the target environment face The corresponding control voltage of color, drives the electrochromic window assemblies to show the color of object.
The embodiment of the present application also provides a kind of storage medium, it is stored with computer program in the storage medium, works as institute When stating computer program and running on computers so that the computer executes the electronic equipment controlling party described in embodiment as above Method.
The embodiment of the present application also provides a kind of electronic equipment, including environmental sensor, electrochromic window assemblies and coupling institute State the control circuit of environmental sensor and the electrochromic window assemblies;
The environmental sensor, for obtaining ambient image;
The control circuit, for executing following steps:
Determine the ambience color information in the ambient image;
Target environment color is determined according to the ambience color information;
According to the target environment color, with control voltage corresponding with the target environment color, driving is described electroluminescent Photochromic component shows the color of object.
The embodiment of the present application discloses a kind of electronic equipment control method, device, storage medium and electronic equipment.The electronics In apparatus control method, by obtaining ambient image, judge further according to the ambience color information in the ambient image current Ambient conditions so that electrochromic window assemblies on casting of electronic device can according to the environmental colors under different ambient conditions come Change self color, to allow the shell appearance of electronic equipment to meet the color demand under different scenes.
Description of the drawings
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present application, for For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is the structural schematic diagram of electrochromic cells provided by the embodiments of the present application.
Fig. 2 is the structural schematic diagram of the electrochromic window assemblies after application voltage provided by the embodiments of the present application.
Fig. 3 is the implementation flow chart of control method of electronic device provided by the embodiments of the present application.
Fig. 4 is the application scenario diagram of control method of electronic device provided by the embodiments of the present application.
Fig. 5 is the another application scene graph of control method of electronic device provided by the embodiments of the present application.
Fig. 6 is the implementation process of determining target environment color provided by the embodiments of the present application.
Fig. 7 is another implementation process of determining target environment color provided by the embodiments of the present application.
Fig. 8 is another application scenario diagram of control method of electronic device provided by the embodiments of the present application.
Fig. 9 is the structural schematic diagram of electronic appliance controlling device provided by the embodiments of the present application.
Figure 10 is the structural schematic diagram of color determination module provided by the embodiments of the present application.
Figure 11 is the structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Figure 12 is another structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Figure 13 is the yet another construction schematic diagram of electronic equipment provided by the embodiments of the present application.
Specific implementation mode
Schema is please referred to, wherein identical component symbol represents identical component, the principle of the application is to implement one It is illustrated in computing environment appropriate.The following description be based on illustrated by the application specific embodiment, should not be by It is considered as limitation the application other specific embodiments not detailed herein.
Term as used herein " module " can be the software object executed in the arithmetic system.Difference as described herein Component, module, engine and service can be the objective for implementation in the arithmetic system.And device and method as described herein can be with The mode of software is implemented, and can also be implemented on hardware certainly, within the application protection domain.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments It is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
The embodiment of the present application provides a kind of electronic equipment control method, device, storage medium and electronic equipment.It will divide below It is not described in detail.
Electronic equipment in the embodiment of the present application may include smart mobile phone (Smart Phone), or have channel radio The portable computer for believing module, for example, tablet computer (Tablet Computer), laptop (Laptop) etc., may be used also To be wearable, hand-held computer, such as intelligent wearable device (Smart wearer), personal digital assistant (Personal Digital Assistant, PDA) etc. equipment, be not limited thereto.
When this method is applied in the electronic equipment, wherein the control method of electronic device may operate at electronic equipment In operating system, it may include but it is not limited to Windows operating system, Mac OS operating systems, Android operation system, IOS behaviour Make system, (SuSE) Linux OS, Ubuntu operating systems, Windows Phone operating systems etc., the embodiment of the present application is not It is construed as limiting.It will be described in detail respectively below.
Electrochromism refers to the optical properties (such as reflectivity, light transmittance, absorptivity) of material in the effect of extra electric field The lower color change there is a phenomenon where stablizing, reversible.Electrochromism show as in appearance material color and transparency can Inversion.Material with electrochromic property is properly termed as electrochromic material.Utilize device made of electrochromic material It is properly termed as electrochromic cells.
Referring to Fig. 1, electrochromic window assemblies may include the two conductive layers being stacked, and it is located at two conductive layers Between photochromic layer, electrolyte layer, ion storage.
Wherein, conductive layer can be transparency conducting layer, have excellent electric conductivity and preferable optical transmission.It is transparent to lead Electric layer can be tin indium oxide (ITO), tin oxide (SnO2) and tin-antiomony oxide (ATO).
Photochromic layer is the core layer of electrochromic window assemblies and the generation layer of metachromasia.The material of photochromic layer is according to class Type can be divided into inorganic electrochromic material and organic electrochromic material.Inorganic electrochromic material can be tungstic acid (WO3) or nickel oxide (NiO).Organic electrochromic material mainly has polythiophene class and its derivative, purple sieve essence class, four sulphur rich Watt alkene, metallo phthalocyanine etc..
Electrolyte layer is made of special conductive material, such as includes the liquid for the solution that lithium perchlorate, perchloric acid are received Electrolyte, or can also be solid electrolyte material.
Ion storage plays the role of storing charge in electrochromic window assemblies, i.e., materials from oxidizing also in photochromic layer Corresponding counter ion is stored when original reaction, to ensure the charge balance of entire electrochromic window assemblies.
As shown in Fig. 2, when adding certain voltage between two transparency conducting layers, the photochromic layer of electrochromic window assemblies Material voltage effect under redox reaction occurs, to which color change occur.
For example, when the voltage between two transparency conducting layers for being applied to electrochromic window assemblies becomes 1V from 0V, the electricity Cause photochromic component that can become red from white.When voltage between being applied to two transparency conducting layers becomes 1.2V from 0V, The electrochromic window assemblies can become black from white.Voltage between being applied to two transparency conducting layers becomes from 1.2V- When 0.2V, which can become white, etc. from black.
Referring to Fig. 2, showing the implementation process of control method of electronic device provided by the embodiments of the present application in Fig. 2.
The control method of electronic device is applied in electronic equipment, which can be that electronics as described above is set It is standby.Specifically, the electronic equipment includes shell and the electrochromic window assemblies in surface of shell or shell.
Specifically, the electrochromic window assemblies can be embedded in shell, or it is layed in the surface of shell.Certainly, electric The set-up mode of photochromic component is caused to be not limited only to this, as long as so that user is observed that the electrochromic window assemblies.
As shown in figure 3, the control method of electronic device includes:
101, ambient image is obtained by environmental sensor, determines the ambience color information in ambient image.
Wherein, environmental sensor can be colour imagery shot either infrared pick-up head, thermal imaging camera etc., the ring The concrete type of border sensor can be depending on actual demand.
Wherein, ambient image can be obtained by the camera of electronic equipment, such as be clapped by rear camera The picture with scenes taken the photograph, or the self-timer etc. by front camera progress.The ambient image can also be advance by obtaining Storage picture in the electronic device, or the picture etc. that is got from internet, specific image acquisition mode can be with Depending on actual conditions.
Wherein, ambience color information may include the quantity of pixel in ambient image, arrangement mode and each pixel The data such as color.
In some embodiments, after getting ambient image, can by from the property parameters of ambient image to pre- The ambience color information deposited is obtained, to determine the ambience color information in the ambient image.
102, by control circuit, target environment color is determined according to ambience color information.
Wherein, control circuit may include processor and memory, which is being deposited by operation or load store Computer program in reservoir, and the data being stored in memory are called, execute various functions and the processing of electronic equipment Data.
Wherein, because electrochromic window assemblies are only able to display solid color, therefore, it is necessary to believe from the environmental colors of ambient image A kind of target environment color is determined in breath.
In order to enable electronic equipment current potential electrochromic window assemblies show the color being adapted with current environment atmosphere, it can be first First determination can represent the color of current environment atmosphere from acquired ambient image.
In some embodiments, target environment color is determined according to ambience color information, it can be by obtaining in environment map The information such as integral color, color gamut as in, then determine target environment according to information such as the integral color, color gamuts Color.
For example, it includes more warm tones to be detected in ambient image, and the warm-toned colour temperature is probably in 5500K (unit:Kelvin), then can determine the target environment color be colour temperature be 5500K near color so that electrochromism Component can allow the appearance of electronic equipment to be easier the atmosphere that gets integrated into environment when showing the color.
In some embodiments, target environment can also be used as by detecting the color of certain certain objects in ambient image Color.
For example, the ambient image is the self-timer image of user, the clothing that user in ambient image is worn is detected and is located in The position of clothes, the color which is presented is as target environment color so that it is aobvious that electronic equipment controls electrochromic window assemblies The color for showing the clothes, to allow the appearance color of electronic equipment mutually to arrange in pairs or groups with the color of the clothes.
103, by control circuit, according to target environment color, with control voltage corresponding with target environment color, driving Electrochromic window assemblies display target color.
Wherein it is possible to by the way that control circuit and electrochromic window assemblies to be electrically connected, then generated by control circuit The control voltage is added to electrochromic window assemblies by control voltage corresponding with target environment color by specific controlling switch On, to drive it to change according to the control voltage color shown by itself.
Certainly, control voltage can allow the color that electrochromic window assemblies are shown, should be corresponding with target environment color.Example Such as, target environment color is red, if the red required control voltage of electrochromic display is 1.5V, electronic equipment can be with It should generate and provide 1.5V voltages to electrochromic window assemblies.
In conjunction with Fig. 4, the application scenarios of control method of electronic device provided by the embodiments of the present application are shown in figure.
The application scenarios include electronic equipment 1, which includes shell 11, the electricity being set on the shell 11 Cause photochromic component 12 and environmental sensor 13, the electrochromic window assemblies 12 that can be controlled by electronic equipment 1 and show a variety of face Color.The environmental sensor 13 is the camera 13 of electronic equipment.
Wherein, if user has worn the Western-style clothes of black, it is desirable to which the appearance of electronic equipment 1 can be switched to black, then can pass through What the camera 13 of the electronic equipment 1 obtained ambient image 131 namely user takes pictures 131 certainly.
As shown in the figure, which has the clothes of user, can obtain at this time this from take pictures 131 environment Colouring information, and know that the color shown by the garment parts taken pictures in 131 is black by Algorithm Analysis, it is determined that it should Target environment color is black.
Then it is generated by electronic equipment 1 and shows that the control voltage needed for black is with control electrochromic window assemblies 12 1.2V, and to electrochromic window assemblies 12 plus the control voltage of 1.2V, so that the color shown by electrochromic window assemblies 12 is Black.11 color of shell of electronic equipment 1 can be so allowed to be switched to black, with the clothes face for coordinating user currently to be worn Color so that electronic equipment 1 is easier to be dissolved into current use environment.
In conjunction with Fig. 5, in this scene, if the color that 11 color of shell of the electronic equipment 1 is currently shown is black, and use Family has changed the clothes of white into.
Camera 13 can be directed at the clothes of itself at this time and carry out self-timer by user, obtain current ambient image 132, so Afterwards according to the ambience color information in the ambient image 132 can know the current clothes color of user be white, and determine with The corresponding white of clothes color is target environment color.
Finally, it is generated by electronic equipment 1 and shows that the control voltage needed for black is with control electrochromic window assemblies 12 1.0V, and to electrochromic window assemblies 12 plus the control voltage of 1.0V, so that the color shown by electrochromic window assemblies 12 can According to the variation of clothes color, white is switched to from black, to adapt to clothes color new with user.
From the foregoing, it will be observed that by obtaining ambient image, judge further according to the ambience color information in the ambient image current Ambient conditions so that the electrochromic window assemblies on casting of electronic device can be according to the environmental colors under different ambient conditions Change self color, to allowing the shell appearance of electronic equipment to meet the color demand under different scenes.
Referring to Fig. 6, showing the implementation process of determining target environment color provided by the embodiments of the present application in figure.
It is described that target environment color is determined according to ambience color information, including:
201, determine that the color category for including in ambience color information and color category are covered in ambient image Color gamut.
Wherein, it in color category may include one or more kinds of color, color its phase in same color type It can be larger like degree.
In some embodiments, color different in ambience color information can be sorted out according to reference color temperature, it will Color similar in colour temperature is classified as color category that is similar and forming one or two or more.For example, by ambient image neutral color temperature Ranging from the color of 5500K-5001K is classified as a color category, the color that reference color temperature is 4500K-5000K is classified as another A color category.And so on.Color in ambience color information is classified, to reduce the number of parameters of color, in turn Calculation amount is reduced, processing speed is improved.
Wherein, the color gamut which is covered in ambient image can be all face in the color category The total quantity of pixel belonging to color, or refer to that pixel in the color category belonging to all colours is formed by display area. In addition to this, the concrete numerical value of the color gamut can also refer to the total picture in ambient image of the pixel quantity belonging to the color category Shared ratio in prime number amount.
It should be understood that the calculation of specific color gamut, it can be depending on actual conditions.
202, target environment color is determined according to color category and color gamut.
In some embodiments, each color category can be determined in environment map by the corresponding color gamut of color category The shared size as in, or account for the ratio in ambient image in the size.
The larger color category of covered color gamut can be selected, mesh is therefrom then determined according to the color category Mark environmental colors.
In some embodiments, which can correspond to a kind of color, can be according to reflecting after determining color category Penetrating relationship determines the color being associated as target environment color.
For example, if the reference color temperature of certain color category is 5500K-5000K, the corresponding color of the color category is that colour temperature is 5200K's is orange, then can be orange as target environment color by this.
In some embodiments, target environment color is determined according to color category and color gamut, may include:
If there are multiple color categories, by the size of the corresponding color gamut of all colours type in ambience color information It is compared;
Using the corresponding color of the maximum color category of color gamut as target environment color.
Wherein, in some cases it may which regarding the larger color category of color gamut as can be with current environment color Adjust compatible color category.At this point it is possible to using the corresponding color of the maximum color category of color gamut as target environment face Color.
If for example, providing following color category and the corresponding color gamut of color category.
Table 1
Color category It is red Black Blue Green
Pixel quantity 12M 46M 3M 8M
Table 1 is referred to, which includes red, black, blue and green, also, the color category is corresponding Color gamut is 12M (units respectively:Million pixels), 46M, 3M and 8M.
By table 1 it is found that color gamut it is maximum be black, minimum be blue, can learn black in ambient image The ratio accounted for is maximum, can be using black as target environment at this time it is possible that black is most important tone under current environment Color.
Aforesaid way is only as an example, the form of expression of specific judgment mode and color gamut can be according to practical feelings Depending on condition.In addition to this, which can also use the average color temperature for obtaining all pixels in ambient image, then The corresponding color of average color temperature is determined as the mode of target environment color.
From the foregoing, it will be observed that determining target environment face according to the color category and color gamut that include in ambience color information Color can efficiently and accurately know the color atmosphere of current environment, and then it is current with this to control electrochromic window assemblies switching display The color that the color atmosphere of environment matches, to preferably so that the appearance of electronic equipment is dissolved into current environment.
Referring to Fig. 7, showing another implementation process of determining target environment color provided by the embodiments of the present application in figure.
As shown in fig. 7, target environment color is determined according to ambience color information, including:
301, target area image is determined from ambient image.
Wherein, target area image is a portion in ambient image, may include one in the region or more A pixel.
In some embodiments, which can be the image in some regional frame, which can adopt With rectangle, circle or other figure area defined frames;It can also be the range that some object is covered, such as pass through knowledge Other target object, the region for being included using target object is as target area image.
302, the ambience color information in target area image is determined.
Wherein, ambience color information may include the quantity of pixel in target area image, arrangement mode and each picture The data such as the color of element.
303, target environment color is determined according to the ambience color information in target area image.
In some embodiments, it determines target environment color, the entirety of the image can be obtained from target area image Then the information such as tone, color gamut determine target environment color according to information such as the integral color, color gamuts.
In some embodiments, target environment can also be used as by detecting the color of certain certain objects in ambient image Color.
The step concrete implementation mode can refer to embodiment as described above.
In some embodiments, target area image is determined from ambient image, including:
Judge whether detect the presence of face feature in ambient image;
If so, according to the position of the location determination target area image of face feature.
Wherein, the face feature can be made of characteristic informations such as the eyes of people, nose, face, eyebrow or shapes of face, Concrete implementation algorithm can be set according to actual conditions.
After detecting the presence of face feature in ambient image, it may be determined that include the self-timer of user in the ambient image According to.If including taking pictures certainly, then face can be positioned according to the face feature, then using the face location as anchor point Determine target area image.
Incorporated by reference to Fig. 8, another application scenarios of control method of electronic device provided by the embodiments of the present application are shown in figure.
In the application scenarios, the appearance of electronic equipment is if desired arranged to the face mutually arranged in pairs or groups with the clothes color of user Color then can be then based on the positioning that the face feature 31 obtains clothes position by positioning the face feature 31 of user first.
Specifically, electronic equipment detects the face feature 31 of user by the ambient image first, so that it is determined that the ring Border image is taking pictures certainly for user.In general, the dressing of user is located at the position of its 31 lower section of face feature.When this is determined Ambient image be after take pictures, then can by detecting the position of the user face, to determine the specific location of user's clothes, And using the image of user's clothes specific location as target area image 32.
The color characteristic of color characteristic namely user's clothes in the target area image 32, thus can by face locating It accurately to know the position of user's clothes, and then improves the accuracy of judgement degree of target environment color and judges speed so that sentence Disconnected process is more intelligently, conveniently.
Referring to Fig. 9, showing the structure of electronic appliance controlling device provided by the embodiments of the present application in figure, which sets Standby control device 400 includes that information determination module 401, color determination module 402 and voltage provide module 403.
Information determination module 401 determines the ambience color information in ambient image for obtaining ambient image.
Wherein, ambient image can be obtained by the camera of electronic equipment.
Wherein, ambience color information may include the quantity of pixel in ambient image, arrangement mode and each pixel The data such as color.
In some embodiments, after getting ambient image, can by from the property parameters of ambient image to pre- The ambience color information deposited is obtained, to determine the ambience color information in the ambient image.
Color determination module 402, for determining target environment color according to ambience color information.
Wherein, because electrochromic window assemblies are only able to display solid color, therefore, it is necessary to believe from the environmental colors of ambient image A kind of target environment color is determined in breath.
In some embodiments, target environment color is determined according to ambience color information, it can be by obtaining in environment map The information such as integral color, color gamut as in, then determine target environment according to information such as the integral color, color gamuts Color.
In some embodiments, target environment can also be used as by detecting the color of certain certain objects in ambient image Color.
Voltage provides module 403, for being generated according to target environment color and providing control voltage to electrochromic window assemblies, So that electrochromic window assemblies show color of object corresponding with control voltage.
Wherein it is possible to be electrically connected by processor and electrochromic window assemblies, processor is then used to generate control electricity The control voltage, is added in electrochromic window assemblies, so that it changes according to the control voltage by pressure by specific controlling switch Become the color shown by itself.
From the foregoing, it will be observed that by obtaining ambient image, judge further according to the ambience color information in the ambient image current Ambient conditions so that the electrochromic window assemblies on casting of electronic device can be according to the environmental colors under different ambient conditions Change self color, to allowing the shell appearance of electronic equipment to meet the color demand under different scenes.
Referring to Fig. 10, showing the structure of color determination module provided by the embodiments of the present application in figure.The color determines Module 402, including the first determination sub-module 4021 and the second determination sub-module 4022.
First determination sub-module 4021, for determining the color category for including in ambience color information and the color kind The color gamut that class is covered in ambient image.
Wherein, it in color category may include one or more kinds of color, color its phase in same color type It can be larger like degree.
Wherein, the color gamut which is covered in ambient image can be all face in the color category The total quantity of pixel belonging to color, or refer to that pixel in the color category belonging to all colours is formed by display area. In addition to this, the concrete numerical value of the color gamut can also refer to the total picture in ambient image of the pixel quantity belonging to the color category Shared ratio in prime number amount.
Second determination sub-module 4022, for determining target environment color according to color category and color gamut.
In some embodiments, each color category can be determined in environment map by the corresponding color gamut of color category The shared size as in, or account for the ratio in ambient image in the size.
The larger color category of covered color gamut can be selected, mesh is therefrom then determined according to the color category Mark environmental colors.
In some embodiments, which can correspond to a kind of color, can be according to reflecting after determining color category Penetrating relationship determines the color being associated as target environment color.
From the foregoing, it will be observed that determining target environment face according to the color category and color gamut that include in ambience color information Color can efficiently and accurately know the color atmosphere of current environment, and then it is current with this to control electrochromic window assemblies switching display The color that the color atmosphere of environment matches, to preferably so that the appearance of electronic equipment is dissolved into current environment.
1 is please referred to Fig.1, the structure of electronic equipment provided by the embodiments of the present application is shown in figure.
The electronic equipment 5 includes shell 51, electrochromic window assemblies 52, control circuit 53 and environmental sensor 54.
The electrochromic window assemblies 52 are set in 51 surface of shell or shell 51.Specifically, the electrochromic window assemblies 52 can be with According to the difference of control voltage, and is driven by control voltage and show different colors.
If the electronic equipment is smart mobile phone, the electrochromic window assemblies 52 can be set to the frame of shell 51, rear cover or In person's front panel, specific set-up mode moreover, as long as allow user using electronic equipment during intuitively Observe the electrochromic window assemblies 52.
The control circuit 53 is electrically connected with electrochromic window assemblies 52, and the control circuit 53 is for executing following steps:
Determine the ambience color information in the ambient image;Target environment face is determined according to the ambience color information Color;The electrochromism group is driven with control voltage corresponding with the target environment color according to the target environment color Part shows the color of object.
The environmental sensor 54 can be the camera 54 for having image sensing function, and the camera 54 is for obtaining environment Image.
The specific descriptions of above-mentioned steps are referred to control method of electronic device above-mentioned, and details are not described herein by the application.
As shown in figure 12, electronic equipment 500 includes processor 501, further includes memory 502.Wherein, processor 501 with Memory 502 is electrically connected.
Processor is the control centre of electronic equipment 500, utilizes each of various interfaces and the entire electronic equipment of connection A part by the computer program of operation or load store in memory 502, and is called and is stored in memory 502 Data, execute electronic equipment various functions and processing data, to electronic equipment carry out integral monitoring.
In some embodiments, processor 501 may further execute following steps:
Determine the color category for including in the ambience color information and the color category in the ambient image The color gamut covered;Target environment color is determined according to the color category and the color gamut.
In some embodiments, processor 501 may further execute following steps:
If having multiple color categories in the ambience color information, by the corresponding face of all color categories The size of color range is compared;Using the corresponding color of the maximum color category of the color gamut as target environment color.
In some embodiments, processor 501 may further execute following steps:
Target area image is determined from the ambient image;
Determine the ambience color information in the target area image;
Target environment color is determined according to the ambience color information in the target area image.
In some embodiments, processor 501 may further execute following steps:
Judge whether detect the presence of face feature in the ambient image;If so, according to the position of the face feature Set the position for determining the target area image.
Memory 502 can be used for storing computer program and data.Include in the computer program that memory 502 stores The instruction that can be executed in the processor.Computer program can form various functions module.Processor 501 is stored in by operation The computer program of memory 502, to perform various functions computer program and data processing.Such as:
Ambient image is obtained by the environmental sensor, determines the ambience color information in the ambient image;Pass through The control circuit determines target environment color according to the ambience color information;By the control circuit, according to target ring Border color drives the electrochromic window assemblies to show the target face with control voltage corresponding with the target environment color Color.
In some embodiments, as shown in figure 13, electronic equipment 500 further includes:It is display screen 503, radio circuit 505, defeated Enter unit 506, voicefrequency circuit 507, sensor 508 and power supply 509.Wherein, processor 501 respectively with display screen 503, radio frequency Circuit 505, input unit 506, voicefrequency circuit 507, sensor 508 and power supply 509 are electrically connected.
Display screen 503 can be used for showing information input by user or be supplied to user information and electronic equipment it is each Kind graphical user interface, these graphical user interface can be made of image, text, icon, video and its arbitrary combination.
Radio circuit 505 is used for transceiving radio frequency signal, to be built by radio communication with the network equipment or other electronic equipments Vertical wireless telecommunications, the receiving and transmitting signal between the network equipment or other electronic equipments.
Input unit 506 can be used for receiving number, character information or the user's characteristic information (such as fingerprint) of input, and Generate keyboard related with user setting and function control, mouse, operating lever, optics or the input of trace ball signal.Wherein, Input unit 506 may include fingerprint recognition module.
Voicefrequency circuit 507 can provide the audio interface between user and electronic equipment by loud speaker, microphone.
Sensor 508 is for acquiring external environmental information.Sensor 508 may include ambient light sensor, acceleration Sensor, optical sensor, motion sensor and other sensors.The sensor 508 includes that environmental sensor (such as is taken the photograph As head), for obtaining ambient image.
All parts of the power supply 509 for electron equipment 500 are powered.In some embodiments, power supply 509 can pass through Power-supply management system and processor 501 are logically contiguous, to realize management charging, electric discharge, Yi Jigong by power-supply management system The functions such as consumption management.
Although being not shown in Figure 13, electronic equipment 500 can also include camera, bluetooth module etc., and details are not described herein.
From the foregoing, it will be observed that the embodiment of the present application by obtaining ambient image, is believed further according to the environmental colors in the ambient image It ceases to judge current ambient conditions so that the electrochromic window assemblies on casting of electronic device can be according to different ambient conditions Under environmental colors change self color, to allowing the shell appearance of electronic equipment to meet the color demand under different scenes.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage Medium may include:Read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
Term " one " and " described " and similar word have been used during describing the concept of the application (especially In the appended claims), it should be construed to not only cover odd number by these terms but also cover plural number.In addition, unless herein In be otherwise noted, otherwise herein narration numberical range when merely by quick method belong to the every of relevant range to refer to A independent value, and each independent value is incorporated into this specification, just as these values have individually carried out statement one herein Sample.In addition, unless otherwise stated herein or context has specific opposite prompt, otherwise institute described herein is methodical Step can be executed by any appropriate order.The change of the application is not limited to the step of description sequence.Unless in addition Advocate, otherwise uses any and all example or exemplary language presented herein (for example, " such as ") to be all only The concept of the application is better described, and not the range of the concept of the application limited.Spirit and model are not being departed from In the case of enclosing, those skilled in the art becomes readily apparent that a variety of modifications and adaptation.
Control method of electronic device, device, storage medium and the electronic equipment that the embodiment of the present application is provided above into It has gone and has been discussed in detail, specific examples are used herein to illustrate the principle and implementation manner of the present application, the above implementation The explanation of example is merely used to help understand the present processes and its core concept;Meanwhile for those skilled in the art, according to According to the thought of the application, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification It should not be construed as the limitation to the application.

Claims (13)

1. a kind of electronic equipment control method is applied to electronic equipment, which is characterized in that the electronic equipment includes environmentally sensitive The control circuit of device, electrochromic window assemblies and the coupling environmental sensor and the electrochromic window assemblies, the method includes:
Ambient image is obtained by the environmental sensor, determines the ambience color information in the ambient image;
By the control circuit, target environment color is determined according to the ambience color information;
By the control circuit, according to the target environment color, with control voltage corresponding with the target environment color, The electrochromic window assemblies are driven to show the color of object.
2. control method of electronic device as described in claim 1, which is characterized in that described true according to the ambience color information Set the goal environmental colors, including:
Determine that the color category for including in the ambience color information and the color category are covered in the ambient image The color gamut of lid;
Target environment color is determined according to the color category and the color gamut.
3. control method of electronic device as claimed in claim 2, which is characterized in that described according to the color category and institute It states color gamut and determines target environment color, including:
If having multiple color categories in the ambience color information, by the corresponding color model of all color categories The size enclosed is compared;
Using the corresponding color of the maximum color category of the color gamut as target environment color.
4. control method of electronic device as described in claim 1, which is characterized in that the ring in the determination ambient image Border colouring information, including:
Target area image is determined from the ambient image;
Determine the ambience color information in the target area image;
It is described that target environment color is determined according to the ambience color information, including:
Target environment color is determined according to the ambience color information in the target area image.
5. control method of electronic device as claimed in claim 4, which is characterized in that described to determine mesh from the ambient image Area image is marked, including:
Judge whether detect the presence of face feature in the ambient image;
If so, according to the position of target area image described in the location determination of the face feature.
6. a kind of electronic equipment control device is applied to electronic equipment, which is characterized in that the electronic equipment includes environmentally sensitive The control circuit of device, electrochromic window assemblies and the coupling environmental sensor and the electrochromic window assemblies, described device packet It includes:
Information determination module determines the environment in the ambient image for obtaining ambient image by the environmental sensor Colouring information;
Color determination module, for by the control circuit, target environment color to be determined according to the ambience color information;With And
Voltage provides module, for by the control circuit, according to the target environment color, with the target environment face The corresponding control voltage of color, drives the electrochromic window assemblies to show the color of object.
7. electronic appliance controlling device as claimed in claim 6, which is characterized in that the color determination module, including:
First determination sub-module, for determining that the color category for including in the ambience color information and the color category exist The color gamut covered in the ambient image;And
Second determination sub-module, for determining target environment color according to the color category and the color gamut.
8. a kind of storage medium, which is characterized in that computer program is stored in the storage medium, when the computer program When running on computers so that the computer perform claim requires the control method of electronic device described in 1-5 any one.
9. a kind of electronic equipment, which is characterized in that including environmental sensor, electrochromic window assemblies and the coupling environmental sensor With the control circuit of the electrochromic window assemblies;
The environmental sensor, for obtaining ambient image;
The control circuit, for executing following steps:
Determine the ambience color information in the ambient image;
Target environment color is determined according to the ambience color information;
The electrochromism is driven with control voltage corresponding with the target environment color according to the target environment color Component shows the color of object.
10. electronic equipment as claimed in claim 9, which is characterized in that the control circuit is additionally operable to execute following steps:
Determine that the color category for including in the ambience color information and the color category are covered in the ambient image The color gamut of lid;
Target environment color is determined according to the color category and the color gamut.
11. electronic equipment as claimed in claim 10, which is characterized in that the control circuit is additionally operable to execute following steps:
If having multiple color categories in the ambience color information, by the corresponding color model of all color categories The size enclosed is compared;
Using the corresponding color of the maximum color category of the color gamut as target environment color.
12. electronic equipment as claimed in claim 10, which is characterized in that the control circuit is additionally operable to execute following steps:
Target area image is determined from the ambient image;
Determine the ambience color information in the target area image;
Target environment color is determined according to the ambience color information in the target area image.
13. electronic equipment as claimed in claim 12, which is characterized in that the control circuit is additionally operable to execute following steps:
Judge whether detect the presence of face feature in the ambient image;
If so, according to the position of target area image described in the location determination of the face feature.
CN201810924150.XA 2018-08-14 2018-08-14 Electronic device control method, electronic device control device, storage medium and electronic device Active CN108718367B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810924150.XA CN108718367B (en) 2018-08-14 2018-08-14 Electronic device control method, electronic device control device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810924150.XA CN108718367B (en) 2018-08-14 2018-08-14 Electronic device control method, electronic device control device, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN108718367A true CN108718367A (en) 2018-10-30
CN108718367B CN108718367B (en) 2020-07-07

Family

ID=63914033

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810924150.XA Active CN108718367B (en) 2018-08-14 2018-08-14 Electronic device control method, electronic device control device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN108718367B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109634023A (en) * 2019-01-28 2019-04-16 Oppo广东移动通信有限公司 Electrochromic window assemblies processing method, device, electronic equipment and readable storage medium storing program for executing
CN110287809A (en) * 2019-06-03 2019-09-27 Oppo广东移动通信有限公司 Image processing method and Related product
CN110381212A (en) * 2019-07-22 2019-10-25 深圳传音控股股份有限公司 Control method, terminal and the computer readable storage medium of terminal
CN110716363A (en) * 2019-10-24 2020-01-21 深圳市元征科技股份有限公司 Vehicle interior and color switching method and device, electronic equipment and storage medium
CN110806669A (en) * 2019-10-25 2020-02-18 东华大学 Self-adaptive control system and method for MOFs electrochromic material
CN113945058A (en) * 2021-03-03 2022-01-18 海信(山东)冰箱有限公司 Refrigerator control method and refrigerator

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110051072A (en) * 2009-11-09 2011-05-17 엘지전자 주식회사 Display device capable of accommodating exterior color to surrounding color
CN102394957A (en) * 2011-11-09 2012-03-28 中兴通讯股份有限公司 Electronic equipment terminal and method for setting electronic equipment terminal shell color
CN107621738A (en) * 2017-10-19 2018-01-23 维沃移动通信有限公司 The control method and mobile terminal of a kind of mobile terminal
CN107819935A (en) * 2017-10-19 2018-03-20 维沃移动通信有限公司 The control method and mobile terminal of a kind of mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110051072A (en) * 2009-11-09 2011-05-17 엘지전자 주식회사 Display device capable of accommodating exterior color to surrounding color
CN102394957A (en) * 2011-11-09 2012-03-28 中兴通讯股份有限公司 Electronic equipment terminal and method for setting electronic equipment terminal shell color
CN107621738A (en) * 2017-10-19 2018-01-23 维沃移动通信有限公司 The control method and mobile terminal of a kind of mobile terminal
CN107819935A (en) * 2017-10-19 2018-03-20 维沃移动通信有限公司 The control method and mobile terminal of a kind of mobile terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109634023A (en) * 2019-01-28 2019-04-16 Oppo广东移动通信有限公司 Electrochromic window assemblies processing method, device, electronic equipment and readable storage medium storing program for executing
CN110287809A (en) * 2019-06-03 2019-09-27 Oppo广东移动通信有限公司 Image processing method and Related product
CN110381212A (en) * 2019-07-22 2019-10-25 深圳传音控股股份有限公司 Control method, terminal and the computer readable storage medium of terminal
CN110381212B (en) * 2019-07-22 2023-12-22 深圳传音控股股份有限公司 Terminal control method, terminal and computer readable storage medium
CN110716363A (en) * 2019-10-24 2020-01-21 深圳市元征科技股份有限公司 Vehicle interior and color switching method and device, electronic equipment and storage medium
CN110806669A (en) * 2019-10-25 2020-02-18 东华大学 Self-adaptive control system and method for MOFs electrochromic material
CN113945058A (en) * 2021-03-03 2022-01-18 海信(山东)冰箱有限公司 Refrigerator control method and refrigerator

Also Published As

Publication number Publication date
CN108718367B (en) 2020-07-07

Similar Documents

Publication Publication Date Title
CN108718367A (en) Control method of electronic device, device, storage medium and electronic equipment
CN107621738B (en) Control method of mobile terminal and mobile terminal
CN107783887B (en) Control method of mobile terminal and mobile terminal
CN109064996B (en) Display adjustment method and device, storage medium and electronic equipment
CN109101833B (en) Content display method, content display device, storage medium and electronic equipment
CN109240415B (en) Electronic device control method, electronic device control device, storage medium and electronic device
US20150100813A1 (en) Method and device for processing images to save power
CN109029768B (en) Temperature reminding method and device of electronic equipment, storage medium and electronic equipment
CN107645610B (en) Control method of mobile terminal and mobile terminal
CN107990978A (en) Environment light detection method, device, storage medium and electronic equipment
CN105591440B (en) Mobile terminal charging control device and method
CN107819935B (en) Control method of mobile terminal and mobile terminal
CN108268188A (en) The control method and mobile terminal of a kind of display screen
CN109088988A (en) Apparatus control method, device, storage medium and electronic equipment
CN109143717A (en) Control method, device, storage medium and the electronic equipment of electronic equipment
CN109116655A (en) Apparatus control method, device, storage medium and electronic equipment
CN107770376A (en) The control method and mobile terminal of a kind of mobile terminal
CN107635072A (en) The control method and mobile terminal of a kind of mobile terminal
CN107818038A (en) A kind of information cuing method and mobile terminal
CN110007540A (en) Display screen component, the control method of visible angle, device and electronic equipment
CN109104529A (en) Information cuing method, device, storage medium and electronic equipment
CN107071169A (en) The processing unit and method of screen wallpaper
CN109062634A (en) A kind of application starting method and mobile terminal
CN108616697B (en) Shooting state reminding method and device, storage medium and electronic equipment
CN108877734A (en) The color temperature adjusting method and Related product of touching display screen

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