Vehicle exhaust on-line monitoring system based on technology of Internet of things
Technical field
The present invention relates to tail gas to monitor field, more particularly to a kind of vehicle exhaust on-line monitoring system based on technology of Internet of things
System.
Background technology
Containing hundreds of different compound in vehicle exhaust, pollutant therein have solid aerosol, carbon monoxide,
Carbon dioxide, hydrocarbon, oxynitrides, lead and oxygen sulfur compound etc..The harmful exhaust ratio of one car discharge in 1 year
Own wt is big 3 times.Britain's air cleaning and environmental protection association once delivered research report and claimed, with traffic accident victim's phase
Than the people that Britain dies from air pollution every year will have more 10 times.
One of main source as air pollution, motor-vehicle tail-gas just belong to as the PM2.5 of social concerns focus in the recent period
In the category of solid suspended particle.Vehicle exhaust is in addition to being one of large size city PM2.5 main source, or many cities
One of arch-criminal of atmosphere pollution, photochemical fog are exactly that it one of mainly influences.Photochemical fog is referred in air
Hydrocarbon and nitrogen oxides form the secondary pollutions such as ozone, aldehydes, ketone, PAN in the presence of illumination, and it is to human body
Influence be much larger than nitrogen oxides and hydrocarbon.
In history, photochemical pollution event serious several times occurred for the whole world, and place is without exception big
Type and ultra-large type city.1970, the photochemical fog time occurred for Los Angeles,U.S, and the resident for causing whole city 3/4ths suffers from
Disease, photochemical fog event occurs for Tokyo within 1971, causes local student poisoning stupor occur.It can be seen that vehicle exhaust is
The wide gap that city is difficult to go beyond between the two in maximization and enhancement of environment.With the quick hair of China's economy in recent years
There are large quantities of large size cities and some ultra-large type cities to catch up with and surpass the world standards in exhibition, the country, in the development of city maximization
During be necessarily accompanied with the surge of vehicle guaranteeding organic quantity, so as to bring huge pressure to atmospheric environment, Beijing at the beginning of 2013
The haze weather that area continues more days is exactly strong proof.
Therefore, vehicle exhaust on-line monitoring system gradually enters into the visual field of urban environmental management department and automobile production department
In.But because vehicle exhaust on-line monitoring system involves great expense, to prevent vehicle exhaust on-line monitoring system to be abused, need
A set of authentication mechanism is developed to vehicle exhaust on-line monitoring system, and in the prior art and in the absence of such mechanism.
The content of the invention
In order to solve the above problems, the invention provides a kind of vehicle exhaust based on technology of Internet of things to monitor system on-line
System, vehicle exhaust on-line monitoring system in the prior art is transformed, increase authentication mechanism for vehicle exhaust on-line monitoring system, so as to
Avoid vehicle exhaust on-line monitoring system from being abused without reason, avoid to urban environmental management department and automobile production department cause through
Ji loss.
According to an aspect of the present invention, there is provided a kind of vehicle exhaust on-line monitoring system based on technology of Internet of things, institute
Stating system includes vehicle exhaust online detection instrument and user login management equipment, and vehicle exhaust online detection instrument is used for use
Family provides the access interface of tail gas on-line checking, in order to which user carries out tail gas on-line checking operation, user login management equipment
It is connected with vehicle exhaust online detection instrument, for controlling access of the user to vehicle exhaust online detection instrument.
More specifically, in the vehicle exhaust on-line monitoring system based on technology of Internet of things, including:Vehicle exhaust exists
Line detection device, for providing the user the access interface of tail gas on-line checking, in order to which user carries out tail gas on-line checking behaviour
Make;User login management equipment, be connected respectively with vehicle exhaust online detection instrument and the more sub- equipment of characteristic vector, for
When receiving recognition of face pass signal, it is allowed to which user enters the access of the tail gas on-line checking of vehicle exhaust online detection instrument
Interface, it is additionally operable to receiving recognition of face failure signal, forbids user to enter the tail gas of vehicle exhaust online detection instrument and exist
The access interface of line detection;High-definition camera, be arranged on vehicle exhaust online detection instrument, for user is taken pictures with
Obtain high-definition image;Face image splitting equipment, is connected with high-definition camera, for receiving high-definition image, and from high-definition image
Place identifies and is partitioned into face image;Pose adjustment equipment, it is connected with face image splitting equipment, for receiving face image,
And left eye position, right eye position, nose position and mouth position in face image, left eye position and the right side are obtained based on face image
Eye position forms two lines, and nose place-centric and mouth position are centrally formed axis line, when two lines and axis connect
During the T-shaped distortion that line is formed, face image is adjusted to correct T-shaped presentation vertical state, and by after adjustment
Face image as correcting facial image output, when two lines and axis line form it is T-shaped be vertical state when,
Directly exported using face image as facial image is corrected;Image conforming equipment, it is connected with pose adjustment equipment, is entangled for receiving
Positive facial image, image specification handles are carried out to obtain specification facial image to correcting facial image, wherein, specification facial image
In two lines center be located at the centre of specification facial image horizontal direction, vertical direction from top to bottom four/
At one;Feature extracting device, unpack equipment with image conforming equipment and IP respectively and be connected, the specification facial image received is entered
Row processing;Feature extracting device includes fluctuation threshold and selects sub- equipment, the sub- equipment of processes pixel, the sub- equipment of matrix-split, ten to enter
System changes sub- equipment, characteristic vector obtains sub- equipment and the more sub- equipment of characteristic vector;Fluctuation threshold selects sub- equipment and image
Conforming equipment connects, for calculating the complexity of specification facial image, the complexity selection fluctuation threshold based on specification facial image
It is worth size, the complexity of specification facial image is higher, and the fluctuation threshold of selection is bigger, and fluctuation threshold is positive number;Processes pixel
Equipment selects sub- equipment and image conforming equipment to be connected with fluctuation threshold respectively, for receiving specification facial image, for specification
Each pixel of facial image performs following handle as object pixel:The pixel centered on object pixel, in specification face
The object pixel matrix of 3 × 3 sizes is obtained in image, by each pixel in object pixel matrix in addition to object pixel
As reference pixel compared with object pixel, to obtain binaryzation matrix, binaryzation matrix is 3 × 3 sizes, binaryzation square
Battle array is made up of 8 binaryzation pixels, and reference pixel is more than or equal to object pixel and fluctuation threshold sum, then corresponding to reference pixel
The pixel value of binaryzation pixel is 1, and reference pixel subtracts the difference after fluctuation threshold less than object pixel, then reference pixel is corresponding
The pixel value of binaryzation pixel be ﹣ 1, the pixel value of binaryzation pixel corresponding to the reference pixel of other values is 0;Matrix is torn open
Molecular Devices are connected with the sub- equipment of processes pixel, for by binaryzation matrix conversion corresponding to each object pixel into one just
Binaryzation matrix and a negative binaryzation matrix, positive binaryzation matrix are made up of 8 binaryzation pixel values, bear binaryzation matrix
It is made up of 8 binaryzation pixel values, each binaryzation pixel value of positive binaryzation matrix subtracts negative binaryzation matrix corresponding positions
The binaryzation pixel value put can obtain the pixel value of the binaryzation pixel of corresponding binaryzation matrix relevant position;The decimal system is changed
Sub- equipment is connected with the sub- equipment of matrix-split, for by all binaryzations of positive binaryzation matrix corresponding to each object pixel
Pixel value form one binary number work by its position in positive binaryzation matrix with first left and then right first up and then down order again
For the positive binary number of target, then the positive binary number of target changed into decimal number as the positive decimal number of target, to be additionally operable to
All binaryzation pixel values of binaryzation matrix will be born corresponding to each object pixel by its position in negative binaryzation matrix
Put and a binary number is formed using first left and then right first up and then down order again entered as target negative binary number, then by target minus two
Number processed changes into decimal number to bear decimal number as target;Characteristic vector obtain sub- equipment respectively with image conforming equipment and
The decimal system changes sub- equipment connection, for the pixel value of each object pixel in specification facial image to be substituted for into the subject image
Positive goal decimal number corresponding to element is simultaneously corresponding by all object pixels according to position of the object pixel in specification facial image
Positive goal decimal number form positive one-dimensional characteristic vector, export, be additionally operable to specification face figure as positive goal characteristic vector
The pixel value of each object pixel, which is substituted for corresponding to the object pixel, as in bears target decimal number and according to object pixel
Position in specification facial image will bear target decimal number composition negative one dimensional feature vector corresponding to all object pixels, make
For negative target feature vector output;The more sub- equipment of characteristic vector obtains sub- equipment with characteristic vector respectively and IP unpacks equipment and connected
Connect, for positive goal characteristic vector to be matched with the positive characteristic vector of each benchmark respectively, negative target feature vector is distinguished
Matched with each benchmark negative feature vector, the two all the match is successful and the positive characteristic vector of benchmark that matches corresponding to authorize
When user's name is identical with authorized user's title corresponding to the benchmark negative feature vector matched, then exports recognition of face and successfully believe
Number and the corresponding authorized user's title of the positive characteristic vector of the benchmark with matching, otherwise will export recognition of face failure signal;
IP unpacks equipment, and for being connected with long-range data server network, the IP numbers at data server are received by network
Unpacked according to bag, and to IP packets to obtain 6LowPAN packets;Wherein, IP packets are that 6LowPAN packets are beaten
The packet obtained after IP bags, the load in 6LowPAN packets include the positive feature of each benchmark at data server to
Amount and each benchmark negative feature vector, the head in 6LowPAN packets are compressed datas, the 6LowPAN packets after decompression
In head be used for the load in 6LowPAN packets is parsed;Wherein, the positive characteristic vector of each benchmark is to corresponding
Authorized user's benchmark face-image carry out in advance with the positive characteristic vector pickup of feature extracting device same operation and obtain to
Amount, each benchmark negative feature vector are that progress is identical with feature extracting device in advance to corresponding authorized user's benchmark face-image
The vector that the negative feature vector of operation is extracted and obtained;Edge sensing equipment, unpack equipment with IP and be connected, unpacked for receiving IP
The 6LowPAN packets of equipment output, the head for the 6LowPAN packets for being rendered as compressed data is obtained, to 6LowPAN data
The head of bag is decompressed with the head in the 6LowPAN packets after being decompressed;6LowPAN unpacks equipment, is set with edge sensing
Standby connection, for receiving 6LowPAN packets to obtain the load in 6LowPAN packets, and based on the 6LowPAN after decompression
Head in packet parses to the load in 6LowPAN packets, to obtain the positive characteristic vector of each benchmark and each
Benchmark negative feature vector;Wherein, fluctuation threshold selects sub- equipment, the sub- equipment of processes pixel, the sub- equipment of matrix-split, the decimal system to turn
Change sub- equipment, characteristic vector obtains sub- equipment and the more sub- equipment of characteristic vector respectively by the CPLD chips of different model Lai real
It is existing.
More specifically, in the vehicle exhaust on-line monitoring system based on technology of Internet of things:Display device, with high definition
Camera connects, for showing the picture material of high-definition camera output.
More specifically, in the vehicle exhaust on-line monitoring system based on technology of Internet of things:Display device shows for LCD
Display screen.
More specifically, in the vehicle exhaust on-line monitoring system based on technology of Internet of things:Display device shows for LED
Display screen.
More specifically, in the vehicle exhaust on-line monitoring system based on technology of Internet of things, in addition to:Touch-screen,
For the operation according to user, the input information of user is received.
More specifically, in the vehicle exhaust on-line monitoring system based on technology of Internet of things:Touch-screen is integrated in
On display device.
Brief description of the drawings
Embodiment of the present invention is described below with reference to accompanying drawing, wherein:
Fig. 1 is the knot of the vehicle exhaust on-line monitoring system based on technology of Internet of things according to embodiment of the present invention
Structure block diagram.
Reference:1 vehicle exhaust online detection instrument;2 user login management equipment
Embodiment
Below with reference to accompanying drawings to the embodiment party of the vehicle exhaust on-line monitoring system based on technology of Internet of things of the invention
Case is described in detail.
In the prior art, vehicle exhaust on-line monitoring system lacks effective authentication mechanism, easily indiscriminate by unauthorized personnel
With under the use without the unauthorized personnel of training, it is easy to caused damage to vehicle exhaust on-line monitoring system, so as to
Cause larger economic loss.
In order to overcome above-mentioned deficiency, the present invention has built a kind of vehicle exhaust on-line monitoring system based on technology of Internet of things
System, using existing vehicle exhaust on-line monitoring system, introduces high-precision facial recognition mechanisms and efficient Large Copacity leads to
Letter mechanism, so as to provide the authentication device of reliable vehicle exhaust on-line monitoring system.
Fig. 1 is the knot of the vehicle exhaust on-line monitoring system based on technology of Internet of things according to embodiment of the present invention
Structure block diagram, the system include vehicle exhaust online detection instrument and user login management equipment, vehicle exhaust on-line checking
Equipment is used for the access interface for providing the user tail gas on-line checking, in order to which user carries out tail gas on-line checking operation, user
Log-in manager is connected with vehicle exhaust online detection instrument, for controlling visit of the user to vehicle exhaust online detection instrument
Ask.
Then, continue to carry out the concrete structure of the vehicle exhaust on-line monitoring system based on technology of Internet of things of the present invention
Further instruction.
The system includes:Vehicle exhaust online detection instrument, for providing the user access circle of tail gas on-line checking
Face, in order to which user carries out tail gas on-line checking operation;User login management equipment, respectively with vehicle exhaust online detection instrument
Connected with the more sub- equipment of characteristic vector, for when receiving recognition of face pass signal, it is allowed to which user enters vehicle exhaust
The access interface of the tail gas on-line checking of online detection instrument, it is additionally operable to receiving recognition of face failure signal, forbids user
Into the access interface of the tail gas on-line checking of vehicle exhaust online detection instrument.
The system includes:High-definition camera, it is arranged on vehicle exhaust online detection instrument, for clapping user
According to obtain high-definition image;Face image splitting equipment, is connected with high-definition camera, for receiving high-definition image, and from high definition
Identified at image and be partitioned into face image.
The system includes:Pose adjustment equipment, it is connected with face image splitting equipment, for receiving face image, and
Left eye position, right eye position, nose position and mouth position, left eye position and right eye in face image are obtained based on face image
Position forms two lines, and nose place-centric and mouth position are centrally formed axis line, when two lines and axis line
During the T-shaped distortion formed, face image is adjusted to correct T-shaped presentation vertical state, and by after adjustment
Face image as correcting facial image output, when two lines and axis line form it is T-shaped be vertical state when, directly
Connect using face image as facial image is corrected and export.
The system includes:Image conforming equipment, it is connected with pose adjustment equipment, facial image is corrected for receiving, it is right
Correct facial image and carry out image specification handles to obtain specification facial image, wherein, two lines in specification facial image
Center be located at the centre of specification facial image horizontal direction, vertical direction a quarter from top to bottom at.
The system includes:Feature extracting device, unpack equipment with image conforming equipment and IP respectively and be connected, to receiving
Specification facial image handled;Feature extracting device includes fluctuation threshold and selects sub- equipment, the sub- equipment of processes pixel, matrix
Tear Molecular Devices open, the decimal system changes sub- equipment, characteristic vector obtains sub- equipment and the more sub- equipment of characteristic vector;Fluctuation threshold is selected
Select sub- equipment to be connected with image conforming equipment, for calculating the complexity of specification facial image, based on answering for specification facial image
Miscellaneous degree selection fluctuation threshold size, the complexity of specification facial image is higher, and the fluctuation threshold of selection is bigger, and fluctuation threshold is just
Number;The sub- equipment of processes pixel selects sub- equipment and image conforming equipment to be connected with fluctuation threshold respectively, for receiving specification face
Image, following handle is performed as object pixel for each pixel of specification facial image:The picture centered on object pixel
Element, in specification facial image obtain 3 × 3 sizes object pixel matrix, by object pixel matrix except object pixel it
Each outer pixel as reference pixel compared with object pixel, to obtain binaryzation matrix, binaryzation matrix is 3 ×
3 sizes, binaryzation matrix are made up of 8 binaryzation pixels, and reference pixel is more than or equal to object pixel and fluctuation threshold sum, then
The pixel value of binaryzation pixel corresponding to reference pixel is 1, and reference pixel subtracts the difference after fluctuation threshold less than object pixel,
Then the pixel value of binaryzation pixel corresponding to reference pixel is ﹣ 1, the picture of binaryzation pixel corresponding to the reference pixel of other values
Element value is 0;The sub- equipment of matrix-split is connected with the sub- equipment of processes pixel, for by binaryzation square corresponding to each object pixel
Battle array is converted into a positive binaryzation matrix and a negative binaryzation matrix, positive binaryzation matrix are made up of 8 binaryzation pixel values,
Negative binaryzation matrix is also made up of 8 binaryzation pixel values, and each binaryzation pixel value of positive binaryzation matrix subtracts minus two
The binaryzation pixel value of value matrix relevant position can obtain the picture of the binaryzation pixel of corresponding binaryzation matrix relevant position
Element value;The decimal system is changed sub- equipment and is connected with the sub- equipment of matrix-split, for by positive binaryzation corresponding to each object pixel
All binaryzation pixel values of matrix are by its position in positive binaryzation matrix with first left and then right first up and then down order group again
Into a binary number as the positive binary number of target, then by the positive binary number of target change into decimal number using as target just
Decimal number, it is additionally operable to all binaryzation pixel values of negative binaryzation matrix corresponding to each object pixel by it minus two
Position in value matrix forms a binary number as target negative binary number using first left and then right first up and then down order again,
Target negative binary number is changed into decimal number to bear decimal number as target again;Characteristic vector obtain sub- equipment respectively with
Image conforming equipment and the decimal system are changed sub- equipment and connected, for by the pixel value of each object pixel in specification facial image
It is substituted for positive goal decimal number corresponding to the object pixel and according to position of the object pixel in specification facial image by institute
The positive goal decimal number corresponding to object pixel forms positive one-dimensional characteristic vector, exports as positive goal characteristic vector, also uses
Target decimal number is born corresponding to the object pixel in the pixel value of each object pixel in specification facial image is substituted for
And target decimal number composition will be born corresponding to all object pixels according to position of the object pixel in specification facial image and will be born
One-dimensional characteristic vector, is exported as negative target feature vector;The more sub- equipment of characteristic vector obtains son with characteristic vector respectively and set
It is standby to be connected with IP unpackings equipment, will be negative for positive goal characteristic vector to be matched with the positive characteristic vector of each benchmark respectively
Target feature vector is matched with each benchmark negative feature vector respectively, and all the match is successful and the benchmark that matches is just special for the two
It is when authorized user's title corresponding to sign vector is identical with authorized user's title corresponding to the benchmark negative feature vector matched, then defeated
Go out recognition of face pass signal and the corresponding authorized user's title of the positive characteristic vector of the benchmark with matching, otherwise will export people
Face recognition failures signal.
The system includes:IP unpack equipment, for being connected with long-range data server network, by network reception come
Unpacked from the IP packets at data server, and to IP packets to obtain 6LowPAN packets;Wherein, IP packets are
To 6LowPAN packets beat the packet of acquisition after IP bags, the load in 6LowPAN packets includes data server
The positive characteristic vector of each benchmark and each benchmark negative feature at place are vectorial, and the head in 6LowPAN packets is compressed data, solution
The head in 6LowPAN packets after pressure is used to parse the load in 6LowPAN packets;Wherein, each base
Accurate positive characteristic vector is to carry out the positive spy with feature extracting device same operation in advance to corresponding authorized user's benchmark face-image
The vector that sign vector is extracted and obtained, each benchmark negative feature vector are pre- advanced to corresponding authorized user's benchmark face-image
The vector that row and the negative feature vector of feature extracting device same operation are extracted and obtained.
The system includes:Edge sensing equipment, unpack equipment with IP and be connected, equipment output is unpacked for receiving IP
6LowPAN packets, the head for the 6LowPAN packets for being rendered as compressed data is obtained, the head of 6LowPAN packets is solved
Pressure is with the head in the 6LowPAN packets after being decompressed.
The system includes:6LowPAN unpacks equipment, is connected with edge sensing equipment, for receiving 6LowPAN packets
To obtain the load in 6LowPAN packets, and based on the head in the 6LowPAN packets after decompression to 6LowPAN data
Load in bag is parsed, to obtain the positive characteristic vector of each benchmark and each benchmark negative feature vector.
Wherein, fluctuation threshold selects sub- equipment, the sub- equipment of processes pixel, the sub- equipment of matrix-split, decimal system conversion to set
Standby, characteristic vector obtains sub- equipment and the more sub- equipment of characteristic vector and realized respectively by the CPLD chips of different model.
Alternatively, in the control platform:Display device, it is connected with high-definition camera, for showing high-definition camera
The picture material of output;Display device is LCD display;Display device is LED display;Also include touch-screen, for basis
The operation of user, receive the input information of user;And touch-screen is integrated on the display device.
In addition, recognition of face is mainly used in identification.Because video monitoring is quickly being popularized, numerous video monitorings
Using there is an urgent need to the quick identity recognizing technology under a kind of remote, non-mated condition of user, quickly confirm in the hope of remote
Personnel identity, realize intelligent early-warning.Face recognition technology is undoubtedly optimal selection, can be from using fast face detection technique
Real-time searching face in monitor video image, and compared in real time with face database, so as to realize quick identification.
Biological identification technology is widely used in government, army, bank, welfare, ecommerce, safe defence etc.
Field.For example, a depositor has come into bank, he both not with bank card, also just withdrew deposit, when he is carrying straight without memory password
When being withdrawn deposit on money machine, then a video camera quickly and accurately completes user identity identification to the eye scanning of the user,
Complete business.This is the real camera lens occurred in a sales department of Texas, USA bank of union.And it is somebody's turn to do
It is exactly " iris authentication system " in modern biotechnology identification technology used in sales department.In addition, after U.S.'s September 11 attacks, instead
Terrorist activity has turned into the common recognition of national governments, and the safe defence for strengthening airport is particularly significant.The face picture of U.S. Visa lattice company
Identification technology is given full play to one's remarkable skill on two airports in the U.S., and it can choose a certain face in crowded crowd, and it is not to judge him
It is wanted criminal.
The continuous generation of the case such as crack a crib, plunder, hurting sb.'s feelings frequently occurred in current social, in view of such a reason,
Antitheft door starts to come into huge numbers of families, and peacefulness is brought to family;However, with the development of society, the progress of technology, rhythm of life
Acceleration, the raising of the level of consumption, expectation of the people for household also more and more higher, to easily requiring also more and more urgent,
Based on the antitheft door of traditional pure Machine Design, in addition to sturdy and durable, it is difficult to quickly meet the needs of these are emerging:Just
Victory, the functions such as record of opening the door.Face recognition technology is widely accepted, but it is still very high using threshold:Technology door
Sill height (construction cycle length), Economic Threshold are high (price is high).
Face recognition products be widely used to finance, the administration of justice, army, public security, frontier inspection, government, space flight, electric power, factory,
The fields such as education, medical and numerous enterprises and institutions.With further ripe and Social Agree the raising of technology, face is known
Other technology is applied in more fields.
Using the vehicle exhaust on-line monitoring system based on technology of Internet of things of the present invention, for car tail in the prior art
The technical problem that gas on-line monitoring system is easily damaged by rawness personnel, by increasing in vehicle exhaust on-line monitoring system
Authentication device based on face recognition technology and based on technology of Internet of things, so as to solve above-mentioned technical problem.
It is understood that although the present invention is disclosed as above with preferred embodiment, but above-described embodiment and it is not used to
Limit the present invention.For any those skilled in the art, without departing from the scope of the technical proposal of the invention,
Many possible changes and modifications are all made to technical solution of the present invention using the technology contents of the disclosure above, or are revised as
With the equivalent embodiment of change.Therefore, every content without departing from technical solution of the present invention, the technical spirit pair according to the present invention
Any simple modifications, equivalents, and modifications made for any of the above embodiments, still fall within the scope of technical solution of the present invention protection
It is interior.