CN110381212A - Control method, terminal and the computer readable storage medium of terminal - Google Patents

Control method, terminal and the computer readable storage medium of terminal Download PDF

Info

Publication number
CN110381212A
CN110381212A CN201910662192.5A CN201910662192A CN110381212A CN 110381212 A CN110381212 A CN 110381212A CN 201910662192 A CN201910662192 A CN 201910662192A CN 110381212 A CN110381212 A CN 110381212A
Authority
CN
China
Prior art keywords
information
terminal
shell
color
control
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
CN201910662192.5A
Other languages
Chinese (zh)
Other versions
CN110381212B (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.)
Shenzhen Transsion Holdings Co Ltd
Original Assignee
Shenzhen Transsion Holdings Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Transsion Holdings Co Ltd filed Critical Shenzhen Transsion Holdings Co Ltd
Priority to CN201910662192.5A priority Critical patent/CN110381212B/en
Publication of CN110381212A publication Critical patent/CN110381212A/en
Application granted granted Critical
Publication of CN110381212B publication Critical patent/CN110381212B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • 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 invention discloses a kind of control method of terminal, terminal and computer readable storage medium, the control method of the terminal includes: capturing ambient image;The ambient image is analyzed to obtain environmental information, control information is generated according to the environmental information;Shell is controlled according to the control information and/or display screen shows matched display information.The present invention can make terminal meet the needs of user individual to be adapted with ambient enviroment according to ambient enviroment change display color.

Description

