CN109737978A - A kind of route recommendation method and terminal - Google Patents

A kind of route recommendation method and terminal Download PDF

Info

Publication number
CN109737978A
CN109737978A CN201811564739.XA CN201811564739A CN109737978A CN 109737978 A CN109737978 A CN 109737978A CN 201811564739 A CN201811564739 A CN 201811564739A CN 109737978 A CN109737978 A CN 109737978A
Authority
CN
China
Prior art keywords
route
target
determined
weather
target position
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.)
Granted
Application number
CN201811564739.XA
Other languages
Chinese (zh)
Other versions
CN109737978B (en
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201811564739.XA priority Critical patent/CN109737978B/en
Publication of CN109737978A publication Critical patent/CN109737978A/en
Application granted granted Critical
Publication of CN109737978B publication Critical patent/CN109737978B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention provides a kind of route recommendation method and terminals, comprising: obtains a plurality of route from current location to terminal;According to the corresponding climatic information of each route, the target route in route is determined;Target route is recommended into user, climatic information may include the information relevant to trip comfort level such as season, weather, sunshine situation in route, the present invention can be on the basis of contemplating line efficiency, further according to the climatic information of route, determine the comfort level of every route, and the route recommendation with more excellent comfort level is improved into the comfort level of user's trip to user, improve trip experience.

Description

A kind of route recommendation method and terminal
Technical field
The present embodiments relate to field of communication technology more particularly to a kind of route recommendation methods and terminal.
Background technique
With the continuous development of intelligent terminal, user can usually pass through the trip meter of cell phone map application planning oneself It draws, reaches intelligent trip, improve the efficiency and Experience Degree of trip.
In the prior art, user can pass through the beginning and end of cell phone map application input trip, cell phone map application According to the congestion in road situation and distance length between beginning and end, the route that stroke is most short or road is most unobstructed is generated User is recommended, user can navigate according to recommended route, eventually arrive at destination.
But at present in scheme, due to going out line efficiency based on user, path length and congestion in road feelings are only accounted for Condition so that the route recommended is stroke is most short or road is most unobstructed route, thus during ignoring the trip of user with relax The relevant geographic factor of appropriateness, causes the trip comfort level of recommended route poor.
Summary of the invention
The embodiment of the present invention provides a kind of route recommendation method and terminal, to solve the route recommended in the prior art as row The route that journey is most short or road is most unobstructed ignores geographic factor relevant to comfort level during the trip of user, causes to push away Recommend the poor problem of the trip comfort level of route.
In a first aspect, it is applied to terminal the embodiment of the invention provides a kind of route recommendation method, this method comprises:
Obtain a plurality of route from current location to terminal;
According to the corresponding climatic information of each route, the target route in the route is determined;
The target route is recommended into user.
Second aspect, the embodiment of the invention provides a kind of terminal, which includes:
Module is obtained, for obtaining a plurality of route from current location to terminal;
Determining module, for determining the target route in the route according to the corresponding climatic information of each route;
Recommending module, for the target route to be recommended user.
The third aspect the embodiment of the invention also provides a kind of terminal, including processor, memory and is stored in described deposit On reservoir and the computer program that can run on the processor, the computer program are realized when being executed by the processor Such as the step of route recommendation method provided by the invention.
Fourth aspect, the embodiment of the invention also provides a kind of readable storage medium storing program for executing, the instruction in the storage medium When being executed by the processor of electronic equipment, so that electronic equipment is able to carry out the step such as route recommendation method provided by the invention Suddenly.
In embodiments of the present invention, the available a plurality of route from current location to terminal of terminal;According to each route Corresponding climatic information determines the target route in route;Target route is recommended into user, climatic information may include route In the information relevant to trip comfort level such as season, weather, sunshine situation, the present invention can be on the basis for contemplating line efficiency On, further according to the climatic information of route, determine the comfort level of every route, and the route recommendation that will there is more excellent comfort level To user, the comfort level of user's trip is improved, improves trip experience.
Detailed description of the invention
Fig. 1 is a kind of step flow chart of route recommendation method provided in an embodiment of the present invention;
Fig. 2 is a kind of surface chart of route recommendation method provided in an embodiment of the present invention;
Fig. 3 is a kind of block diagram of terminal provided in an embodiment of the present invention;
Fig. 4 is the block diagram of the terminal of another embodiment of the present invention;
Fig. 5 is the structural schematic diagram of the terminal of another embodiment of the present invention.
Specific embodiment
The exemplary embodiment that the present invention will be described in more detail below with reference to accompanying drawings.Although showing the present invention in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the present invention without should be by embodiments set forth here It is limited.It is to be able to thoroughly understand the present invention on the contrary, providing these embodiments, and can be by the scope of the present invention It is fully disclosed to those skilled in the art.
Fig. 1 is a kind of step flow chart of route recommendation method provided in an embodiment of the present invention, as shown in Figure 1, this method May include:
The a plurality of route of step 101, acquisition from current location to terminal.
In embodiments of the present invention, when user goes on a journey, walking along the street can be carried out out by the map application on mobile terminal The planning of line, user input the place name of beginning and end, map application can use wireless network and global positioning system (GPS, Global Positioning System), inquiry obtain the latitude and longitude information of beginning and end, thus cook up from starting point to The a plurality of route of terminal.These routes according to the map planned by middle road network, includes from the shortest road of starting point to the end Line, or according to real-time road condition information, the most unobstructed route of the slave starting point to the end road determined, or it is most short from starting point to the end and The most unobstructed route of road.In embodiments of the present invention, starting point may be that user is presently in position.
For example, referring to Fig. 2, a kind of surface chart of route recommendation method provided in an embodiment of the present invention is shown, wherein false If having cooked up two lines from starting point A to starting point B, the length of route 1 is 3 kilometers, and the length of route 2 is 2.5 kilometers, if only Consider route length, route 2 can be recommended into user and navigated;Assuming that the real-time road letter that application obtains according to the map Breath finds road very congestion in route 2, and 1 the coast is clear of route can recommend route 1 if then contemplating line efficiency It navigates to user.
Step 102, according to the corresponding climatic information of each route, determine the target route in the route.
In embodiments of the present invention, on the basis of contemplating line efficiency, it is also necessary to further consider relaxing for user's trip Appropriateness, to improve the Experience Degree of trip.In general, it is assumed that user is gone on a journey in a manner of riding, and trip comfort level is usually and road The corresponding climatic information of line is related, which may include the building of season, weather, sunshine situation and road both sides, tree Wood etc..
For example, in order to improve trip comfort level, it is more to can choose road both sides trees when season is sunny summer Route is target route, and such user can ride on shady and cool more route, reduces the irradiation of burning sun;Weather is rain, snow When equal harsh weather, in order to improve trip comfort level, user need to reach home as early as possible, can choose minimal path or most logical at this time Smooth route is target route, reduces user and on the way spends the time.
In embodiments of the present invention, the climatic information in the available every route of mobile terminal, and according to every road The analysis of line mesoclimate information determines the level of comfort of every route, and will the highest route determination of level of comfort be wherein mesh Mark route.
Specifically, the acquisition of the climatic information of every route, may include: the server by map application, obtain every The road is clear for each position in route situation, the trees of road both sides, building, sight spot distributed intelligence;By weather application, Obtain the information such as current season, the weather of region locating for route.It all can serve as weather letter by these information that application obtains Breath.
Further, in embodiments of the present invention, user can carry out route by input beginning and end before travel Planning, and according to the corresponding climatic information of each route, determine the target route in route.In addition, user can also go on a journey In the process, current location is determined as starting point, the route of planning current location to terminal in real time, and is corresponded to according to each route Climatic information, in real time determine route in target route.
Optionally, in an implementation of the embodiment of the present invention, step 102 can also include:
Sub-step 1021, in each route, determine at least one target position.
In embodiments of the present invention, route usually has certain length, therefore, in order to accurately determine the weather letter of route Breath can choose one or more target positions in route, pass through the gas of each target position of determination according to the length of route Information is waited, the comfort level to integrate to route is assessed.
Specifically, a target position can be chosen every pre-determined distance from the off according to the length of route, until Reach terminal.For example, it is assumed that the length of route is 1 kilometer, then 5 can be finally obtained every 200 meters of selections, one target position A target position;Assuming that the length of route is 10 kilometers, then 10 can be finally obtained every 1 kilometer of selection, one target position A target position.
Sub-step 1022 determines the mesh in the route according to preset rules according to the climatic information of the target position Mark route.
Since the target position of selection is a position coordinates point on route, by map application, can inquire Trees on to target position, building distribution, the road is clear climatic informations such as degree, if the distance of route is very long, and span Different regions then can also inquire the climatic informations such as the current weather on target position by weather application.
After the climatic information of target position has been determined, the target route in route can be determined according to preset rules, it should Preset rules can according to climatic information, come judge by the route go on a journey when, if comfort level with higher.
Specifically, whether there is comfort level, need to combine season, the weather on route, road both sides the gas such as shelter Information is waited to judge, judgment method may include: to need in sunny summer so that the tree shade region in target route is more;Fine Bright winter needs so that the sunshine region in target route is more;Rain and snow weather needs so that the commuting time of target route is most short Deng.
Optionally, sub-step 1022 can also include:
Sub-step A1, longitude and latitude, current time and the Weather information for obtaining the target position.
In this step, by map application, the latitude and longitude information of target position can be inquired, by weather application, The Weather information that target position can then be inquired, by calling the system time of mobile terminal, then when can inquire current Between.
If sub-step A2, the Weather information include the first season, the first weather, and the minimal path in the route Length is greater than or equal to preset threshold, then the route that the quantity with light area is most, is determined as target route.
In embodiments of the present invention, it may include summer that the first season, which may include winter, the second season, and the first weather can To include fine day, it is generally the case that in the first season or the second season, due to often generating extremely cold or very hot weather, often The trip Experience Degree of user is affected greatly.It is illustrated with first weather in the first season, due to the gas in the first season Cold is waited, in order to guarantee Experience Degree of going on a journey, user can use sunlight and warm oneself, therefore, can working as according to target position Preceding time and longitude and latitude determine the position of sun of target position, and further according to the trees of target location road both sides, build Build the distribution situation of the veils such as object, determine under the position of sun whether have sunlight irradiation on the road of target position, and will The most route of the quantity of light area, is determined as target route, to improve the light application time that user is subject on target route, Improve the trip experience under first weather in the first season.
For example, it is assumed that there are 5 target positions in route 1, there are 5 target positions in route 2, and includes 4 in route 1 Target position with light area includes 3 target positions with light area in route 2, then can be true by route 1 It is set to target position and recommends user.
It should be noted that if the length of the minimal path in route is less than preset threshold, then for knot as fast as possible Shu Hangcheng avoids perplexing by cold, and can choose minimal path is target route;If the length of the minimal path in route is big In or equal to preset threshold, then in order to guarantee the comfortable Experience Degree in stroke, can choose the longest route of light application time is mesh Mark route.
Optionally, sub-step A2 can also include:
Sub-step A21, according to the current time and the longitude and latitude, obtain position of sun and the screening of the target position Cover object.
In embodiments of the present invention, according to the latitude and longitude information of target position, target position can be determined by map application Position and the distribution situation of the veil at place are set, i.e., there are how many trees, how many buildings etc. for target position.
Further, according to the current time of target position, longitude and latitude and solar motion rule, target can also be determined The position of sun of position.The characteristics of motion of position of sun includes following several rules:
It is related with the southern hemisphere and northern hemisphere position of point of vertical that rule 1, the liter of the sun fall deviation post, when the direct sunlight Northern Hemisphere, The global sun rises from east by north, west by north to fall;When the direct sunlight Southern Hemisphere, the global sun rises from east by south, west by south It falls;Spring and autumn is divided to two days, and the global sun rises from due east, and due west is fallen.
Rule 2, Same Latitude area, point of vertical latitude is higher, and it is more by north or by north that sun liter falls orientation.
Regular 3, same season (point of vertical latitude is constant), the higher area of latitude, sun liter fall more by north or by north, arrive It is fallen at polar day polar night at due north or due south liter.
Regular 4, subsolar point northern area, solar noon sun is in south.
Regular 5, subsolar point areas to the south, solar noon sun is in the north.
Rule 6, direct sunlight area, solar noon sun is in surface.
In conjunction with above-mentioned rule, by taking the Northern Hemisphere as an example, most area is in summer hemisphere, sun sunrise northeast sunset northwest, just Noon, the sun was in Due South;Winter hemisphere, the sunrise southeast, sunset southwest, solar noon sun is in Due South.The Arctic Circle and its northern area are such as There is polar day phenomenon in fruit, and 0 sun is located at the positive north, and 12 points are located at Due South, and 12 points of altitude of the sun is higher than at 0 point;If gone out Existing polar night phenomenon, then lose the sun all day.Equator is located at positive northern feelings to that between the tropic of cancer, then can have solar noon sun Condition.
Therefore, according to the current time of target position, longitude and latitude and solar motion rule, a certain moment mesh can be determined Position of sun at cursor position.
For example, referring to Fig. 2, a1, a2, a3 are had chosen in route 1, tetra- target positions a4 have chosen in route 2 Tetra- target positions b1, b2, b3, b4, can apply according to the map, determine that the veil 10 around target position is distributed, and The position of the current time sun 20.
Sub-step A22, according to the position of sun and the veil, determine whether the target position has area of illumination Domain.
Using the position of sun of target position and the position of veil, the light irradiation that the position of sun issues can be determined Be formed by the light area except shadow region and shadow region after veil, so determine on target location road whether There is light area.
For example, referring to Fig. 2, according to around current target position the distribution of veil 10 and the current time sun 20 position can determine that a4 has light area in route 1, and b3 in route 2, b4 have light area.
Sub-step A23, by the most route of the quantity with the light area, be determined as the target route.
In order to determine the route if appropriate for the first weather trip in the first season, can for when a route, including The target position quantity with light area it is most, it is determined that the route is target route, therefore, referring to the example in Fig. 2, Can choose route 2 in first weather in the first season is target route.
If sub-step A3, the Weather information include the second season, the first weather, and the minimal path in the route Length is greater than or equal to the preset threshold, then the route that the quantity with non-light area is most, is determined as target route.
In embodiments of the present invention, be illustrated with first weather in the second season, i.e., sunny summer when, due to weather inflammation Heat, in order to guarantee Experience Degree of going on a journey, user can use shady and cool region and avoid heat, therefore, can working as according to target position Preceding time and longitude and latitude determine the position of sun of target position, and further according to the trees of target location road both sides, build It builds the distribution situation of the veils such as object, determine under the position of sun whether there is non-light area on the road of target position, and By the most route of the quantity of non-light area, it is determined as target route, to reduce the illumination that user is subject on target route Time improves the trip experience under first weather in the second season.
Optionally, sub-step A3 can also include:
Sub-step A31, according to the current time and the longitude and latitude, obtain position of sun and the screening of the target position Cover object.
The step is specifically referred to above-mentioned sub-step A21, and details are not described herein again.
Sub-step A32, according to the position of sun and the veil, determine whether the target position has non-illumination Region.
Using the position of sun of target position and the position of veil, the light irradiation that the position of sun issues can be determined It is formed by the light area except non-light area and shadow region after veil, and then is on determining target location road It is no to have non-light area.
For example, referring to Fig. 2, according to around current target position the distribution of veil 10 and the current time sun 20 position can determine that a1 in route 1, a2, a3 have non-light area, and b1 in route 2, b2 have non-light area.
Sub-step A33, by the most route of the quantity with the non-light area, be determined as the target route.
It, can be for when a route, packet in order to determine that the route is gone on a journey if appropriate under first weather in the second season The target position quantity with non-light area included is most, it is determined that the route is target route, therefore, referring in Fig. 2 Example, under first weather in the second season, can choose route 1 is target route.
If sub-step A4, the Weather information include the second weather, the shortest route determination of length is the target road Line.
In embodiments of the present invention, the second weather can be non-sunny weather, when weather information includes non-sunny weather, User can not be avoided heat during going on a journey in the second season by shady and cool region, also can not pass through light during going on a journey in the first season Go to a winter resort according to region, while the second weather is also not appropriate for making a sightseeing tour, it therefore, can be to improve trip effect in the second weather It is the target route by the shortest route determination of length for the purpose of rate.
If sub-step A5, the Weather information include third weather, and the length of the minimal path in the route is greater than Or being equal to the preset threshold, then the route that the quantity with veil is most, is determined as target route.
In embodiments of the present invention, third weather may include strong wind weather, when weather information includes strong wind weather, use Family can use the veils such as the trees of road both sides, building and be hidden, and interference of the strong wind to trip be reduced, therefore, big When wind weather, route that can be most by the quantity with veil is determined as target route, improves the Experience Degree of trip.
For example, referring to Fig. 2, it can determine that a1 in route 1, a2, a3 have veil, b1 in route 2, b2 have masking Route 1 can be determined as target route then in strong wind weather by object.
If sub-step A6, the Weather information include third season or the fourth season, according to the longitude and latitude and described Current time, determines whether the target position has sight spot;And it is the quantity of the target position with the sight spot is most Route is determined as the target route.
In embodiments of the present invention, third season may include spring, and the fourth season may include summer, spring and autumn In season, proper temperature, pleasant Climate, user usually has the demand gone out and played, while third season or the fourth season also remove from The interference of heat and severe cold in road therefore can be by map application, and whether each target position has in enquiring route Sight spot;And the route that the quantity of the target position with sight spot is most, it is determined as target route, to promote the body of playing of user It tests.
Step 103, the target route is recommended into user.
In embodiments of the present invention, after target route has been determined, target route can recommend to user, user can be with Trip navigation is carried out using target route, is gone on a journey according to the road of target route planning.And the climatic information that target route includes It determines target route comfort level highest in all routes, is experienced with optimal trip.
Therefore, the present invention is on the basis of contemplating line efficiency, further according to the climatic information of route, it is determined that every The comfort level of route, and the route recommendation with more excellent comfort level is improved the comfort level of user's trip, improved to user Trip experience.
For cycling away and cycle away at 4 points in Nanjing spring fine day afternoon with 12 points of Shenzhen Clear Days Summer morning below It is illustrated.
1, it cycles away for 12 points of Shenzhen morning in summer, gets all route N in destination first, then from all route N Middle selection obtains a shortest route N1, if the length of route N1 is less than threshold value T, route N1 is directly recommended use Family.Otherwise route N2 more than shady and cool ground is selected to recommend user as target route, 12 points of Shenzhen morning in summer, weather is being just at this time Hot gas temperature can reach 37 degree or more, and the sun is at this time in Due South, and according to the sun in Due South, the south of target route needs at this time There are high building/big trees, and user rides on this route can be avoided the straight solarization of the sun, improve trip Experience Degree.
2) 4 points of cyclings in Nanjing spring fine day afternoon, get all route N in destination first, Nanjing spring fine day afternoon 4 Point cycles, and is the season of the formal bright spring days in Nanjing at this time, at this time formal Malus spectabilis, when oriental cherry is bloomed, and these plants one As be all to be planted in scenic spot, river bank, spacious place, the regions such as school, so the target route side of selection should have scenic spot, river Side, the places such as school, to promote the trip experience of user.
To sum up, a kind of route recommendation method provided in an embodiment of the present invention, including, it obtains from current location to terminal more Route;According to the corresponding climatic information of each route, the target route in route is determined;Target route is recommended into user, The climatic information information relevant to trip comfort level that may include season, weather, sunshine situation in route etc., the present invention can be with On the basis of contemplating line efficiency, further according to the climatic information of route, the comfort level of every route is determined, and will have The route recommendation of more excellent comfort level improves the comfort level of user's trip to user, improves trip experience.
Wherein, the comfort level of every route can use the current season of route, weather, position of sun, road both sides The climatic informations such as veil branch situation are determined, and achieve the effect that summer avoids heat, winter gos to a winter resort, season in spring and autumn reward scape.
Fig. 3 is a kind of block diagram of terminal provided in an embodiment of the present invention, as shown in figure 3, the terminal 20 includes:
Module 201 is obtained, for obtaining a plurality of route from current location to terminal;
Determining module 202, for determining the target road in the route according to the corresponding climatic information of each route Line;
Recommending module 203, for the target route to be recommended user.
In conclusion a kind of terminal provided in an embodiment of the present invention, including, obtain a plurality of road from current location to terminal Line;According to the corresponding climatic information of each route, the target route in route is determined;Target route is recommended into user, weather Information may include the information relevant to trip comfort level such as season, weather, sunshine situation in route, and the present invention can examine On the basis of considering line efficiency out, further according to the climatic information of route, the comfort level of every route is determined, and will have more excellent The route recommendation of comfort level improves the comfort level of user's trip to user, improves trip experience.
The embodiment of the present invention also provides a kind of terminal, including processor, memory, is stored on the memory and can be The computer program run on the processor, the computer program realize above-mentioned route recommendation when being executed by the processor Each process of embodiment of the method, and identical technical effect can be reached, to avoid repeating, which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each process of above-mentioned route recommendation embodiment of the method when being executed by processor, and Identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as Read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic or disk etc..
Fig. 4 is the block diagram of the terminal of another embodiment of the present invention.Terminal 500 shown in Fig. 4 includes: at least one processing Device 501, memory 502, at least one network interface 504, user interface 503 and camera 506.Each group in terminal 500 Part is coupled by bus system 505.It is understood that bus system 505 is for realizing the connection communication between these components. Bus system 505 further includes power bus, control bus and status signal bus in addition in addition to including data/address bus.But in order to For the sake of clear explanation, various buses are all designated as bus system 505 in Fig. 4.
Wherein, user interface 503 may include display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or flexible screen etc..
It is appreciated that the memory 502 in the embodiment of the present invention can be volatile memory or nonvolatile memory, It or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read- OnlyMemory, ROM), programmable read only memory (ProgrammableROM, PROM), Erasable Programmable Read Only Memory EPROM (ErasablePROM, EPROM), electrically erasable programmable read-only memory (ElectricallyEPROM, EEPROM) dodge It deposits.Volatile memory can be random access memory (RandomAccessMemory, RAM), and it is slow to be used as external high speed It deposits.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory (StaticRAM, SRAM), dynamic random access memory (DynamicRAM, DRAM), Synchronous Dynamic Random Access Memory (SynchronousDRAM, SDRAM), double data speed synchronous dynamic RAM (DoubleDataRate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (SynchlinkDRAM, SLDRAM) and direct rambus random access memory (DirectRambusRAM, DRRAM).The memory 502 of the system and method for description of the embodiment of the present invention is intended to include but unlimited In the memory of these and any other suitable type.
In some embodiments, memory 502 stores following element, executable modules or data structures, or Their subset of person or their superset: operating system 5021 and application program 5022.
Wherein, operating system 5021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for Realize various basic businesses and the hardware based task of processing.Application program 5022 includes various application programs, such as media Player (MediaPlayer), browser (Browser) etc., for realizing various applied business.Realize embodiment of the present invention side The program of method may be embodied in application program 5022.
In embodiments of the present invention, by the program or instruction of calling memory 502 to store, specifically, can be application The program or instruction stored in program 5022, processor 501 are used to obtain a plurality of route from current location to terminal;According to every The corresponding climatic information of a route, determines the target route in route;Target route is recommended into user.
The method that the embodiments of the present invention disclose can be applied in processor 501, or be realized by processor 501. Processor 501 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 501 or the instruction of software form.Above-mentioned processing Device 501 can be general processor, digital signal processor (DigitalSignalProcessor, DSP), specific integrated circuit (ApplicationSpecificIntegratedCircuit, ASIC), ready-made programmable gate array (FieldProgrammableGateArray, FPGA) either other programmable logic device, discrete gate or transistor logic Device, discrete hardware components.It may be implemented or execute disclosed each method, step and the logical box in the embodiment of the present invention Figure.General processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with the present invention The step of method disclosed in embodiment, can be embodied directly in hardware decoding processor and execute completion, or use decoding processor In hardware and software module combination execute completion.Software module can be located at random access memory, and flash memory, read-only memory can In the storage medium of this fields such as program read-only memory or electrically erasable programmable memory, register maturation.The storage Medium is located at memory 502, and processor 501 reads the information in memory 502, and the step of the above method is completed in conjunction with its hardware Suddenly.
It is understood that the embodiment of the present invention description these embodiments can with hardware, software, firmware, middleware, Microcode or combinations thereof is realized.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (App LicationSpecificIntegratedCircuits, ASIC), digital signal processor (DigitalSignalProcessing, DSP), digital signal processing appts (DSPDevice, DSPD), programmable logic device (ProgrammableLogicDevice, PLD), field programmable gate array (Field-ProgrammableGateArray, FPGA), general processor, controller, microcontroller, microprocessor, other electronics lists for executing herein described function In member or combinations thereof.
For software implementations, can by execute the embodiment of the present invention described in function module (such as process, function etc.) come Realize technology described in the embodiment of the present invention.Software code is storable in memory and is executed by processor.Memory can With portion realizes in the processor or outside the processor.
Terminal 500 can be realized each process that terminal is realized in previous embodiment, no longer superfluous here to avoid repeating It states.
In the embodiment of the present invention, the available a plurality of route from current location to terminal of terminal 500;According to each route Corresponding climatic information determines the target route in route;Target route is recommended into user, climatic information may include route In the information relevant to trip comfort level such as season, weather, sunshine situation, the present invention can be on the basis for contemplating line efficiency On, further according to the climatic information of route, determine the comfort level of every route, and the route recommendation that will there is more excellent comfort level To user, the comfort level of user's trip is improved, improves trip experience.
Fig. 5 is the structural schematic diagram of the terminal of another embodiment of the present invention.
Specifically, the terminal 600 in Fig. 5 can be mobile phone, tablet computer, personal digital assistant (PersonalDigital Assistant, PDA) or vehicle-mounted computer etc..
Terminal 600 in Fig. 5 includes radio frequency (RadioFrequency, RF) circuit 610, memory 620, input unit 630, display unit 640, processor 660, voicefrequency circuit 670, WLAN (WirelessFidelity) module 680, electricity Source 690 and camera 6110.
Wherein, input unit 630 can be used for receiving the number or character information of user's input, and generate and terminal 600 User setting and function control related signal input.Specifically, in the embodiment of the present invention, which can be with Including touch panel 631.Touch panel 631, collect user on it or nearby touch operation (such as user use hand The operation of any suitable object or attachment such as finger, stylus on touch panel 631), and driven according to preset formula Corresponding attachment device.Optionally, touch panel 631 may include both touch detecting apparatus and touch controller.Wherein, Touch detecting apparatus detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch control Device;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives the processor 660, and order that processor 660 is sent can be received and executed.Furthermore, it is possible to use resistance-type, condenser type, infrared ray with And the multiple types such as surface acoustic wave realize touch panel 631.In addition to touch panel 631, input unit 630 can also include other Input equipment 632, other input equipments 632 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, one of operating stick etc. or a variety of.
Wherein, display unit 640 can be used for showing information input by user or be supplied to the information and terminal of user 600 various menu interfaces.Display unit 640 may include display panel 641, optionally, can use LCD or organic light emission two The forms such as pole pipe (OrganicLight-EmittingDiode, OLED) configure display panel 641.
It should be noted that touch panel 631 can cover display panel 641, touch display screen is formed, when the touch display screen is examined After measuring touch operation on it or nearby, processor 660 is sent to determine the type of touch event, is followed by subsequent processing device 660 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and common control viewing area.The Application Program Interface viewing area And arrangement mode of the common control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with The interface elements such as the icon comprising at least one application program and/or widget desktop control.The Application Program Interface viewing area Or the empty interface not comprising any content.This commonly uses control viewing area for showing the higher control of utilization rate, for example, Application icons such as button, interface number, scroll bar, phone directory icon etc. are set.
Wherein processor 660 is the control centre of terminal 600, and each of whole mobile phone is connected with route using various interfaces Part by running or execute the software program and/or module that are stored in first memory 621, and calls and is stored in the Data in two memories 622 execute the various functions and processing data of terminal 600, to carry out whole prison to terminal 600 Control.Optionally, processor 660 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 621 in software program and/or module and/ Or the data in the second memory 622, processor 660 are used to obtain a plurality of route from current location to terminal;According to every The corresponding climatic information of a route, determines the target route in route;Target route is recommended into user.
As it can be seen that terminal may include: a plurality of route obtained from current location to terminal in the embodiment of the present invention;According to The corresponding climatic information of each route, determines the target route in route;Target route is recommended into user, climatic information can be with Including the information relevant to trip comfort level such as season, weather, sunshine situation in route, the present invention can consider trip effect On the basis of rate, further according to the climatic information of route, the comfort level of every route is determined, and will there is more excellent comfort level Route recommendation improves the comfort level of user's trip to user, improves trip experience.
For above-mentioned apparatus embodiment, since it is basically similar to the method embodiment, so be described relatively simple, The relevent part can refer to the partial explaination of embodiments of method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It would have readily occurred to a person skilled in the art that: any combination application of above-mentioned each embodiment is all feasible, therefore Any combination between above-mentioned each embodiment is all embodiment of the present invention, but this specification exists as space is limited, This is not just detailed one by one.
Provided herein route recommendation method not with any certain computer, virtual system or the intrinsic phase of other equipment It closes.Various general-purpose systems can also be used together with teachings based herein.As described above, construction has present invention side Structure required by the system of case is obvious.In addition, the present invention is also not directed to any particular programming language.It should be bright It is white, it can use various programming languages and realize summary of the invention described herein, and retouched above to what language-specific was done State is in order to disclose the best mode of carrying out the invention.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the present invention and help to understand one or more of the various inventive aspects, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, such as right As claim reflects, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows tool Thus claims of body embodiment are expressly incorporated in the specific embodiment, wherein each claim conduct itself Separate embodiments of the invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention Within the scope of and form different embodiments.For example, in detail in the claims, embodiment claimed it is one of any Can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice Microprocessor or digital signal processor (DSP) realize the identification side of background music in video according to an embodiment of the present invention The some or all functions of some or all components in method.The present invention is also implemented as described here for executing Method some or all device or device programs (for example, computer program and computer program product).This The program that the realization of sample is of the invention can store on a computer-readable medium, or can have one or more signal Form.Such signal can be downloaded from an internet website to obtain, and perhaps be provided on the carrier signal or with any other Form provides.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame Claim.

Claims (11)

1. a kind of route recommendation method is applied to terminal, which is characterized in that the described method includes:
Obtain a plurality of route from current location to terminal;
According to the corresponding climatic information of each route, the target route in the route is determined;
The target route is recommended into user.
2. the method according to claim 1, wherein described according to the corresponding climatic information of each route, Determine the target route in the route, comprising:
In each route, at least one target position is determined;
The target route in the route is determined according to preset rules according to the climatic information of the target position.
3. according to the method described in claim 2, it is characterized in that, the climatic information according to the target position, according to Preset rules determine the target route in the route, comprising:
Obtain longitude and latitude, current time and the Weather information of the target position;
If the Weather information includes the first season, the first weather, and the length of the minimal path in the route is greater than or waits In preset threshold, then the route that the quantity with light area is most, is determined as target route;
If the Weather information includes the second season, first weather, and the length of the minimal path in the route is greater than Or being equal to the preset threshold, then the route that the quantity with non-light area is most, is determined as target route.
4. according to the method described in claim 3, it is characterized in that, the route that the quantity with light area is most, It is determined as target route, comprising:
According to the current time and the longitude and latitude, the position of sun and veil of the target position are obtained;
According to the position of sun and the veil, determine whether the target position has light area;
By the most route of the quantity with the light area, it is determined as the target route.
5. according to the method described in claim 3, it is characterized in that, the road that the quantity with non-light area is most Line is determined as target route, comprising:
According to the current time and the longitude and latitude, the position of sun and veil of the target position are obtained;
According to the position of sun and the veil, determine whether the target position has non-light area;
By the most route of the quantity with the non-light area, it is determined as the target route.
6. according to the method described in claim 3, it is characterized in that, in the longitude and latitude for obtaining the target position, current After time and Weather information, further includes:
If the Weather information includes the second weather, the shortest route determination of length is the target route.
7. according to the method described in claim 3, it is characterized in that, in the longitude and latitude for obtaining the target position, current After time and Weather information, further includes:
If the Weather information includes third weather, and the length of the minimal path in the route is greater than or equal to described preset Threshold value, then the route that the quantity with veil is most, is determined as target route.
8. according to the method described in claim 3, it is characterized in that, in the longitude and latitude for obtaining the target position, current After time and Weather information, further includes:
If the Weather information includes being determined according to the longitude and latitude and the current time third season or the fourth season Whether the target position has sight spot;
By the most route of the quantity of the target position with the sight spot, it is determined as the target route.
9. a kind of terminal, which is characterized in that the terminal includes:
Module is obtained, for obtaining a plurality of route from current location to terminal;
Determining module, for determining the target route in the route according to the corresponding climatic information of each route;
Recommending module, for the target route to be recommended user.
10. a kind of terminal, which is characterized in that including processor, memory and be stored on the memory and can be at the place The computer program run on reason device is realized when the computer program is executed by the processor as appointed in claim 1 to 8 The step of route recommendation method described in one.
11. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program realizes such as route recommendation method described in any item of the claim 1 to 8 when the computer program is executed by processor The step of.
CN201811564739.XA 2018-12-20 2018-12-20 Route recommendation method and terminal Active CN109737978B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811564739.XA CN109737978B (en) 2018-12-20 2018-12-20 Route recommendation method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811564739.XA CN109737978B (en) 2018-12-20 2018-12-20 Route recommendation method and terminal

Publications (2)

Publication Number Publication Date
CN109737978A true CN109737978A (en) 2019-05-10
CN109737978B CN109737978B (en) 2021-06-18

Family

ID=66360894

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811564739.XA Active CN109737978B (en) 2018-12-20 2018-12-20 Route recommendation method and terminal

Country Status (1)

Country Link
CN (1) CN109737978B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111144652A (en) * 2019-12-26 2020-05-12 浙江力石科技股份有限公司 Tour comfort degree algorithm and trend prediction method, system and device
WO2021073177A1 (en) * 2019-10-16 2021-04-22 上海掌门科技有限公司 Method and device for providing information about sheltering from rain
US20230304811A1 (en) * 2022-03-23 2023-09-28 GM Global Technology Operations LLC Solar-load prediction for vehicle range estimation and eco-routing
US20230408266A1 (en) * 2022-06-09 2023-12-21 GM Global Technology Operations LLC Road brightness route planning

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050015197A1 (en) * 2002-04-30 2005-01-20 Shinya Ohtsuji Communication type navigation system and navigation method
CN101382432A (en) * 2007-09-03 2009-03-11 学校法人东京电机大学 Comfortable walking path search server and program
JP2013053879A (en) * 2011-09-01 2013-03-21 Seiko Epson Corp Navigation system, program, recording medium, and navigation method
CN103292776A (en) * 2012-02-29 2013-09-11 联想(北京)有限公司 Mobile intelligent device, method for obtaining sun position and method for predicting sunrise and sunset
CN104634343A (en) * 2015-01-27 2015-05-20 杭州格文数字技术有限公司 Automatic scenic spot route planning method based on multi-objective optimization
CN107727108A (en) * 2017-09-30 2018-02-23 百度在线网络技术(北京)有限公司 The recommendation method, apparatus and computer-readable medium of transit trip route
WO2018106400A1 (en) * 2016-12-09 2018-06-14 Intel Corporation Stress based navigation routing
CN108592931A (en) * 2018-04-27 2018-09-28 福州大学 A method of providing guidance path according to human comfort
CN108663064A (en) * 2018-07-03 2018-10-16 中国联合网络通信集团有限公司 Quickest route determines method and apparatus

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050015197A1 (en) * 2002-04-30 2005-01-20 Shinya Ohtsuji Communication type navigation system and navigation method
CN101382432A (en) * 2007-09-03 2009-03-11 学校法人东京电机大学 Comfortable walking path search server and program
JP2013053879A (en) * 2011-09-01 2013-03-21 Seiko Epson Corp Navigation system, program, recording medium, and navigation method
CN103292776A (en) * 2012-02-29 2013-09-11 联想(北京)有限公司 Mobile intelligent device, method for obtaining sun position and method for predicting sunrise and sunset
CN104634343A (en) * 2015-01-27 2015-05-20 杭州格文数字技术有限公司 Automatic scenic spot route planning method based on multi-objective optimization
WO2018106400A1 (en) * 2016-12-09 2018-06-14 Intel Corporation Stress based navigation routing
CN107727108A (en) * 2017-09-30 2018-02-23 百度在线网络技术(北京)有限公司 The recommendation method, apparatus and computer-readable medium of transit trip route
CN108592931A (en) * 2018-04-27 2018-09-28 福州大学 A method of providing guidance path according to human comfort
CN108663064A (en) * 2018-07-03 2018-10-16 中国联合网络通信集团有限公司 Quickest route determines method and apparatus

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021073177A1 (en) * 2019-10-16 2021-04-22 上海掌门科技有限公司 Method and device for providing information about sheltering from rain
CN111144652A (en) * 2019-12-26 2020-05-12 浙江力石科技股份有限公司 Tour comfort degree algorithm and trend prediction method, system and device
CN111144652B (en) * 2019-12-26 2023-08-08 浙江力石科技股份有限公司 Tour comfort algorithm and trend prediction based method, system and device
US20230304811A1 (en) * 2022-03-23 2023-09-28 GM Global Technology Operations LLC Solar-load prediction for vehicle range estimation and eco-routing
US20230408266A1 (en) * 2022-06-09 2023-12-21 GM Global Technology Operations LLC Road brightness route planning

Also Published As

Publication number Publication date
CN109737978B (en) 2021-06-18

Similar Documents

Publication Publication Date Title
CN109737978A (en) A kind of route recommendation method and terminal
US9754317B2 (en) System and method for providing information based on geographic position
US10309797B2 (en) User interface for displaying navigation information in a small display
Hien et al. Air temperature distribution and the influence of sky view factor in a green Singapore estate
Hoogendoorn et al. The role of second homes in local economic development in five small South African towns
US20090177458A1 (en) Systems and methods for solar mapping, determining a usable area for solar energy production and/or providing solar information
JP5308560B1 (en) Method and apparatus for predicting power generation in solar power generation
CN104837118A (en) Indoor fusion positioning system and method based on WiFi and BLUETOOTH
CN106201448B (en) Information processing method and user terminal
CN103884345A (en) Interest point information collecting method, interest point information displaying method, interest point information collecting device, interest point information displaying device, and interest point retrieval system
Molina-Martínez et al. RaGPS: A software application for determining extraterrestrial radiation in mobile devices with GPS
Jian et al. Geo-spatial analysis and optimization strategy of park green space landscape pattern of Garden City–A case study of the central district of Mianyang City Sichuan Province
US20150106427A1 (en) Method and apparatus for controlling access to information and applications between clients in a telecommunications network
CN109726868B (en) Path planning method, device and storage medium
CN112236764A (en) Outside-view position indication for digital cartography
CN107231472A (en) A kind of display methods and mobile terminal
WO2012075435A2 (en) Showing realistic horizons on mobile computing devices
Simon et al. Geopointing: evaluating the performance of orientation-aware location-based interaction under real-world conditions
KR101291599B1 (en) Method for Offering User Interface for Web Page Menu Control of n-tier Architecture Based Digital Map
Wang et al. Solar irradiance simulation for evaluating thermal comfort in urban environment
CN103292776A (en) Mobile intelligent device, method for obtaining sun position and method for predicting sunrise and sunset
Neset et al. Navigating urban heat–Assessing the potential of a pedestrian routing tool
EP2244062A1 (en) Method for relating a map to the environment
CN100529793C (en) Method and system for active object search navigation
EP3857404A1 (en) Dynamic generation and suggestion of tiles based on user context

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant