CN106052704A - Method and device for recommending routes - Google Patents

Method and device for recommending routes Download PDF

Info

Publication number
CN106052704A
CN106052704A CN201610362122.4A CN201610362122A CN106052704A CN 106052704 A CN106052704 A CN 106052704A CN 201610362122 A CN201610362122 A CN 201610362122A CN 106052704 A CN106052704 A CN 106052704A
Authority
CN
China
Prior art keywords
route information
route
information
environmental quality
quality parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610362122.4A
Other languages
Chinese (zh)
Inventor
许雷
张鹏飞
孟亚楠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Beijing Smartmi Technology Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Beijing Smartmi Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd, Beijing Smartmi Technology Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610362122.4A priority Critical patent/CN106052704A/en
Publication of CN106052704A publication Critical patent/CN106052704A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • G01C21/34Route searching; Route guidance
    • G01C21/3453Special cost functions, i.e. other than distance or default speed limit of road segments

Abstract

The invention relates to a method and a device for recommending routes. The method includes acquiring route information for arriving destination places from departure places according to the departure places and the destination places of users; acquiring environmental quality parameters of regions of the routes according to the route information; screening the route information according to the environmental quality parameters to obtain target route information meeting preset recommendation conditions; recommending the target route information to terminals of the users. Each piece of route information is information representing the corresponding route. The method and the device have the advantages that the environmental quality parameters are used as reference factors for recommending the route information, accordingly, the routes with excellent environmental quality can be recommended to the users, and the method and the device can bring convenience for the users.

Description