Control method, terminal and the computer readable storage medium of terminal
Technical field
The present invention relates to field of photoelectric technology more particularly to a kind of control method of terminal, terminal and computer-readable deposit Storage media.
Background technique
With the development of terminal technology, hierarchy of consumption tends to diversification, and mobile phone not only becomes a kind of means of communication, and The ornaments for also becoming a kind of consumer personalization are the expression of personal mood and taste.User is mostly to pass through replacement at present Mobile phone protecting case changes the appearance of mobile phone, user can be expressed by the protective shell of replacement various colors and various patterns from Oneself mood.Although user can meet personalized needs by replacement mobile phone protecting case, frequently replaces mobile phone and protect Protective case is comparatively laborious, and in different scenes, and mobile phone cannot be shown and environmental colors adaptation according to the environment of real-time scene Color.
Therefore, it is necessary to provide a kind of control method of terminal, to solve the above technical problems.
Summary of the invention
The main object of the present invention is to provide control method, terminal and the computer-readable storage medium of a kind of terminal Matter, it is intended to which the color for solving mobile phone in the prior art shows the technical issues of cannot meeting individual requirements.
To achieve the above object, the present invention provides a kind of control method of terminal, comprising:
Capturing ambient image;
The ambient image is analyzed to obtain environmental information, control information is generated according to the environmental information;
Shell is controlled according to the control information and/or display screen shows matched display information.
Preferably, the quantity of the ambient image is multiple;The analysis ambient image is to obtain environmental information, root The step of generating control information according to the environmental information, comprising:
The characteristics of image for detecting multiple ambient images of capture, obtains characteristics of image set, and according to described image Characteristic set is analyzed to obtain the environmental information;
Corresponding displaying scheme is obtained with default environmental information storehouse matching according to the environmental information, according to the display side Case generates corresponding control information.
Preferably, described image feature further includes furnishings feature, color characteristic and lightness feature;The detection captures more The characteristics of image of a ambient image, obtains characteristics of image set, and according to described image characteristic set analyzes to obtain described The step of environmental information, comprising:
The characteristics of image for detecting multiple ambient images of capture, obtains described image characteristic set;
Judge whether there is at least one described furnishings feature in described image characteristic set;
If having at least one described furnishings feature in described image characteristic set, obtained according to the furnishings signature analysis The environmental information;
If not having the furnishings feature in described image characteristic set, according to the color characteristic and lightness signature analysis Obtain the environmental information.
Preferably, the characteristics of image of multiple ambient images of the detection capture, obtains characteristics of image set, and root The step of obtaining the environmental information is analyzed according to described image characteristic set, comprising:
The characteristics of image for detecting multiple ambient images of capture, obtains described image characteristic set, calculates the figure The color ratio as shared by each color characteristic in characteristic set, judges whether each color ratio is greater than default threshold Value;
If there are the color ratios to be greater than the preset threshold in each color ratio, according to default mapping Table determines the corresponding environmental information of color characteristic for being greater than the preset threshold;
If there is no the color ratios to be greater than the preset threshold in each color ratio, it is determined that the lightness The corresponding environmental information of feature.
Preferably, the shell includes the dorsal shield being oppositely arranged with the display screen, and the terminal includes first distance sense Device and second distance inductor are answered, the first distance inductor and the display screen are set to same plane, the second distance Inductor is set to the dorsal shield;Before the step of capturing ambient image, further includes:
Obtain the first spacing distance with the first distance inductor front obstacle;
Judge first spacing distance whether within the scope of the first pre-determined distance;
If first spacing distance within the scope of first pre-determined distance, controls front camera execution: capture The step of ambient image.
Preferably, before the step of capturing ambient image, further includes:
Obtain the second spacing distance with the second distance inductor front obstacle;
Judge second spacing distance whether within the scope of the second pre-determined distance;
If second spacing distance within the scope of second pre-determined distance, controls rear camera execution: capture The step of ambient image.
Preferably, the display information includes one of color, brightness, pattern or a variety of.
Preferably, the shell is atomization photo chromic glass shell, controls shell and/or display screen according to the control information The step of showing matched display information, comprising:
It is powered to the atomization photo chromic glass shell, so that the transparency of the atomization photo chromic glass shell changes;
It controls the shell and display screen shines, so that the shell and/or display screen are shown and the environments match Color.
Preferably, the shell is electrochromism shell, controls shell according to the control information and/or display screen is shown The step of matched display information, comprising:
The electrochromism shell is controlled, so that electrochromism shell variation display multiple color.
Preferably, the shell be the shell containing implicit pattern, it is described according to the control information control shell and/or Display screen shows the step of matched display information, comprising:
The shell containing implicit pattern is controlled, so that the implicit pattern is shown on shell.
Preferably, the quantity of the implicit pattern is multiple;It is described that the shell containing implicit pattern is controlled, So that the implicit pattern is shown in the step on shell includes:
The shell containing implicit pattern is controlled, successively on the housing according to predetermined pattern display order Show the implicit pattern.
Preferably, after the control shell and/or display screen show the step of matched display information, further includes:
Receive and identify voice messaging;
Judge whether the voice messaging matches with the application scenarios in default speech database;
If the voice messaging is matched with the application scenarios in the default speech database, call and matched application The corresponding displaying scheme of scene, and control shell and/or display screen shows the corresponding display information of the displaying scheme.
The present invention also provides the control methods of another terminal, which is characterized in that the control method of the terminal includes:
Receive the first information, color control information is generated according to the first information;
Shell is controlled according to the color control information and/or display screen shows matched color.
Preferably, the first information include environmental information, voice messaging, physical operations information, in Emotion identification information It is one or more.
Preferably, described to receive the first information, include: according to the step of first information generation color control information
Receive the first information, according to the environmental information, the voice messaging, the physical operations information, the mood Order of the identification information in default priority rule, analyzes the first information and generates color control information.
Preferably, the environmental information includes ambient light information, environmental color information, environmental voice information, environment temperature Information, amblent air temperature information, ambient humidity information.
Preferably, the physical operations information includes touch-control shell control information, pressing shell control information and gesture behaviour Make shell control information, it is described to receive the first information, include: according to the step of first information generation color control information
Color control information is generated according to the physical operations information, to control information control shell and/or display screen display Show matched color.
Preferably, the Emotion identification information includes facial expression information, voice identification information, voice keyword identification letter Breath, respiration information identification information;It is described to receive the first information, it is wrapped according to the step of first information generation color control information It includes:
Color control information is generated according to the Emotion identification information, to control information control shell and/or display screen display Show matched color.
The present invention also provides a kind of terminal, including memory, processor and it is stored on the memory and can be described The computer program run on processor, the processor are realized when executing described program such as the control method of above-mentioned terminal Step.
The present invention also provides a kind of computer readable storage medium, calculating is stored on the computer readable storage medium Machine program instruction, when the computer program is executed by processor the step of the realization such as control method of above-mentioned terminal.
Control method, terminal and the computer readable storage medium for a kind of terminal that the embodiment of the present invention proposes, by catching It obtains ambient image and analyzes, so that the shell and/or display screen of controlling terminal are shown and the matched color of the environmental information, make Display color can be changed according to environment by obtaining terminal, meet the individual demand of user.
Detailed description of the invention
Fig. 1 is the terminal structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of the control method first embodiment of terminal of the present invention;
Fig. 3 is the flow diagram of the control method second embodiment of terminal of the present invention;
Fig. 4 is the flow diagram of the control method 3rd embodiment of terminal of the present invention;
Fig. 5 is the flow diagram of the control method fourth embodiment of terminal of the present invention;
Fig. 6 is the flow diagram of the 5th embodiment of control method of terminal of the present invention;
Fig. 7 is the flow diagram of the control method sixth embodiment of terminal of the present invention;
Fig. 8 is the flow diagram of the 7th embodiment of control method of terminal of the present invention;
Fig. 9 is the flow diagram of the 8th embodiment of control method of terminal of the present invention;
Figure 10 is the flow diagram of the 9th embodiment of control method of terminal of the present invention;
Figure 11 is the flow diagram of the control method of another terminal of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description.It should be appreciated that specific embodiment described herein is used only for explaining the present invention, it is not used to limit this hair It is bright.Based on the embodiment in the application, obtained by those of ordinary skill in the art without making creative efforts Every other embodiment, shall fall in the protection scope of this application.
The embodiment of the invention provides a kind of control method of terminal, terminal and computer readable storage mediums.
As shown in Figure 1, Fig. 1 is the terminal structure schematic diagram for the hardware running environment that one embodiment of the invention scheme is related to.
As shown in Figure 1, being suitable for terminal, including but not limited to following terminal: mobile phone, plate, computer in the method for the present invention Deng.The terminal may include: processor 1001, such as CPU, communication bus 1002, user interface 1003, network interface 1004, Memory 1005.Wherein, communication bus 1002 is for realizing the connection communication between these components.User interface 1003 can wrap Display, touch-sensitive plate, touch screen, keyboard are included, optional user interface 1003 can also include the wireline interface of standard, wirelessly connect Mouthful.Network interface 1004 optionally may include standard wireline interface and wireless interface (such as WI-FI interface).Memory 1005 It can be and tell RAM memory, be also possible to stable memory (non-volatitle memory), such as disk storage Device.Memory 1005 optionally can also be the storage device independently of aforementioned processor 1001.
Optionally, terminal can also include camera, RF (Radio Frequency, radio frequency) circuit, sensor, audio Circuit, Wi-Fi module etc..Wherein, sensor such as optical sensor, motion sensor and other sensors.Specifically, light Sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can according to the light and shade of ambient light come The brightness of display screen is adjusted, proximity sensor can close display screen and/or backlight when terminal is moved in one's ear.As movement One kind of sensor, gravity accelerometer can detect the size of (generally three axis) acceleration in all directions, when static Size and the direction that can detect that gravity can be used to identify application (such as the horizontal/vertical screen switching, dependent game, magnetic of terminal posture Power meter pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Certainly, terminal can also configure gyroscope, gas The other sensors such as meter, hygrometer, thermometer, infrared sensor are pressed, details are not described herein.
Optionally, terminal includes shell, and the shell can be atomization photo chromic glass shell, the atomization photo chromic glass shell Including successively folding the glass, film, ito film, liquid crystal molecule, ito film, film, the glass that set.The atomization photo chromic glass is being powered When, glass has electric current process, the liquid crystal molecule meeting proper alignment in glass, so that transparent state is presented in glass;When disconnected When electric, inside glass does not have electric current process, and the liquid crystal molecule in glass then can be disorganized, so that atomization is presented in glass State.
Optionally, the also settable voiceprint identification module of terminal, the vocal print (Voiceprint) are that electricity consumption acoustic instrument is aobvious The sound wave spectrum of the carrying verbal information shown, vocal print not only has specificity, but also has metastable feature.The vocal print is known The sound of other module user for identification.
It will be understood by those skilled in the art that the restriction of the not structure paired terminal of terminal structure shown in Fig. 1, can wrap It includes than illustrating more or fewer components, perhaps combines certain components or different component layouts.
As shown in Figure 1, as may include that operating system, network are logical in a kind of memory 1005 of computer storage medium Believe that module, Subscriber Interface Module SIM and color control program.
In terminal shown in Fig. 1, network interface 1004 is mainly used for connecting background server, carries out with background server Data communication;User interface 1003 is mainly used for connecting client (user terminal), carries out data communication with client;And processor 1001 can be used for that the shell transparency stored in memory 1005 is called to control program, and execute following operation:
Capturing ambient image;
The ambient image is analyzed to obtain environmental information, control information is generated according to the environmental information;
Shell is controlled according to the control information and/or display screen shows matched display information.
Further, processor 1001 can call the color stored in memory 1005 to control program, also execute following Operation:
The characteristics of image for detecting multiple ambient images of capture, obtains characteristics of image set;
It is analyzed to obtain the environmental information according to described image characteristic set;
Corresponding displaying scheme is obtained with default environmental information storehouse matching according to the environmental information, according to the display side Case generates corresponding control information.
Further, processor 1001 can call the color stored in memory 1005 to control program, also execute following Operation:
The characteristics of image for detecting multiple ambient images of capture, obtains described image characteristic set;
Judge whether there is at least one described furnishings feature in described image characteristic set;
If having at least one described furnishings feature in described image characteristic set, obtained according to the furnishings signature analysis The environmental information;
If not having the furnishings feature in described image characteristic set, according to the color characteristic and lightness signature analysis Obtain the environmental information.
Further, processor 1001 can call the color stored in memory 1005 to control program, also execute following Operation:
The characteristics of image of multiple ambient images of the detection capture, obtains characteristics of image set, and according to described Characteristics of image set analyzes the step of obtaining the environmental information, comprising:
The characteristics of image for detecting multiple ambient images of capture, obtains described image characteristic set, calculates the figure The color ratio as shared by each color characteristic in characteristic set, judges whether each color ratio is greater than default threshold Value;
If there are the color ratios to be greater than the preset threshold in each color ratio, according to default mapping Table determines the corresponding environmental information of color characteristic for being greater than the preset threshold;
If there is no the color ratios to be greater than the preset threshold in each color ratio, it is determined that the lightness The corresponding environmental information of feature.
Further, processor 1001 can call the color stored in memory 1005 to control program, also execute following Operation:
Obtain the first spacing distance with the first distance inductor front obstacle;
Judge first spacing distance whether within the scope of the first pre-determined distance;
If first spacing distance within the scope of first pre-determined distance, controls front camera execution: capture The step of ambient image.
Further, processor 1001 can call the color stored in memory 1005 to control program, also execute following Operation:
Obtain the second spacing distance with the second distance inductor front obstacle;
Judge second spacing distance whether within the scope of the second pre-determined distance;
If second spacing distance within the scope of second pre-determined distance, controls rear camera execution: capture The step of ambient image.
Further, processor 1001 can call the color stored in memory 1005 to control program, also execute following Operation:
It is powered to the atomization photo chromic glass shell, so that the transparency of the atomization photo chromic glass shell changes;
It controls the shell and display screen shines, so that the shell and/or display screen are shown and the environments match Color.
Further, processor 1001 can call the color stored in memory 1005 to control program, also execute following Operation:
The shell is electrochromism shell, is shown according to control information control shell and/or display screen matched The step of showing information, comprising:
The electrochromism shell is controlled, so that electrochromism shell variation display multiple color.
Further, processor 1001 can call the color stored in memory 1005 to control program, also execute following Operation:
The shell is the shell containing implicit pattern, described to control shell and/or display screen according to the control information The step of showing matched display information, comprising:
The shell containing implicit pattern is controlled, so that the implicit pattern is shown on shell.
Further, processor 1001 can call the color stored in memory 1005 to control program, also execute following Operation:
The quantity of the implicit pattern is multiple;It is described that the shell containing implicit pattern is controlled, so that institute Stating the step that implicit pattern is shown on shell includes:
The shell containing implicit pattern is controlled, successively on the housing according to predetermined pattern display order Show the implicit pattern.
Further, processor 1001 can call the color stored in memory 1005 to control program, also execute following Operation:
Receive and identify voice messaging;
Judge whether the voice messaging matches with the application scenarios in default speech database;
If the voice messaging is matched with the application scenarios in the default speech database, call and matched application The corresponding displaying scheme of scene, and control shell and/or display screen shows the corresponding display information of the displaying scheme.
Based on above-mentioned hardware configuration, each embodiment of the control method of the terminal in the present invention is proposed.
A kind of flow chart of the control method of terminal as shown in Figure 2, method includes the following steps:
Step S100, capturing ambient image;
In this step, it can be shot by the self-contained camera of the camera or terminal that are connect with terminal, Can distance difference according to terminal apart from environment bottom surface shoot one or multiple ambient images, different angles can also be chosen Degree shoots multiple ambient images.Environment bottom surface is the plane that terminal will place, such as: user needs terminal being placed in desktop On, environment bottom surface at this time is desktop;User needs for terminal to be placed on notebook, and environment bottom surface at this time is notebook.
Step S110 analyzes the ambient image to obtain environmental information, generates control information according to the environmental information;
In this step, the terminal is obtained using one or multiple ambient images of intelligent algorithm analysis capture To environmental information, the environmental information specifically can be the scene that user is currently located, such as: it is office, parlor, horizontal.Also It can be the color keynote that user is currently located environment, such as: warm colour keynote, cool colour keynote or black and white tone, red keynote Deng.The intelligent algorithm can be Image Feature Matching algorithm, and the Feature Correspondence Algorithm refers to by extracting two respectively A or multiple images features (features such as point, line, surface) carry out parameter description to feature, then use described parameter To carry out a kind of matched algorithm.The terminal obtains the control information with the environments match using intelligent algorithm, with Control the discoloration of shell and/or display screen.
Step S120 controls shell according to the control information and/or display screen shows matched display information.
Display information can be color, brightness, lightness, pattern etc., and pattern can be the figure being made of different colours, It can be the figure shown by light and shade difference, can also be that control shell or the work of display screen top distribution luminous point, part are sent out Luminous point does not work, with the figure of display.
In the present embodiment, the terminal can control shell and/or display screen shown according to ambient enviroment it is suitable with environment Color, pattern and the light and shade matched, enable the terminal to the environments match with surrounding, enable the terminals to the personalized need for meeting user It wants.
Further, referring to Fig. 3, second embodiment of the invention provides a kind of control method of terminal, is based on above-mentioned first Embodiment, in the present embodiment, the quantity of the ambient image be it is multiple, the step S110 includes:
Step S200 detects the characteristics of image of multiple ambient images of capture, obtains characteristics of image set, and according to Described image characteristic set is analyzed to obtain the environmental information;
In this step, described image feature may include the color characteristic, textural characteristics, shape feature, space of environment Position feature etc..It can also be representative furniture, such as sofa, bed, desk, projector etc..
Step S220 obtains corresponding displaying scheme with default environmental information storehouse matching according to the environmental information, according to The corresponding color of the displaying scheme generates control information.
In this step, the default information base can be the database being arranged in terminal memory, can also be with It is the database obtained from network under connected state;Environmental information may include: with the matched method of default information base Statistical method, geometry parameter method, modelling, signal processing method etc.;The displaying scheme is the shell and/or display screen of terminal Color displaying scheme can show a kind of and/or multiple color, can also show varicolored combination superposition.
In the present embodiment, the multiple images feature of the ambient image of capture is analyzed, and is shown according to Image Feature Matching Scheme, so that the color that the shell and/or display screen of terminal are finally shown more is adapted to environment.
Further, referring to Fig. 4, the application 3rd embodiment provides a kind of control method of terminal, described image feature Further include furnishings feature, be based on above-mentioned first embodiment, step S200 includes:
Step S204 detects the characteristics of image of multiple ambient images of capture, obtains described image characteristic set;
Step S205 judges whether there is at least one furnishings feature in described image characteristic set;
Step S206, if there is at least one furnishings feature, according to the furnishings feature point in described image characteristic set Analysis obtains the environmental information;
Step S207 is obtained if not having furnishings feature in described image characteristic set according to the furnishings signature analysis The environmental information
Furnishings are characterized by representative furniture, using article, for example, sofa, bed, desk, projector, wineglass, Platform etc..Such as: it is bed when displayying feature, then judges to be currently located environment as bedroom;When furnishings feature is desk, then judgement is worked as Preceding environment is office.
Furnishings feature is not necessarily shot and captured in ambient image, by judging whether have furnishings feature to determine point Analysis obtains the mode of environmental information.
Further, referring to Fig. 5, the application fourth embodiment provides a kind of control method of terminal, described image feature For color characteristic and lightness feature;Based on above-mentioned first embodiment, step S200 includes:
Step S201 detects the characteristics of image of multiple ambient images of capture, obtains described image characteristic set, meter Color ratio shared by each color characteristic in described image characteristic set is calculated, judges whether each color ratio is greater than Preset threshold;
In the present embodiment, characteristics of image set include by the corresponding color of the corresponding color characteristic of multiple ambient images, Each color occupied area in corresponding ambient image is color ratio.By compared with preset threshold, to judge the color It whether is large area solid color.
Step S202, if there are the color ratios to be greater than the preset threshold, basis in each color ratio Default mapping table, determines the corresponding environmental information of color characteristic for being greater than the preset threshold;
When the color is large area solid color, then pass through the color or several color lookup correspondences greater than preset threshold Environmental information.Such as large area color is log color, then judges current context information for desktop;When large area color is white And black, then judge current context information for working environment.
Step S203, if there is no the color ratios to be greater than the preset threshold in each color ratio, really Determine the corresponding environmental information of the lightness feature.
When color ratio be less than preset threshold, then can determine whether that current environment image color is complex, pass through lightness feature Judge current environment, such as current lightness feature is darker, then shows the stronger color of gray scale to match with current environment.Such as when Preceding lightness feature is brighter, then shows the weaker color of gray scale to match with current environment.
Based on 3rd embodiment, in one embodiment, if step S207 includes: not have institute in described image characteristic set Furnishings feature is stated, color ratio shared by each color characteristic in described image characteristic set is calculated, judges each color Whether color ratio is greater than preset threshold;Step S202 or step S203 is executed again.
Further, referring to Fig. 6, the 5th embodiment of the application provides a kind of control method of terminal, is based on above-mentioned first Embodiment, in the present embodiment, the shell includes the dorsal shield being oppositely arranged with the display screen, the terminal include first away from From inductor and second distance inductor, the first distance inductor and the display screen are set to same plane, and described second Distance-sensor is set to the dorsal shield;Before the step S100, comprising:
Step S400 obtains the first spacing distance with the first distance inductor front obstacle;
Whether step S410 judges first spacing distance within the scope of the first pre-determined distance;
If first spacing distance within the scope of first pre-determined distance, controls front camera and executes step S100;
If first spacing distance within the scope of first pre-determined distance, is not processed.
In the present embodiment, first distance inductor can be set in the terminal, and the first distance inductor can be set It sets in the display screen one side of terminal, the first spacing distance for detecting the terminal to barrier, the barrier can be with It is environment bottom surface.Front camera can be set in the terminal, and the front camera and the display screen are set to same plane, When detecting that the first spacing distance is in the first preset range, the front camera capturing ambient image is opened.In this reality It applies in example, terminal needs to reach before capturing ambient image certain condition, i.e., the first spacing distance is in the first pre-determined distance In range, the first pre-determined distance range is arranged by those skilled in the art, can be within the scope of first pre-determined distance Make video camera shape library, while avoiding inessential background, so that the image captured is more clear, it is subsequent right to be conducive to The analysis of image.
Further, referring to Fig. 7, the application sixth embodiment provides a kind of control method of terminal, is based on the above-mentioned 4th Embodiment before the step S100, may include:
Step S500 obtains the second spacing distance with the second distance inductor front obstacle;
Whether step S510 judges second spacing distance within the scope of the second pre-determined distance;
If second spacing distance within the scope of second pre-determined distance, controls rear camera and executes step S100。
If second spacing distance within the scope of second pre-determined distance, is not processed.
In the present embodiment, the second distance inductor is set to the dorsal shield, and postposition camera shooting can be set in the dorsal shield Head.When terminal dorsal shield is placed downward, when the second spacing distance is within the scope of the second pre-determined distance, postposition camera shooting can be opened Head capturing ambient image.When so that the terminal being placed with any face, can capturing ambient image, with control shell and/or Display screen discoloration.
Further, referring to Fig. 8, the 7th embodiment of the application provides a kind of control method of terminal, is based on above-mentioned first Embodiment, in the present embodiment, the shell include pedestal and the glass-film for being covered on pedestal surface, the step S120 packet It includes:
Step S600 discharges to the glass-film, so that the transparency of the glass-film changes;
Step S610, controls the shell and display screen shines, so that the shell and display screen are shown and the ring The matched color in border.
In the present embodiment, the shell is atomization photo chromic glass shell, and when being powered, glass has the atomization photo chromic glass Electric current passes through, the liquid crystal molecule meeting proper alignment in glass, so that transparent state is presented in glass;When power is off, glass Inside is passed through without electric current, and the liquid crystal molecule in glass then can be disorganized, so that the state of atomization is presented in glass.It is described Multiple lamp sources can be set on the pedestal and display screen of shell, when shell is powered, after the glass-film is transparent, lamp source issues each The shell of the light of kind color, the terminal shows various colors.When shell no power, glass-film is atomized not display color. In the present embodiment, it is powered or powers off by control atomization photo chromic glass shell, and flow through size of current, so that shell Show the color of different brightness and state.
Further, referring to Fig. 9, the 8th embodiment of the application provides a kind of control method of terminal, is based on above-mentioned first Embodiment after the step S120, may include:
Step S700, receives and identifies voice messaging;
The voice messaging is the phonetic order that user is set in advance, and the phonetic order corresponds to specific terminal shell And/or the color displaying scheme of display screen.The terminal identifies the phonetic order of user using voiceprint identification module.The terminal Display color can not only be automatically controlled, and the individual of user can be met according to the voice command control display color of user Demand, and using the instruction of the clearer identification user of Application on Voiceprint Recognition energy, it avoids going wrong when user speech controlling terminal. Such as: user issues " adaptation office ", the terminal recognition voice messaging, and controls shell and/or display screen show and " handles official business The corresponding Color scheme in room ".
Step S720, judges whether the voice messaging matches with the application scenarios in default speech database;
Step S730, if the voice messaging is matched with the application scenarios in the default speech database, call with The corresponding displaying scheme of matched application scenarios, and control shell and/or display screen shows that the displaying scheme is corresponding aobvious Show information.
If the application scenarios in the voice messaging and the default speech database mismatch, ignore.
In the present embodiment, the default speech database can be arranged by user oneself, can also be by art technology Personnel's setting, the default speech database correspond to corresponding displaying scheme, for example phonetic order is commercial wind, then shows matching Commercial stylistic style;Phonetic order is Never Ending Fashion, then shows matching Never Ending Fashion color.By user oneself, a variety of default languages are set Sound database increases the interest of the terminal when in use, meets the needs of users.
Further, referring to Fig.1 0, the 9th embodiment of the application provides a kind of control method of terminal, and the shell is electricity Mutagens color shell, is based on above-mentioned first embodiment, and the step S120 includes:
The step S800 controls the electrochromism shell, so that electrochromism shell variation shows a variety of face Color;
Electrochromism shell is the shell made by electrochromic material, under DC Electric Field, electrochromism material Electrochemical redox reaction occurs for material, and receiving and losing electrons make the color of material change.
Further, the shell is the shell containing implicit pattern, and step S120 includes:
The shell containing implicit pattern is controlled, so that the implicit pattern is shown on shell.
Implicit pattern, which can be, to be defaulted in shell, and different filtered regions, each filtered region can be arranged on shell Can the light to characteristic wavelength range carry out optical filtering processing so that in terminal preset emission body issue light can pass through shell, Show different patterns.Implicit pattern can also be through multiple illuminators preset in terminal, be issued by changing illuminator The color or different location light of light are with permutation and combination at different patterns.
Still further, the quantity of the implicit pattern is multiple;The shell to described containing implicit pattern carries out Control, so that the implicit pattern is shown in the step on shell includes:
The shell containing implicit pattern is controlled, successively on the housing according to predetermined pattern display order Show the implicit pattern.
Predetermined pattern display order is that those skilled in the art or user preset, and terminal shows secondary according to predetermined pattern Sequence successively shows different implicit patterns, to meet multiplicity of subscriber demand.
The present invention also provides the control methods of another terminal, are based on above-mentioned hardware configuration, propose the end in the present invention Each embodiment of the control method at end.
A kind of flow chart of the control method of terminal as shown in figure 11, method includes the following steps:
Step S10, receives the first information, generates color control information according to the first information;
Specifically, the first information is the information of the transmissions such as external or built-in sensitive device, server, collector.Described first Information may include one of environmental information, voice messaging, physical operations information, Emotion identification information or a variety of.The ring Border information includes ambient light information, environmental color information, environmental voice information, ambient temperature information, amblent air temperature information, environment Humidity information.Ambient light information is specially scene illumination power, ultraviolet light power etc. where present terminal.Environmental color packet Color, light and shade, the saturation degree etc. of scene where including present terminal.Environmental voice information is specially scene voice where present terminal Information, noise information, music frequency, music categories etc..Ambient temperature information is specially scene temperature where present terminal.Environment Climatic information is specially temperature, humidity, overcast and rainy situation, wind conditions of present terminal location etc..Ambient humidity information tool Body is scene humidity where present terminal.
The physical operations information includes touch-control shell control information, pressing shell control information and gesture operation shell control Information processed.User generates physics operation information by pressing shell, touch-control shell or gesture operation to trigger.
The Emotion identification information includes facial expression information, voice identification information, voice keyword identification information, breathing Information identification information.Especially by picture of the camera acquisition containing face-image to be captured to facial expression therein, Generate facial expression information;By receiver, extraneous voice is obtained, is known with generating voice identification information and/or voice keyword Other information;User's respiratory rate, weight etc., which are obtained, by receiver generates respiration information identification information.
Step S20 controls shell according to the color control information and/or display screen shows matched color.
Specifically can refer to the scheme stated with one embodiment any in above-described embodiment one to nine, realize shell and/ Or display screen shows matched color.
In the present invention by the first information received, controls shell or display screen shows matched color, so that Terminal symbol shares family and is sitting in scene demand, meets multiplicity of subscriber demand.
Further, step S10 includes:
Receive the first information, according to the environmental information, the voice messaging, the physical operations information, the mood Order of the identification information in default priority rule, analyzes the first information and generates color control information.
Default priority rule is that those skilled in the art or user preset, wherein it is raw to have listed color control information The order of the first information based on.By the way that order of priority, when to avoid by receiving a variety of first information, color is arranged It controls information and generates chaotic problem.Such as: when user is in default priority rule, first is set by voice messaging, feelings Thread identification information is set as second, when terminal while receiving voice messaging and Emotion identification information, then passes through voice messaging Generate color control information.
The present invention also provides a kind of computer readable storage medium, meter is stored on the computer readable storage medium Calculation machine program, when the computer program is entered by processor the step of the realization such as control method of above-mentioned terminal.
The specific embodiment of readable storage medium storing program for executing of the present invention and each embodiment of control method of above-mentioned terminal are essentially identical, This is not repeated.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in one as described above In readable storage medium storing program for executing (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal executes the present invention respectively Method described in a embodiment.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (20)

1. a kind of control method of terminal, which is characterized in that the control method of the terminal includes:
Capturing ambient image;
The ambient image is analyzed to obtain environmental information, control information is generated according to the environmental information;
Shell is controlled according to the control information and/or display screen shows matched display information.
2. the control method of terminal as described in claim 1, which is characterized in that the quantity of the ambient image is multiple;Institute The step of analysis ambient image is stated to obtain environmental information, control information is generated according to the environmental information, comprising:
The characteristics of image for detecting multiple ambient images of capture, obtains characteristics of image set, and according to described image feature Set analysis obtains the environmental information;
Corresponding displaying scheme is obtained with default environmental information storehouse matching according to the environmental information, it is raw according to the displaying scheme At corresponding control information.
3. the control method of terminal as described in claim 1, which is characterized in that described image feature further include furnishings feature, Color characteristic and lightness feature;The characteristics of image of multiple ambient images of the detection capture, obtains characteristics of image set, And the step of obtaining the environmental information, is analyzed according to described image characteristic set, comprising:
The characteristics of image for detecting multiple ambient images of capture, obtains described image characteristic set;
Judge whether there is at least one described furnishings feature in described image characteristic set;
If having at least one described furnishings feature in described image characteristic set, obtained according to the furnishings signature analysis described Environmental information;
If not having the furnishings feature in described image characteristic set, obtained according to the color characteristic and lightness signature analysis The environmental information.
4. the control method of terminal as claimed in claim 3, which is characterized in that multiple environment maps of the detection capture The characteristics of image of picture obtains characteristics of image set, and is analyzed to obtain the step of the environmental information according to described image characteristic set Suddenly, comprising:
The characteristics of image for detecting multiple ambient images of capture obtains described image characteristic set, and it is special to calculate described image Color ratio shared by each color characteristic, judges whether each color ratio is greater than preset threshold in collection conjunction;
If there are the color ratios to be greater than the preset threshold in each color ratio, according to mapping table is preset, really Surely it is greater than the corresponding environmental information of color characteristic of the preset threshold;
If there is no the color ratios to be greater than the preset threshold in each color ratio, it is determined that the lightness feature The corresponding environmental information.
5. the control method of terminal as described in claim 1, which is characterized in that the shell includes opposite with the display screen The dorsal shield of setting, the terminal include first distance inductor, and the first distance inductor is set to same with the display screen Plane;Before the step of capturing ambient image, further includes:
Obtain the first spacing distance with the first distance inductor front obstacle;
Judge first spacing distance whether within the scope of the first pre-determined distance;
If first spacing distance within the scope of first pre-determined distance, controls front camera execution: the capture The step of ambient image.
6. the control method of terminal as claimed in claim 5, which is characterized in that the terminal includes second distance inductor, The second distance inductor is set to the dorsal shield;Before the step of capturing ambient image, further includes:
Obtain the second spacing distance with the second distance inductor front obstacle;
Judge second spacing distance whether within the scope of the second pre-determined distance;
If second spacing distance within the scope of second pre-determined distance, controls rear camera execution: capturing ambient The step of image.
7. the control method of terminal as described in claim 1, which is characterized in that the display information includes color, brightness, figure One of case is a variety of.
8. the control method of terminal as claimed in claim 7, which is characterized in that the shell is atomization photo chromic glass shell, The step of showing matched display information according to control information control shell and/or display screen, comprising:
It is powered to the atomization photo chromic glass shell, so that the transparency of the atomization photo chromic glass shell changes;
It controls the shell and display screen shines, so that the shell and/or display screen are shown and the face of the environments match Color.
9. the control method of terminal as claimed in claim 7, which is characterized in that the shell is electrochromism shell, according to The step of control information control shell and/or display screen show matched display information, comprising:
The electrochromism shell is controlled, so that electrochromism shell variation display multiple color.
10. the control method of terminal as claimed in claim 7, which is characterized in that the shell is the shell containing implicit pattern Body, described the step of matched display information is shown according to control information control shell and/or display screen, comprising:
The shell containing implicit pattern is controlled, so that the implicit pattern is shown on shell.
11. the control method of terminal as claimed in claim 10, which is characterized in that the quantity of the implicit pattern is multiple; It is described that the shell containing implicit pattern is controlled, so that the implicit pattern is shown in the step on shell includes:
The shell containing implicit pattern is controlled, is successively shown on the housing according to predetermined pattern display order The implicit pattern.
12. the control method of the terminal as described in any one of claims 1 to 11, which is characterized in that the control shell and/ Or after display screen shows the step of matched display information, further includes:
Receive and identify voice messaging;
Judge whether the voice messaging matches with the application scenarios in default speech database;
If the voice messaging is matched with the application scenarios in the default speech database, call and matched application scenarios Corresponding displaying scheme, and control shell and/or display screen shows the corresponding display information of the displaying scheme.
13. a kind of control method of terminal, which is characterized in that the control method of the terminal includes:
Receive the first information, color control information is generated according to the first information;
Shell is controlled according to the color control information and/or display screen shows matched color.
14. the control method of terminal as claimed in claim 13, which is characterized in that the first information include environmental information, One of voice messaging, physical operations information, Emotion identification information are a variety of.
15. the control method of terminal as claimed in claim 14, which is characterized in that it is described to receive the first information, according to described The first information generate color control information the step of include:
Receive the first information, according to the environmental information, the voice messaging, the physical operations information, the Emotion identification Order of the information in default priority rule, analyzes the first information and generates color control information.
16. the control method of the terminal as described in claims 14 or 15, which is characterized in that the environmental information includes environment light Information, environmental color information, environmental voice information, ambient temperature information, amblent air temperature information, ambient humidity information.
17. the control method of the terminal as described in claims 14 or 15, which is characterized in that the physical operations information includes touching It controls shell control information, pressing shell control information and gesture operation shell and controls information, it is described to receive the first information, according to institute Stating the step of first information generates color control information includes:
Color control information is generated according to the physical operations information, is shown with controlling information control shell and/or display screen The color matched.
18. the control method of the terminal as described in claims 14 or 15, which is characterized in that the Emotion identification information includes face Portion's expression information, voice identification information, voice keyword identification information, respiration information identification information;It is described to receive the first information, Include: according to the step of first information generation color control information
Color control information is generated according to the Emotion identification information, is shown with controlling information control shell and/or display screen The color matched.
19. a kind of terminal, which is characterized in that including memory, processor and be stored on the memory and can be at the place The computer program run on reason device, the processor are realized when executing described program such as any one of claims 1 to 18 institute The step of control method for the terminal stated.
20. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program realizes the control of the terminal as described in any one of claims 1 to 18 when the computer program is executed by processor The step of method.
CN201910662192.5A 2019-07-22 2019-07-22 Terminal control method, terminal and computer readable storage medium Active CN110381212B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910662192.5A CN110381212B (en) 2019-07-22 2019-07-22 Terminal control method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910662192.5A CN110381212B (en) 2019-07-22 2019-07-22 Terminal control method, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110381212A true CN110381212A (en) 2019-10-25
CN110381212B CN110381212B (en) 2023-12-22

Family

ID=68254762

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910662192.5A Active CN110381212B (en) 2019-07-22 2019-07-22 Terminal control method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110381212B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111078808A (en) * 2019-11-19 2020-04-28 上海博泰悦臻电子设备制造有限公司 Vehicle, user terminal and map personalized adjusting method based on environmental factors
CN112165803A (en) * 2020-09-04 2021-01-01 Oppo广东移动通信有限公司 Electronic equipment and shell assembly thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106123238A (en) * 2016-07-18 2016-11-16 珠海格力电器股份有限公司 The display packing of a kind of air-conditioning, device and air-conditioning
CN107819902A (en) * 2017-10-19 2018-03-20 维沃移动通信有限公司 The color of shell method of adjustment and mobile terminal of a kind of mobile terminal
CN108718367A (en) * 2018-08-14 2018-10-30 Oppo广东移动通信有限公司 Control method of electronic device, device, storage medium and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106123238A (en) * 2016-07-18 2016-11-16 珠海格力电器股份有限公司 The display packing of a kind of air-conditioning, device and air-conditioning
CN107819902A (en) * 2017-10-19 2018-03-20 维沃移动通信有限公司 The color of shell method of adjustment and mobile terminal of a kind of mobile terminal
CN108718367A (en) * 2018-08-14 2018-10-30 Oppo广东移动通信有限公司 Control method of electronic device, device, storage medium and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111078808A (en) * 2019-11-19 2020-04-28 上海博泰悦臻电子设备制造有限公司 Vehicle, user terminal and map personalized adjusting method based on environmental factors
CN112165803A (en) * 2020-09-04 2021-01-01 Oppo广东移动通信有限公司 Electronic equipment and shell assembly thereof

Also Published As

Publication number Publication date
CN110381212B (en) 2023-12-22

Similar Documents

Publication Publication Date Title
US11443462B2 (en) Method and apparatus for generating cartoon face image, and computer storage medium
CN107580184B (en) A kind of image pickup method and mobile terminal
CN104204994B (en) Augmented reality computing device, equipment and system
CN109191410A (en) A kind of facial image fusion method, device and storage medium
CN108712603B (en) Image processing method and mobile terminal
CN109361869A (en) A kind of image pickup method and terminal
CN109361852A (en) A kind of image processing method and device
CN110298304A (en) A kind of skin detecting method and terminal
CN113569614A (en) Virtual image generation method, device, equipment and storage medium
CN109215007A (en) A kind of image generating method and terminal device
CN109819167B (en) Image processing method and device and mobile terminal
CN111047511A (en) Image processing method and electronic equipment
CN107644396B (en) Lip color adjusting method and device
CN108701365A (en) Luminous point recognition methods, device and system
CN107016163A (en) Floristics recommends method and device
CN109167914A (en) A kind of image processing method and mobile terminal
CN110381212A (en) Control method, terminal and the computer readable storage medium of terminal
CN109461124A (en) A kind of image processing method and terminal device
CN109448069A (en) A kind of template generation method and mobile terminal
CN108881544A (en) A kind of method taken pictures and mobile terminal
CN109302564A (en) A kind of image pickup method and mobile terminal
CN109246474A (en) A kind of video file edit methods and mobile terminal
CN108984143A (en) A kind of display control method and terminal device
CN108763475A (en) A kind of method for recording, record device and terminal device
US20230362293A1 (en) Method for Configuring Theme Color of Terminal Device, Apparatus, and Terminal Device

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