WO2014086218A1 - 界面调整方法、装置及终端 - Google Patents
界面调整方法、装置及终端 Download PDFInfo
- Publication number
- WO2014086218A1 WO2014086218A1 PCT/CN2013/086489 CN2013086489W WO2014086218A1 WO 2014086218 A1 WO2014086218 A1 WO 2014086218A1 CN 2013086489 W CN2013086489 W CN 2013086489W WO 2014086218 A1 WO2014086218 A1 WO 2014086218A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- brightness
- interface
- current
- current image
- interface adjustment
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 238000004458 analytical method Methods 0.000 claims description 23
- 238000005070 sampling Methods 0.000 claims description 11
- 238000004364 calculation method Methods 0.000 claims description 6
- 239000000284 extract Substances 0.000 claims description 6
- 230000000694 effects Effects 0.000 abstract description 9
- 230000006870 function Effects 0.000 description 15
- 238000010586 diagram Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 238000001514 detection method Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 230000005484 gravity Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 241000699666 Mus <mouse, genus> Species 0.000 description 1
- 241000699670 Mus sp. Species 0.000 description 1
- 238000009825 accumulation Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000012905 input function Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/001—Texturing; Colouring; Generation of texture or colour
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/10—Intensity circuits
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/64—Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/95—Computational photography systems, e.g. light-field imaging systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10004—Still image; Photographic image
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/06—Adjustment of display parameters
- G09G2320/0626—Adjustment of display parameters for control of overall brightness
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2360/00—Aspects of the architecture of display systems
- G09G2360/14—Detecting light within display terminals, e.g. using a single or a plurality of photosensors
- G09G2360/144—Detecting light within display terminals, e.g. using a single or a plurality of photosensors the light being ambient light
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2360/00—Aspects of the architecture of display systems
- G09G2360/16—Calculation or use of calculated indices related to luminance levels in display data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/422—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
- H04N21/42202—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS] environmental sensors, e.g. for detecting temperature, luminosity, pressure, earthquakes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/485—End-user interface for client configuration
- H04N21/4854—End-user interface for client configuration for modifying image parameters, e.g. image brightness, contrast
Definitions
- the present invention relates to the field of computer technologies, and in particular, to an interface adjustment method, apparatus, and terminal. Background technique
- smart TV has increasingly become one of the smart terminals widely used in the home.
- some smart TVs can adjust the interface of their display by sensing the strength of light.
- the interface adjustment methods adopted by these smart TVs mainly include: First, setting a light sensor on the smart TV, and using the light sensor to collect the current light intensity; Second, the light sensor reports the current light intensity collected to the total control of the smart TV.
- Module the master control module selects the system interface to be displayed according to the current light intensity. For example, the smart TV pre-stores three types of system interfaces. If the current light intensity is low and belongs to the night light intensity, the total control module selects darker. A type interface is used as a system interface to be displayed; third, the master control module notifies the display module to display the darker type interface.
- the above interface adjustment method can only be applied to a smart television including a light sensor. In other words, there are no light sensors on many smart TVs, and the above interface adjustment methods cannot be used. Summary of the invention
- the embodiment of the invention provides an interface adjustment method, device and terminal.
- the technical solution is as follows:
- an interface adjustment method includes: Collect the current image;
- the analyzing the current ambient brightness according to the current image specifically includes: determining a current ambient brightness according to brightness of a part or all of the pixels in the current image. Further, the analyzing the current ambient brightness according to the current image specifically includes: calculating a brightness average value of all the pixel points in the current image, and using the brightness average value as the current ambient brightness.
- the analyzing the current ambient brightness according to the current image specifically includes: extracting a local area or extracting a sample pixel point in the current image;
- the average value of the extracted partial area or the brightness of the sample pixel is calculated, and the brightness average value is taken as the current ambient brightness.
- the displaying, according to the current ambient brightness adjustment interface specifically includes: selecting, according to a current ambient brightness and a preset relationship, a set of interfaces as at least two sets of interfaces to be displayed, the pre-predetermined Let the relationship be the corresponding relationship between the brightness interval to which the current ambient brightness belongs and the interface.
- the interface includes one or more of a background pattern, a background brightness, a background color contrast, and a background color saturation.
- an interface adjustment apparatus comprising:
- An image acquisition module configured to acquire a current image
- a brightness analysis module configured to analyze a current ambient brightness according to the current image collected by the image acquisition module
- the interface adjustment module is configured to display the current ambient brightness adjustment interface according to the brightness analysis module.
- the brightness analysis module is specifically configured to:
- the current ambient brightness is determined according to the brightness of some or all of the pixels in the current image. Further, the brightness analysis module is specifically configured to calculate a brightness average value of all the pixels in the current image, and use the brightness average value as the current ambient brightness.
- the brightness analysis module specifically includes:
- the sampling unit is configured to extract a local area or extract a sample pixel in the current image Point
- the calculating unit is configured to calculate a brightness average value of the local area or the sample pixel extracted by the sampling unit, and use the brightness average value as the current ambient brightness.
- the interface adjustment module is specifically configured to select, according to the current ambient brightness and the preset relationship, a set of interfaces as the interface to be displayed in the preset at least two sets of interfaces, where the preset relationship is the current ambient brightness The correspondence between the brightness interval and the interface.
- the interface adjusted by the interface adjustment module includes one or more of a background pattern, a background brightness, a background color contrast, and a background color saturation.
- a terminal including an interface adjustment device as provided in another aspect.
- the existing interface adjustment method can only be used on the smart TV including the light sensor, and the image is achieved as long as it has an image.
- the terminal of the acquisition function can realize the effect of the interface adjustment by sensing the light.
- FIG. 1 is a flowchart of a method for adjusting an interface according to Embodiment 1 of the present invention
- Embodiment 2 is a flowchart of a method for adjusting an interface provided by Embodiment 2 of the present invention
- FIG. 3 is a schematic structural diagram of an interface adjusting apparatus according to Embodiment 3 of the present invention.
- FIG. 4 is a schematic structural diagram of an interface adjusting apparatus according to Embodiment 4 of the present invention.
- FIG. 5 is a schematic structural diagram of a terminal according to Embodiment 5 of the present invention. detailed description
- FIG. 1 is a flowchart of a method for adjusting an interface provided by Embodiment 1 of the present invention.
- the interface adjustment method can be used in a terminal including an image capture device such as a camera, which can be a smart TV, a smartphone or a tablet, or the like.
- the interface adjustment method includes: Step 102: Acquire a current image.
- the camera in the terminal can capture the current image at the current time and the current environment, for example, the front camera of the smart TV captures the current image of the environment before the TV screen.
- the camera can be either a built-in camera or an external camera.
- Step 104 Analyze the current ambient brightness according to the current image.
- the terminal can analyze the current ambient brightness according to the current image collected by the camera.
- Step 106 Adjust the display of the interface according to the current ambient brightness.
- the terminal can select and display in a preset number of interfaces. For example, the terminal is pre-configured with three sets of interfaces, namely a highlight interface, a normal interface, and a soft interface. If the terminal analyzes that the current environment is dark, the soft interface can be selected as the interface to be displayed.
- the interface adjustment method provided by the embodiment of the present invention obtains the current ambient brightness by using the current image, and analyzes the current image, thereby implementing interface adjustment, and solving the existing interface adjustment method can only be used for inclusion.
- the problem on the smart TV with the light sensor achieves the effect that the terminal with the image acquisition function can realize the light to realize the interface adjustment.
- the interface adjustment method can be used in a terminal including an image pickup device such as a camera, which can be a smart TV, a smartphone or a tablet, or the like.
- the interface adjustment method includes: Step 202: Acquire a current image.
- the camera in the terminal can capture the current image at the current time and the current environment, for example, the front camera of the smart TV captures the current image of the environment before the TV screen.
- the camera can be either a built-in camera or an external camera.
- the terminal can collect the current image once every predetermined time interval, and the predetermined time interval can be set by the user or the system defaults.
- Step 204 Analyze the current ambient brightness according to the current image.
- the terminal can analyze the current ambient brightness according to the current image collected by the camera. Specifically, the terminal may determine the current ambient brightness according to the brightness of some or all of the pixels in the current image. For example, the brightness average value or the total brightness value of some or all of the pixels may be used as the current ambient brightness. Specifically, the present step can be implemented by using any one of the following three analysis methods: First, the average value of the brightness of all the pixels in the current image is calculated, and the average value of the brightness is taken as the current ambient brightness.
- the local area is extracted in the current image; the average value of the brightness of the extracted local area is calculated, and the average value of the brightness is taken as the current ambient brightness.
- the terminal may also uniformly extract a plurality of local regions in the current image for calculation. For example, the terminal extracts a plurality of pixels of 16 pixels*16 pixels from the current image for calculation.
- the sample pixel points are extracted in the current image; the average brightness value of the extracted sample pixel points is calculated, and the brightness average value is taken as the current ambient brightness.
- the image size collected by the camera is 640 pixels * 480 pixels
- the terminal is in the column direction, and one line is extracted every three lines as a sample line; then, every three pixel points in each sample line, one sample pixel point is extracted; Finally, the average value of the brightness of the extracted sample pixels is calculated, and the average value of the brightness is taken as the current ambient brightness.
- Step 206 Select, according to the current ambient brightness and the preset relationship, a set of interfaces in the preset at least two sets of interfaces as the interface to be displayed, and the preset relationship is a correspondence between the brightness interval of the current ambient brightness and the interface. .
- the terminal may pre-store at least two sets of interfaces, for example, three sets of interfaces, respectively, a highlight interface, a normal interface, and a soft interface; at the same time, the terminal may pre-store the correspondence between the brightness interval of the current ambient brightness and the interface as a pre-correlation Set the relationship, for example, when the current ambient brightness belongs to the brightness interval [0 ⁇ 64], corresponding to the highlighted interface; when the current ambient brightness belongs to the brightness interval [65 ⁇ 128], it corresponds to the normal interface; the current ambient brightness belongs to the brightness interval [129 ⁇ 255] ], corresponding to the soft interface.
- a set of interfaces is selected as the interface to be displayed in the preset at least two sets of interfaces. For example, the end The end calculation calculates that the current ambient brightness is 202. According to the preset relationship, the soft interface is selected as the interface to be displayed.
- the interface can be either a system interface or an application interface.
- the interface may include one or more of a background pattern, background brightness, background color contrast, and background color saturation.
- all three steps of the embodiment may be implemented by the system; or may be implemented by the application; the first two steps may be implemented by the system, and the latter step is performed by the application.
- the program is implemented.
- both the system interface and the application interface can sense the light to adjust the display of the interface.
- the interface adjustment method provided by the embodiment of the present invention obtains the current ambient brightness by using the current image, and analyzes the current image, thereby implementing interface adjustment, and solving the existing interface adjustment method can only be used for inclusion.
- the problem on the smart TV with the light sensor achieves the effect that the terminal with the image acquisition function can realize the light to realize the interface adjustment.
- the amount of calculation can be reduced, and the effect of the interface adjustment display can be completed more quickly.
- FIG. 3 is a structural block diagram of an interface adjusting apparatus according to Embodiment 3 of the present invention.
- the interface adjusting device can be implemented as part of a terminal including an image capturing device such as a camera, which can be a smart TV, a smartphone or a tablet, or the like.
- the interface adjustment device includes: an image acquisition module 320, a brightness analysis module 340, and an interface adjustment module 360.
- An image acquisition module 320 configured to acquire a current image
- the brightness analysis module 340 is configured to analyze the current ambient brightness according to the current image collected by the image acquisition module 320.
- the interface adjustment module 360 is configured to perform display according to the current ambient brightness adjustment interface analyzed by the brightness analysis module 340.
- the interface adjustment apparatus obtaineds the current ambient brightness by using the current image, and analyzes the current image, thereby implementing interface adjustment, and solving the existing interface adjustment method can only be used for inclusion.
- the problem on the smart TV with the light sensor achieves the effect that the terminal with the image acquisition function can realize the light to realize the interface adjustment.
- Embodiment 4 Please refer to FIG. 4, which is a structural block diagram of an interface adjusting apparatus according to Embodiment 4 of the present invention.
- the interface adjustment device can be implemented as part of a terminal including an image capture device such as a camera, which can be a smart TV, a smartphone or a tablet, or the like.
- the interface adjustment device includes: an image acquisition module 320, a brightness analysis module 340, and an interface adjustment module 360.
- the image acquisition module 320 is configured to acquire a current image.
- the image acquisition module 320 can acquire a frame of the current image at predetermined time intervals.
- the brightness analysis module 340 is configured to analyze the current ambient brightness according to the current image collected by the image acquisition module 320.
- the brightness analysis module 340 is specifically configured to: determine a current ambient brightness according to a brightness of a portion or all pixels in the current image.
- the brightness analysis module 340 may be specifically configured to calculate an average value of brightness of all the pixels in the current image, and use the average value of the brightness as the current ambient brightness.
- the brightness analysis module 340 can include: a sampling unit 342 and a computing unit 344.
- the sampling unit 342 is configured to extract a local area or extract a sample pixel point in the current image collected by the image acquisition module 320;
- the calculating unit 344 is configured to calculate a brightness average value of the local area or the sample pixel extracted by the sampling unit 342, and use the brightness average value as the current ambient brightness.
- the interface adjustment module 360 is configured to perform display according to the current ambient brightness adjustment interface analyzed by the brightness analysis module 340. Specifically, the interface adjustment module 360 is specifically configured to select, according to the current ambient brightness and the preset relationship, a set of interfaces as the interface to be displayed in the preset at least two sets of interfaces, where the preset relationship is the current environment. A one-to-one correspondence between the brightness interval to which the brightness belongs and the interface.
- the interface adjusted by the interface adjustment module 360 includes one or more of a background pattern, a background brightness, a background color contrast, and a background color saturation.
- the interface adjustment apparatus obtained by the embodiment of the present invention obtains the current ambient brightness by using the current image, and analyzes the current image, thereby implementing interface adjustment, and solving the existing interface adjustment method can only be used for inclusion.
- the problem on the smart TV with the light sensor achieves the effect that the terminal with the image acquisition function can realize the light to realize the interface adjustment.
- the amount of calculation can be reduced, and the effect of the interface adjustment display can be completed more quickly.
- the terminal 700 may include an RF (Radio Frequency) circuit 110, a memory 120 including one or more computer readable storage media, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, and a WiFi ( A wireless fidelity module 170, a processor 180 including one or more processing cores, and a power supply 190 and the like.
- RF Radio Frequency
- the terminal structure illustrated in Figure 5 does not constitute a limitation to the terminal, and may include more or fewer components than those illustrated, or some components may be combined, or different component arrangements. among them:
- the RF circuit 110 can be used for receiving and transmitting signals during the transmission or reception of information or during a call. Specifically, after receiving the downlink information of the base station, the downlink information is processed by one or more processors 180. In addition, the data related to the uplink is sent to the base station. .
- the RF circuit 110 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier). , duplexer, etc.
- RF circuitry 110 can also communicate with the network and other devices via wireless communication.
- the wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access). , Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), and so on.
- GSM Global System of Mobile communication
- GPRS General Packet Radio Service
- CDMA Code Division Multiple Access
- WCDMA Wideband Code Division Multiple Access
- LTE Long Term Evolution
- e-mail Short Messaging Service
- the memory 120 can be used to store software programs and modules, and the processor 180 executes various functional applications and data processing by running software programs and modules stored in the memory 120.
- the memory 120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to The data created by the use of the terminal 700 (such as audio data, phone book, etc.) and the like.
- memory 120 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
- memory 120 may also include a memory controller to provide access to memory 120 by processor 180 and input unit 130.
- the input unit 130 can be configured to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
- input unit 130 can include touch-sensitive surface 131 as well as other input devices 132.
- Touch-sensitive surface 131 also referred to as a touch display or trackpad, can collect touch operations on or near the user (such as a user using a finger, stylus, etc., on any suitable object or accessory on touch-sensitive surface 131 or The operation near the touch-sensitive surface 131) and driving the corresponding connecting device according to a preset program.
- the touch-sensitive surface 131 may include two parts of a touch detection device and a touch controller.
- the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller;
- the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information
- the processor 180 is provided and can receive commands from the processor 180 and execute them.
- the touch-sensitive surface 131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
- the input unit 130 can also include other input devices 132.
- other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
- Display unit 140 can be used to display information entered by the user or information provided to the user and various graphical user interfaces of terminal 700, which can be constructed from graphics, text, icons, video, and any combination thereof.
- the display unit 140 may include a display panel 141.
- the display panel 141 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
- the touch-sensitive surface 131 may cover the display panel 141, and when the touch-sensitive surface 131 detects a touch operation thereon or nearby, it is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 according to the touch event The type provides a corresponding visual output on display panel 141.
- touch-sensitive surface 131 and display panel 141 are implemented as two separate components to implement input and input functions, in some embodiments, touch-sensitive surface 131 can be integrated with display panel 141 for input. And output function.
- Terminal 700 can also include at least one type of sensor 150, such as a light sensor, motion sensor, and other sensors.
- the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 141 according to the brightness of the ambient light, and the proximity sensor may close the display panel 141 when the terminal 700 moves to the ear. / or backlight.
- the gravity acceleration sensor can detect the acceleration of each direction (usually three axes), and the magnitude and direction of gravity can be detected at rest. It can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.
- Other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like, which are also configurable in the terminal 700, will not be described herein.
- the audio circuit 160, the speaker 161, and the microphone 162 provide an audio interface between the user and the terminal 700.
- the audio circuit 160 can transmit the converted electrical data of the received audio data to the speaker 161 for conversion to the sound signal output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal, by the audio circuit 160. After receiving, it is converted into audio data, and then processed by the audio data output processor 180, transmitted to the terminal, for example, by the RF circuit 110, or outputted to the memory 120 for further processing.
- the audio circuit 160 may also include an earbud jack to provide communication of the peripheral earphones with the terminal 700.
- WiFi is a short-range wireless transmission technology
- the terminal 700 can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 170, which provides users with wireless broadband Internet access.
- FIG. 5 shows the WiFi module 170, it will be understood that it does not belong to the essential configuration of the terminal 700, and may be omitted as needed within the scope of not changing the essence of the invention.
- the processor 180 is a control center of the terminal 700 that connects various portions of the entire handset using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 120, and recalling data stored in the memory 120, The various functions and processing data of the terminal 700 are performed to perform overall monitoring of the mobile phone.
- the processor 180 may include one or more processing cores.
- the processor 180 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
- the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 180.
- the terminal 700 also includes a power source 190 (such as a battery) for powering various components.
- a power source 190 such as a battery
- the power source can be logically coupled to the processor 180 through a power management system to manage functions such as charging, discharging, and power management through the power management system.
- Power supply 190 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
- the terminal 700 may further include a camera, a Bluetooth module, and the like, and details are not described herein.
- the display unit of the terminal 700 is a touch screen display
- the terminal 700 further includes a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to be one or one
- the above processor executes one or more programs that include instructions for performing the following operations:
- the analyzing the current ambient brightness according to the current image specifically includes: determining a current ambient brightness according to brightness of a part or all of the pixels in the current image. Further, the analyzing the current ambient brightness according to the current image specifically includes: calculating a brightness average value of all the pixel points in the current image, and using the brightness average value as the current ambient brightness.
- the analyzing the current ambient brightness according to the current image specifically includes: extracting a local area or extracting a sample pixel point in the current image;
- the average value of the extracted partial area or the brightness of the sample pixel is calculated, and the brightness average value is taken as the current ambient brightness.
- the displaying, according to the current ambient brightness adjustment interface specifically includes: selecting, according to a current ambient brightness and a preset relationship, a set of interfaces as at least two sets of interfaces to be displayed, the pre-predetermined Let the relationship be the corresponding relationship between the brightness interval to which the current ambient brightness belongs and the interface.
- the interface includes one or more of a background pattern, a background brightness, a background color contrast, and a background color saturation.
- the terminal provided by the embodiment of the present invention obtains the current ambient brightness by using the current image and analyzing the current image, thereby implementing the interface adjustment, and solving the existing interface adjustment method can only be used to include the light.
- the problem on the smart TV of the sensor achieves the effect that the terminal with the image acquisition function can realize the light to realize the interface adjustment.
- a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
- the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.
- the above is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., which are within the spirit and scope of the present invention, should be included in the protection of the present invention. Within the scope.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Controls And Circuits For Display Device (AREA)
- Television Receiver Circuits (AREA)
Abstract
本发明公开了一种界面调整方法、装置及终端,属于计算机技术领域。所述方法包括:采集当前图像;根据所述当前图像分析当前环境亮度;根据所述当前环境亮度调整界面的显示。本发明通过采用采集当前图像,并对当前图像进行分析来获得当前环境亮度,进而实现界面调整,解决了现有界面调整方法只能用于包含有光线传感器的智能电视上的问题,达到了只要具有图像采集功能的终端都可以实现感知光线来实现界面调整的效果。
Description
本申请要求于 2012 年 12 月 6 日提交中国专利局、 申请号为 201210519755.3、 发明名称为 "界面调整方法、 装置及终端" 的中国专利申请 的优先权, 其全部内容通过引用结合在本申请中。 技术领域
本发明涉及计算机技术领域, 特别涉及一种界面调整方法、 装置及终端。 背景技术
随着智能电视技术的发展, 智能电视越来越成为家庭中广泛使用的智能终 端之一。
目前, 已有一部分智能电视可以通过感知光线的强弱来调节自身显示的界 面。 这些智能电视采用的界面调整方法, 主要包括: 第一, 在智能电视上设置 光线传感器, 利用光线传感器采集当前光线强度; 第二, 光线传感器将采集到 的当前光线强度上报给智能电视的总控模块, 总控模块根据当前光线强度选择 将要显示的系统界面, 比如, 智能电视预先存储有 3种类型的系统界面, 假设 当前光线强度较低, 属于夜晚光照强度, 则总控模块选择较暗的一类型界面作 为将要显示的系统界面; 第三, 总控模块通知显示模块显示该较暗的一类型界 面。
在实现本发明的过程中, 发明人发现现有技术至少存在以下问题: 上述界 面调整方法只能用于包含有光线传感器的智能电视上。 换句话说, 很多智能电 视上并没有光线传感器, 无法使用上述界面调整方法。 发明内容
为了解决现有界面调整方法只能用于包含有光线传感器的智能电视上的 问题, 本发明实施例提供了一种界面调整方法、 装置及终端。 所述技术方案如 下:
一个方面, 提供了一种界面调整方法, 所述方法包括:
采集当前图像;
根据所述当前图像分析当前环境亮度;
根据所述当前环境亮度调整界面的显示。
进一步地, 所述根据所述当前图像分析当前环境亮度, 具体包括: 根据所述当前图像中的部分或所有像素点的亮度, 确定当前环境亮度。 进一步地, 所述根据所述当前图像分析当前环境亮度, 具体包括: 计算所述当前图像中的所有像素点的亮度平均值, 并将所述亮度平均值作 为当前环境亮度。
进一步地, 所述根据所述当前图像分析当前环境亮度, 具体包括: 在所述当前图像中抽取局部区域或者抽取样本像素点;
计算抽取出的局部区域或者样本像素点的亮度平均值, 并将所述亮度平均 值作为当前环境亮度。
进一步地, 所述根据所述当前环境亮度调整界面的显示, 具体包括: 根据当前环境亮度和预设关系,在预设的至少两套界面中选择一套界面作 为将要显示的界面, 所述预设关系为当前环境亮度所属亮度区间与所述界面之 间的——对应关系。
进一步地, 所述界面包括背景图案、 背景亮度、 背景颜色对比度和背景颜 色饱和度中的一种或者多种。
另一方面, 提供了一种界面调整装置, 所述装置包括:
图像采集模块, 用于采集当前图像;
亮度分析模块, 用于根据所述图像采集模块采集到的当前图像分析当前环 境亮度;
界面调整模块, 用于根据所述亮度分析模块分析到的所述当前环境亮度调 整界面的显示。
进一步地, 所述亮度分析模块, 具体用于:
根据所述当前图像中的部分或所有像素点的亮度, 确定当前环境亮度。 进一步地, 所述亮度分析模块, 具体用于计算所述当前图像中的所有像素 点的亮度平均值, 并将所述亮度平均值作为当前环境亮度。
进一步地, 所述亮度分析模块, 具体包括:
抽样单元和计算单元;
所述抽样单元, 用于在所述当前图像中抽取局部区域或者抽取样本像素
点;
所述计算单元, 用于计算所述抽样单元抽取出的局部区域或者样本像素点 的亮度平均值, 并将所述亮度平均值作为当前环境亮度。
进一步地, 所述界面调整模块, 具体用于根据当前环境亮度和预设关系, 在预设的至少两套界面中选择一套界面作为将要显示的界面, 所述预设关系为 当前环境亮度所属亮度区间与所述界面之间的——对应关系。
进一步地, 所述界面调整模块调整的界面包括背景图案、 背景亮度、 背景 颜色对比度和背景颜色饱和度中的一种或者多种。
再一方面, 提供了一种终端, 包括如另一方面中所提供的界面调整装置。 本发明实施例提供的技术方案带来的有益效果是:
通过采用采集当前图像, 并对当前图像进行分析来获得当前环境亮度, 进 而实现界面调整, 解决了现有界面调整方法只能用于包含有光线传感器的智能 电视上的问题, 达到了只要具有图像采集功能的终端都可以实现感知光线来实 现界面调整的效果。 附图说明
为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例描述中所 需要使用的附图作筒单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明 的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。
图 1是本发明实施例一提供的界面调整方法的方法流程图;
图 2是本发明实施例二提供的界面调整方法的方法流程图;
图 3是本发明实施例三提供的界面调整装置的结构示意图;
图 4是本发明实施例四提供的界面调整装置的结构示意图;
图 5是本发明实施例五提供的终端的结构示意图。 具体实施方式
为使本发明的目的、 技术方案和优点更加清楚, 下面将结合附图对本发明 实施方式作进一步地详细描述。
实施例一
请参考图 1 ,其示出了本发明实施例一提供的界面调整方法的方法流程图。
该界面调整方法可以用于包含有诸如摄像头之类的图像采集设备的终端中, 该 终端可以是智能电视、 智能手机或者平板电脑等等。 该界面调整方法, 包括: 步骤 102, 采集当前图像。
终端中的摄像头可以采集处于当前时间、当前所处环境的当前图像,比如, 智能电视的前置摄像头采集电视屏幕之前环境的当前图像。该摄像头可以是内 置摄像头, 也可以是外接摄像头。
步骤 104, 根据当前图像分析当前环境亮度。
终端可以根据摄像头采集到的当前图像分析当前环境亮度。
步骤 106, 根据当前环境亮度调整界面的显示。
终端在分析到当前环境亮度之后, 可以在预设的几套界面中进行选择显 示。 比如, 终端预设有三套界面, 分别为高亮界面、 常规界面和柔和界面, 假 设终端分析到当前环境亮度偏暗, 则可以选择柔和界面作为将要显示的界面。
综上所述, 本发明实施例提供的界面调整方法, 通过采用采集当前图像, 并对当前图像进行分析来获得当前环境亮度, 进而实现界面调整, 解决了现有 界面调整方法只能用于包含有光线传感器的智能电视上的问题, 达到了只要具 有图像采集功能的终端都可以实现感知光线来实现界面调整的效果。 实施例二
请参考图 2,其示出了本发明实施例二提供的界面调整方法的方法流程图。 该界面调整方法可以用于包含有诸如摄像头之类的图像采集设备的终端中, 该 终端可以是智能电视、 智能手机或者平板电脑等等。 该界面调整方法, 包括: 步骤 202, 采集当前图像。
终端中的摄像头可以采集处于当前时间、当前所处环境的当前图像,比如, 智能电视的前置摄像头采集电视屏幕之前环境的当前图像。该摄像头可以是内 置摄像头, 也可以是外接摄像头。
同时, 终端可以每隔预定时间间隔就采集一次当前图像, 预定时间间隔可 以由用户设定或者系统默认。
步骤 204, 根据当前图像分析当前环境亮度。
终端可以根据摄像头采集到的当前图像分析当前环境亮度。 具体的, 终端 可以根据当前图像中的部分或所有像素点的亮度, 确定当前环境亮度, 例如, 可以将部分或所有像素点的亮度平均值或亮度总值作为当前环境亮度。
具体地讲, 可以采用如下三种分析方法中的任一种来实现本步骤: 第一, 计算当前图像中的所有像素点的亮度平均值, 并将亮度平均值作为 当前环境亮度。
比如, 摄像头采集到的图像尺寸为 640 像素 *480 像素, 则终端先将 640*480=307200个像素点的亮度数据进行累加, 然后再除以 307200得到亮度 平均值, 并将该亮度平均值作为当前环境亮度, 该亮度平均值的取值范围通常 为 ( 0, 255 )。
第二,在当前图像中抽取局部区域;计算抽取出的局部区域的亮度平均值, 并将亮度平均值作为当前环境亮度。
比如,摄像头采集到的图像尺寸为 640像素 *480像素, 则终端先抽取位于 中心区域的 320*240个像素点所处区域作为局部区域, 然后终端将 320*240= 76800个像素点的亮度数据进行累加, 然后再除以 76800得到亮度平均值, 并 将该亮度平均值作为当前环境亮度,该亮度平均值的取值范围通常为( 0, 255 )。
当然, 终端也可以在当前图像中均匀地抽取多个局部区域来计算, 比如, 终端从当前图像中均勾地抽取多个 16像素 *16像素的像素点来进行计算。
第三, 在当前图像中抽取样本像素点; 计算抽取出的样本像素点的亮度平 均值, 并将亮度平均值作为当前环境亮度。
比如, 摄像头采集到的图像尺寸为 640像素 *480像素, 终端在列方向, 每 隔 3行抽取一行作为样本行; 然后在每一个样本行中每隔 3个像素点, 抽取一 个样本像素点; 最后计算抽取出的样本像素点的亮度平均值, 并将亮度平均值 作为当前环境亮度。
步骤 206, 根据当前环境亮度和预设关系, 在预设的至少两套界面中选择 一套界面作为将要显示的界面,预设关系为当前环境亮度所属亮度区间与界面 之间的——对应关系。
终端可以预先存储至少两套界面, 比如三套界面, 分别为高亮界面、 常规 界面和柔和界面; 同时, 终端还可以预先存储当前环境亮度所属亮度区间与界 面之间的——对应关系作为预设关系,比如,当前环境亮度属于亮度区间 [0~64] 时, 对应高亮界面; 当前环境亮度属于亮度区间 [65~128]时, 对应常规界面; 当前环境亮度属于亮度区间 [129~255]时, 对应柔和界面。
当终端在上一步骤计算得到当前环境亮度之后,根据当前环境亮度和预设 关系, 在预设的至少两套界面中选择一套界面作为将要显示的界面。 比如, 终
端计算得到当前环境亮度为 202, 根据预设关系可知, 选择柔和界面作为将要 显示的界面。
界面可以是系统界面,也可以是应用程序的界面。界面可以包括背景图案、 背景亮度、 背景颜色对比度和背景颜色饱和度中的一种或者多种。
需要补充说明的是, 具体实现时, 本实施例全部三个步骤可以全部由系统 来实现; 也可以全部由应用程序来实现; 还可以将前两个步骤由系统来实现, 后一个步骤由应用程序来实现。 最终使得不论是系统界面还是应用程序界面, 都能够感知光线来调整界面的显示。
综上所述, 本发明实施例提供的界面调整方法, 通过采用采集当前图像, 并对当前图像进行分析来获得当前环境亮度, 进而实现界面调整, 解决了现有 界面调整方法只能用于包含有光线传感器的智能电视上的问题, 达到了只要具 有图像采集功能的终端都可以实现感知光线来实现界面调整的效果。 另外, 通 过抽样局部区域或者样本像素点来计算亮度数据, 可以减少计算量, 达到更快 速地完成界面调整显示的效果。 实施例三
请参考图 3 ,其示出了本发明实施例三提供的界面调整装置的结构方框图。 该界面调整装置可以实现成为包含有诸如摄像头之类的图像采集设备的终端 中的一部分, 该终端可以是智能电视、 智能手机或者平板电脑等等。 该界面调 整装置, 包括: 图像采集模块 320、 亮度分析模块 340和界面调整模块 360。
图像采集模块 320, 用于采集当前图像;
亮度分析模块 340, 用于根据所述图像采集模块 320采集到的当前图像分 析当前环境亮度;
界面调整模块 360, 用于根据所述亮度分析模块 340分析到的所述当前环 境亮度调整界面的显示。
综上所述, 本发明实施例提供的界面调整装置, 通过采用采集当前图像, 并对当前图像进行分析来获得当前环境亮度, 进而实现界面调整, 解决了现有 界面调整方法只能用于包含有光线传感器的智能电视上的问题, 达到了只要具 有图像采集功能的终端都可以实现感知光线来实现界面调整的效果。 实施例四
请参考图 4,其示出了本发明实施例四提供的界面调整装置的结构方框图。 该界面调整装置可以实现成为包含有诸如摄像头之类的图像采集设备的终端 中的一部分, 该终端可以是智能电视、 智能手机或者平板电脑等等。 该界面调 整装置, 包括: 图像采集模块 320、 亮度分析模块 340和界面调整模块 360。
图像采集模块 320, 用于采集当前图像。 具体地讲, 图像采集模块 320可 以每隔预定时间间隔采集一帧当前图像。
亮度分析模块 340, 用于根据所述图像采集模块 320采集到的当前图像分 析当前环境亮度。
进一步的, 所述亮度分析模块 340, 具体用于: 根据所述当前图像中的部 分或所有像素点的亮度, 确定当前环境亮度。
具体地讲, 一种实现方式下, 亮度分析模块 340可以具体用于计算所述当 前图像中的所有像素点的亮度平均值, 并将所述亮度平均值作为当前环境亮 度。 作为另一种实现方式, 亮度分析模块 340可以包括: 抽样单元 342和计算 单元 344。
所述抽样单元 342, 用于在所述图像采集模块 320采集到的当前图像中抽 取局部区域或者抽取样本像素点;
所述计算单元 344, 用于计算所述抽样单元 342抽取出的局部区域或者样 本像素点的亮度平均值, 并将所述亮度平均值作为当前环境亮度。
界面调整模块 360, 用于根据所述亮度分析模块 340分析到的所述当前环 境亮度调整界面的显示。 具体地讲, 所述界面调整模块 360, 具体用于根据当 前环境亮度和预设关系, 在预设的至少两套界面中选择一套界面作为将要显示 的界面, 所述预设关系为当前环境亮度所属亮度区间与所述界面之间的一一对 应关系。
所述界面调整模块 360调整的界面包括背景图案、 背景亮度、 背景颜色对 比度和背景颜色饱和度中的一种或者多种。
综上所述, 本发明实施例提供的界面调整装置, 通过采用采集当前图像, 并对当前图像进行分析来获得当前环境亮度, 进而实现界面调整, 解决了现有 界面调整方法只能用于包含有光线传感器的智能电视上的问题, 达到了只要具 有图像采集功能的终端都可以实现感知光线来实现界面调整的效果。 另外, 通 过抽样局部区域或者样本像素点来计算亮度数据, 可以减少计算量, 达到更快 速地完成界面调整显示的效果。
实施例五
请参考图 5 , 其示出了本发明实施例所涉及的具有触敏表面的终端结构示 意图, 该终端可以用于实施上述实施例中提供的滑动控制方法。 具体来讲: 终端 700可以包括 RF ( Radio Frequency, 射频 ) 电路 110、 包括有一个或 一个以上计算机可读存储介质的存储器 120、输入单元 130、 显示单元 140、传 感器 150、 音频电路 160、 WiFi(wireless fidelity, 无线保真)模块 170、 包括有 一个或者一个以上处理核心的处理器 180、 以及电源 190等部件。 本领域技术 人员可以理解, 图 5中示出的终端结构并不构成对终端的限定, 可以包括比图 示更多或更少的部件, 或者组合某些部件, 或者不同的部件布置。 其中:
RF电路 110可用于收发信息或通话过程中, 信号的接收和发送, 特别地, 将基站的下行信息接收后, 交由一个或者一个以上处理器 180处理; 另外, 将 涉及上行的数据发送给基站。 通常, RF电路 110包括但不限于天线、 至少一 个放大器、 调谐器、 一个或多个振荡器、 用户身份模块(SIM )卡、 收发信机、 耦合器、 LNA ( Low Noise Amplifier, 低噪声放大器)、 双工器等。 此外, RF 电路 110还可以通过无线通信与网络和其他设备通信。 所述无线通信可以使用 任一通信标准或协议, 包括但不限于 GSM(Global System of Mobile communication, 全球移动通讯系统)、 GPRS (General Packet Radio Service , 通 用分组无线服务)、 CDMA(Code Division Multiple Access , 码分多址)、 WCDMA(Wideband Code Division Multiple Access, 宽带码分多址)、 LTE(Long Term Evolution,长期演进)、 电子邮件、 SMS (Short Messaging Service, 短消息服 务)等。
存储器 120可用于存储软件程序以及模块, 处理器 180通过运行存储在存 储器 120的软件程序以及模块, 从而执行各种功能应用以及数据处理。 存储器 120可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、 至少一个功能所需的应用程序(比如声音播放功能、 图像播放功能等)等; 存 储数据区可存储根据终端 700的使用所创建的数据(比如音频数据、电话本等 ) 等。 此外, 存储器 120可以包括高速随机存取存储器, 还可以包括非易失性存 储器, 例如至少一个磁盘存储器件、 闪存器件、 或其他易失性固态存储器件。 相应地, 存储器 120还可以包括存储器控制器, 以提供处理器 180和输入单元 130对存储器 120的访问。
输入单元 130可用于接收输入的数字或字符信息, 以及产生与用户设置以 及功能控制有关的键盘、 鼠标、 操作杆、 光学或者轨迹球信号输入。 具体地, 输入单元 130可包括触敏表面 131以及其他输入设备 132。 触敏表面 131 , 也 称为触摸显示屏或者触控板, 可收集用户在其上或附近的触摸操作(比如用户 使用手指、 触笔等任何适合的物体或附件在触敏表面 131上或在触敏表面 131 附近的操作), 并根据预先设定的程式驱动相应的连接装置。 可选的, 触敏表 面 131可包括触摸检测装置和触摸控制器两个部分。 其中, 触摸检测装置检测 用户的触摸方位, 并检测触摸操作带来的信号, 将信号传送给触摸控制器; 触 摸控制器从触摸检测装置上接收触摸信息, 并将它转换成触点坐标, 再送给处 理器 180, 并能接收处理器 180发来的命令并加以执行。 此外, 可以采用电阻 式、 电容式、 红外线以及表面声波等多种类型实现触敏表面 131。 除了触敏表 面 131 , 输入单元 130还可以包括其他输入设备 132。 具体地, 其他输入设备 132可以包括但不限于物理键盘、 功能键(比如音量控制按键、 开关按键等)、 轨迹球、 鼠标、 操作杆等中的一种或多种。
显示单元 140可用于显示由用户输入的信息或提供给用户的信息以及终端 700的各种图形用户接口, 这些图形用户接口可以由图形、 文本、 图标、 视频 和其任意组合来构成。 显示单元 140可包括显示面板 141 , 可选的, 可以采用 LCD(Liquid Crystal Display, 液晶显示器)、 OLED(Organic Light-Emitting Diode, 有机发光二极管)等形式来配置显示面板 141。 进一步的, 触敏表面 131可覆盖 显示面板 141 , 当触敏表面 131检测到在其上或附近的触摸操作后, 传送给处 理器 180以确定触摸事件的类型, 随后处理器 180根据触摸事件的类型在显示 面板 141上提供相应的视觉输出。虽然在图 5中,触敏表面 131与显示面板 141 是作为两个独立的部件来实现输入和输入功能, 但是在某些实施例中, 可以将 触敏表面 131与显示面板 141集成而实现输入和输出功能。
终端 700还可包括至少一种传感器 150, 比如光传感器、 运动传感器以及 其他传感器。 具体地, 光传感器可包括环境光传感器及接近传感器, 其中, 环 境光传感器可根据环境光线的明暗来调节显示面板 141的亮度,接近传感器可 在终端 700移动到耳边时, 关闭显示面板 141和 /或背光。作为运动传感器的一 种, 重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小, 静止 时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、 相关游戏、 磁力计姿态校准)、 振动识别相关功能(比如计步器、 敲击)等; 至
于终端 700还可配置的陀螺仪、 气压计、 湿度计、 温度计、 红外线传感器等其 他传感器, 在此不再赘述。
音频电路 160、 扬声器 161 , 传声器 162可提供用户与终端 700之间的音 频接口。 音频电路 160可将接收到的音频数据转换后的电信号, 传输到扬声器 161 , 由扬声器 161转换为声音信号输出; 另一方面, 传声器 162将收集的声 音信号转换为电信号, 由音频电路 160接收后转换为音频数据, 再将音频数据 输出处理器 180处理后, 经 RF电路 110以发送给比如另一终端, 或者将音频 数据输出至存储器 120以便进一步处理。 音频电路 160还可能包括耳塞插孔, 以提供外设耳机与终端 700的通信。
WiFi属于短距离无线传输技术, 终端 700通过 WiFi模块 170可以帮助用 户收发电子邮件、 浏览网页和访问流式媒体等, 它为用户提供了无线的宽带互 联网访问。 虽然图 5示出了 WiFi模块 170, 但是可以理解的是, 其并不属于终 端 700的必须构成, 完全可以根据需要在不改变发明的本质的范围内而省略。
处理器 180是终端 700的控制中心,利用各种接口和线路连接整个手机的 各个部分,通过运行或执行存储在存储器 120内的软件程序和 /或模块, 以及调 用存储在存储器 120内的数据, 执行终端 700的各种功能和处理数据, 从而对 手机进行整体监控。可选的,处理器 180可包括一个或多个处理核心;优选的, 处理器 180可集成应用处理器和调制解调处理器, 其中, 应用处理器主要处理 操作系统、 用户界面和应用程序等, 调制解调处理器主要处理无线通信。 可以 理解的是, 上述调制解调处理器也可以不集成到处理器 180中。
终端 700还包括给各个部件供电的电源 190 (比如电池), 优选的, 电源可 以通过电源管理系统与处理器 180逻辑相连,从而通过电源管理系统实现管理 充电、 放电、 以及功耗管理等功能。 电源 190还可以包括一个或一个以上的直 流或交流电源、 再充电系统、 电源故障检测电路、 电源转换器或者逆变器、 电 源状态指示器等任意组件。
尽管未示出, 终端 700还可以包括摄像头、 蓝牙模块等, 在此不再赘述。 具体在本实施例中, 终端 700的显示单元是触摸屏显示器, 终端 700还包括有 存储器, 以及一个或者一个以上的程序, 其中一个或者一个以上程序存储于存 储器中,且经配置以由一个或者一个以上处理器执行述一个或者一个以上程序 包含用于进行以下操作的指令:
采集当前图像;
根据所述当前图像分析当前环境亮度;
根据所述当前环境亮度调整界面的显示。
进一步地, 所述根据所述当前图像分析当前环境亮度, 具体包括: 根据所述当前图像中的部分或所有像素点的亮度, 确定当前环境亮度。 进一步地, 所述根据所述当前图像分析当前环境亮度, 具体包括: 计算所述当前图像中的所有像素点的亮度平均值, 并将所述亮度平均值作 为当前环境亮度。
进一步地, 所述根据所述当前图像分析当前环境亮度, 具体包括: 在所述当前图像中抽取局部区域或者抽取样本像素点;
计算抽取出的局部区域或者样本像素点的亮度平均值, 并将所述亮度平均 值作为当前环境亮度。
进一步地, 所述根据所述当前环境亮度调整界面的显示, 具体包括: 根据当前环境亮度和预设关系,在预设的至少两套界面中选择一套界面作 为将要显示的界面, 所述预设关系为当前环境亮度所属亮度区间与所述界面之 间的——对应关系。
进一步地, 所述界面包括背景图案、 背景亮度、 背景颜色对比度和背景颜 色饱和度中的一种或者多种。
综上所述, 本发明实施例提供的终端, 通过采用采集当前图像, 并对当前 图像进行分析来获得当前环境亮度, 进而实现界面调整, 解决了现有界面调整 方法只能用于包含有光线传感器的智能电视上的问题, 达到了只要具有图像采 集功能的终端都可以实现感知光线来实现界面调整的效果。 本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通 过硬件来完成, 也可以通过程序来指令相关的硬件完成, 所述的程序可以存储 于一种计算机可读存储介质中, 上述提到的存储介质可以是只读存储器, 磁盘 或光盘等。 以上所述仅为本发明的较佳实施例, 并不用以限制本发明, 凡在本发明的 精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的 保护范围之内。
Claims
1、 一种界面调整方法, 其特征在于, 所述方法包括:
采集当前图像;
根据所述当前图像分析当前环境亮度;
根据所述当前环境亮度调整界面的显示。
2、 根据权利要求 1所述的界面调整方法, 其特征在于, 所述根据所述当前 图像分析当前环境亮度, 具体包括:
根据所述当前图像中的部分或所有像素点的亮度, 确定当前环境亮度。
3、 根据权利要求 1所述的界面调整方法, 其特征在于, 所述根据所述当前 图像分析当前环境亮度, 具体包括:
计算所述当前图像中的所有像素点的亮度平均值, 并将所述亮度平均值作 为当前环境亮度。
4、 根据权利要求 1所述的界面调整方法, 其特征在于, 所述根据所述当前 图像分析当前环境亮度, 具体包括:
在所述当前图像中抽取局部区域或者抽取样本像素点;
计算抽取出的局部区域或者样本像素点的亮度平均值, 并将所述亮度平均 值作为当前环境亮度。
5、 根据权利要求 1至 4任一所述的界面调整方法, 其特征在于, 所述根据 所述当前环境亮度调整界面的显示, 具体包括:
根据当前环境亮度和预设关系, 在预设的至少两套界面中选择一套界面作 为将要显示的界面, 所述预设关系为当前环境亮度所属亮度区间与所述界面之 间的——对应关系。
6、 根据权利要求 5所述的界面调整方法, 其特征在于, 所述界面包括背景 图案、 背景亮度、 背景颜色对比度和背景颜色饱和度中的一种或者多种。
7、 一种界面调整装置, 其特征在于, 所述装置包括:
图像采集模块, 用于采集当前图像;
亮度分析模块, 用于根据所述图像采集模块采集到的当前图像分析当前环 境亮度;
界面调整模块, 用于根据所述亮度分析模块分析到的所述当前环境亮度调 整界面的显示。
8、根据权利要求 7所述的界面调整方法, 其特征在于, 所述亮度分析模块, 具体用于:
根据所述当前图像中的部分或所有像素点的亮度, 确定当前环境亮度。
9、根据权利要求 7所述的界面调整装置, 其特征在于, 所述亮度分析模块, 具体用于计算所述当前图像中的所有像素点的亮度平均值, 并将所述亮度平均 值作为当前环境亮度。
10、 根据权利要求 7所述的界面调整装置, 其特征在于, 所述亮度分析模 块, 具体包括:
抽样单元和计算单元;
所述抽样单元, 用于在所述当前图像中抽取局部区域或者抽取样本像素点; 所述计算单元, 用于计算所述抽样单元抽取出的局部区域或者样本像素点 的亮度平均值, 并将所述亮度平均值作为当前环境亮度。
11、 根据权利要求 7至 10任一所述的界面调整装置, 其特征在于, 所述界 面调整模块, 具体用于根据当前环境亮度和预设关系, 在预设的至少两套界面 中选择一套界面作为将要显示的界面, 所述预设关系为当前环境亮度所属亮度 区间与所述界面之间的——对应关系。
12、 根据权利要求 11所述的界面调整装置, 其特征在于, 所述界面调整模 块调整的界面包括背景图案、 背景亮度、 背景颜色对比度和背景颜色饱和度中 的一种或者多种。
-种终端, 其特征在于, 包括如权利要求 7至 12任一所述的界面调
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US14/733,829 US9697622B2 (en) | 2012-12-06 | 2015-06-08 | Interface adjustment method, apparatus, and terminal |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210519755.3 | 2012-12-06 | ||
CN201210519755.3A CN103856823A (zh) | 2012-12-06 | 2012-12-06 | 界面调整方法、装置及终端 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US14/733,829 Continuation US9697622B2 (en) | 2012-12-06 | 2015-06-08 | Interface adjustment method, apparatus, and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2014086218A1 true WO2014086218A1 (zh) | 2014-06-12 |
Family
ID=50863958
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2013/086489 WO2014086218A1 (zh) | 2012-12-06 | 2013-11-04 | 界面调整方法、装置及终端 |
Country Status (3)
Country | Link |
---|---|
US (1) | US9697622B2 (zh) |
CN (1) | CN103856823A (zh) |
WO (1) | WO2014086218A1 (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105117687A (zh) * | 2015-07-28 | 2015-12-02 | 广东欧珀移动通信有限公司 | 一种智能手表的指纹识别方法及智能手表 |
US10957281B2 (en) | 2016-06-15 | 2021-03-23 | Shenzhen Tcl New Technology Co., Ltd | Photographing method by smart television and system thereof |
Families Citing this family (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104159027B (zh) * | 2014-08-15 | 2019-03-15 | Oppo广东移动通信有限公司 | 一种根据画面变化速度自动拍照的方法及装置 |
CN105988912A (zh) * | 2015-02-03 | 2016-10-05 | 阿里巴巴集团控股有限公司 | 移动设备内展现界面的处理方法和装置 |
CN105404491B (zh) * | 2015-12-04 | 2019-03-15 | Oppo广东移动通信有限公司 | 一种音乐播放界面的控制方法及装置 |
CN105630447B (zh) * | 2015-12-24 | 2019-04-16 | 小米科技有限责任公司 | 调整文字显示的方法及装置 |
CN105808733B (zh) * | 2016-03-10 | 2019-06-21 | 深圳创维-Rgb电子有限公司 | 显示方法及装置 |
CN105741766B (zh) * | 2016-04-25 | 2018-12-11 | 广东欧珀移动通信有限公司 | 一种基于光传感器的显示控制方法、装置及智能终端 |
CN106792057B (zh) * | 2016-12-29 | 2023-02-28 | 厦门厦华科技有限公司 | 一种保护操作者视力的交互式电视系统及亮度控制方法 |
CN106646925A (zh) * | 2017-01-03 | 2017-05-10 | 京东方科技集团股份有限公司 | 一种眼镜 |
CN106952611B (zh) * | 2017-03-14 | 2019-05-10 | Oppo广东移动通信有限公司 | 一种灰阶设置方法及用户终端 |
EP3462374A1 (en) * | 2017-08-18 | 2019-04-03 | Shenzhen Goodix Technology Co., Ltd. | Fingerprint image acquisition method and device, and terminal device |
CN109426522A (zh) * | 2017-08-22 | 2019-03-05 | 阿里巴巴集团控股有限公司 | 移动设备的界面处理方法、装置、设备、介质和操作系统 |
CN107731202A (zh) * | 2017-10-31 | 2018-02-23 | 武汉华星光电技术有限公司 | 降低显示器蓝光的方法及装置 |
CN108833670B (zh) * | 2018-04-28 | 2021-05-04 | Oppo广东移动通信有限公司 | 背光调整方法及相关装置 |
CN109922207B (zh) * | 2019-01-21 | 2021-01-01 | 竞技世界(北京)网络技术有限公司 | 一种动态调整应用软件交互界面的方法 |
CN110458826B (zh) * | 2019-08-09 | 2022-06-03 | 百度在线网络技术(北京)有限公司 | 环境亮度检测方法和装置 |
CN110648645A (zh) * | 2019-09-27 | 2020-01-03 | 北京小米移动软件有限公司 | 带屏电子设备控制方法、装置及控制系统 |
CN111292703A (zh) * | 2019-12-20 | 2020-06-16 | 深圳光启空间技术有限公司 | 一种屏幕亮度调节方法及装置 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008129596A1 (ja) * | 2007-04-04 | 2008-10-30 | Panasonic Corporation | 表示装置及び表示方法 |
CN101453563A (zh) * | 2007-12-05 | 2009-06-10 | 鸿富锦精密工业(深圳)有限公司 | 摄影装置及其显示亮度调整方法 |
CN102025945A (zh) * | 2009-09-16 | 2011-04-20 | 宏碁股份有限公司 | 电子装置及其控制方法 |
CN102262536A (zh) * | 2011-07-18 | 2011-11-30 | 李建成 | 窗口界面处理方法及装置 |
CN103165103A (zh) * | 2011-12-12 | 2013-06-19 | 深圳富泰宏精密工业有限公司 | 电子装置显示屏的亮度调整系统及方法 |
Family Cites Families (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5574764A (en) * | 1995-06-06 | 1996-11-12 | General Electric Company | Digital brightness detector |
EP1865709A4 (en) * | 2005-03-29 | 2010-07-07 | Panasonic Corp | PROJECTOR AND IMAGE DISPLAY METHOD |
US8350834B2 (en) * | 2007-11-15 | 2013-01-08 | Sony Ericsson Mobile Communications Ab | Ambient light dependent themes |
CN101546532B (zh) * | 2008-03-26 | 2012-07-18 | 群康科技(深圳)有限公司 | 液晶显示器亮度自动调整装置及其亮度自动调整方法 |
EP2512133B1 (en) * | 2009-12-07 | 2018-07-18 | Clarion Co., Ltd. | Vehicle periphery image display system |
JP5778967B2 (ja) * | 2011-04-08 | 2015-09-16 | 任天堂株式会社 | 情報処理プログラム、情報処理方法、情報処理装置および情報処理システム |
WO2011137731A2 (zh) * | 2011-04-29 | 2011-11-10 | 华为终端有限公司 | 终端设备中的发光器件控制方法、装置及终端设备 |
US20120310575A1 (en) * | 2011-06-06 | 2012-12-06 | Wen-Da Cheng | Inspection Method for Pixel Array and Inspection Apparatus Thereof |
EP2565865A1 (en) * | 2011-09-01 | 2013-03-06 | Research In Motion Limited | Data display adapted for bright ambient light |
CN102543031A (zh) * | 2011-12-19 | 2012-07-04 | 广东步步高电子工业有限公司 | 利于视觉保护的显示屏控制方法及系统 |
CN102572115A (zh) * | 2012-02-17 | 2012-07-11 | 广东步步高电子工业有限公司 | 一种可靠地根据环境自动调整ui界面的方法 |
US8872093B2 (en) * | 2012-04-18 | 2014-10-28 | Apple Inc. | Calibrated image-sensor-based ambient light sensor |
US9330606B2 (en) * | 2012-06-08 | 2016-05-03 | Apple Inc. | Electronic device with display brightness control |
US20140104436A1 (en) * | 2012-10-14 | 2014-04-17 | Stephan Bork | Circuit to adjust backlighting for a display device |
US9129548B2 (en) * | 2012-11-15 | 2015-09-08 | Apple Inc. | Ambient light sensors with infrared compensation |
-
2012
- 2012-12-06 CN CN201210519755.3A patent/CN103856823A/zh active Pending
-
2013
- 2013-11-04 WO PCT/CN2013/086489 patent/WO2014086218A1/zh active Application Filing
-
2015
- 2015-06-08 US US14/733,829 patent/US9697622B2/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008129596A1 (ja) * | 2007-04-04 | 2008-10-30 | Panasonic Corporation | 表示装置及び表示方法 |
CN101453563A (zh) * | 2007-12-05 | 2009-06-10 | 鸿富锦精密工业(深圳)有限公司 | 摄影装置及其显示亮度调整方法 |
CN102025945A (zh) * | 2009-09-16 | 2011-04-20 | 宏碁股份有限公司 | 电子装置及其控制方法 |
CN102262536A (zh) * | 2011-07-18 | 2011-11-30 | 李建成 | 窗口界面处理方法及装置 |
CN103165103A (zh) * | 2011-12-12 | 2013-06-19 | 深圳富泰宏精密工业有限公司 | 电子装置显示屏的亮度调整系统及方法 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105117687A (zh) * | 2015-07-28 | 2015-12-02 | 广东欧珀移动通信有限公司 | 一种智能手表的指纹识别方法及智能手表 |
US10957281B2 (en) | 2016-06-15 | 2021-03-23 | Shenzhen Tcl New Technology Co., Ltd | Photographing method by smart television and system thereof |
Also Published As
Publication number | Publication date |
---|---|
US9697622B2 (en) | 2017-07-04 |
US20150310637A1 (en) | 2015-10-29 |
CN103856823A (zh) | 2014-06-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9697622B2 (en) | Interface adjustment method, apparatus, and terminal | |
CN106791894B (zh) | 一种播放直播视频的方法和装置 | |
CN109067418B (zh) | 一种天线控制方法及移动终端 | |
CN104383681B (zh) | 游戏进程控制方法、装置和移动终端 | |
CN107077239B (zh) | 通过触控板调节移动终端拍照焦距的方法和移动终端 | |
CN104571979B (zh) | 一种实现分屏视图的方法和装置 | |
CN108881617B (zh) | 一种显示切换方法及移动终端 | |
CN109121008B (zh) | 一种视频预览方法、装置、终端及存储介质 | |
WO2018166204A1 (zh) | 一种控制指纹识别模组的方法、移动终端及存储介质 | |
CN108958593B (zh) | 一种确定通讯对象的方法及移动终端 | |
CN106570847B (zh) | 图像处理的方法和装置 | |
CN103312597B (zh) | 一种语音消息生成方法及装置 | |
CN108492837B (zh) | 音频突发白噪声的检测方法、装置及存储介质 | |
TW201541337A (zh) | 移動終端中訊息的顯示方法、裝置和系統 | |
CN107066090B (zh) | 一种控制指纹识别模组的方法及移动终端 | |
WO2014094456A1 (zh) | 页面切换方法、装置及终端 | |
CN107622234B (zh) | 一种显示萌脸礼物的方法和装置 | |
CN105513098B (zh) | 一种图像处理的方法和装置 | |
CN107967086B (zh) | 一种移动终端的图标排列方法及装置、移动终端 | |
CN105700801B (zh) | 一种界面截取方法和设备 | |
CN111310165B (zh) | 账号切换或注册方法及电子设备 | |
CN106454083B (zh) | 一种移动终端的图像采集方法、装置及移动终端 | |
WO2014090201A1 (zh) | 一种信息输入的控制方法、装置及终端 | |
CN109067429B (zh) | 一种控制方法及终端设备 | |
CN110908586B (zh) | 一种键盘的显示方法、装置及终端设备 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 13861417 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 16/10/15) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 13861417 Country of ref document: EP Kind code of ref document: A1 |