Route recommendation method and device
Technical field
The application relates to communication technical field, particularly relates to route recommendation method and device.
Background technology
Traditional route recommendation method can be that user recommends one or many according to the departure place of user setup and destination The optional route of bar, when recommending a plurality of route, can be ranked up recommending by distance length, it is also possible to carry out by number of transfer Sort recommendations etc..The way of recommendation is more single, poor user experience.
Summary of the invention
For overcoming problem present in correlation technique, present disclose provides route recommendation method and device.
First aspect according to disclosure embodiment, it is provided that a kind of route recommendation method, described method includes:
Departure place and destination according to user obtain the route information arrived at from described departure place, every route Information is the information representing every route;
The environmental quality parameter of route region is obtained according to described route information;
Filter out from described route information according to described environmental quality parameter and meet the target route presetting recommendation condition Information;
Described target route information is recommended to the terminal of described user.
Optionally, described environmental quality parameter includes particulate matter, ground level ozone, carbon monoxide, sulfur dioxide, titanium dioxide One or more in nitrogen, temperature, humidity.
Optionally, described default recommendation condition includes: environmental quality parameter corresponding to target route information is all pre-first In the range of setting parameter.
Optionally, described default recommendation condition also includes one or more conditions following:
The circuit distance of target route information and the difference of generic line distance in described route information are less than or equal to the One predeterminable range threshold value;
The duration that expends of target route information is less than or equal to pre-with the difference of the shortest consuming duration in described route information If duration threshold value;
The number of transfer of target route information and the difference of least bus change number of times in described route information are less than or equal to pre- If frequency threshold value;
In the walking distance of target route information and described route information, the difference of the shortest walking distance is less than or equal to the Two predeterminable range threshold values.
Optionally, described method also includes:
According to described route information output map information, and on cartographic information, mark the environment of every route region Mass parameter.
Second aspect according to disclosure embodiment, it is provided that a kind of route recommendation device, including:
Route obtains template, is configured to the departure place according to user and destination obtains and arrives purpose from described departure place The route information on ground, every route information is the information representing every route;
Parameter acquisition module, is configured to obtain the environmental quality parameter of route region according to described route information;
Route screening module, is configured to filter out from described route information according to described environmental quality parameter meet in advance If the target route information of the condition of recommendation;
Information recommendation module, is configured to recommend described target route information to the terminal of described user.
Optionally, described environmental quality parameter includes particulate matter, ground level ozone, carbon monoxide, sulfur dioxide, titanium dioxide One or more in nitrogen, temperature, humidity.
Optionally, described default recommendation condition includes: environmental quality parameter corresponding to target route information is all pre-first In the range of setting parameter.
Optionally, described default recommendation condition also includes one or more conditions following:
The circuit distance of target route information and the difference of generic line distance in described route information are less than or equal to the One predeterminable range threshold value;
The duration that expends of target route information is less than or equal to pre-with the difference of the shortest consuming duration in described route information If duration threshold value;
The number of transfer of target route information and the difference of least bus change number of times in described route information are less than or equal to pre- If frequency threshold value;
In the walking distance of target route information and described route information, the difference of the shortest walking distance is less than or equal to the Two predeterminable range threshold values.
Optionally, described device also includes:
Message output module, is configured to according to described route information output map information, and marks on cartographic information The environmental quality parameter of every route region.
The third aspect according to disclosure embodiment, it is provided that a kind of route recommendation device, including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Departure place and destination according to user obtain the route information arrived at from described departure place, every route Information is the information representing every route;
The environmental quality parameter of route region is obtained according to described route information;
Filter out from described route information according to described environmental quality parameter and meet the target route presetting recommendation condition Information;
Described target route information is recommended to the terminal of described user.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect:
The disclosure obtains the route information arrived at from described departure place, root according to departure place and the destination of user Obtain the environmental quality parameter of route region according to route information, filter out according to environmental quality parameter full from route information Foot presets the target route information of recommendation condition, and recommends described target route information to the terminal of user, thus realizes ring Border mass parameter, as the reference factor of recommended route information, such that it is able to recommend the preferable route of environmental quality to user, is given User brings facility.
In the disclosure, environmental quality parameter includes particulate matter, ground level ozone, carbon monoxide, sulfur dioxide, nitrogen dioxide, temperature One or more in degree, humidity, thus realize according to varying environment quality, route being recommended.
Environmental quality parameter all route informations in the first preset parameter range are defined as target route letter by the disclosure Breath, such that it is able to pick out environmental quality preferably route.
The disclosure not only using environmental quality parameter as select target route information reference factor, it is also possible to by circuit away from From the reference factor as selection target route information, so that the route represented by target route information determined has well Environmental quality, and circuit distance will not be oversize, improves Consumer's Experience.
The disclosure not only using environmental quality parameter as select target route information reference factor, it is also possible to when will expend The long reference factor as selection target route information, so that the route represented by target route information determined has well Environmental quality, and expend the time will not be oversize, improve Consumer's Experience.
The disclosure not only using environmental quality parameter as select target route information reference factor, it is also possible to will transfer time Number is as the reference factor of selection target route information, so that the route represented by target route information determined has well Environmental quality, and number of transfer will not be too many, improves Consumer's Experience.
The disclosure not only using environmental quality parameter as select target route information reference factor, it is also possible to by walking away from From the reference factor as selection target route information, so that the route represented by target route information determined has well Environmental quality, and walking distance is not too large, improves Consumer's Experience.
The disclosure not only recommends target route information to user, also marks every route region on cartographic information Environmental quality parameter, so that environmental quality parameter has intuitive, brings facility to user.
It should be appreciated that it is only exemplary and explanatory, not that above general description and details hereinafter describe The disclosure can be limited.
Accompanying drawing explanation
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that meet the enforcement of the disclosure Example, and for explaining the principle of the disclosure together with description.
Fig. 1 is the disclosure flow chart according to a kind of route recommendation method shown in an exemplary embodiment.
Fig. 2 is that the disclosure is according to a kind of route schematic diagram shown in an exemplary embodiment.
Fig. 3 is that the disclosure is according to a kind of map schematic diagram shown in an exemplary embodiment.
Fig. 4 is the disclosure block diagram according to a kind of route recommendation device shown in an exemplary embodiment.
Fig. 5 is the disclosure block diagram according to the another kind of route recommendation device shown in an exemplary embodiment.
Fig. 6 is the disclosure according to the one shown in an exemplary embodiment for the block diagram of route recommendation device (terminal).
Fig. 7 is the disclosure according to the another kind shown in an exemplary embodiment for the frame of route recommendation device (service end) Figure.
Detailed description of the invention
Here will illustrate exemplary embodiment in detail, its example represents in the accompanying drawings.Explained below relates to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they are only with the most appended The example of the apparatus and method that some aspects that described in detail in claims, the disclosure are consistent.
The term used in the disclosure is only merely for describing the purpose of specific embodiment, and is not intended to be limiting the disclosure. " a kind of ", " described " and " being somebody's turn to do " of singulative used in disclosure and the accompanying claims book is also intended to include majority Form, unless context clearly shows that other implications.It is also understood that term "and/or" used herein refers to and wraps Any or all containing one or more projects of listing being associated may combination.
Although should be appreciated that in the disclosure possible employing term first, second, third, etc. to describe various information, but this A little information should not necessarily be limited by these terms.These terms are only used for same type of information is distinguished from each other out.Such as, without departing from In the case of disclosure scope, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depend on linguistic context, word as used in this " if " can be construed to " ... time " or " when ... Time " or " in response to determining ".
As it is shown in figure 1, Fig. 1 is the disclosure flow process according to a kind of route recommendation method shown in an exemplary embodiment Figure, comprises the following steps 101 to step 104:
In a step 101, departure place and destination according to user obtain the route arrived at from described departure place Information, every route information is the information representing every route.
In a step 102, the environmental quality parameter of route region is obtained according to described route information.
In step 103, from described route information, filter out satisfied presetting according to described environmental quality parameter and recommend bar The target route information of part.
At step 104, described target route information is recommended to the terminal of described user.
In disclosure embodiment, route recommendation method may be used in terminal, i.e. application program in terminal directly determines Target route information is also recommended, and route recommendation method can be used in service end, i.e. service end determines that target route is believed After breath, push this target route information to user terminal.
Wherein, involved terminal can be smart mobile phone, panel computer, PDA (Personal Digital Assistant, personal digital assistant), E-book reader, multimedia player etc..Service end can include server, clothes Business device cluster or cloud platform.
About step 101, obtained before the route information that described departure place arrives at, can first obtain user's Departure place and destination.Wherein, departure place is start position information, and destination is end point location information.
In an optional implementation, the departure place of user and destination can be that user inputs at terminal interface Departure place and destination, thus realize determining departure place and the destination of user according to the input information of user, accuracy rate is high.
In another optional implementation, the departure place of user can also is that the user using localization method to obtain works as Front position information.For example, it is possible to determined the current location information of described user by GPS, it is also possible to pass through Mobile positioning technique determines the current location information of described user, it is also possible to determine working as of described user by indoor positioning technologies Front position information etc..Visible, the present embodiment uses localization method to determine the departure place of user, it is not necessary to user is manually entered and sets out Ground, thus be user-friendly to.
It is understood that the acquisition mode of the departure place of user and destination can also use other in correlation technique Acquisition mode, this is no longer going to repeat them.
Behind the departure place determining user and destination, the departure place route information to destination can be obtained.Wherein, go out Send out the ground general more than one of route to destination, every corresponding route information of route, it is thus possible to there is a plurality of route Information.
For obtaining route information, default circuit searching algorithm search departure place can be used to the route letter of destination Breath, it is also possible to obtain the departure place route information to destination from other electronic map systems.The circuit searching algorithm preset Can be optimal path algorithm, such as dijkstra's algorithm (signal source shortest path), genetic algorithm, ant group algorithm etc..As, Dijkstra's algorithm is that actual transportation network is decomposed into node and arc, then represents, with the weights of arc, two be connected with arc Path distance between node, the real road situation in simulation transportation network, set up the non-directed graph of a Weighted Coefficients, by undirected Figure regards tree as, and starting point regards the root of tree as, and the path the shortest from root to each node weights of tree is optimal path.
It is understood that circuit searching algorithm can be the circuit searching algorithm in correlation technique, obtain route information Method can also be the method obtaining route information in correlation technique, this is no longer going to repeat them.
About step 102, environmental quality parameter is the parameter representing environmental quality, and such as, environmental quality parameter can be Air quality parameters, if air quality parameters can be in particulate matter, ground level ozone, carbon monoxide, sulfur dioxide, nitrogen dioxide One or more.Wherein, particulate matter can be PM2.5 (fine particle).Environmental quality parameter can also is that temperature and/or wet Degree.
Wherein, each region is to there being corresponding environmental quality parameter.Dividing mode for region, on the one hand, permissible Average zoning, so that the scope in each region is identical.On the other hand, can unequal zoning according to demand.Such as, In certain region, population is less or this region is forest or ocean, and environmental quality is more or less the same, then environmental quality be more or less the same Region be grouped together, after division, each regional extent is bigger;And for example, somewhere environmental quality differs greatly, in order to by ring Mass difference little region in border is grouped together, then after dividing, each regional extent is less.
As one of which implementation, area can be divided by grid, and each region after division It is provided with environmental quality detector.Such as, each region is provided with haze detector, Temperature Humidity Sensor etc..Therefore, it can pass through Environmental quality detector detects the environmental quality parameter in each region, and the present embodiment obtains environment matter from environmental quality detector Amount parameter.The frequency of detection can be to detect once, such as, at interval of 1 hour or at interval of half an hour at interval of Preset Time Detection is once;It can also be detection in real time.
The multiple region of route possible approaches represented by every route information, then obtain the environment in every route approach region Mass parameter.As in figure 2 it is shown, Fig. 2 is that the disclosure is according to a kind of route schematic diagram shown in an exemplary embodiment.In this signal In figure, by the mode divided equally, this area is divided, be divided into 9 regions, respectively region 1., region 2. ... region 9., corresponding environmental quality detector can be provided with in each region.There are three routes from origin to destination, are respectively Route 1, route 2 and route 3.7., 4., 5., 6., 3. route 1 region includes region, then can obtain in these five regions Environmental quality parameter.7., 8., 5., 6., 3. route 2 region, then can obtain the environmental quality ginseng in these five regions Number.7., 8., 9., 6., 3. route 3 region, then can obtain the environmental quality parameter in these five regions.
About step 103, preset recommendation condition be pre-set determine target route information according to environmental quality parameter Condition, in order to from each route, filter out the preferable route of environmental quality.It is exemplified below several determining target route information Mode illustrates:
The first, the influence factor of target route information is only environmental quality parameter, i.e. according to environmental quality parameter from road Line information filters out target route information.
In an optional implementation, presetting recommendation condition can be: the environmental quality that target route information is corresponding Parameter is all in the first preset parameter range.In this example, environmental quality parameter can be filtered out from route information all to exist Route information in first preset parameter range, is defined as target route information by the route information filtered out.
Wherein, the first preset parameter range is the parameter area for screening preferable environmental quality parameter pre-set. On the one hand, the first preset parameter range can be the fixed range value that the history environment mass parameter previously according to region is arranged, Thus realize quickly selecting target route information.On the other hand, the first preset parameter range can be previously according to this region The value range that current environment mass parameter determines, i.e. after step 102 obtains environmental quality parameter, can be according to acquired environment Mass parameter determines the first preset parameter range.Visible, this value range can change along with current environment mass parameter, thus real The first preset parameter range is adjusted, to pick out the target route information of optimum during reality.With environmental quality parameter as particulate matter, As a example by one or more in ground level ozone, carbon monoxide, sulfur dioxide, nitrogen dioxide, environmental quality parameter is the least, environment matter It is the best to measure, then, after obtaining current environment mass parameter, can be set to the lower limit of the first preset parameter range by 0, permissible The moderate higher limit that parameter determination is the first preset parameter range is selected by preset strategy according to acquired environmental quality parameter. As a example by environmental quality parameter is as temperature, a temperature reference scope can be pre-set, such as 20 DEG C to 25 DEG C, then in step After 102 obtain temperature parameter, the first preset parameter range can be determined according to the gap of acquired temperature Yu temperature reference scope.
Visible, environmental quality parameter all route informations in the first preset parameter range are defined as target by this embodiment Route information, such that it is able to pick out environmental quality preferably route.
Further, in order to improve screening efficiency, can be by the environmental quality in same area in each route region Parameter does not compares, and only compares the environmental quality parameter in zones of different.Such as, in Fig. 2, route 1 region includes 7., 4., 5., 6., 3., 7., 8., 5., 6., 3., route 3 region is 7., 8., 9., 6., 3. in route 2 region in region.Can Seeing, 7., 6., 3. there is same area in three routes, then can not obtain the environmental quality parameter in same area, only obtain not With the environmental quality parameter in region, and compare, such that it is able to improve the efficiency determining target route information.
In another optional implementation, each described region is to having corresponding environmental quality parameter, Mei Gesuo The scope stating region is identical, presets recommendation condition and can be: according to total environment mass parameter corresponding to every route information from road Line information filters out target route information.Such as, Mei Tiao road is calculated according to the environmental quality parameter of every route region The total environment mass parameter that line information is corresponding;Total environment mass parameter is true at the route information that the second preset parameter range is corresponding It is set to target route information.Second preset parameter range is the parameter for screening preferable total environment mass parameter pre-set Scope.
Such as, in Fig. 2, then by route 1 region 7., 4., 5., 6., 3. in environmental quality parameter be added, it is thus achieved that The total environment mass parameter of route 1 correspondence, by route 2 region 7., 8., 5., 6., 3. in environmental quality parameter be added, Obtain route 2 correspondence total environment mass parameter, by route 3 region 7., 8., 9., 6., 3. in environmental quality parameter phase Add, it is thus achieved that the total environment mass parameter of route 3 correspondence.Then by the total environment mass parameter of every route and the second parameter preset Scope compares, thus at the route information that the second preset parameter range is corresponding, total environment mass parameter is defined as target road Line information.
Visible, total environment mass parameter is defined as mesh at the route information that the second preset parameter range is corresponding by the present embodiment Mark route information, thus realize selecting route information according to total environment mass parameter.
Further, when determining target route information, it is also possible to consider the environmental quality ginseng of route region simultaneously Number, the most each described region is to there being corresponding environmental quality parameter, and the scope in each described region is identical;Described in described basis Environmental quality parameter filters out from described route information and meets the target route letter presetting recommendation condition, including: according to every The environmental quality parameter of route region calculates every total environment mass parameter corresponding to route information;By route region Environmental quality parameter all in the first preset parameter range and total environment mass parameter is corresponding at the second preset parameter range Route information is defined as target route information.
Visible, that the present embodiment determines target route information, is not only limited to total environment mass parameter second and presets ginseng Number scope, and the environmental quality parameter of route region is all limited in the first preset parameter range, it is ensured that total environment Mass parameter is while proper scope, and each environmental quality parameter is also in appropriate scope, it is to avoid total environment quality Parameter is in proper scope, but the situation of wherein one or more environmental quality parameter extreme differences, so that the target obtained Route information has preferably environmental quality.
The second, the influence factor of target route information is environmental quality parameter and circuit distance, i.e. according to environmental quality Parameter and circuit distance filter out target route information from route information.Wherein, circuit distance refers to that the distance of this circuit is long Degree.
In an optional implementation, presetting recommendation condition can be: the environmental quality that target route information is corresponding Parameter all in the first preset parameter range and target route information circuit distance and generic line in described route information away from From difference less than or equal to the first predeterminable range threshold value.
Visible, this embodiment not only using environmental quality parameter as select target route information reference factor, also by line Road distance is as the reference factor of selection target route information, so that the route represented by target route information determined has Good environmental quality, and circuit distance will not be oversize, improves Consumer's Experience.
In another embodiment, it is also possible to be determined by score value corresponding to environmental quality parameter, route distance correspondence Score value, then determine target route information according to two class score values.Such as, pre-defined each environmental quality parameter scope A corresponding score value, the difference of route distance and minimal path distance to there being score value, then may determine that environmental quality is joined The score value that the score value of number correspondence, route distance are corresponding, thus determine target route information according to two class score values.For it He determines target route information mode, and this is no longer going to repeat them, and following several ways in like manner, only enumerates one of which realization side Formula is described.
The third, the influence factor of target route information is environmental quality parameter and expends duration, i.e. according to environmental quality Parameter and consuming duration filter out target route information from route information.Wherein, expend duration to refer to spent by this circuit Time.
In an optional implementation, presetting recommendation condition can be: the environmental quality that target route information is corresponding Parameter is all the shortest when expending in the first preset parameter range and in consuming duration and the described route information of target route information Long difference is less than or equal to preset duration threshold value.
Visible, this embodiment not only using environmental quality parameter as select target route information reference factor, also will consumption The time-consuming long reference factor as selection target route information, so that the route represented by target route information determined has Good environmental quality, and the time of consuming will not be oversize, improves Consumer's Experience.
4th kind, the influence factor of target route information is environmental quality parameter and number of transfer, i.e. according to environmental quality Parameter and number of transfer filter out target route information from route information.
In an optional implementation, presetting recommendation condition can be: the environmental quality that target route information is corresponding Parameter all least bus change in the first preset parameter range and in number of transfer and the described route information of target route information The difference of number is less than or equal to preset times threshold value.
Visible, this embodiment not only using environmental quality parameter as select target route information reference factor, also will change Take advantage of number of times as select target route information reference factor so that the route represented by target route information determined has Good environmental quality, and number of transfer will not be too many, improves Consumer's Experience.
5th kind, the influence factor of target route information is environmental quality parameter and walking distance, i.e. according to environmental quality Parameter and walking distance filter out target route information from route information.Walking distance is the distance walked in route.
In an optional implementation, presetting recommendation condition can be: the environmental quality that target route information is corresponding Parameter all in the first preset parameter range and in walking distance and the described route information of target route information the shortest walking away from From difference less than or equal to the second predeterminable range threshold value.
Visible, this embodiment not only using environmental quality parameter as select target route information reference factor, also will step Row distance is as the reference factor of selection target route information, so that the route represented by target route information determined has Good environmental quality, and walking distance is not too large, improves Consumer's Experience.
It is understood that above-mentioned default recommendation condition can arbitrarily be combined, as long as the combination between feature is not deposited In conflict or contradiction, such as, presetting recommendation condition is that environmental quality parameter corresponding to target route information all presets ginseng first In the range of number and the circuit distance of target route information is less than or equal to the difference of generic line distance in described route information The difference of the shortest consuming duration is little with described route information for the duration that expends of the first predeterminable range threshold value and target route information In or equal to preset duration threshold value.Target route information is determined in other ways, based on length, at this not furthermore it is also possible to adopt Repeat the most one by one.
About step 104, when the present embodiment is directly applied to user terminal, directly output target route information, to carry Show that this target route information of user is recommended route information.When the present embodiment is applied in service end, target route can be believed Breath pushes to user terminal, to point out this target route information of user for recommended route information.
As seen from the above-described embodiment, the disclosure obtains arrive mesh from described departure place according to departure place and the destination of user The route information on ground, obtain the environmental quality parameter of route region according to route information, according to environmental quality parameter from Route information filters out and meets the target route information presetting recommendation condition, and recommend described target route to the terminal of user Information, thus realize environmental quality parameter as the reference factor of recommended route information, such that it is able to recommend environment to user The preferable route of quality, brings facility to user.
In an optional implementation, described route recommendation method also includes: according to described route information output ground Figure information, and on cartographic information, mark the environmental quality parameter of every route region.
After step 102 obtains environmental quality parameter, can be according to route information output map information, and at cartographic information The environmental quality parameter of every route region of upper mark.
In this embodiment, not only recommend target route information to user, on cartographic information, also mark every route institute At the environmental quality parameter in region, so that environmental quality parameter has intuitive, bring facility to user.
As it is shown on figure 3, Fig. 3 is that the disclosure is according to a kind of map schematic diagram shown in an exemplary embodiment.In this signal In figure, illustrate as a example by environmental quality parameter is as PM2.5, mark the PM2.5 in this region on each zone, so that user Check environmental quality parameter more intuitively.Include that 9 regions, the PM2.5 in circuit 1 region are 90 μ at this schematic diagram g/m3、120μg/m3、90μg/m3、150μg/m3、50μg/m3;PM2.5 in circuit 2 region is 90 μ g/m3、100μg/ m3、90μg/m3、150μg/m3、50μg/m3;PM2.5 in circuit 3 region is 90 μ g/m3、100μg/m3、200μg/m3、 150μg/m3、50μg/m3.Get rid of same area, then the PM2.5 of circuit 1 correspondence is 120 μ g/m3、90μg/m3, circuit 2 correspondence PM2.5 is 100 μ g/m3、90μg/m3, the PM2.5 of circuit 3 correspondence is 100 μ g/m3、200μg/m3.Visible, can preset first Be set to 0~100 μ g/m3, the consideration of comprehensive circuit distance in parameter area, then circuit 2 meets the requirements, the line of circuit 2 correspondence Road information is target line information.
Various technical characteristics in embodiment of above can arbitrarily be combined, as long as the combination between feature does not exists Conflict or contradiction, but as space is limited, describe one by one, the various technical characteristics in the most above-mentioned embodiment any It is combined falling within the scope of this disclosure.
Corresponding with the embodiment of aforementioned route recommendation method, the disclosure additionally provides route recommendation device and is applied The embodiment of terminal.
As shown in Figure 4, Fig. 4 is the disclosure block diagram according to a kind of route recommendation device shown in an exemplary embodiment, Described device includes: route obtains template 410, parameter acquisition module 420, route screening module 430 and information recommendation module 440。
Wherein, route obtains template 410, is configured to the departure place according to user and destination obtains from described departure place The route information arrived at, every route information is the information representing every route.
Parameter acquisition module 420, is configured to obtain the environmental quality ginseng of route region according to described route information Number.
Route screening module 430, is configured to filter out from described route information completely according to described environmental quality parameter Foot presets the target route information of recommendation condition.
Information recommendation module 440, is configured to recommend described target route information to the terminal of described user.
As seen from the above-described embodiment, the disclosure obtains arrive mesh from described departure place according to departure place and the destination of user The route information on ground, obtain the environmental quality parameter of route region according to route information, according to environmental quality parameter from Route information filters out and meets the target route information presetting recommendation condition, and recommend described target route to the terminal of user Information, thus realize environmental quality parameter as the reference factor of recommended route information, such that it is able to recommend environment to user The preferable route of quality, brings facility to user.
In an optional implementation, described environmental quality parameter include particulate matter, ground level ozone, carbon monoxide, One or more in sulfur dioxide, nitrogen dioxide, temperature, humidity.
As seen from the above-described embodiment, in the disclosure environmental quality parameter include particulate matter, ground level ozone, carbon monoxide, two One or more in sulfur oxide, nitrogen dioxide, temperature, humidity, thus realize according to varying environment quality, route being pushed away Recommend.
In an optional implementation, described default recommendation condition includes: the environment matter that target route information is corresponding Amount parameter is all in the first preset parameter range.
As seen from the above-described embodiment, environmental quality parameter all route informations in the first preset parameter range are defined as Target route information, such that it is able to pick out environmental quality preferably route.
In an optional implementation, described default recommendation condition also includes one or more conditions following:
The circuit distance of target route information and the difference of generic line distance in described route information are less than or equal to the One predeterminable range threshold value.
The duration that expends of target route information is less than or equal to pre-with the difference of the shortest consuming duration in described route information If duration threshold value.
The number of transfer of target route information and the difference of least bus change number of times in described route information are less than or equal to pre- If frequency threshold value.
In the walking distance of target route information and described route information, the difference of the shortest walking distance is less than or equal to the Two predeterminable range threshold values.
As seen from the above-described embodiment, not only using environmental quality parameter as the reference factor selecting target route information, also Can be using circuit distance as the reference factor of selection target route information, so that represented by the target route information determined Route has good environmental quality, and circuit distance will not be oversize, improves Consumer's Experience.Not only using environmental quality parameter as Select the reference factor of target route information, it is also possible to the duration reference factor as selection target route information will be expended, from And make the route represented by target route information determined have good environmental quality, and the time of consuming will not be oversize, improves Consumer's Experience.Not only using environmental quality parameter as the reference factor selecting target route information, it is also possible to number of transfer is made For selecting the reference factor of target route information, so that the route represented by target route information determined has good ring Border quality, and number of transfer will not be too many, improves Consumer's Experience.Not only using environmental quality parameter as selecting target route information Reference factor, it is also possible to using walking distance as the reference factor selecting target route information, so that the target road determined Route represented by line information has good environmental quality, and walking distance is not too large, improves Consumer's Experience.
As it is shown in figure 5, Fig. 5 is the disclosure frame according to the another kind of route recommendation device shown in an exemplary embodiment Figure, this embodiment is on the basis of aforementioned embodiment illustrated in fig. 4, and described device also includes message output module 450.
Message output module 450, is configured to according to described route information output map information, and at cartographic information subscript Note the environmental quality parameter of every route region.
As seen from the above-described embodiment, the disclosure not only recommends target route information to user, also marks on cartographic information The environmental quality parameter of every route region, so that environmental quality parameter has intuitive, brings facility to user.
Accordingly, the disclosure also provides for a kind of route recommendation device, and described device includes processor;For storing process The memorizer of device executable instruction;Wherein, described processor is configured to:
Departure place and destination according to user obtain the route information arrived at from described departure place, every route Information is the information representing every route.
The environmental quality parameter of route region is obtained according to described route information.
Filter out from described route information according to described environmental quality parameter and meet the target route presetting recommendation condition Information.
Described target route information is recommended to the terminal of described user.
In said apparatus, the function of unit and the concrete details of the process that realizes of effect are shown in corresponding step in said method Realize process, do not repeat them here.
For device embodiment, owing to it corresponds essentially to embodiment of the method, so relevant part sees method in fact The part executing example illustrates.Device embodiment described above is only schematically, wherein said as separating component The unit illustrated can be or may not be physically separate, and the parts shown as unit can be or can also It not physical location, i.e. may be located at a place, or can also be distributed on multiple NE.Can be according to reality Need to select some or all of module therein to realize the purpose of disclosure scheme.Those of ordinary skill in the art are not paying In the case of going out creative work, i.e. it is appreciated that and implements.
As shown in Figure 6, Fig. 6 be the disclosure according to the one shown in an exemplary embodiment for route recommendation device 600 Block diagram.This device 600 can be the mobile phone with routing function, computer, digital broadcast terminal, and information receiving and transmitting sets Standby, game console, tablet device, armarium, body-building equipment, the terminal such as personal digital assistant.
With reference to Fig. 6, device 600 can include following one or more assembly: processes assembly 602, memorizer 604, power supply Assembly 606, multimedia groupware 608, audio-frequency assembly 610, the interface 612 of input/output (I/O), sensor cluster 614, and Communications component 616.
Process assembly 602 and generally control the integrated operation of device 600, such as with display, call, data communication, phase The operation that machine operation and record operation are associated.Process assembly 602 and can include that one or more processor 620 performs to refer to Order, to complete all or part of step of above-mentioned method.Additionally, process assembly 602 can include one or more module, just Mutual in process between assembly 602 and other assemblies.Such as, process assembly 602 and can include multi-media module, many to facilitate Media component 608 and process between assembly 602 mutual.
Memorizer 604 is configured to store various types of data to support the operation at device 600.Showing of these data Example includes any application program for operation on device 600 or the instruction of method, contact data, telephone book data, disappears Breath, picture, video etc..Memorizer 604 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), erasable compile Journey read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash Device, disk or CD.
The various assemblies that power supply module 606 is device 600 provide electric power.Power supply module 606 can include power management system System, one or more power supplys, and other generate, manage and distribute, with for device 600, the assembly that electric power is associated.
The screen of one output interface of offer that multimedia groupware 608 is included between described device 600 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive the input signal from user.Touch panel includes one or more touch sensing Device is with the gesture on sensing touch, slip and touch panel.Described touch sensor can not only sense touch or sliding action Border, but also detect the persistent period relevant to described touch or slide and pressure.In certain embodiments, many matchmakers Body assembly 608 includes a front-facing camera and/or post-positioned pick-up head.When device 600 is in operator scheme, such as screening-mode or During video mode, front-facing camera and/or post-positioned pick-up head can receive the multi-medium data of outside.Each front-facing camera and Post-positioned pick-up head can be a fixing optical lens system or have focal length and optical zoom ability.
Audio-frequency assembly 610 is configured to output and/or input audio signal.Such as, audio-frequency assembly 610 includes a Mike Wind (MIC), when device 600 is in operator scheme, during such as call model, logging mode and speech recognition mode, mike is joined It is set to receive external audio signal.The audio signal received can be further stored at memorizer 604 or via communication set Part 616 sends.In certain embodiments, audio-frequency assembly 610 also includes a speaker, is used for exporting audio signal.
I/O interface 612 provides interface for processing between assembly 602 and peripheral interface module, above-mentioned peripheral interface module can To be keyboard, put striking wheel, button etc..These buttons may include but be not limited to: home button, volume button, start button and lock Set button.
Sensor cluster 614 includes one or more sensor, for providing the state of various aspects to comment for device 600 Estimate.Such as, what sensor cluster 614 can detect device 600 opens/closed mode, the relative localization of assembly, such as described Assembly is display and the keypad of device 600, and sensor cluster 614 can also detect a group in device 600 or device 600 The position change of part, the presence or absence that user contacts with device 600, device 600 orientation or acceleration/deceleration and device 600 Variations in temperature.Sensor cluster 614 can include proximity transducer, is configured to when not having any physical contact examine The existence of object near surveying.Sensor cluster 614 can also include optical sensor, such as CMOS or ccd image sensor, is used for Imaging applications uses.In certain embodiments, this sensor cluster 614 can also include acceleration transducer, and gyroscope passes Sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 616 is configured to facilitate the communication of wired or wireless mode between device 600 and other equipment.Device 600 can access wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.An exemplary enforcement In example, communications component 616 receives the broadcast singal from external broadcasting management system or broadcast related information via broadcast channel. In one exemplary embodiment, described communications component 616 also includes near-field communication (NFC) module, to promote junction service.Example As, can be based on RF identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, Bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 600 can be by one or more application specific integrated circuits (ASIC), numeral letter Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components realize, be used for performing said method.
In the exemplary embodiment, a kind of non-transitory computer-readable recording medium including instruction, example are additionally provided As included the memorizer 604 of instruction, above-mentioned instruction can have been performed said method by the processor 620 of device 600.Such as, Described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
Wherein, when the instruction in described storage medium is performed by described processor so that device 600 is able to carry out one Route recommendation method, including:
Departure place and destination according to user obtain the route information arrived at from described departure place, every route Information is the information representing every route.
The environmental quality parameter of route region is obtained according to described route information.
Filter out from described route information according to described environmental quality parameter and meet the target route presetting recommendation condition Information.
Described target route information is recommended to the terminal of described user.
As it is shown in fig. 7, Fig. 7 is according to a kind of knot for route recommendation device 700 shown in an exemplary embodiment Structure schematic diagram.Such as, device 700 may be provided in a server.With reference to Fig. 7, device 700 includes processing assembly 722, and it enters One step includes one or more processor, and by the memory resource representated by memorizer 732, can be by process portion for storage The instruction of the execution of part 722, such as application program.In memorizer 732 storage application program can include one or one with On each corresponding to one group instruction module.It is configured to perform instruction, to perform above-mentioned road additionally, process assembly 722 Method recommended by line.
Device 700 can also include that a power supply module 726 is configured to perform the power management of device 700, and one has Line or radio network interface 750 are configured to be connected to device 700 network, and input and output (I/O) interface 758.Dress Put 700 and can operate based on the operating system being stored in memorizer 732, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Those skilled in the art, after considering description and putting into practice invention disclosed herein, will readily occur to its of the disclosure Its embodiment.The disclosure is intended to any modification, purposes or the adaptations of the disclosure, these modification, purposes or Person's adaptations is followed the general principle of the disclosure and includes the undocumented common knowledge in the art of the disclosure Or conventional techniques means.Description and embodiments is considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and And various modifications and changes can carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.
The foregoing is only the preferred embodiment of the disclosure, not in order to limit the disclosure, all essences in the disclosure Within god and principle, any modification, equivalent substitution and improvement etc. done, should be included within the scope of disclosure protection.

Claims (11)

1. a route recommendation method, it is characterised in that described method includes:
Departure place and destination according to user obtain the route information arrived at from described departure place, every route information It is the information representing every route;
The environmental quality parameter of route region is obtained according to described route information;
Filter out from described route information according to described environmental quality parameter and meet the target route information presetting recommendation condition;
Described target route information is recommended to the terminal of described user.
Method the most according to claim 1, it is characterised in that described environmental quality parameter include particulate matter, ground level ozone, One or more in carbon monoxide, sulfur dioxide, nitrogen dioxide, temperature, humidity.
Method the most according to claim 1, it is characterised in that described default recommendation condition includes: target route information pair The environmental quality parameter answered is all in the first preset parameter range.
Method the most according to claim 3, it is characterised in that described default recommendation condition also include following one or more Condition:
The circuit distance of target route information is pre-less than or equal to first with the difference of generic line distance in described route information If distance threshold;
The consuming duration of target route information and the difference of the shortest consuming duration in described route information are less than or equal to when presetting Long threshold value;
The number of transfer of target route information and the difference of least bus change number of times in described route information are secondary less than or equal to presetting Number threshold value;
The walking distance of target route information is pre-less than or equal to second with the difference of the shortest walking distance in described route information If distance threshold.
5. according to the arbitrary described method of Claims 1-4, it is characterised in that described method also includes:
According to described route information output map information, and on cartographic information, mark the environmental quality of every route region Parameter.
6. a route recommendation device, it is characterised in that described device includes:
Route obtains template, is configured to the departure place according to user and destination and obtains and to arrive at from described departure place Route information, every route information is the information representing every route;
Parameter acquisition module, is configured to obtain the environmental quality parameter of route region according to described route information;
Route screening module, is configured to filter out from described route information according to described environmental quality parameter to meet to preset push away Recommend the target route information of condition;
Information recommendation module, is configured to recommend described target route information to the terminal of described user.
Device the most according to claim 6, it is characterised in that described environmental quality parameter include particulate matter, ground level ozone, One or more in carbon monoxide, sulfur dioxide, nitrogen dioxide, temperature, humidity.
Device the most according to claim 6, it is characterised in that described default recommendation condition includes: target route information pair The environmental quality parameter answered is all in the first preset parameter range.
Device the most according to claim 8, it is characterised in that described default recommendation condition also include following one or more Condition:
The circuit distance of target route information is pre-less than or equal to first with the difference of generic line distance in described route information If distance threshold;
The consuming duration of target route information and the difference of the shortest consuming duration in described route information are less than or equal to when presetting Long threshold value;
The number of transfer of target route information and the difference of least bus change number of times in described route information are secondary less than or equal to presetting Number threshold value;
The walking distance of target route information is pre-less than or equal to second with the difference of the shortest walking distance in described route information If distance threshold.
10. according to the arbitrary described device of claim 6 to 9, it is characterised in that described device also includes:
Message output module, is configured to according to described route information output map information, and marks every on cartographic information The environmental quality parameter of route region.
11. 1 kinds of route recommendation devices, it is characterised in that including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Departure place and destination according to user obtain the route information arrived at from described departure place, every route information It is the information representing every route;
The environmental quality parameter of route region is obtained according to described route information;
Filter out from described route information according to described environmental quality parameter and meet the target route information presetting recommendation condition;
Described target route information is recommended to the terminal of described user.
CN201610362122.4A 2016-05-26 2016-05-26 Method and device for recommending routes Pending CN106052704A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610362122.4A CN106052704A (en) 2016-05-26 2016-05-26 Method and device for recommending routes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610362122.4A CN106052704A (en) 2016-05-26 2016-05-26 Method and device for recommending routes

