CN108417168A - The method and car-mounted terminal taken over seamlessly based on ray machine auto brightness - Google Patents

The method and car-mounted terminal taken over seamlessly based on ray machine auto brightness Download PDF

Info

Publication number
CN108417168A
CN108417168A CN201810124178.5A CN201810124178A CN108417168A CN 108417168 A CN108417168 A CN 108417168A CN 201810124178 A CN201810124178 A CN 201810124178A CN 108417168 A CN108417168 A CN 108417168A
Authority
CN
China
Prior art keywords
light sensation
lux
value
smoothing processing
difference
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.)
Pending
Application number
CN201810124178.5A
Other languages
Chinese (zh)
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 Ke Ke Ke Ke Technology Co Ltd
Original Assignee
Shenzhen Ke Ke Ke Ke Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Ke Ke Ke Ke Technology Co Ltd filed Critical Shenzhen Ke Ke Ke Ke Technology Co Ltd
Priority to CN201810124178.5A priority Critical patent/CN108417168A/en
Publication of CN108417168A publication Critical patent/CN108417168A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B27/00Optical systems or apparatus not provided for by any of the groups G02B1/00 - G02B26/00, G02B30/00
    • G02B27/01Head-up displays
    • G02B27/0101Head-up displays characterised by optical features
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B27/00Optical systems or apparatus not provided for by any of the groups G02B1/00 - G02B26/00, G02B30/00
    • G02B27/01Head-up displays
    • G02B27/0101Head-up displays characterised by optical features
    • G02B2027/0118Head-up displays characterised by optical features comprising devices for improving the contrast of the display / brillance control visibility

Abstract

The invention discloses a kind of methods taken over seamlessly based on ray machine auto brightness, and described method includes following steps:Using one light sensation lux value of setting time interval sampling;Abnormality value removing is carried out to multiple light sensation lux values of sampling and handles the light sensation lux values after being rejected;Light sensation lux values after rejecting are smoothed to obtain the data after smoothing processing, the brightness for display that the data point reuse after the smoothing processing is come back.Technical solution provided by the invention has the advantages that user experience is high.

Description

