Summary of the invention
In order to solve the problems referred to above, the invention provides a kind of big data server, by detection steering position in real time
Concrete sunlight radiation situation, introduces multiple image processing equipment and concrete sunlight radiation situation is carried out quantitative analysis, simultaneously to friendship
The travel direction of logical instrument judges, thus according to position corresponding to travel direction, sunlight subimage and the area of correspondence
Ratio determines sunshade or the drive control signal of heat extraction equipment near steering position, thus relaxing of improving that automotive interior personnel take
Suitable degree.
According to an aspect of the present invention, it is provided that a kind of big data server, described server includes that big Data Control sets
Standby, wireless charging device, horizontal gyro and vehicle glass control equipment, and wireless charging device is for when the residue electricity of accumulator
When amount is not enough, setting up with neighbouring wireless charging terminal and be connected to start wireless charging operation, horizontal gyro is for inspection in real time
Surveying and export vehicle traveling direction, the vehicle traveling direction that vehicle glass control equipment exports according to horizontal gyro determines automobile
The control model of glass, big data control equipment controls equipment with wireless charging device, horizontal gyro and vehicle glass respectively
Connect, be used for realizing controlling operation accordingly in the way of big data process.
More specifically, in described big data server, including: solar energy detection equipment, current for detection in real time
Solar energy intensity;Power supply unit, including solar powered device, accumulator, switching switch and electric pressure converter, switching switch point
It is not connected, when the dump energy of accumulator is not enough and current with solar energy detection equipment, solar powered device and accumulator
When solar energy intensity is optionally greater than preset strength threshold value, it is switched to solar powered device to be powered by solar powered device,
Electric pressure converter is connected with switching switch, will be converted to 3.3V voltage, the wherein sun by the 5V voltage of switching switch input
Solar energy photovoltaic panel can be included by power supply device;Wireless charging device, is connected with solar energy detection equipment and accumulator respectively, works as storage
When not enough the and current solar energy intensity of the dump energy of battery is less than preset strength, set up even with neighbouring wireless charging terminal
Connecing to start wireless charging operation, wireless charging device is also connected with electric pressure converter to realize voltage conversion;Horizontal gyro,
It is arranged in the front end instrumental panel of automobile, is used for detecting in real time and exporting vehicle traveling direction;Horizontal gyro includes rotor, props up
Frame, interior ring stand and outer ring stand, rotor is contained in support, and internal ring frame is arranged on the central shaft of rotor, and outer shroud frame is arranged on internal ring
Outside frame;Big data control equipment, is connected with horizontal gyro and sunlight regional analysis equipment respectively, is used for receiving running car
The position of direction, each sunlight subimage correspondence respectively and the most corresponding area ratio, and in the way of big data process
The position corresponding respectively based on vehicle traveling direction, each sunlight subimage and area ratio corresponding respectively determine driving control
Signal processed;High-definition camera, in being arranged on automobile, steering position front, for based on pre-set image acquisition rate to operator seat
Put and carry out sequential image acquisition with continuous print high-definition image on output time, wherein, the resolution of high-definition image is 1920 ×
1080;Image-preprocessing device, is connected with high-definition camera, is used for receiving high-definition image, calculates the mean flow rate of high-definition image
Value, when the average brightness value of high-definition image is more than or equal to predetermined luminance threshold value, sends the too strong early warning signal of sunlight, by high definition figure
As being sent to gray processing processing equipment, otherwise, send sunlight strength normal signal, stop being sent at gray processing high-definition image
Reason equipment;Gray processing processing equipment, is connected with image-preprocessing device, including channel parameters extraction unit, weighted value storage list
Unit and gray value computing unit, channel parameters extraction unit is connected with high-definition camera, is used for receiving high-definition image to extract
The R passage pixel value of each pixel, G passage pixel value and channel B pixel value in high-definition image, weighted value memory element is used
In having prestored R channel weighting value, G channel weighting value and channel B weighted value, gray value computing unit respectively with channel parameters
Extraction unit and weighted value memory element connect, for each pixel in high-definition image, by R passage pixel value and R passage
The product of the product of the product of weighted value, G passage pixel value and G channel weighting value and channel B pixel value and channel B weighted value
Be added with obtain for the gray value of pixel, and obtain high-definition image based on the gray value of each pixel in high-definition image
Corresponding gray level image;Wherein, R channel weighting value value is 0.298839, and G channel weighting value value is 0.586811, and B leads to
Higher value is 0.114350;Histogram distribution detection equipment, is connected with gray processing processing equipment, is used for receiving gray processing
Image, and gray level image is carried out grey level histogram process to obtain corresponding histogram image, present at histogram image
During bimodal distribution, send global threshold and select signal, otherwise, send non-global threshold and select signal;Threshold value selects equipment, and directly
Side's figure distribution detection device connects, for when receiving global threshold and selecting signal, using global threshold 128 as threshold data
Output, when receiving non-global threshold and selecting signal, exports neighbor pixel gray difference threshold 40 as threshold data;Two
Value processing equipment, selects equipment and histogram distribution detection equipment to be connected, for receiving global threshold respectively with threshold value
When selecting signal, for each pixel in gray level image, when gray value is more than or equal to threshold data, by for
Pixel is set to white level pixel, when gray value less than threshold data time, by for pixel be set to black level picture
Vegetarian refreshments, and the binary image that output gray level image is corresponding;Binary conversion treatment equipment is additionally operable to receiving non-global threshold
When selecting signal, for each pixel in gray level image, calculate vertical direction upwards apart from the picture of its 3 pixels
The gray value of vegetarian refreshments as upper grey scale pixel value, calculates vertical direction downwards apart from the gray value of pixel of its 3 pixels
As lower grey scale pixel value, calculated level direction is grey as left pixel apart from the gray value of the pixel of its 3 pixels to the left
Angle value, calculated level direction to the right apart from the gray value of pixel of its 3 pixels as right grey scale pixel value, when upper pixel
The absolute value of the difference of gray value and lower grey scale pixel value is less than or equal to threshold data and left grey scale pixel value and right grey scale pixel value
Difference absolute value less than or equal to threshold data time, by for pixel be set to white level pixel, when upper pixel grey scale
The absolute value of the difference of value and lower grey scale pixel value is exhausted more than the difference of threshold data or left grey scale pixel value and right grey scale pixel value
During to value more than threshold data, by for pixel be set to black level pixel, and output gray level image corresponding two
Value image;Picture smooth treatment equipment, is connected with binary conversion treatment equipment, is used for receiving binary image, for binaryzation
Each pixel in image, when adjacent all pixels exist the trip point of more than half, then by for picture
The gray value of vegetarian refreshments retains, otherwise, by for the gray value of pixel be set to white level pixel, and export binary picture
As corresponding smoothed image;Self adaptation recursive filtering equipment, is connected with image balance processing equipment, is used for receiving smoothed image,
Smoothed image is performed self adaptation recursive filtering process to obtain filtering image;Sunlight regional analysis equipment, with self adaptation recurrence
Filter apparatus connects to obtain filtering image;For each pixel in filtering image, by its gray value and default sunlight
Tonal range is mated, and when its gray value is in default sunlight tonal range, determines that it is sunlight pixel;Filtering is schemed
The region of all sunlight pixels composition in Xiang splits to obtain each sunlight subimage from filtering image;And based on
Each sunlight subimage determines its position in filtering image and calculates its area ratio occupying filtering image;Output
The position of each sunlight subimage correspondence respectively and the most corresponding area ratio;Polylith vehicle glass, is separately positioned on many
Near individual automobile window, each piece of corresponding automobile window of vehicle glass, open or close for carrying out beating to corresponding automobile window
Closing, multiple automobile window include the skylight of automobile and four side windows;Multiple glass pushers, each glass pusher correspondence one
Block vehicle glass, for controlling the propelling movement state of corresponding vehicle glass;Switch driver, is connected with multiple glass pushers, also
It is connected with big data control equipment, is used for receiving drive control signal, and based on drive control signal to multiple glass pushers
Carry out pushing control.
More specifically, in described big data server: solar energy detection equipment is arranged on the roof of automobile.
More specifically, in described big data server: wireless charging device is arranged on the vehicle body of automobile.
More specifically, in described big data server: self adaptation recursive filtering equipment is arranged on the front end instrument of automobile
In dish.
More specifically, in described big data server: sunlight regional analysis equipment is arranged on the front end instrumental panel of automobile
In.
More specifically, in described big data server: picture smooth treatment equipment is arranged on the front end instrumental panel of automobile
In.
More specifically, in described big data server, also include: user input device, for the operation according to user,
Receive the default sunlight tonal range of user's input.
More specifically, in described big data server: user input device is touch screen.
Detailed description of the invention
Below with reference to accompanying drawings the embodiment of the big data server of the present invention is described in detail.
Currently, the indoor manual Types ofshading sunshade scope of car steering is less, it is impossible to face whole to driver or even whole
Individual trunk is effectively protected.To this end, in prior art, some vehicle manufacturer are provided with sunlight near steering position
The electron detection device of intensity or the electron detection device of sunlight scope, determine the protection operation of relevant device according to testing result
Pattern.
But, above-mentioned electronics Types ofshading is the simplest, on the one hand, do not account for vehicle travels direction to sun
Light irradiates the impact brought, and causes shaded effects the highest, on the other hand, does not accounts for when sunshade policy selection, driver
Select and general passenger selection exist conflict in place of, it is consistent for causing the sunshade means for the whole vehicles, nothing
Method allowing for driver and the demand of other passengers, such as, when sunlight is too strong, may strengthen air-conditioner temperature and the wind of the vehicles
Amount, thus cause driver to obtain comfortable and that other passenger's body-sensing are the coolest situation and occur.
In order to overcome above-mentioned deficiency, the present invention has built a kind of big data server, improves existing electronics sunshade mechanism,
By the sunlight strength of steering position and sunlight scope are detected, by association vehicle travels direction with really
Determining sunshade strategy, the most key, the sunshade strategy that determines is driver's customization, fully take into account driver and other
The different sun-shading requirements of passenger, thus all personnel for riding public transportation means provides more preferable Consumer's Experience.
Fig. 1 is the block diagram according to the big data server shown in embodiment of the present invention, and described server includes
Big data control equipment, wireless charging device, horizontal gyro and vehicle glass control equipment, and wireless charging device is for when storing
During the dump energy deficiency of battery, set up with neighbouring wireless charging terminal to be connected and operate starting wireless charging, horizontal gyro
Instrument detects in real time and exports vehicle traveling direction, and vehicle glass controls the running car that equipment exports according to horizontal gyro
Direction determines the control model of vehicle glass, big data control equipment respectively with wireless charging device, horizontal gyro and automobile
Glass controls equipment and connects, and is used for realizing controlling operation accordingly in the way of big data process.
Then, continue the concrete structure of the big data server of the present invention is further detailed.
Described server includes: solar energy detection equipment, detects current solar energy intensity in real time;Power supply unit,
Including solar powered device, accumulator, switching switch and electric pressure converter, switching switch respectively with solar energy detection equipment,
Solar powered device and accumulator connect, when the solar energy intensity that the dump energy of accumulator is not enough and current is optionally greater than pre-
If during intensity threshold, it is switched to solar powered device to be powered by solar powered device, electric pressure converter and switching switch
Connecting, will be converted to 3.3V voltage by the 5V voltage of switching switch input, the most solar powered device includes solar energy
Photovoltaic panel.
Described server includes: wireless charging device, is connected with solar energy detection equipment and accumulator respectively, works as accumulator
The not enough and current solar energy intensity of dump energy less than preset strength time, set up with neighbouring wireless charging terminal be connected with
Starting wireless charging operation, wireless charging device is also connected with electric pressure converter to realize voltage conversion;Horizontal gyro, is arranged
In the front end instrumental panel of automobile, it is used for detecting in real time and exporting vehicle traveling direction;Horizontal gyro include rotor, support,
Interior ring stand and outer ring stand, rotor is contained in support, and internal ring frame is arranged on the central shaft of rotor, outer shroud frame be arranged on interior ring stand it
Outward.
Described server includes: big data control equipment, is connected with horizontal gyro and sunlight regional analysis equipment respectively,
For receiving the position of vehicle traveling direction, each sunlight subimage correspondence respectively and the most corresponding area ratio, and with
The mode that big data process position based on vehicle traveling direction, each sunlight subimage correspondence respectively and the most corresponding face
Long-pending ratio determines drive control signal.Wherein, big data control equipment can operate with the multiple control equipment collaborations on network
Form realizes.
Described server includes: high-definition camera, in being arranged on automobile, steering position front, for based on pre-set image
Acquisition rate carries out sequential image acquisition with continuous print high-definition image on output time, wherein, high-definition image to steering position
Resolution is 1920 × 1080;Image-preprocessing device, is connected with high-definition camera, is used for receiving high-definition image, calculates high definition
The average brightness value of image, when the average brightness value of high-definition image is more than or equal to predetermined luminance threshold value, sends sunlight too strong pre-
Alert signal, is sent to high-definition image gray processing processing equipment, otherwise, sends sunlight strength normal signal, stop high definition figure
As being sent to gray processing processing equipment.
Described server includes: gray processing processing equipment, is connected with image-preprocessing device, as in figure 2 it is shown, include passage
Parameter extraction unit, weighted value memory element and gray value computing unit, channel parameters extraction unit is connected with high-definition camera,
Logical to extract the R passage pixel value of each pixel in high-definition image, G passage pixel value and B for receiving high-definition image
Road pixel value, weighted value memory element is used for having prestored R channel weighting value, G channel weighting value and channel B weighted value, ash
Angle value computing unit is connected with channel parameters extraction unit and weighted value memory element respectively, for each picture in high-definition image
Vegetarian refreshments, by R passage pixel value and the product of R channel weighting value, the product of G passage pixel value and G channel weighting value and channel B
The product addition of pixel value and channel B weighted value with obtain for the gray value of pixel, and based in high-definition image each
The gray value of pixel obtains the gray level image that high-definition image is corresponding;Wherein, R channel weighting value value is 0.298839, and G leads to
Higher value is 0.586811, and channel B weighted value value is 0.114350.
Described server includes: histogram distribution detection equipment, is connected with gray processing processing equipment, is used for receiving gray processing
Image, and gray level image is carried out grey level histogram process to obtain corresponding histogram image, present at histogram image
During bimodal distribution, send global threshold and select signal, otherwise, send non-global threshold and select signal;Threshold value selects equipment, and directly
Side's figure distribution detection device connects, for when receiving global threshold and selecting signal, using global threshold 128 as threshold data
Output, when receiving non-global threshold and selecting signal, exports neighbor pixel gray difference threshold 40 as threshold data.
Described server includes: binary conversion treatment equipment, selects equipment and histogram distribution detection equipment respectively with threshold value
Connect, for when receiving global threshold and selecting signal, for each pixel in gray level image, when gray value is big
When equal to threshold data, by for pixel be set to white level pixel, when gray value less than threshold data time, by pin
To pixel be set to black level pixel, and the binary image that output gray level image is corresponding;Binary conversion treatment equipment
It is additionally operable to, when receiving non-global threshold and selecting signal, for each pixel in gray level image, calculate Vertical Square
To upwards apart from the gray value of pixel of its 3 pixels as upper grey scale pixel value, calculate vertical direction downwards apart from its 3
The gray value of the pixel of individual pixel is as lower grey scale pixel value, and calculated level direction is to the left apart from the picture of its 3 pixels
The gray value of vegetarian refreshments is as left grey scale pixel value, and calculated level direction is to the right apart from the gray value of pixel of its 3 pixels
As right grey scale pixel value, when the absolute value of upper grey scale pixel value and the difference of lower grey scale pixel value is less than or equal to threshold data and a left side
The absolute value of the difference of grey scale pixel value and right grey scale pixel value less than or equal to threshold data time, by for pixel be set to white
Level pixel point, when the absolute value of upper grey scale pixel value and the difference of lower grey scale pixel value is more than threshold data or left grey scale pixel value
During with the absolute value of the difference of right grey scale pixel value more than threshold data, by for pixel be set to black level pixel, and
The binary image that output gray level image is corresponding.
Described server includes: picture smooth treatment equipment, is connected with binary conversion treatment equipment, is used for receiving binary picture
Picture, for each pixel in binary image, when adjacent all pixels exist the trip point of more than half,
Then by for the gray value of pixel retain, otherwise, by for the gray value of pixel be set to white level pixel, and
The smoothed image that output binary image is corresponding.
Described server includes: self adaptation recursive filtering equipment, is connected with image balance processing equipment, is used for receiving smooth
Image, performs self adaptation recursive filtering to smoothed image and processes to obtain filtering image;Sunlight regional analysis equipment, with self adaptation
Recursive filtering equipment connects to obtain filtering image;For each pixel in filtering image, by its gray value with default
Sunlight tonal range is mated, and when its gray value is in default sunlight tonal range, determines that it is sunlight pixel;Will filter
The region of all sunlight pixels composition in ripple image splits to obtain each sunlight subimage from filtering image;And
Determine its position in filtering image based on each sunlight subimage and calculate its area ratio occupying filtering image;
Export position corresponding to each sunlight subimage and the most corresponding area ratio.
Described server includes: polylith vehicle glass, is separately positioned near multiple automobile window, each piece of vehicle glass
A corresponding automobile window, for opening or closing corresponding automobile window, multiple automobile window include the skylight of automobile
With four side windows;Multiple glass pushers, the corresponding one piece of vehicle glass of each glass pusher, it is used for controlling corresponding glass of automobile
The propelling movement state of glass;Switch driver, is connected with multiple glass pushers, is also connected with big data control equipment, be used for receiving
Drive control signal, and carry out pushing control to multiple glass pushers based on drive control signal.
Alternatively, in described server: solar energy detection equipment is arranged on the roof of automobile;Wireless charging device sets
Put on the vehicle body of automobile;Self adaptation recursive filtering equipment is arranged in the front end instrumental panel of automobile;Sunlight regional analysis equipment
It is arranged in the front end instrumental panel of automobile;Picture smooth treatment equipment is arranged in the front end instrumental panel of automobile;Also include: user
Input equipment, for the operation according to user, receives the default sunlight tonal range of user's input;And user input device can
Think touch screen.
It addition, wave filter, as the term suggests, it is the device that ripple is filtered." ripple " is that a physics widely is general
Read, at electronic technology field, the value fluctuations in time that " ripple " is narrowly confined to refer in particular to describe various physical quantity
Process.The effect by various kinds of sensors of this process, is converted into the time function of voltage or electric current, the most various physical quantitys
Time waveform, or referred to as signal.Because the independent variable time is continuous value, so referred to as continuous time signal,
It is referred to as analogue signal the most habitually.
Along with the generation of digital electronic computer technology with develop rapidly, for the ease of computer to signal at
Reason, creates complete theory and the method that continuous time signal is transformed under sampling theorem instructs discrete-time signal.
It is to say, only primary signal can be expressed by original analog signal sample value on series of discrete time coordinate point and not lose
Lose any information, since the expression of these concepts of ripple, waveform, signal is the change of various physical quantitys in objective world, the most just
It it is the carrier of the various information that modern society depends on for existence.Information needs to propagate, and lean on is exactly the transmission of waveshape signal.Signal exists
Its generation, change, each link of transmitting is likely to be due to environment and the existence of interference and distorts, even quite a lot of
In the case of, this distortion is the most serious, causes signal and entrained information thereof to be embedded in the middle of noise dearly.In order to
Filter these noises, recover signal originally, need to use various wave filter to be filtered processing.
Use the big data server of the present invention, customization cannot be provided to hide for the driver of steering position for prior art
The technical problem of sun strategy, by the sunlight radiation situation of steering position carries out image acquisition, introduces a series of images and processes
The image collected accurately is analyzed by equipment, analysis result combines vehicle travels direction to determine at steering position
Visor mode, the visor mode determined is specific to driver rather than all passengers, thus improves on the whole and take
The level of comfort of the vehicles, it is to avoid driver occurs that because of overheated the situation of the symptoms such as heatstroke occurs.
Although it is understood that the present invention discloses as above with preferred embodiment, but above-described embodiment being not used to
Limit the present invention.For any those of ordinary skill in the art, without departing under technical solution of the present invention ambit,
Technical solution of the present invention is made many possible variations and modification by the technology contents that all may utilize the disclosure above, or is revised as
Equivalent embodiments with change.Therefore, every content without departing from technical solution of the present invention, according to the technical spirit pair of the present invention
Any simple modification made for any of the above embodiments, equivalent variations and modification, all still fall within the scope of technical solution of the present invention protection
In.