Publications (1)

Publication Number Publication Date
CN106052704A true CN106052704A (en) 2016-10-26

Family

ID=57174823

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610362122.4A Pending CN106052704A (en) 2016-05-26 2016-05-26 Method and device for recommending routes

Country Status (1)

Country Link
CN (1) CN106052704A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106652149A (en) * 2016-12-28 2017-05-10 天津恒达文博科技有限公司 Route-user-defined museum visit guiding system
CN107395690A (en) * 2017-06-30 2017-11-24 咪咕互动娱乐有限公司 Method, apparatus and storage medium are recommended in a kind of electronic equipment and its motion
CN107727108A (en) * 2017-09-30 2018-02-23 百度在线网络技术(北京)有限公司 The recommendation method, apparatus and computer-readable medium of transit trip route
CN107832394A (en) * 2017-10-31 2018-03-23 北京小米移动软件有限公司 Route recommendation method and device
CN108020237A (en) * 2017-11-28 2018-05-11 浙江树人大学 It is a kind of to suck the minimum pedestrian's paths planning method of pollutant of vehicle exhaust
CN108332764A (en) * 2018-01-16 2018-07-27 维沃移动通信有限公司 A kind of route recommendation method and mobile terminal
CN109726868A (en) * 2018-12-28 2019-05-07 腾讯科技(深圳)有限公司 Paths planning method, device and storage medium
CN110110896A (en) * 2019-04-09 2019-08-09 海南大学 Towards sunshade, the personalized route recommendation system for taking shelter from rain, selecting wind, seeing scape
CN110542426A (en) * 2018-05-28 2019-12-06 百度在线网络技术(北京)有限公司 Method, device and readable medium for identifying small path
CN111796055A (en) * 2019-04-09 2020-10-20 三星电子株式会社 Portable device for measuring air quality and method for displaying air quality information

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103955479A (en) * 2014-04-02 2014-07-30 北京百度网讯科技有限公司 Implementation method and device of electronic map
CN104006821A (en) * 2014-05-28 2014-08-27 英华达(南京)科技有限公司 Navigation method and system
CN105043401A (en) * 2015-07-14 2015-11-11 南京理工大学 Urban healthy trip planning method and system based on floating car method
CN105526930A (en) * 2015-11-30 2016-04-27 英业达科技有限公司 Environmental path planning system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103955479A (en) * 2014-04-02 2014-07-30 北京百度网讯科技有限公司 Implementation method and device of electronic map
CN104006821A (en) * 2014-05-28 2014-08-27 英华达(南京)科技有限公司 Navigation method and system
CN105043401A (en) * 2015-07-14 2015-11-11 南京理工大学 Urban healthy trip planning method and system based on floating car method
CN105526930A (en) * 2015-11-30 2016-04-27 英业达科技有限公司 Environmental path planning system and method

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106652149A (en) * 2016-12-28 2017-05-10 天津恒达文博科技有限公司 Route-user-defined museum visit guiding system
CN107395690A (en) * 2017-06-30 2017-11-24 咪咕互动娱乐有限公司 Method, apparatus and storage medium are recommended in a kind of electronic equipment and its motion
CN107727108A (en) * 2017-09-30 2018-02-23 百度在线网络技术(北京)有限公司 The recommendation method, apparatus and computer-readable medium of transit trip route
CN107727108B (en) * 2017-09-30 2020-10-30 百度在线网络技术(北京)有限公司 Recommendation method and device for public transportation travel route and computer readable medium
CN107832394A (en) * 2017-10-31 2018-03-23 北京小米移动软件有限公司 Route recommendation method and device
CN108020237A (en) * 2017-11-28 2018-05-11 浙江树人大学 It is a kind of to suck the minimum pedestrian's paths planning method of pollutant of vehicle exhaust
CN108332764A (en) * 2018-01-16 2018-07-27 维沃移动通信有限公司 A kind of route recommendation method and mobile terminal
CN108332764B (en) * 2018-01-16 2021-02-26 维沃移动通信有限公司 Route recommendation method and mobile terminal
CN110542426A (en) * 2018-05-28 2019-12-06 百度在线网络技术(北京)有限公司 Method, device and readable medium for identifying small path
CN109726868A (en) * 2018-12-28 2019-05-07 腾讯科技(深圳)有限公司 Paths planning method, device and storage medium
CN110110896A (en) * 2019-04-09 2019-08-09 海南大学 Towards sunshade, the personalized route recommendation system for taking shelter from rain, selecting wind, seeing scape
CN111796055A (en) * 2019-04-09 2020-10-20 三星电子株式会社 Portable device for measuring air quality and method for displaying air quality information