The method and car-mounted terminal taken over seamlessly based on ray machine auto brightness
Technical field
The present invention relates to electronics and automotive field more particularly to a kind of methods taken over seamlessly based on ray machine auto brightness And car-mounted terminal.
Background technology
Equipment with screen or ray machine, generally there is brightness automatic regulation function, it can be residing at present according to equipment Light luminance, automatically adjust device screen brightness or the brightness of ray machine, best visual effect brought to user.As Vehicle intelligent terminal, for road conditions complicated in driving driving procedure, such as:It is sailed into dim tunnel, from dim tunnel Go out to the strong road surface of light, just there are one the environment, etc. of street lamp at tens meters of interval at night.
Optical sensor can calculate current lux values according to ambient enviroment, then by lux value de-regulation screens or The brightness gear of ray machine.But if directly adjusting brightness gear according to current lux values, it is understood that there may be as soon as problem, Very high gear may be directly switch to from a very low-grade location by being brightness gear, such as when being driven out to tunnel, in tunnel Face is very dim, and light is very strong outside tunnel;Also be exactly at night under street lamp, if speed is fast, be likely to result in back and forth The problem of switching brightness.These may influence the visual effect of driver, and influence traffic safety.
In addition in the process of moving, pavement roughness causes vehicle to jolt to vehicle, and optical sensor may will produce light sensation Exceptional value, brightness regulation can also be affected, so the switching of existing brightness cannot be satisfied the requirement of user, influence to use Family Experience Degree.
Invention content
The application provides a kind of method taken over seamlessly based on ray machine auto brightness.The experience of user can effectively be improved Degree.
In a first aspect, providing a kind of method taken over seamlessly based on ray machine auto brightness, described method includes following steps:
Using one light sensation lux value of setting time interval sampling;
Abnormality value removing is carried out to multiple light sensation lux values of sampling and handles the light sensation lux values after being rejected;
Light sensation lux values after rejecting are smoothed to obtain the data after smoothing processing, after the smoothing processing The brightness of data point reuse new line display.
Optionally, multiple light sensation lux values of described pair of sampling carry out abnormality value removing and handle the light sensation lux after being rejected Value, including:
The light sensation lux value P1 for extracting the first sampled point in multiple light sensation lux values, if the P1 belongs to setting range, by this P1 is deposited into smoothing processing queue;The light sensation lux value P2 for extracting the second sampled point, as the difference between P2 and P1 is less than difference threshold Value, P2 is preserved to smoothing processing queue, if the difference between P2 and P1 is more than difference threshold, extracts the light sensation of third sampled point Lux value P3 reject P2 if the difference between P3 and P2 is more than difference threshold.
Optionally, the method further includes:
If the difference between P3 and P2 is more than difference threshold, P2 is preserved to smoothing processing queue.
Optionally, the light sensation lux values by after rejecting are smoothed to obtain the data after smoothing processing and include:
F=(A1+A2+ ...+An)/n
Wherein, A1, A2, An are the light sensation lux values of n adjacent sampled point;The F is the data after smoothing processing, and n's takes Value is the integer more than or equal to 3, and the quantity of the n adjusts configuration according to the reaction time smoothly perceived.
Second aspect provides a kind of system taken over seamlessly based on ray machine auto brightness, the system comprises:
Sampling unit, for using one light sensation lux value of setting time interval sampling;
Culling unit carries out abnormality value removing for multiple light sensation lux values to sampling and handles the light sensation after being rejected Lux values;
Smooth unit, the data for being smoothed to obtain by the light sensation lux values after rejecting after smoothing processing, by this The brightness of data point reuse new line display after smoothing processing.
Optionally, the culling unit is specifically used for extracting the light sensation lux of the first sampled point in multiple light sensation lux values The P1 is deposited into smoothing processing queue by value P1 if the P1 belongs to setting range;The light sensation lux value P2 of the second sampled point are extracted, If the difference between P2 and P1 is less than difference threshold, P2 is preserved to smoothing processing queue, as the difference between P2 and P1 is more than Difference threshold extracts the light sensation lux value P3 of third sampled point, and if the difference between P3 and P2 is more than difference threshold, P2 is rejected.
Optionally, the culling unit is additionally operable to the difference between P3 and P2 such as and is more than difference threshold, and P2 is preserved to flat Sliding processing queue.
Optionally, the smooth unit, is specifically used for
F=(A1+A2+ ...+An)/n
Wherein, A1, A2, An are the light sensation lux values of n adjacent sampled point;The F is the data after smoothing processing, and n's takes Value is the integer more than or equal to 3, and the quantity of the n adjusts configuration according to the reaction time smoothly perceived.The third aspect provides one kind Computer readable storage medium, computer program of the storage for electronic data interchange, wherein the computer program makes Computer executes the method described in first aspect.
Fourth aspect provides a kind of computer readable storage medium, computer journey of the storage for electronic data interchange Sequence, wherein the computer program makes computer execute the method that first aspect provides.
Method provided by the invention is for the light environment of complex road condition, and auto brightness switching is smooth, and vision is more comfortable, Increase traffic safety.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, required use in being described below to embodiment Attached drawing be briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, for this field For those of ordinary skill, without creative efforts, other drawings may also be obtained based on these drawings.
Fig. 1 is the flow for the method taken over seamlessly based on ray machine auto brightness that the first better embodiment of the invention provides Figure.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without creative efforts Example, shall fall within the protection scope of the present invention.
Term " first ", " second ", " third " in the description and claims of this application and the attached drawing and " Four " etc. be for distinguishing different objects, rather than for describing particular order.In addition, term " comprising " and " having " and it Any deformation, it is intended that cover and non-exclusive include.Such as it contains the process of series of steps or unit, method, be The step of system, product or equipment are not limited to list or unit, but further include the steps that optionally not listing or list Member, or further include optionally for the intrinsic other steps of these processes, method, product or equipment or unit.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments It is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
Equipment in the application may include:Intelligent vehicle mounted terminal, smart mobile phone (such as Android phone, iOS mobile phones, Windows Phone mobile phones etc.), tablet computer, palm PC, laptop, mobile internet device (MID, Mobile Internet Devices) or Wearable etc., above equipment is only citing, and non exhaustive, is set including but not limited to above-mentioned It is standby, for convenience of description, above equipment is known as user equipment (User equipment, UE) in following example.Certainly In practical applications, above-mentioned user equipment is also not necessarily limited to above-mentioned realization form, such as can also include:Computer equipment etc..
Refering to fig. 1, Fig. 1 provides a kind of method taken over seamlessly based on ray machine auto brightness, and the method includes walking as follows Suddenly:
Step S101, using one light sensation lux value of setting time interval sampling;
Step S102, abnormality value removing is carried out to multiple light sensation lux values of sampling and handles the light sensation lux after being rejected Value;
Step S103, light sensation lux values after rejecting are smoothed to obtain the data after smoothing processing, this is smooth The brightness for data point reuse new line display that treated.
The present invention provides a kind of method taken over seamlessly based on ray machine auto brightness, and this method uses data prediction:It picks Except exceptional value and smoothing processing.
Optical sensor will sample a light sensation lux value per setting time (such as 200ms).
Rejecting abnormalities value:
It provides a confidence level, determines a cofidence limit, every error more than the limit, it is abnormal to be considered as it Value, to be rejected.The value 0-65535 of light sensation Lux is normal value.
First sampled point P1 is saved in smoothing processing queue.
Next sampled point P2 and P1 errors will preserve P2 if it is less than difference threshold (20000);
Error is more than 20000, temporarily judges that P2 is abnormal, needs to compare next sampled point P3, if P2 and P3 is missed Difference is less than 20000, it is confirmed that P2 is normal sampled point, P2 is added to smoothing processing queue, if P2 and P3 errors are still It more than 20000, decides that P2 is abnormal point, rejects this sampled point P2.P3 is continued and next sampled point compares, and so on Detect exceptional value.
Data smoothing processing:
Using 5 points of simple rolling averages come smoothing processing data.
The calculation formula of simple rolling average is as follows:
F=(A1+A2+ ...+An)/n
Wherein, A1, A2, An are the light sensation lux values of n adjacent sampled point;The F is the data after smoothing processing, and n's takes Value is the integer more than or equal to 3, and the quantity of the n adjusts configuration according to the reaction time smoothly perceived.
F=(A1+A2+A3+A4+A5)/5
A1-A4 is 4 sampled points of the past after abnormality processing, and A5 is the current sampled point Jing Guo abnormality processing, so After average.After full 5 sampled datas, when there is new sampled point, the mode of first in first out will be used, fill new sampling Point, recycles according to this.It is verified through practical test, for the light environment of complex road condition, auto brightness switching is smooth, and vision is more relaxed It is suitable, increase traffic safety.
Using the F as the brightness of the lux values of optical sensor control new line display.
It should be noted that for each embodiment of the method above-mentioned, for simple description, therefore it is all expressed as to a system The combination of actions of row, but those skilled in the art should understand that, the present invention is not limited by the described action sequence, because For according to the present invention, certain some step can be performed in other orders or simultaneously.Secondly, those skilled in the art also should Know, embodiment described in this description belongs to preferred embodiment, involved action and module not necessarily this hair Necessary to bright.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in some embodiment Part, may refer to the associated description of other embodiment.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage Medium may include:Flash disk, read-only memory (English:Read-Only Memory, referred to as:ROM), random access device (English Text:Random Access Memory, referred to as:RAM), disk or CD etc..
It is provided for the embodiments of the invention content download method above and relevant device, system are described in detail, Principle and implementation of the present invention are described for specific case used herein, and the explanation of above example is only used In facilitating the understanding of the method and its core concept of the invention;Meanwhile for those of ordinary skill in the art, according to the present invention Thought, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not be construed as Limitation of the present invention.

