Summary of the invention
In order to solve the technical matters that prior art exists, the invention provides a kind of jam level Network Recognition method, photographed images and the on the spot weighted value of car speed two factor when determining target road section jam level is on the spot determined based on haze concentration on the spot, simultaneously, also introduce high-precision image recognition technology and battery saving mode, improve reliability and the accuracy of recognition system.
According to an aspect of the present invention, provide a kind of jam level Network Recognition method, the method comprises the following steps: 1) a kind of jam level Network Recognition system is provided, described recognition system comprises image receiving apparatus on the spot, car terminals data receiver and embedded processing equipment, described image receiving apparatus on the spot receives the section image on the spot of the target road section of the camera transmission being in target road section by network service, described car terminals data receiver receives the automobile real-time speed of the car terminals transmission being in target road section by network service, described embedded processing equipment is according to the jam level of described section image and described automobile real-time speed determination target road section on the spot, and 2) use described recognition system to identify
More specifically, in described jam level Network Recognition system, also comprise: haze concentration requesting service, be connected with gps data query facility, for the gps data of target road section is sent to local meteorological monitor supervision platform, so that the meteorological monitor supervision platform in described locality is according to the haze concentration of the gps data determination target road section of target road section, haze concentration receiving equipment, for receiving the haze concentration of the target road section that the meteorological monitor supervision platform in described locality returns, request receiving equipment, for the request of the congestion level in receiving target section, the request of the congestion level of described target road section comprises the title of target road section and the mark of requesting terminal, and described request receiving equipment resolves the request of the congestion level of described target road section with the mark of the title and requesting terminal that obtain target road section, portable hard drive, for prestoring the weight table of comparisons, automobile upper limit gray threshold, automobile lower limit gray threshold and 9 jam level threshold values, the described weight table of comparisons with haze concentration for index, save the weighted value of view data on the spot when determining section jam level and car terminals data rights weight values, haze concentration is larger, view data weighted value is less on the spot, car terminals data rights weight values is larger, described automobile upper limit gray threshold and described automobile lower limit gray threshold are used for the automobile in image and background separation, described 9 jam level threshold values according to equally distributed mode value from small to large to determine 10 jam level intervals, gps data query facility, adopt Cloud Server form to realize, be called index with section name, prestored the gps data in each section, described gps data query facility is connected with described request receiving equipment, for the gps data of the name query target road section in based target section, gps data transmitting apparatus, be connected with described gps data query facility, for the gps data of target road section being sent to the camera being in target road section and the car terminals being in target road section, so that the camera being in target road section returns the section image on the spot of target road section, the car terminals being convenient to be in target road section returns its real-time speed, the section on the spot image of target road section of described image receiving apparatus on the spot for receiving the camera that is in target road section and returning, comprise wavelet filtering subset, edge enhancer equipment, gray processing process subset, automobile recognin equipment and microcontroller, described wavelet filtering subset receives described section image on the spot, to the filtering process of described section image execution on the spot based on Haar wavelet transform wave filter, to obtain section filtering image, described edge enhancer equipment is connected with described wavelet filtering subset, edge is performed to described section filtering image and strengthens process, image is strengthened to obtain section, described gray processing process subset and described edge enhancer equipment connection perform gray processing process to strengthen image to described section, obtain gray level image, described automobile recognin equipment is connected respectively with described gray processing process subset and described portable hard drive, the pixel identification of gray-scale value in described gray level image between described automobile upper limit gray threshold and described automobile lower limit gray threshold is formed multiple automobile subimage, described microcontroller and described automobile recognin equipment connection, the automobile quantity of the quantity of multiple automobile subimage as target road section is exported, described car terminals data receiver is for receiving the real-time speed of the car terminals transmission being in target road section, described embedded processing equipment and described portable hard drive, described haze concentration receiving equipment, described image receiving apparatus is on the spot connected respectively with described car terminals data receiver, the haze concentration in based target section finds the corresponding weighted value of view data on the spot and corresponding car terminals data rights weight values in the described weight table of comparisons, the weighted value of view data on the spot of correspondence is multiplied with the automobile quantity of target road section, by the car terminals data rights weight values of correspondence and the reciprocal multiplication of real-time speed, by two product addition to obtain the congestion level numerical value of target road section, the congestion level numerical value of target road section is dropped on the jam level of the grade in described 10 jam level intervals corresponding to some grade intervals as target road section, congestion level transmitting apparatus, be connected respectively with described request receiving equipment and described embedded processing equipment, for the mark based on described request terminal, the jam level of the target road section exported by described embedded processing equipment is sent to the requesting terminal corresponding to mark of described request terminal, wherein, described wavelet filtering subset, edge enhancer equipment, gray processing process subset, automobile recognin equipment adopt the fpga chip of different model to realize respectively, and described wavelet filtering subset, edge enhancer equipment, gray processing process subset, automobile recognin equipment and microcontroller are integrated on one piece of surface-mounted integrated circuit, described embedded processing equipment is when the request of congestion level receiving the target road section that request receiving equipment sends, by described gps data query facility, described gps data transmitting apparatus, described haze concentration requesting service, described haze concentration receiving equipment, described image receiving apparatus on the spot and described car terminals data receiver start from battery saving mode, when described embedded processing equipment is after the jam level sending target road section, control described gps data query facility, described gps data transmitting apparatus, described haze concentration requesting service, described haze concentration receiving equipment, described image receiving apparatus on the spot and described car terminals data receiver enter battery saving mode.
More specifically, in described jam level Network Recognition system: described microcontroller is single-chip microcomputer.
More specifically, in described jam level Network Recognition system, also comprise: display device, with described embedded processing equipment connection, for showing the quantity of automobile on the spot of described target road section, the automobile quantity of described target road section and the jam level of described target road section.
More specifically, in described jam level Network Recognition system, also comprise: power-supply unit, comprise solar powered device, lithium battery, change-over switch and electric pressure converter, described change-over switch is connected respectively with described solar powered device and described lithium battery, dump energy according to lithium battery determines whether be switched to described solar powered device to be powered by described solar powered device, described electric pressure converter is connected with described change-over switch, with the 5V voltage transitions will inputted by change-over switch for 3.3V voltage.
More specifically, in described jam level Network Recognition system: described embedded processing equipment is ARM11 processor.
Embodiment
Below with reference to accompanying drawings the embodiment of jam level Network Recognition system of the present invention is described in detail.
Current navigator, it generally depends on single factor test pattern to the detection of the congestion in section, and this pattern is easily interfered, and causes the reference data improved not have reference value, even has misleading, for the trip of people brings inconvenience.
In order to overcome above-mentioned deficiency, the present invention has built a kind of jam level Network Recognition system, by photographed images on the spot and on the spot car speed combined the real-time jam level judging each target road section by weighting scheme, thus effectively to solve the problems of the technologies described above.
Fig. 1 is the block diagram of the jam level Network Recognition system illustrated according to an embodiment of the present invention, described recognition system comprises image receiving apparatus 1 on the spot, car terminals data receiver 2 and embedded processing equipment 3, described image receiving apparatus on the spot 1 receives the section image on the spot of the target road section of the camera transmission being in target road section by network service, described car terminals data receiver 2 receives the automobile real-time speed of the car terminals transmission being in target road section by network service, described embedded processing equipment 3 is according to the jam level of described section image and described automobile real-time speed determination target road section on the spot.
Then, continue to be further detailed the concrete structure of jam level Network Recognition system of the present invention.
Described recognition system also comprises: haze concentration requesting service, be connected with gps data query facility, for the gps data of target road section is sent to local meteorological monitor supervision platform, so that the meteorological monitor supervision platform in described locality is according to the haze concentration of the gps data determination target road section of target road section.
Described recognition system also comprises: haze concentration receiving equipment, for receiving the haze concentration of the target road section that the meteorological monitor supervision platform in described locality returns.
Described recognition system also comprises: request receiving equipment, for the request of the congestion level in receiving target section, the request of the congestion level of described target road section comprises the title of target road section and the mark of requesting terminal, and described request receiving equipment resolves the request of the congestion level of described target road section with the mark of the title and requesting terminal that obtain target road section.
Portable hard drive, for prestoring the weight table of comparisons, automobile upper limit gray threshold, automobile lower limit gray threshold and 9 jam level threshold values, the described weight table of comparisons with haze concentration for index, save the weighted value of view data on the spot when determining section jam level and car terminals data rights weight values, haze concentration is larger, view data weighted value is less on the spot, car terminals data rights weight values is larger, described automobile upper limit gray threshold and described automobile lower limit gray threshold are used for the automobile in image and background separation, described 9 jam level threshold values according to equally distributed mode value from small to large to determine 10 jam level intervals.
Described recognition system also comprises: gps data query facility, Cloud Server form is adopted to realize, index is called with section name, prestore the gps data in each section, described gps data query facility is connected with described request receiving equipment, for the gps data of the name query target road section in based target section.
Described recognition system also comprises: gps data transmitting apparatus, be connected with described gps data query facility, for the gps data of target road section being sent to the camera being in target road section and the car terminals being in target road section, so that the camera being in target road section returns the section image on the spot of target road section, the car terminals being convenient to be in target road section returns its real-time speed.
The section on the spot image of target road section of described image receiving apparatus on the spot 1 for receiving the camera that is in target road section and returning, comprise wavelet filtering subset, edge enhancer equipment, gray processing process subset, automobile recognin equipment and microcontroller, described wavelet filtering subset receives described section image on the spot, to the filtering process of described section image execution on the spot based on Haar wavelet transform wave filter, to obtain section filtering image, described edge enhancer equipment is connected with described wavelet filtering subset, edge is performed to described section filtering image and strengthens process, image is strengthened to obtain section, described gray processing process subset and described edge enhancer equipment connection perform gray processing process to strengthen image to described section, obtain gray level image, described automobile recognin equipment is connected respectively with described gray processing process subset and described portable hard drive, the pixel identification of gray-scale value in described gray level image between described automobile upper limit gray threshold and described automobile lower limit gray threshold is formed multiple automobile subimage, described microcontroller and described automobile recognin equipment connection, the automobile quantity of the quantity of multiple automobile subimage as target road section is exported.
Described car terminals data receiver 2 is for receiving the real-time speed of the car terminals transmission being in target road section.
Described embedded processing equipment 3 and described portable hard drive, described haze concentration receiving equipment, described image receiving apparatus on the spot 1 is connected respectively with described car terminals data receiver 2, the haze concentration in based target section finds the corresponding weighted value of view data on the spot and corresponding car terminals data rights weight values in the described weight table of comparisons, the weighted value of view data on the spot of correspondence is multiplied with the automobile quantity of target road section, by the car terminals data rights weight values of correspondence and the reciprocal multiplication of real-time speed, by two product addition to obtain the congestion level numerical value of target road section, the congestion level numerical value of target road section is dropped on the jam level of the grade in described 10 jam level intervals corresponding to some grade intervals as target road section.
Described recognition system also comprises: congestion level transmitting apparatus, be connected respectively with described request receiving equipment and described embedded processing equipment 3, for the mark based on described request terminal, the jam level of the target road section exported by described embedded processing equipment is sent to the requesting terminal corresponding to mark of described request terminal.
Wherein, described wavelet filtering subset, edge enhancer equipment, gray processing process subset, automobile recognin equipment adopt the fpga chip of different model to realize respectively, and described wavelet filtering subset, edge enhancer equipment, gray processing process subset, automobile recognin equipment and microcontroller are integrated on one piece of surface-mounted integrated circuit, described embedded processing equipment 3 is when the request of congestion level receiving the target road section that request receiving equipment sends, by described gps data query facility, described gps data transmitting apparatus, described haze concentration requesting service, described haze concentration receiving equipment, described image receiving apparatus on the spot 1 and described car terminals data receiver 2 start from battery saving mode, when described embedded processing equipment 3 is after the jam level sending target road section, control described gps data query facility, described gps data transmitting apparatus, described haze concentration requesting service, described haze concentration receiving equipment, described image receiving apparatus on the spot 1 and described car terminals data receiver 2 enter battery saving mode.
Alternatively, described microcontroller is single-chip microcomputer; Described jam level Network Recognition system also comprises: display device, is connected with described embedded processing equipment 3, for showing the quantity of automobile on the spot of described target road section, the automobile quantity of described target road section and the jam level of described target road section; Described jam level Network Recognition system also comprises: power-supply unit, comprise solar powered device, lithium battery, change-over switch and electric pressure converter, described change-over switch is connected respectively with described solar powered device and described lithium battery, dump energy according to lithium battery determines whether be switched to described solar powered device to be powered by described solar powered device, described electric pressure converter is connected with described change-over switch, with the 5V voltage transitions will inputted by change-over switch for 3.3V voltage; And described embedded processing equipment 3 is ARM11 processor.
In addition, FPGA (Field-ProgrammableGateArray), i.e. field programmable gate array, he is the product further developed on the basis of the programming devices such as PAL, GAL, CPLD.He occurs as a kind of semi-custom circuit in special IC (ASIC) field, has both solved the deficiency of custom circuit, overcomes again the shortcoming that original programming device gate circuit number is limited.
With the circuit design that hardware description language (Verilog or VHDL) completes, can through simple comprehensive and layout, being burned onto fast on FPGA and testing, is the technology main flow of modern IC designs checking.These can be edited element and can be used to realize some basic logic gates (such as AND, OR, XOR, NOT) or more more complex combination function such as demoder or mathematical equation.Inside most FPGA, in these editable elements, also comprise memory cell such as trigger (Flip-flop) or other more complete block of memory.System designer can be coupled together the logical block of FPGA inside by editable connection as required, just looks like that a breadboard has been placed in a chip.One dispatch from the factory after the logical block of finished product FPGA can change according to deviser with being connected, so FPGA can complete required logic function.
FPGA is in general slow than the speed of ASIC (special IC), realizes same function ratio ASIC circuit area and wants large.But they also have a lot of advantages such as can finished product fast, can be modified the mistake in correction program and more cheap cost.Manufacturer also may provide the FPGA of cheap still edit capability difference.Because these chips have poor can edit capability, so exploitations of these designs complete on common FPGA, then design is transferred to one and is similar on the chip of ASIC.Another method is with CPLD (ComplexProgrammableLogicDevice, CPLD).The exploitation of FPGA has a great difference relative to the exploitation of conventional P C, single-chip microcomputer.FPGA, based on concurrent operation, realizes with hardware description language; Very large difference is had compared to the sequential operation of PC or single-chip microcomputer (no matter being von Neumann structure or Harvard structure).
As far back as 1980 mid-nineties 90s, FPGA takes root in PLD equipment.CPLD and FPGA includes the Programmadle logic unit of some relatively large amount.The density of CPLD logic gate is between several thousand to several ten thousand logical blocks, and FPGA normally arrives millions of several ten thousand.The key distinction of CPLD and FPGA is their system architecture.CPLD is a somewhat restrictive structure.This structure is arranged by the logical groups of one or more editable result sum and forms with the register of the locking of some relatively small amounts.Such result lacks editor's dirigibility, but but have the time delay and logical block that can estimate to the advantage of linkage unit height ratio.And FPGA has a lot of linkage units, although allow him edit more flexibly like this, structure is complicated many.
Adopt jam level Network Recognition system of the present invention, for the technical matters that single factor test section congestion level detecting pattern testing result precision in prior art is not high, will on the spot photographed images and on the spot car speed combined by weighting scheme, carry out graduation to the congestion level of each target road section to judge, thus provide more valuable navigation data for people.
Be understandable that, although the present invention with preferred embodiment disclose as above, but above-described embodiment and be not used to limit the present invention.For any those of ordinary skill in the art, do not departing under technical solution of the present invention ambit, the technology contents of above-mentioned announcement all can be utilized to make many possible variations and modification to technical solution of the present invention, or be revised as the Equivalent embodiments of equivalent variations.Therefore, every content not departing from technical solution of the present invention, according to technical spirit of the present invention to any simple modification made for any of the above embodiments, equivalent variations and modification, all still belongs in the scope of technical solution of the present invention protection.