Similar Documents

Publication Publication Date Title
CN106052704A (en) Method and device for recommending routes
CN105203100B (en) Intelligently guiding user takes the method and device of elevator
CN104090921B (en) Method for broadcasting multimedia file, device, terminal and server
CN102362285A (en) Notification device, notification system, method for controlling notification device, control program, and computer readable recording medium having the program recorded thereupon
CN106528709A (en) Social information recommendation method and apparatus
CN107560619A (en) Recommend method and apparatus in path
CN104994125B (en) Method for sending information, information display method and device
CN109307518A (en) Navigation equipment, air navigation aid and navigation system
CN111126697B (en) Personnel condition prediction method, device, equipment and storage medium
CN109543566B (en) Information processing method and device, electronic equipment and storage medium
CN106203306A (en) The Forecasting Methodology at age, device and terminal
CN106157602A (en) The method and apparatus of calling vehicle
CN105933863A (en) Friend adding method and device and electronic equipment
CN106775224A (en) Remark information method to set up and device
CN106096009A (en) Method for generating message and device
CN106779174A (en) Route planning method, apparatus and system
CN106484822B (en) Map amending method and terminal
CN107357865A (en) Information cuing method and device
CN108572979A (en) A kind of position service method and device, a kind of device for location-based service
CN110715672A (en) Navigation path planning method and device
CN110426041B (en) Positioning and training method and device of positioning model, electronic equipment and storage medium
CN106301946B (en) device identification method and device
CN105530332B (en) The processing method and processing device of location information
CN109900281A (en) Air navigation aid, device based on point of interest and the device for navigation
CN109241206A (en) A kind of route inquiry method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20161026

RJ01 Rejection of invention patent application after publication