Claims (10)

1. a kind of method taken over seamlessly based on ray machine auto brightness, which is characterized in that described method includes following steps:
Using one light sensation lux value of setting time interval sampling;
Abnormality value removing is carried out to multiple light sensation lux values of sampling and handles the light sensation lux values after being rejected;
Light sensation lux values after rejecting are smoothed to obtain the data after smoothing processing, by the data after the smoothing processing The brightness of adjustment new line display.
2. according to the method described in claim 1, it is characterized in that, multiple light sensation lux values of described pair of sampling carry out exceptional value Rejecting handles the light sensation lux values after being rejected, including:
The light sensation lux value P1 for extracting the first sampled point in multiple light sensation lux values deposit the P1 if the P1 belongs to setting range Enter to smoothing processing queue;The light sensation lux value P2 for extracting the second sampled point, if the difference between P2 and P1 is less than difference threshold, P2 is preserved to smoothing processing queue, if the difference between P2 and P1 is more than difference threshold, extracts the light sensation lux of third sampled point Value P3 rejects P2 if the difference between P3 and P2 is more than difference threshold.
3. according to the method described in claim 2, it is characterized in that, the method further includes:
If the difference between P3 and P2 is more than difference threshold, P2 is preserved to smoothing processing queue.
4. according to the method described in claim 1, it is characterized in that, the light sensation lux values by after rejecting are smoothed Obtaining the data after smoothing processing includes:
F=(A1+A2+ ...+An)/n
Wherein, A1, A2, An are the light sensation lux values of n adjacent sampled point;The F is the data after smoothing processing, and the value of n is The quantity of integer more than or equal to 3, the n adjusts configuration according to the reaction time smoothly perceived.
5. a kind of system taken over seamlessly based on ray machine auto brightness, which is characterized in that the system comprises:
Sampling unit, for using one light sensation lux value of setting time interval sampling;
Culling unit carries out abnormality value removing for multiple light sensation lux values to sampling and handles the light sensation lux after being rejected Value;
Smooth unit, the data for being smoothed to obtain by the light sensation lux values after rejecting after smoothing processing are smooth by this The brightness for data point reuse new line display that treated.
6. system according to claim 5, which is characterized in that
The culling unit is specifically used for extracting the light sensation lux value P1 of the first sampled point in multiple light sensation lux values, such as the P1 Belong to setting range, which is deposited into smoothing processing queue;The light sensation lux value P2 for extracting the second sampled point, as P2 and P1 it Between difference be less than difference threshold, P2 is preserved to smoothing processing queue, if the difference between P2 and P1 be more than difference threshold, carry The light sensation lux value P3 for taking third sampled point reject P2 if the difference between P3 and P2 is more than difference threshold.
7. system according to claim 6, which is characterized in that
The culling unit is additionally operable to the difference between P3 and P2 such as and is more than difference threshold, P2 is preserved to smoothing processing queue.
8. system according to claim 5, which is characterized in that
The smooth unit, is specifically used for
F=(A1+A2+ ...+An)/n
Wherein, A1, A2, An are the light sensation lux values of n adjacent sampled point;The F is the data after smoothing processing, and the value of n is The quantity of integer more than or equal to 3, the n adjusts configuration according to the reaction time smoothly perceived.
9. a kind of computer readable storage medium, computer program of the storage for electronic data interchange, wherein the calculating Machine program makes computer execute the method as described in claim 1-4 any one.
10. a kind of computer readable storage medium, computer program of the storage for electronic data interchange, wherein the meter Calculation machine program makes computer execute the method as described in claim 1-4 any one.
CN201810124178.5A 2018-02-07 2018-02-07 The method and car-mounted terminal taken over seamlessly based on ray machine auto brightness Pending CN108417168A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810124178.5A CN108417168A (en) 2018-02-07 2018-02-07 The method and car-mounted terminal taken over seamlessly based on ray machine auto brightness

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810124178.5A CN108417168A (en) 2018-02-07 2018-02-07 The method and car-mounted terminal taken over seamlessly based on ray machine auto brightness

