Disclosure of Invention
The present invention provides a sprinkler scheduling system and scheduling method that overcomes, or at least partially solves, the above problems.
According to an aspect of the invention, there is provided a sprinkler scheduling system, comprising:
the road section obtaining module is used for obtaining at least one road section of the sprinkler reaching the next relay point as a candidate road section and the length of each candidate road section according to the current position and the destination of the sprinkler;
the vehicle information acquisition module is used for acquiring the average speed and the sprinkling normalization of the sprinkler;
and the scheduling module is used for obtaining a road section from at least one candidate road section according to the length of each candidate road section, the average speed of the watering cart, the watering normalization degree of the previous road section, the number of the watering carts which have driven into the candidate road section and the average watering normalization degree, and taking the road section as the driving road section of the watering cart.
Preferably, the dispatching system of the sprinkler further comprises:
and the navigation module is used for navigating the sprinkler according to the driving road section of the sprinkler.
Preferably, the dispatching system of the sprinkler further comprises: a dispatching center;
the road segment obtaining module is further configured to:
sending the current position and the destination of the sprinkler to the dispatching center, and receiving a map returned by the dispatching center;
the dispatch center is configured to:
after the current position and the destination of the sprinkler are received, determining a plurality of road sections between the current position and the destination of the sprinkler according to the current air quality index information, and returning the map containing the road sections to the road section acquisition module.
Preferably, the road segment obtaining module is specifically configured to:
taking the direction from the current position of the sprinkler to the destination as a reference direction;
sorting from small to large according to the included angle between the direction of each road section of the sprinkler reaching the next relay point and the reference direction;
and taking a certain number of road sections ranked at the top as the candidate road sections.
Preferably, the scheduling module is specifically configured to:
for each candidate road section, obtaining a ring evaluation value corresponding to the candidate road section according to the length of the candidate road section, the average speed of the watering cart, the watering normalization degree of the previous road section, the number of watering carts which have driven into the candidate road section and the average watering normalization degree, wherein the ring evaluation value is used for evaluating the environmental influence of the watering carts on the road section;
and taking the candidate road section corresponding to the lowest ring evaluation value as the driving road section of the sprinkler.
Preferably, the evaluation round value corresponding to the candidate road section is obtained according to the following formula:
wherein Q isNRing score, r, representing the Nth candidate road segmentiIndicating the standard degree of sprinkling water for the ith sprinkler that has driven into the Nth candidate road section, M indicating the total number of sprinklers that have driven into the Nth candidate road section within a certain time, l indicating the length of the Nth candidate road section, raIndicating the norm of the watering of the road segment preceding said sprinkler, v indicating the average speed of said sprinkler.
Preferably, the navigation module is further configured to:
when the watering cart enters the driving section, first vehicle information is sent to the scheduling module, and when the watering cart exits the driving section, second vehicle information is sent to the scheduling module;
the scheduling module is further configured to:
updating the number of the watering lorries which have driven into the candidate road section and the average watering normalization according to the first vehicle information and the second vehicle information;
the first vehicle information comprises the unique identification information of the sprinkler and the time of driving into the driving road section, and the second vehicle information comprises the unique identification information of the sprinkler, the time of driving out of the driving road section and the water spraying standardization degree on the driving road section.
Preferably, the watering norms include a flush pressure norm, a vehicle speed norm, and a humidity norm.
According to another aspect of the present invention, there is also provided a method for scheduling a sprinkler, including:
according to the current position and the destination of the sprinkler, at least one road section of the sprinkler reaching the next relay point is obtained and used as a candidate road section and the length of each candidate road section;
obtaining the average speed and the standard degree of sprinkling of the sprinkler;
and acquiring a road section from the at least one candidate road section according to the length of each candidate road section, the average speed of the sprinkler and the sprinkling normalization degree of the previous road section, the number of sprinklers driving into the candidate road section and the average sprinkling normalization degree, and taking the road section as the driving road section of the sprinkler.
Preferably, the method for dispatching a sprinkler further comprises:
and determining a plurality of road sections between the current position and the destination of the sprinkler according to the current air quality index information.
According to the dispatching system and the dispatching method of the sprinkler, at least one road section of the sprinkler reaching the next relay point is obtained as a candidate road section and the length of each candidate road section according to the current position and the destination of the sprinkler, and the average speed and the sprinkling normalization degree of the sprinkler are obtained; according to the length of each candidate road section, the average speed of the sprinkler, the sprinkling normalization degree of the previous road section, the number of sprinklers which have driven into the candidate road section and the average sprinkling normalization degree, one road section is obtained from at least one candidate road section and is used as a driving road section of the sprinkler.
Detailed Description
The following detailed description of embodiments of the present invention is provided in connection with the accompanying drawings and examples. The following examples are intended to illustrate the invention but are not intended to limit the scope of the invention.
In order to overcome the above problems in the prior art, an embodiment of the present invention provides a dispatching system for a sprinkler, referring to fig. 1, including:
the road section obtaining module is used for obtaining at least one road section of the sprinkler reaching the next relay point as a candidate road section and the length of each candidate road section according to the current position and the destination of the sprinkler;
the vehicle information acquisition module is used for acquiring the average speed and the sprinkling normalization of the sprinkler;
and the scheduling module is used for obtaining a road section from at least one candidate road section according to the length of each candidate road section, the average speed of the watering cart, the watering normalization degree of the previous road section, the number of the watering carts which have driven into the candidate road section and the average watering normalization degree, and taking the road section as the driving road section of the watering cart.
For the road section acquisition module, the road section acquisition module can be arranged on a sprinkler, before the sprinkler works, a driver inputs the destination of the sprinkler to the road section acquisition module, and the road section acquisition module can be provided with a positioning unit and can also be connected with a positioning device arranged on the sprinkler so as to acquire the position information of the sprinkler in real time; at least one route for the sprinkler to reach the next relay point is obtained based on the current location and destination of the sprinkler, see fig. 2, the sprinkler x is currently located on the route a, travels towards the destination Z, the relay point closest to the sprinkler in the travel direction of the sprinkler, i.e. the next relay point, is the relay point 1, the relay point 1 is connected to the route B, the route C, the route D at the same time in addition to the route a, then the route B and the route C may be obtained as candidate routes (obviously if traveling from the route D only further away from the destination) based on the current location and destination of the sprinkler, e.g. based on the current location and direction of the destination, and the candidate routes may be obtained based on the route length traveling from different routes to the destination, e.g. if traveling from the relay point 1 to the destination via the route B, the route length is 3km, the route length from the relay point 1 to the destination through the road section C is 3.5km, the route length from the relay point 1 to the destination through the route D is 5km, then the route B and the route C are used as candidate routes, and the map required by the road section acquisition module can be stored in the road section acquisition module or arranged in a memory of a sprinkler, even a cloud end.
To the selection of positioning element or positioner, can adopt one or more of GPS locator, big dipper locator, wiFi locator or bluetooth ibeacon locator, for example, in open highway section, can fix a position through GPS locator or big dipper locator, in the tunnel, just can use wiFi locator or bluetooth ibeacon locator to fix a position.
For the vehicle information acquisition module, the vehicle information acquisition module may be disposed on a sprinkler, and connected to an on-board OBD device of the sprinkler to obtain an instantaneous speed and an average speed of the sprinkler, where the on-board OBD device is a device for acquiring parameters of an automobile engine, an exhaust system, a fuel system, and the like after the vehicle is started, for example, a tenuous road treasure box.
The watering normalization of the embodiment of the invention comprises respectively carrying out quantitative scoring on whether the flushing pressure of the sprinkler is qualified or not, whether the vehicle speed is normalized or not and whether the road humidity is normalized or not in the driving process, for monitoring the flushing pressure, a plurality of schemes are provided in the prior art, for example, a water pressure sensor is arranged at a water spraying port of the sprinkler, and the flushing pressure is detected through the water pressure sensor, it needs to be explained that whether the flushing pressure is qualified or not in the embodiment of the invention is not only considering the flushing pressure but is dynamically set according to the road width, the flushing pressure in the prior art is usually set to be a fixed value, so that the sprinkler flushes water on a narrow road with a large flushing pressure, and the influence on pedestrians on the road is poor, therefore, when the road width is small, the qualified range of the flushing pressure is low, and when the road width is large, the qualified range of the flushing pressure is higher. The degree of overspeed can be obtained through on-vehicle OBD device, and road surface humidity can be obtained through the humidity transducer who sets up in the road both sides.
In practical application, a relation table of the width of each road and the flushing pressure can be preset, the width of each road can be obtained through estimation of navigation software or can be provided by a municipal department, the road where the sprinkler is located can be obtained according to the current position of the sprinkler, then the width of the road is called, and finally the corresponding flushing pressure is obtained from the preset relation table.
In an optional embodiment, a standard range of the road humidity is set, if the road humidity is not in the standard range, the flushing pressure standard degree is 0, and the anti-regulation is 1; if the average speed of the sprinkler in the road section is between the maximum standard value and the minimum standard value, the speed standard degree is 1, and if the current speed of the sprinkler is greater than the maximum standard value of the road section, the speed standard degree is obtained according to the following formula:
where f represents vehicle speed specification, v1 represents current vehicle speed of the sprinkler, and v0 represents a prescribed maximum index value for the road segment in which the sprinkler is located.
For the flushing pressure specification, if the flushing pressure meets the flushing pressure range of the current road, the watering specification is 1;
if the actual flushing pressure is less than the minimum value of the flushing pressure of the current road, and the ratio of the difference value of the minimum value of the flushing pressure of the current road and the actual flushing pressure to the flushing pressure of the current road is between 0.1 and 0.3, the watering specification is 0.8;
if the actual flushing pressure is greater than the maximum value of the flushing pressure of the current road, and the ratio of the difference value of the actual flushing pressure and the maximum value of the flushing pressure of the current road to the flushing pressure of the current road is 0.1-0.3, the sprinkling normalization is 0.8;
if the actual flushing pressure is less than the minimum value of the flushing pressure of the current road, and the ratio of the difference value of the minimum value of the flushing pressure of the current road and the actual flushing pressure to the flushing pressure of the current road is between 0.3 and 0.5, the watering standardization is 0.5;
if the actual flushing pressure is greater than the maximum value of the flushing pressure of the current road, and the ratio of the difference value of the actual flushing pressure and the maximum value of the flushing pressure of the current road to the flushing pressure of the current road is 0.3-0.5, the sprinkling normalization is 0.5;
if the actual flushing pressure is smaller than the minimum value of the flushing pressure of the current road, the difference value between the minimum value of the flushing pressure of the current road and the actual flushing pressure is larger than 0.5, and the ratio of the difference value to the flushing pressure of the current road is larger than 0.5, the sprinkling normalization is-0.5;
if the actual flushing pressure is greater than the maximum value of the flushing pressure of the current road, and the ratio of the difference value of the actual flushing pressure and the maximum value of the flushing pressure of the current road to the flushing pressure of the current road is greater than 0.5, the sprinkling normalization is-0.5; therefore, the higher the standard degree of the sprinkling of the sprinkler, the more remarkable the improvement of the sprinkler on the road environment.
The reason why the scheduling module selects the travel section according to the length of each candidate section, the speed of the sprinkler, the sprinkling normalization degree of the previous section, the number of sprinklers which have driven into each candidate section and the average sprinkling normalization degree is that the length of the candidate section and the speed of the sprinkler determine the travel time of the sprinkler on the candidate section, the longer the travel time is, the more likely the air quality of the candidate intersection is improved, and meanwhile, the average sprinkling normalization degree of the sprinkler which has passed through the candidate section represents the improvement degree of the sprinkler on the candidate section in the previous period, so that a section which improves the environment along the section can be selected from the candidate sections as the travel section by combining the parameters.
On the basis of the above embodiments, the scheduling system of a sprinkler according to an embodiment of the present invention further includes: and the navigation module is used for navigating the sprinkler according to the driving road section of the sprinkler. Specifically, the navigation module can perform navigation through voice, for example, tell the driver to drive left, drive right, turn to drive, etc., and can also display a map and a driving route on the display screen for the driver to watch.
On the basis of the above embodiments, the scheduling system of a sprinkler according to an embodiment of the present invention further includes: as can be seen from the above embodiments, when selecting a route of a sprinkler, first, a road segment needs to be obtained according to a current location and a destination of the sprinkler, then a candidate road segment is selected from the obtained road segments, and finally, a form road segment is selected from the candidate road segments, so that the scheduling center provides a basis for scheduling: a road segment is provided.
The link acquisition module is further configured to: sending the current position and destination of the sprinkler to the dispatching center, and receiving a map returned by the dispatching center;
the dispatch center is used for: after the current position and the destination of the sprinkler are received, determining a plurality of road sections between the current position and the destination of the sprinkler according to the current air quality index information, and returning a map containing the road sections to the road section acquisition module.
For the road section acquisition module, the map returned by the dispatching center is received by sending the current position and the destination of the sprinkler to the dispatching center, and if the road section acquisition module selects the candidate road section according to the map of the whole city or the whole area, the processing capacity is obviously very large, and the calculated amount is greatly reduced because the road section acquisition module acquires the road section on the map returned by the dispatching center in the embodiment of the invention.
For the dispatching center, the dispatching center determines a reasonable communication area of two positions, and the reasonableness is to reduce the complexity of road section selection as much as possible, wherein the complexity refers to the times of detour and distance reduction, and on the other hand, to select the road section with poor air quality index as much as possible for driving, because if the road section with good air quality index is selected for driving, waste is caused to a sprinkler, and it is very beneficial to plan some roads (namely road sections) firstly.
On the basis of the foregoing embodiment, the link obtaining module is specifically configured to:
taking the direction from the current position of the sprinkler to the destination as a reference direction;
sorting from small to large according to the included angle between the direction of each road section of the sprinkler reaching the next relay point and the reference direction;
and taking a certain number of road sections ranked at the top as candidate road sections.
Specifically, for example, if the direction from the current location of the sprinkler to the destination is 30 ° east, and there are 3 road segments for the sprinkler to reach the next relay point, the direction of the first road segment is 15 ° east, the direction of the second road segment is 20 ° east, and the direction of the third road segment is 40 ° east, then the first road segment and the third road segment can be taken as candidate road segments.
In another optional embodiment, the road segment obtaining module may further select the candidate road segments according to the distance between each road segment and the destination.
On the basis of the foregoing embodiments, the scheduling module is specifically configured to:
for each candidate road section, obtaining a critique value corresponding to the candidate road section according to the length of the candidate road section, the speed of the sprinkler, the sprinkling normalization degree of the previous road section, the number of sprinklers already passing through the candidate road section and the average sprinkling normalization degree, wherein the critique value is used for evaluating the environmental influence of the sprinklers on the road section;
and taking the candidate road section corresponding to the highest ring evaluation value as the driving road section of the sprinkler.
Specifically, the evaluation round value corresponding to the candidate link is obtained according to the following formula:
wherein Q isNRing score, r, representing the Nth candidate road segmentiIndicating the standard degree of sprinkling water for the ith sprinkler that has driven into the Nth candidate road section, M indicating the total number of sprinklers that have driven into the Nth candidate road section within a certain time, l indicating the length of the Nth candidate road section, raIndicating the norm of the water spray for the road section immediately preceding the sprinkler, and v indicating the average speed of the sprinkler. It should be noted that it is preferable that,it is quantified in units of minutes, and since the length of a general link is 1km or less, it is obvious that if it is calculated in hoursThe value of (2) is generally less than 1, so the value is too small, if the value is calculated in seconds, the value is too large, and according to the statistics of the inventor on the sprinkler at ordinary times, the quantification effect is most accurate by taking minutes as a unit.
On the basis of the foregoing embodiments, the navigation module is further configured to: when the watering cart enters the driving road section, first vehicle information is sent to the scheduling module, and when the watering cart exits the driving road section, second vehicle information is sent to the scheduling module;
the scheduling module is further configured to: updating the number of the watering lorries which have driven into the candidate road section and the average watering normalization according to the first vehicle information and the second vehicle information;
the first vehicle information comprises the unique identification information of the sprinkler and the time of driving into the driving road section, and the second vehicle information comprises the unique identification information of the sprinkler, the time of driving out of the driving road section and the water spraying standardization degree of the driving road section.
For the navigation module, when the sprinkler drives into the driving road section, the scheduling module can update the number of sprinklers which drive into the candidate road section more accurately by sending the unique identification information (such as license plate number, engine number and the like) of the sprinkler, the driving information (such as speed and sprinkling normalization degree) of each sprinkler can be bound with the unique identification information, and the driving information is easier to inquire during retrieval.
On the basis of the above embodiments, the water sprinkling normalization includes a water flushing pressure normalization, a sealing normalization, a vehicle speed normalization and a vehicle body water sprinkling normalization.
According to another aspect of the invention, the dispatching method of the sprinkler comprises the following steps:
according to the current position and the destination of the sprinkler, at least one road section of the sprinkler reaching the next relay point is obtained as a candidate road section and the length of each candidate road section;
obtaining the speed of the sprinkler and the standard degree of sprinkling;
and obtaining a road section from at least one candidate road section according to the length of each candidate road section, the speed of the sprinkler, the sprinkling normalization degree of the previous road section, the number of sprinklers driving into the candidate road section and the average sprinkling normalization degree, and using the road section as the driving road section of the sprinkler.
On the basis of the above embodiment, the method for dispatching the sprinkler further includes:
and determining a plurality of road sections between the current position and the destination of the sprinkler according to the current air quality index information.
As shown in fig. 3, the method for scheduling a sprinkler according to the embodiment of the present invention includes:
301, enabling a road section acquisition module to acquire the current position and destination of a sprinkler from a dispatching center;
step 302, after receiving the current position and the destination of the earth vehicle, the dispatching center determines a plurality of road sections between the current position and the destination of the sprinkler according to the current air quality index information, and returns a map containing the road sections to the road section acquisition module;
step 303, the road section obtaining module obtains at least one road section of the sprinkler to the next relay point from the road sections on the map as a candidate road section and the length of each candidate road section;
step 304, a vehicle information acquisition module acquires the average speed and the sprinkling normalization of the sprinkler;
305, for each candidate road section, a scheduling module obtains a ring evaluation value corresponding to the candidate road section according to the length of the candidate road section, the speed of the sprinkler, the sprinkling normalization degree of the previous road section, the number of sprinklers already passing through the candidate road section and the average sprinkling normalization degree, wherein the ring evaluation value is used for evaluating the environmental influence of the sprinkler on the road section;
step 306, the scheduling module takes the candidate road section corresponding to the lowest ring evaluation value as the driving road section of the sprinkler;
step 307, the navigation module navigates the sprinkler according to the traveling road section of the sprinkler, sends first vehicle information to the scheduling module when the sprinkler travels into the traveling road section, and sends second vehicle information to the scheduling module when the sprinkler travels out of the traveling road section;
and 308, updating the number of the watering lorries which drive into the candidate road section and the average watering normalization degree by the scheduling module according to the first vehicle information and the second vehicle information.
Finally, the method of the present application is only a preferred embodiment and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.