Publications (1)

Publication Number Publication Date
CN108417168A true CN108417168A (en) 2018-08-17

Family

ID=63127978

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810124178.5A Pending CN108417168A (en) 2018-02-07 2018-02-07 The method and car-mounted terminal taken over seamlessly based on ray machine auto brightness

Country Status (1)

Country Link
CN (1) CN108417168A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111968597A (en) * 2020-08-12 2020-11-20 Oppo(重庆)智能科技有限公司 Screen brightness adjusting method and device, electronic equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6816155B1 (en) * 1999-03-29 2004-11-09 Fuji Photo Film Co., Ltd. Method of correcting gradation and image display system employing the same
CN1862334A (en) * 2005-05-11 2006-11-15 英华达(上海)电子有限公司 Hand-held automatic apparatus for regulating backlight brightness and effect and method thereof
CN201063938Y (en) * 2007-07-09 2008-05-21 青岛海信电器股份有限公司 Brightness control circuit and display device provided with the circuit
CN102055827A (en) * 2009-10-28 2011-05-11 中兴通讯股份有限公司 Incoming call vibration method and device of mobile terminal
JP2011215508A (en) * 2010-04-02 2011-10-27 Seiko Epson Corp Method for creating color conversion profile for multi-primary color display, and multi-primary color projector using the same
CN102404440A (en) * 2010-09-17 2012-04-04 联芯科技有限公司 Method and device automatically adjusting backlight luminance
CN102769452A (en) * 2012-07-12 2012-11-07 深圳Tcl新技术有限公司 Method and device for controlling touch key, and television set
CN103476193A (en) * 2013-07-09 2013-12-25 艾宇 Tunnel illumination dimming control system and control method
CN106409269A (en) * 2016-08-18 2017-02-15 浙江吉利控股集团有限公司 Fully-automatic adjustment system and method for display effect of automobile multimedia display screen

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6816155B1 (en) * 1999-03-29 2004-11-09 Fuji Photo Film Co., Ltd. Method of correcting gradation and image display system employing the same
CN1862334A (en) * 2005-05-11 2006-11-15 英华达(上海)电子有限公司 Hand-held automatic apparatus for regulating backlight brightness and effect and method thereof
CN201063938Y (en) * 2007-07-09 2008-05-21 青岛海信电器股份有限公司 Brightness control circuit and display device provided with the circuit
CN102055827A (en) * 2009-10-28 2011-05-11 中兴通讯股份有限公司 Incoming call vibration method and device of mobile terminal
JP2011215508A (en) * 2010-04-02 2011-10-27 Seiko Epson Corp Method for creating color conversion profile for multi-primary color display, and multi-primary color projector using the same
CN102404440A (en) * 2010-09-17 2012-04-04 联芯科技有限公司 Method and device automatically adjusting backlight luminance
CN102769452A (en) * 2012-07-12 2012-11-07 深圳Tcl新技术有限公司 Method and device for controlling touch key, and television set
CN103476193A (en) * 2013-07-09 2013-12-25 艾宇 Tunnel illumination dimming control system and control method
CN106409269A (en) * 2016-08-18 2017-02-15 浙江吉利控股集团有限公司 Fully-automatic adjustment system and method for display effect of automobile multimedia display screen

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111968597A (en) * 2020-08-12 2020-11-20 Oppo(重庆)智能科技有限公司 Screen brightness adjusting method and device, electronic equipment and storage medium
CN111968597B (en) * 2020-08-12 2021-11-09 Oppo(重庆)智能科技有限公司 Screen brightness adjusting method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN105491452B (en) A kind of more video window level switching methods and device
CN113920307A (en) Model training method, device, equipment, storage medium and image detection method
CN106954051B (en) A kind of image processing method and mobile terminal
CN103631469B (en) The display processing method of icon, device and electronic equipment
CN106803197A (en) Spell single method and apparatus
CN109118447A (en) A kind of image processing method, picture processing unit and terminal device
CN109377502A (en) A kind of image processing method, image processing apparatus and terminal device
CN110971761B (en) Method and device for generating display parameter curve, mobile terminal and storage medium
CN112528927A (en) Confidence determination method based on trajectory analysis, roadside equipment and cloud control platform
CN108417168A (en) The method and car-mounted terminal taken over seamlessly based on ray machine auto brightness
CN110490118A (en) Image processing method and device
CN110287817A (en) Target identification and the training method of Model of Target Recognition, device and electronic equipment
CN108920064A (en) Split screen window adjusting method, device, storage medium and electronic equipment
CN111506181A (en) Automatic equipment brightness adjusting method, device, equipment and storage medium
CN112509510A (en) Brightness adjusting method and device and electronic equipment
CN107507601A (en) A kind of method and system of the camera supervised interface display effect of adjust automatically
CN109933298B (en) Method and device for displaying according to user position
CN116188587A (en) Positioning method and device and vehicle
CN115049151A (en) Navigation route recommendation method, device, equipment and storage medium
CN110634155A (en) Target detection method and device based on deep learning
CN110758398A (en) Driving risk detection method and device
CN115100983A (en) Method, device and equipment for adjusting brightness of AR picture and storage medium
CN115018784A (en) Method, device, equipment and medium for detecting defect of strand scattering of lead
CN109993767A (en) Image processing method and system
CN108108364A (en) A kind of tag displaying method and 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180817