CN107560611A - Moving line acquisition methods and device - Google Patents

Moving line acquisition methods and device Download PDF

Info

Publication number
CN107560611A
CN107560611A CN201710720583.9A CN201710720583A CN107560611A CN 107560611 A CN107560611 A CN 107560611A CN 201710720583 A CN201710720583 A CN 201710720583A CN 107560611 A CN107560611 A CN 107560611A
Authority
CN
China
Prior art keywords
moving line
preset pattern
map
target moving
module
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
CN201710720583.9A
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
Original Assignee
Beijing Xiaomi Mobile Software 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 filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710720583.9A priority Critical patent/CN107560611A/en
Publication of CN107560611A publication Critical patent/CN107560611A/en
Pending legal-status Critical Current

Links

Abstract

The disclosure is directed to moving line acquisition methods and device.This method includes:By obtaining preset pattern, and then according to the shape of preset pattern and the information of map, target moving line is determined in map, and export target moving line.Wherein it is possible to determine the target moving line of user according to default figure, so as to user post exercise movement locus is carried out according to target moving line can be identical with preset pattern, effectively improve Consumer's Experience.

Description

Moving line acquisition methods and device
Technical field
This disclosure relates to technical field of information processing, more particularly to moving line acquisition methods and device.
Background technology
With the rise of the popularization of the terminal devices such as smart mobile phone and Intelligent bracelet, and nationwide fitness programs, more and more People selects Intelligent auxiliary equipment of the intelligent terminal as motion.People can be set during motion using intelligent terminal Sports applications software in standby records calorie consumption amount in movement locus, run duration and motion process etc..
The content of the invention
To overcome problem present in correlation technique, the embodiment of the present disclosure provides moving line acquisition methods and device.Institute It is as follows to state technical scheme:
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of moving line acquisition methods, including:
Obtain preset pattern;
According to the shape of the preset pattern and the information of map, target moving line is determined in the map;
Export the target moving line.
The technical scheme provided by this disclosed embodiment can include the following benefits:By obtaining preset pattern, enter And according to the shape of preset pattern and the information of map, target moving line is determined in map, and export target moving line. Wherein it is possible to the target moving line of user is determined according to default figure, so as to which user enters according to target moving line Row post exercise movement locus can be identical with preset pattern, effectively improves Consumer's Experience.
In one embodiment, it is described according to the shape of the preset pattern and the information of map, in the map really Set the goal moving line, including:
Obtain the road information in the map;
According to the shape of the preset pattern, N bar route of movements are determined in the road information, the N bars move road The shape for the route that road is formed is identical with the shape of the preset pattern, wherein, N is the integer more than 0;
Using the route that the N bars route of movement is formed as the target moving line.
In one embodiment, it is described according to the shape of the preset pattern and the information of map, in the map really Set the goal moving line, including:
According to the shape of the preset pattern and the information of the map, a plurality of Candidate Motion road is determined in the map Line;
Moving line designated order is received, the moving line designated order is used to indicate on a plurality of Candidate Motion road The target moving line selected in line;
The target moving line is determined according to the moving line designated order.
In one embodiment, it is described according to the shape of the preset pattern and the information of map, in the map really Set the goal moving line, including:
Range of movement designated order is received, the range of movement designated order is used to indicate the motion model in the map Enclose;
Obtain the road information in the range of movement;
The target moving line is determined according to the road information in the shape of the preset pattern and the range of movement.
In one embodiment, the acquisition preset pattern includes:
Receive figure designated order, carry in the figure designated order user selected in graphic data base it is described pre- If figure, or, the preset pattern of user's input;
The preset pattern is obtained according to the figure designated order.
In one embodiment, figure designated order is received, the described of user's input is carried in the figure designated order Preset pattern;
The preset pattern is obtained according to the figure designated order.
In one embodiment, after the output target moving line, in addition to:
Obtain the geographical position of terminal device;
Obtain position closest with the geographical position of the terminal device in the target moving line;
It is determined that risen with the closest position in the geographical position of the terminal device for the motion of the target moving line Initial point;
Navigation corresponding with the target moving line is determined according to the motion starting point and the target moving line Route;
Export the navigation way.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of moving line acquisition device, including:
First acquisition module, for obtaining preset pattern;
First determining module, for the shape of the preset pattern that is obtained according to first acquisition module and map Information, target moving line is determined in the map;
First output module, the target moving line determined for exporting first determining module.
In one embodiment, first determining module includes:First acquisition submodule, the first determination sub-module and Two determination sub-modules;
First acquisition submodule, for obtaining the road information in the map;
First determination sub-module, for the shape of the preset pattern obtained according to first acquisition module, N bar route of movements are determined in the road information that first acquisition submodule obtains, the N bars route of movement is formed Route shape it is identical with the shape of the preset pattern, wherein, N is integer more than 0;
Second determination sub-module, for the N bars route of movement institute group for determining first determination sub-module Into route as the target moving line.
In one embodiment, first determining module includes:3rd determination sub-module, the first receiving submodule and Four determination sub-modules;
3rd determination sub-module, for the shape of the preset pattern that is obtained according to first acquisition module and The information of the map, a plurality of Candidate Motion route is determined in the map;
First receiving submodule, for receiving moving line designated order, the moving line designated order is used for Indicate the target moving line selected in a plurality of Candidate Motion route;
4th determination sub-module, the moving line for being received according to first receiving submodule, which is specified, to be referred to Order determines the target moving line.
In one embodiment, first determining module includes:Second receiving submodule, the second acquisition submodule and Five determination sub-modules;
Second receiving submodule, for receiving range of movement designated order, the range of movement designated order is used for Indicate the range of movement in the map;
Second acquisition submodule, the road in the range of movement received for obtaining second receiving submodule Road information;
5th determination sub-module, for the shape of the preset pattern that is obtained according to first acquisition module and The road information in the range of movement that second acquisition submodule obtains determines the target moving line.
In one embodiment, first acquisition module includes:3rd receiving submodule and the 3rd acquisition submodule;
3rd receiving submodule, carry user for receiving figure designated order, in the figure designated order and exist The preset pattern selected in graphic data base, or, the preset pattern of user's input;
3rd acquisition submodule, the figure designated order for being received according to the 3rd receiving submodule obtain Take the preset pattern.
In one embodiment, described device also includes:Second acquisition module, the 3rd acquisition module, the second determining module, 3rd determining module and the second output module;
Second acquisition module, for obtaining the geographical position of terminal device;
3rd acquisition module, for obtaining the institute obtained in the target moving line with second acquisition module State the closest position in the geographical position of terminal device;
Second determining module, for the geographical position for the terminal device for determining to obtain with the 3rd acquisition module Put the motion starting point that closest position is the target moving line;
3rd determining module, for the motion starting point determined according to second determining module and the mesh Mark moving line and determine navigation way corresponding with the target moving line;
Second output module, the navigation way determined for exporting the 3rd determining module.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of moving line acquisition device, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
Obtain preset pattern;
According to the shape of the preset pattern and the information of map, target moving line is determined in the map;
Export the target moving line.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of computer-readable recording medium, be stored thereon with calculating Machine instructs, and the instruction realizes following steps when being executed by processor:
Obtain preset pattern;
According to the shape of the preset pattern and the information of map, target moving line is determined in the map;
Export the target moving line.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is the flow chart of the moving line acquisition methods according to an exemplary embodiment one.
Fig. 2 is the flow chart of step S102 in moving line acquisition methods according to an exemplary embodiment one.
Fig. 3 is the schematic diagram of the preset pattern according to an exemplary embodiment.
Fig. 4 is the schematic diagram of the road information according to an exemplary embodiment.
Fig. 5 is the flow chart of step S102 in moving line acquisition methods according to an exemplary embodiment two.
Fig. 6 is the flow chart of step S102 in moving line acquisition methods according to an exemplary embodiment three.
Fig. 7 is the flow chart of the moving line acquisition methods according to an exemplary embodiment two.
Fig. 8 is the flow chart of the moving line acquisition methods according to an exemplary embodiment three.
Fig. 9 is the interface display schematic diagram according to an exemplary embodiment one.
Figure 10 is the interface display schematic diagram according to an exemplary embodiment two.
Figure 11 is a kind of block diagram of moving line acquisition device according to an exemplary embodiment one.
Figure 12 is the first determining module 12 in a kind of moving line acquisition device according to an exemplary embodiment one Block diagram.
Figure 13 is the first determining module 12 in a kind of moving line acquisition device according to an exemplary embodiment two Block diagram.
Figure 14 is the first determining module 12 in a kind of moving line acquisition device according to an exemplary embodiment three Block diagram.
Figure 15 is the first acquisition module 11 in a kind of moving line acquisition device according to an exemplary embodiment Block diagram.
Figure 16 is a kind of block diagram of moving line acquisition device according to an exemplary embodiment two.
Figure 17 is a kind of block diagram for moving line acquisition device 80 according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
In the disclosure, by obtaining preset pattern, and then according to the shape of preset pattern and the information of map, in map Target moving line is determined, and exports target moving line.Wherein it is possible to determine that the target of user is transported according to default figure Dynamic route, so as to user post exercise movement locus is carried out according to target moving line can be identical with preset pattern, effectively Improve Consumer's Experience.
Fig. 1 is the flow chart of the moving line acquisition methods according to an exemplary embodiment one, as shown in figure 1, should Method comprises the following steps S101-S103:
In step S101, preset pattern is obtained.
In a kind of achievable mode, above-mentioned acquisition preset pattern includes:Figure designated order is received, the figure, which is specified, to be referred to The preset pattern that user selects in graphic data base is carried in order;Preset pattern is obtained according to figure designated order.
Can be prestored a graphic data base, and the graphic data base includes various preset patterns, when user wants to specify fortune During dynamic route, preset pattern interested can be selected from above-mentioned graphic data base.
Example, graphic data base is as shown in table 1, and in table 1, preset pattern can be specific shape, such as:" ☆ " and " ◇ ";Preset pattern can also be letter, such as:“A”;Preset pattern can also be Chinese character, such as: " king ".
Table 1
Such as:When the preset pattern selected in graphic data base of the user in above-mentioned table 1 for:When " king ", user clicks on List item where " king ", now, a figure designated order just is sent to moving line acquisition device, is taken in the figure designated order The preset pattern selected with user in graphic data base is " king ", is referred to when moving line acquisition device receives the figure and specified , can be to be determined the preset pattern of user's selection as " king " according to the figure designated order after order.
The technical scheme provided by this disclosed embodiment can include the following benefits:User passes through in graphic data base Middle selection preset pattern, the step of user's designated movement route can be simplified, effectively reduce the complexity of moving line acquisition.
In order to further lift Consumer's Experience, and the flexibility and personalization of lifting preset figure forms, without It is that preset pattern is only selected in graphic data base, in the achievable mode of another kind, above-mentioned acquisition preset pattern includes:Connect Figure designated order is received, the preset pattern of user's input is carried in the figure designated order;Obtained according to figure designated order pre- If figure.
Example, a graphic plotting interface can be preset in moving line acquisition device, when user wants designated movement During route, can hand drawn oneself is admired in graphic plotting interface preset pattern, such as:When user depicts After preset pattern, confirming button can be clicked on, now, just sends a figure designated order, the figure to moving line acquisition device The preset pattern of user's input is carried in shape designated orderRefer to when moving line acquisition device receives the figure and specified After order, can using according to the figure designated order determine user input preset pattern as
It is worth noting that, above-mentioned figure is only a kind of citing, can also be other shapes in actual applications, this It is open it not to be any limitation as.
The technical scheme provided by this disclosed embodiment can include the following benefits:The default figure inputted by user Shape, the formulation of user individual moving line can be met, effectively improve Consumer's Experience.
In step s 102, according to the shape of preset pattern and the information of map, target moving line is determined in map.
In step s 103, target moving line is exported.
In correlation technique, during user movement, the track of the motion of user can be only recorded, and in the disclosure, Target moving line can be determined based on preset pattern, the movement locus obtained after being moved so as to user according to target moving line It is identical with the shape of preset pattern, so as to effectively improve Consumer's Experience.
In the disclosure, by obtaining preset pattern, and then according to the shape of preset pattern and the information of map, in map Target moving line is determined, and exports target moving line.Wherein it is possible to determine that the target of user is transported according to default figure Dynamic route, so as to user post exercise movement locus is carried out according to target moving line can be identical with preset pattern, effectively Improve Consumer's Experience.
In one embodiment, as shown in Fig. 2 above-mentioned steps S102 may be embodied as step S1021- steps S1023:
In step S1021, the road information in map is obtained.
In step S1022, according to the shape of preset pattern, N bar route of movements, the motion of N bars are determined in road information The shape for the route that road is formed is identical with the shape of preset pattern, wherein, N is the integer more than 0.
Because the target moving line for the shape for forming preset pattern may be made up of a plurality of different route of movement, because This, can determine whether N bar route of movements.
In step S1023, the route that N bar route of movements are formed is as target moving line.
Such as:The preset pattern got is as shown in figure 3, map is as shown in Figure 4.After preset pattern has been got, All road informations in the map are obtained in Fig. 4 map, wherein, each line in Fig. 4 represents a road, is obtaining After road information in map, image matching method can be used to match the default figure with Fig. 3 from each bar road in Fig. 4 As identical route of movement, the motion road formed such as the route of movement " AB " in Fig. 4, route of movement " BC " and route of movement " CA " Line is identical with the shape of the preset pattern in Fig. 3, then, now determine route of movement " AB ", route of movement " BC " and motion road Moving line " ABC " target moving line of road " CA " composition.
It is worth noting that, when the shape identical target moving line with preset pattern has a plurality of, can export every Length information or congestion information of one moving line etc. so that user in a plurality of target moving line according to the happiness of oneself Selected well.
The technical scheme provided by this disclosed embodiment can include the following benefits:Pass through each bar road in map Middle determination and the shape identical target moving line of preset pattern, so that the shape of target moving line and user's is pre- If shape is identical, satisfaction of the user to moving line is improved.
It is possible to get the figure the same with preset pattern in the figure of a plurality of road composition that can not be in map Shape, now, as shown in figure 5, above-mentioned steps S102 may be embodied as step S1024- steps S1026:
In step S1024, according to the shape of preset pattern and the information of map, a plurality of Candidate Motion is determined in map Route.
In a plurality of road of map, the road similar to the shape of preset pattern can be also matched, now, those roads Candidate Motion route can also be used as to be shown to user.
Distinguish as shown in figure 4, matching the moving line similar to Fig. 3 preset figure forms by Graphic Pattern Matching method For:Route of movement " DA ", the moving line " DAE " of route of movement " AE " and route of movement " ED " composition, route of movement " CG ", fortune Moving line " CGF ", route of movement " HI ", route of movement " IB " and the motion road of dynamic road " GF " and route of movement " FC " composition The moving line " HIB " of road " BH " composition;Matched by Graphic Pattern Matching method and moved with Fig. 3 preset figure forms identical Route is:The moving line " ABC " of route of movement " AB ", route of movement " BC " and route of movement " CA " composition, now, will be moved Route " DAE ", moving line " CGF ", moving line " HIB " and moving line " ABC " output.
Now, the road information of every alternative route can also be exported, such as:The congestion information of road or the length of road Information, the similarity of the shape of every road and preset pattern can also be exported.
In step S1025, moving line designated order is received, moving line designated order is used to indicate in a plurality of candidate The target moving line selected in moving line.
When output above-mentioned Candidate Motion route " DAE ", Candidate Motion route " CGF ", Candidate Motion route " HIB " and After Candidate Motion route " ABC ", user can be selected from those routes, think the moving line of selection when user clicks (such as:User's selection is Candidate Motion route " CGF ") after, now it can send a moving line to moving line acquisition device Designated order, the target moving line that the moving line designated order is used to indicate to select in a plurality of Candidate Motion route are fortune Dynamic route " CGF ".
In step S1026, target moving line is determined according to moving line designated order.
After moving line acquisition device receives moving line designated order, according to the moving line designated order To determine the target moving line of user's selection as " CGF ".
The technical scheme provided by this disclosed embodiment can include the following benefits:A plurality of time can be exported to user Moving line is selected, to allow user to select the target moving line oneself admired in a plurality of Candidate Motion route, so as to have Effect lifting Consumer's Experience.
User can with the length information of input motion, and then moving line acquisition device can it is determined that a plurality of candidate After moving line, the Candidate Motion route of equal length is matched from a plurality of Candidate Motion route according to the length information of motion, Or matching differs the Candidate Motion route of predetermined threshold value with the length information that user inputs, and by those Candidate Motions after matching Route exports to user.
Above-mentioned not setting range of movement, information directly according to the map determine target moving line, can cause really The scope of fixed moving line is larger, it is possible to is currently located place farther out apart from user so that and user movement is inconvenient, in order to Consumer's Experience is further lifted, in one embodiment, as shown in fig. 6, above-mentioned steps S102 can also be embodied as following steps S1027- steps S1029:
In step S1027, range of movement designated order is received, the range of movement designated order is used to indicate in map Range of movement.
In step S1028, the road information in range of movement is obtained.
In step S1029, determine that target moves road according to the road information in the shape and range of movement of preset pattern Line.
User can specify the range of movement in map, so as to be that user determines mesh in the range of movement in map Mark moving line so that in the scope that the target moving line child user finally determined is specified.Example, above-mentioned range of movement It can be the region that user marks manually in map;Can also be the scope that user specifies, such as:Using user current location as In 5 kilometer ranges in the center of circle.
The technical scheme provided by this disclosed embodiment can include the following benefits:Can be in the motion that user specifies In the range of for user match target moving line, so as to effectively lift Consumer's Experience.
After target moving line is determined, user may also need to be moved according to the target moving line, now, As shown in fig. 7, after above-mentioned output target moving line, further comprising the steps of S104- steps S108:
In step S104, the geographical position of terminal device is obtained.
In step S105, position closest with the geographical position of terminal device in target moving line is obtained.
In step s 106, it is determined that being the fortune of target moving line with the closest position in the geographical position of terminal device Dynamic starting point.
After target moving line is determined, the geographical position of terminal device can be obtained, and then according to the geographical position The starting point that user moved according to target moving line is determined with target moving line.
It is worth noting that, the starting point of above-mentioned determination is a kind of example, other positions can also be determined for starting Point, such as apart from the point that the geographical position of terminal device is a certain pre-determined distance be starting point.
In step s 107, navigation corresponding with target moving line is determined according to motion starting point and target moving line Route.
In step S108, navigation way is exported.
After target moving line and motion starting point has been obtained, navigation way is generated according to existing method, and to user The navigation way is exported, so that user is moved along the navigation way.
When user is moved along the navigation way, the moving line acquisition device of the disclosure can also record user Movement locus, to obtain the actual motion trace information of user.
Accordingly, if user during motion if stop current kinetic, then, moving line acquisition device is also The movement locus of active user can be preserved, and records the last movement position of user, so that user can transport in next time When dynamic, using the position as starting point, motion is continued to complete.
And movement locus or above-mentioned target moving line can also be shared social platform by user after completing to move In.
The technical scheme provided by this disclosed embodiment can include the following benefits:Can be according to target moving line Navigation way is generated, to allow user to be moved according to the navigation way, so as to effectively lift Consumer's Experience.
Fig. 8 is the flow chart of the moving line acquisition methods according to an exemplary embodiment three, as shown in figure 8, should The executive agent of method is moving line planning application, and the moving line planning application is used to perform above-mentioned moving line acquisition side Method, and the moving line planning application is arranged in mobile phone, this method comprises the following steps S201-S2010:
In step s 201, preset pattern is obtained.
When user, which decides, sets moving line, moving line planning application, now, the moving line planning application are clicked on Eject interface as shown in Figure 9, user can in the interface tablet pattern, as shown in Figure 10, user's input is for figure Alphabetical " B ", after user have input alphabetical " B ", click on " it is determined that " prompting frame, now, just sent to moving line planning application One moving line designated order.
After moving line planning application receives the moving line designated order, and in the moving line designated order just It is alphabetical " B " that preset pattern, which can be got,.
In step S202, range of movement designated order is received.
Moving line planning application can show the information of the map itself preserved to user by mobile phone screen, now, use Family Freehandhand-drawing can go out the scope for wanting motion in the map, now, just send a range of movement to moving line planning application Designated order, the range of movement designated order include the range of movement of user's Freehandhand-drawing.
In step S203, the road information in the range of movement is obtained.
The road information in the range of movement that the user specifies is extracted from map.
In step S204, multiple Candidate Motions are determined according to the road information in the shape and range of movement of preset pattern Route.
Moving line planning application identifies the preset pattern of user's drafting, and the user on map by image recognition technology Multiple similar candidates moving lines are matched in the range of movement specified.
In step S205, moving line designated order is received.
After a plurality of Candidate Motion route is exported to user by mobile phone screen, user selects most full according to the hobby of oneself The Candidate Motion route of meaning sends the target fortune for carrying user's selection to moving line planning application as target moving line The moving line designated order of dynamic route.
In step S206, it is determined that motion starting point.
Moving line planning application obtains the geographical position of user, is determined from target moving line apart from user's present bit Nearest point is put as motion starting point.
In step S207, navigation way is determined according to motion starting point and target moving line.
In step S208, navigation way is exported.
In step S209, the movement locus of user is obtained.
When moving beginning, moving line planning application is navigated according to navigation way to user, and whole record is used The movement locus at family.
In step S2010, the above-mentioned movement locus of acquisition is sent to social platform.
When user wants to share in social platform the movement locus of oneself, moving line planning application can also be by user Movement locus send to social platform.
Following is embodiment of the present disclosure, can be used for performing embodiments of the present disclosure.
Figure 11 is a kind of block diagram of moving line acquisition device according to an exemplary embodiment one, and the device can be with Pass through being implemented in combination with as some or all of of electronic equipment for software, hardware or both.As shown in figure 11, the motion road Line acquisition device includes:
First acquisition module 11, for obtaining preset pattern;
First determining module 12, for the shape and ground of the preset pattern obtained according to first acquisition module 11 The information of figure, target moving line is determined in the map;
First output module 13, the target moving line determined for exporting first determining module 12.
In one embodiment, as shown in figure 12, first determining module 12 includes:First acquisition submodule 121, One determination sub-module 122 and the second determination sub-module 123;
First acquisition submodule 121, for obtaining the road information in the map;
First determination sub-module 122, for the preset pattern that is obtained according to first acquisition module 11 Shape, determines N bar route of movements in the road information that first acquisition submodule 121 obtains, and the N bars move road The shape for the route that road is formed is identical with the shape of the preset pattern, wherein, N is the integer more than 0;
Second determination sub-module 123, the N bars for first determination sub-module 122 to be determined move road The route that road is formed is as the target moving line.
In one embodiment, as shown in figure 13, first determining module 12 includes:3rd determination sub-module 124, One receiving submodule 125 and the 4th determination sub-module 126;
3rd determination sub-module 124, for the preset pattern that is obtained according to first acquisition module 11 The information of shape and the map, a plurality of Candidate Motion route is determined in the map;
First receiving submodule 125, for receiving moving line designated order, the moving line designated order is used In the target moving line that instruction selects in a plurality of Candidate Motion route;
4th determination sub-module 126, for the moving line received according to first receiving submodule 125 Designated order determines the target moving line.
In one embodiment, as shown in figure 14, first determining module 12 includes:Second receiving submodule 127, Two acquisition submodules 128 and the 5th determination sub-module 129;
Second receiving submodule 127, for receiving range of movement designated order, the range of movement designated order is used In range of movement of the instruction in the map;
Second acquisition submodule 128, the range of movement received for obtaining second receiving submodule 127 Interior road information;
5th determination sub-module 129, for the preset pattern that is obtained according to first acquisition module 11 The road information in the range of movement that shape and second acquisition submodule 128 obtain determines the target motion road Line.
In one embodiment, as shown in figure 15, first acquisition module 11 includes:The He of 3rd receiving submodule 111 3rd acquisition submodule 112;
3rd receiving submodule 111, for receiving figure designated order, user is carried in the figure designated order The preset pattern selected in graphic data base, or, the preset pattern of user's input;
3rd acquisition submodule 112, the figure for being received according to the 3rd receiving submodule 111 are specified Instruction obtains the preset pattern.
In one embodiment, as shown in figure 16, described device also includes:Second acquisition module 14, the 3rd acquisition module 15th, the second determining module 16, the 3rd determining module 17 and the second output module 18;
Second acquisition module 14, for obtaining the geographical position of terminal device;
3rd acquisition module 15, obtained for obtaining in the target moving line with second acquisition module 14 The terminal device the closest position in geographical position;
Second determining module 16, for the ground for the terminal device for determining to obtain with the 3rd acquisition module 15 Manage the motion starting point that the nearest position of positional distance is the target moving line;
3rd determining module 17, for the motion starting point determined according to second determining module 16 and institute State target moving line and determine navigation way corresponding with the target moving line;
Second output module 18, the navigation way determined for exporting the 3rd determining module 17.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of moving line acquisition device, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, processor is configured as:
Obtain preset pattern;
According to the shape of the preset pattern and the information of map, target moving line is determined in the map;
Export the target moving line.
Above-mentioned processor is also configured to:
It is described that target moving line is determined in the map according to the shape of the preset pattern and the information of map, Including:
Obtain the road information in the map;
According to the shape of the preset pattern, N bar route of movements are determined in the road information, the N bars move road The shape for the route that road is formed is identical with the shape of the preset pattern, wherein, N is the integer more than 0;
Using the route that the N bars route of movement is formed as the target moving line.
It is described that target moving line is determined in the map according to the shape of the preset pattern and the information of map, Including:
According to the shape of the preset pattern and the information of the map, a plurality of Candidate Motion road is determined in the map Line;
Moving line designated order is received, the moving line designated order is used to indicate on a plurality of Candidate Motion road The target moving line selected in line;
The target moving line is determined according to the moving line designated order.
It is described that target moving line is determined in the map according to the shape of the preset pattern and the information of map, Including:
Range of movement designated order is received, the range of movement designated order is used to indicate the motion model in the map Enclose;
Obtain the road information in the range of movement;
The target moving line is determined according to the road information in the shape of the preset pattern and the range of movement.
The acquisition preset pattern includes:
Receive figure designated order, carry in the figure designated order user selected in graphic data base it is described pre- If figure, or, the preset pattern of user's input;
The preset pattern is obtained according to the figure designated order.
After the output target moving line, in addition to:
Obtain the geographical position of terminal device;
Obtain position closest with the geographical position of the terminal device in the target moving line;
It is determined that risen with the closest position in the geographical position of the terminal device for the motion of the target moving line Initial point;
Navigation corresponding with the target moving line is determined according to the motion starting point and the target moving line Route;
Export the navigation way.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Figure 17 is a kind of block diagram for moving line acquisition device 80 according to an exemplary embodiment, the device Suitable for terminal device.For example, device 80 can be mobile phone, and computer, digital broadcast terminal, messaging devices, trip Play console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Device 80 can include following one or more assemblies:Processing component 802, memory 804, power supply module 806 are more Media component 808, audio-frequency assembly 810, the interface 812 of input/output (I/O), sensor cluster 814, and communication component 816。
The integrated operation of the usual control device 80 of processing component 802, such as communicated with display, call, data, camera The operation that operation and record operation are associated.Processing component 802 can carry out execute instruction including one or more processors 820, To complete all or part of step of above-mentioned method.In addition, processing component 802 can include one or more modules, it is easy to Interaction between processing component 802 and other assemblies.For example, processing component 802 can include multi-media module, to facilitate more matchmakers Interaction between body component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in device 80.These data are shown Example includes the instruction of any application program or method for being operated on device 80, contact data, telephone book data, disappears Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) are erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 806 provides electric power for the various assemblies of device 80.Power supply module 806 can include power management system System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 80.
Multimedia groupware 808 is included in the screen of one output interface of offer between described device 80 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 sensings Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action Border, but also detect and touched or the related duration and pressure of slide with described.In certain embodiments, more matchmakers Body component 808 includes a front camera and/or rear camera.When device 80 is in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive outside multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio-frequency assembly 810 is configured as output and/or input audio signal.For example, audio-frequency assembly 810 includes a Mike Wind (MIC), when device 80 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone is configured To receive external audio signal.The audio signal received can be further stored in memory 804 or via communication component 816 send.In certain embodiments, audio-frequency assembly 810 also includes a loudspeaker, for exports audio signal.
I/O interfaces 812 provide interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 814 includes one or more sensors, for providing the state estimation of various aspects for device 80. For example, sensor cluster 814 can detect opening/closed mode of device 80, the relative positioning of component, such as the component For the display and keypad of device 80, sensor cluster 814 can be with the position of 80 1 components of detection means 80 or device Change, the existence or non-existence that user contacts with device 80, the orientation of device 80 or acceleration/deceleration and the temperature change of device 80. Sensor cluster 814 can include proximity transducer, be configured to detect object nearby in no any physical contact Presence.Sensor cluster 814 can also include optical sensor, such as CMOS or ccd image sensor, in imaging applications Use.In certain embodiments, the sensor cluster 814 can also include acceleration transducer, gyro sensor, magnetic sensing Device, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 80 and other equipment.Device 80 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 816 also includes near-field communication (NFC) module, to promote junction service.Example Such as, in NFC module radio frequency identification (RFID) technology can be based on, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 80 can be believed by one or more application specific integrated circuits (ASIC), numeral Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic building bricks are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 804 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 820 of device 80.For example, institute State non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and Optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processor of device 80 During execution so that device 80 is able to carry out the method that above-mentioned moving line obtains, and methods described includes:
Obtain preset pattern;
According to the shape of the preset pattern and the information of map, target moving line is determined in the map;
Export the target moving line.
It is described that target moving line is determined in the map according to the shape of the preset pattern and the information of map, Including:
Obtain the road information in the map;
According to the shape of the preset pattern, N bar route of movements are determined in the road information, the N bars move road The shape for the route that road is formed is identical with the shape of the preset pattern, wherein, N is the integer more than 0;
Using the route that the N bars route of movement is formed as the target moving line.
It is described that target moving line is determined in the map according to the shape of the preset pattern and the information of map, Including:
According to the shape of the preset pattern and the information of the map, a plurality of Candidate Motion road is determined in the map Line;
Moving line designated order is received, the moving line designated order is used to indicate on a plurality of Candidate Motion road The target moving line selected in line;
The target moving line is determined according to the moving line designated order.
It is described that target moving line is determined in the map according to the shape of the preset pattern and the information of map, Including:
Range of movement designated order is received, the range of movement designated order is used to indicate the motion model in the map Enclose;
Obtain the road information in the range of movement;
The target moving line is determined according to the road information in the shape of the preset pattern and the range of movement.
The acquisition preset pattern includes:
Receive figure designated order, carry in the figure designated order user selected in graphic data base it is described pre- If figure, or, the preset pattern of user's input;
The preset pattern is obtained according to the figure designated order.
After the output target moving line, in addition to:
Obtain the geographical position of terminal device;
Obtain position closest with the geographical position of the terminal device in the target moving line;
It is determined that risen with the closest position in the geographical position of the terminal device for the motion of the target moving line Initial point;
Navigation corresponding with the target moving line is determined according to the motion starting point and the target moving line Route;
Export the navigation way.
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice disclosure disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledges in the art of the disclosure Or conventional techniques.Description and embodiments are 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 precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (14)

  1. A kind of 1. moving line acquisition methods, it is characterised in that including:
    Obtain preset pattern;
    According to the shape of the preset pattern and the information of map, target moving line is determined in the map;
    Export the target moving line.
  2. 2. according to the method for claim 1, it is characterised in that described according to the shape of the preset pattern and the letter of map Breath, target moving line is determined in the map, including:
    Obtain the road information in the map;
    According to the shape of the preset pattern, N bar route of movements, the N bars route of movement institute are determined in the road information The shape of the route of composition is identical with the shape of the preset pattern, wherein, N is the integer more than 0;
    Using the route that the N bars route of movement is formed as the target moving line.
  3. 3. according to the method for claim 1, it is characterised in that described according to the shape of the preset pattern and the letter of map Breath, target moving line is determined in the map, including:
    According to the shape of the preset pattern and the information of the map, a plurality of Candidate Motion route is determined in the map;
    Moving line designated order is received, the moving line designated order is used to indicate in a plurality of Candidate Motion route The target moving line of selection;
    The target moving line is determined according to the moving line designated order.
  4. 4. according to the method for claim 1, it is characterised in that described according to the shape of the preset pattern and the letter of map Breath, target moving line is determined in the map, including:
    Range of movement designated order is received, the range of movement designated order is used to indicate the range of movement in the map;
    Obtain the road information in the range of movement;
    The target moving line is determined according to the road information in the shape of the preset pattern and the range of movement.
  5. 5. according to the method for claim 1, it is characterised in that the acquisition preset pattern includes:
    Figure designated order is received, the default figure that user selects in graphic data base is carried in the figure designated order Shape, or, the preset pattern of user's input;
    The preset pattern is obtained according to the figure designated order.
  6. 6. according to the method for claim 1, it is characterised in that after the output target moving line, in addition to:
    Obtain the geographical position of terminal device;
    Obtain position closest with the geographical position of the terminal device in the target moving line;
    It is determined that it is the motion starting point of the target moving line with the closest position in the geographical position of the terminal device;
    Navigation way corresponding with the target moving line is determined according to the motion starting point and the target moving line;
    Export the navigation way.
  7. A kind of 7. moving line acquisition device, it is characterised in that including:
    First acquisition module, for obtaining preset pattern;
    First determining module, for the shape of the preset pattern and the letter of map obtained according to first acquisition module Breath, target moving line is determined in the map;
    First output module, the target moving line determined for exporting first determining module.
  8. 8. device according to claim 7, it is characterised in that first determining module includes:First acquisition submodule, First determination sub-module and the second determination sub-module;
    First acquisition submodule, for obtaining the road information in the map;
    First determination sub-module, for the shape of the preset pattern obtained according to first acquisition module, in institute State and N bar route of movements, the road that the N bars route of movement is formed are determined in the road information of the first acquisition submodule acquisition The shape of line is identical with the shape of the preset pattern, wherein, N is the integer more than 0;
    Second determination sub-module, what the N bars route of movement for first determination sub-module to be determined was formed Route is as the target moving line.
  9. 9. device according to claim 7, it is characterised in that first determining module includes:3rd determination sub-module, First receiving submodule and the 4th determination sub-module;
    3rd determination sub-module, for the shape of the preset pattern that is obtained according to first acquisition module and described The information of map, a plurality of Candidate Motion route is determined in the map;
    First receiving submodule, for receiving moving line designated order, the moving line designated order is used to indicate The target moving line selected in a plurality of Candidate Motion route;
    4th determination sub-module, the moving line designated order for being received according to first receiving submodule are true The fixed target moving line.
  10. 10. device according to claim 7, it is characterised in that first determining module includes:Second receives submodule Block, the second acquisition submodule and the 5th determination sub-module;
    Second receiving submodule, for receiving range of movement designated order, the range of movement designated order is used to indicate Range of movement in the map;
    Second acquisition submodule, the road in the range of movement received for obtaining second receiving submodule are believed Breath;
    5th determination sub-module, for the shape of the preset pattern that is obtained according to first acquisition module and described The road information in the range of movement that second acquisition submodule obtains determines the target moving line.
  11. 11. device according to claim 7, it is characterised in that first acquisition module includes:3rd receiving submodule With the 3rd acquisition submodule;
    3rd receiving submodule, for receiving figure designated order, user is carried in the figure designated order in figure The preset pattern selected in database, or, the preset pattern of user's input;
    3rd acquisition submodule, the figure designated order for being received according to the 3rd receiving submodule obtain institute State preset pattern.
  12. 12. device according to claim 7, it is characterised in that described device also includes:Second acquisition module, the 3rd obtain Modulus block, the second determining module, the 3rd determining module and the second output module;
    Second acquisition module, for obtaining the geographical position of terminal device;
    3rd acquisition module, for obtaining the end obtained in the target moving line with second acquisition module The closest position in the geographical position of end equipment;
    Second determining module, for determine with the 3rd acquisition module obtain the terminal device geographical position away from From the motion starting point that nearest position is the target moving line;
    3rd determining module, transported for the motion starting point determined according to second determining module and the target Dynamic route determines navigation way corresponding with the target moving line;
    Second output module, the navigation way determined for exporting the 3rd determining module.
  13. A kind of 13. moving line acquisition device, it is characterised in that including:
    Processor;
    For storing the memory of processor-executable instruction;
    Wherein, the processor is configured as:
    Obtain preset pattern;
    According to the shape of the preset pattern and the information of map, target moving line is determined in the map;
    Export the target moving line.
  14. 14. a kind of computer-readable recording medium, is stored thereon with computer instruction, it is characterised in that the instruction is by processor The method and step in any one of claim 1-6 is realized during execution.
CN201710720583.9A 2017-08-21 2017-08-21 Moving line acquisition methods and device Pending CN107560611A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710720583.9A CN107560611A (en) 2017-08-21 2017-08-21 Moving line acquisition methods and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710720583.9A CN107560611A (en) 2017-08-21 2017-08-21 Moving line acquisition methods and device

Publications (1)

Publication Number Publication Date
CN107560611A true CN107560611A (en) 2018-01-09

Family

ID=60976167

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710720583.9A Pending CN107560611A (en) 2017-08-21 2017-08-21 Moving line acquisition methods and device

Country Status (1)

Country Link
CN (1) CN107560611A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109472204A (en) * 2018-10-08 2019-03-15 咪咕互动娱乐有限公司 A kind of methods of exhibiting of moving line, device and computer readable storage medium
CN110926486A (en) * 2019-11-26 2020-03-27 百度在线网络技术(北京)有限公司 Route determining method, device, equipment and computer storage medium
CN114322992A (en) * 2022-01-18 2022-04-12 武汉元科技术有限公司 Motion path planning method, motion path generation device, motion path planning equipment and storage medium
WO2024041180A1 (en) * 2022-08-24 2024-02-29 华为技术有限公司 Path planning method and apparatus

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102142215A (en) * 2011-03-15 2011-08-03 南京师范大学 Adaptive geographic information voice explanation method based on position and speed
CN102225235A (en) * 2004-12-17 2011-10-26 耐克国际有限公司 Multi-sensor montoring of athletic performance
CN103292823A (en) * 2012-02-23 2013-09-11 日本善邻数据通信有限公司 Route searching system and route searching method
CN103678438A (en) * 2012-08-30 2014-03-26 卡西欧计算机株式会社 Course creation support apparatus, course creation support method, and course creation support system
CN103674051A (en) * 2013-12-25 2014-03-26 南京奥驮福科技有限责任公司 Screen-free vehicle-mounted communication terminal navigation method
CN104583720A (en) * 2012-07-30 2015-04-29 罗伯特·博世有限公司 Method and device for determining a preferred route between a starting point and a destination
CN106096794A (en) * 2016-06-27 2016-11-09 北京小米移动软件有限公司 The determination method and device of moving line
CN106248072A (en) * 2016-07-15 2016-12-21 上海跑下去网络科技有限公司 A kind of processing method of interesting electronics road book
WO2017113367A1 (en) * 2015-12-31 2017-07-06 华为技术有限公司 Route recommending method, electronic device and graphical user interface
CN106940188A (en) * 2017-04-05 2017-07-11 珠海市魅族科技有限公司 The sharing method and system of a kind of movable information
CN107305134A (en) * 2016-04-22 2017-10-31 高德信息技术有限公司 The method and apparatus for showing the navigation way of predetermined shape on the electronic map

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102225235A (en) * 2004-12-17 2011-10-26 耐克国际有限公司 Multi-sensor montoring of athletic performance
CN102142215A (en) * 2011-03-15 2011-08-03 南京师范大学 Adaptive geographic information voice explanation method based on position and speed
CN103292823A (en) * 2012-02-23 2013-09-11 日本善邻数据通信有限公司 Route searching system and route searching method
CN104583720A (en) * 2012-07-30 2015-04-29 罗伯特·博世有限公司 Method and device for determining a preferred route between a starting point and a destination
CN103678438A (en) * 2012-08-30 2014-03-26 卡西欧计算机株式会社 Course creation support apparatus, course creation support method, and course creation support system
CN103674051A (en) * 2013-12-25 2014-03-26 南京奥驮福科技有限责任公司 Screen-free vehicle-mounted communication terminal navigation method
WO2017113367A1 (en) * 2015-12-31 2017-07-06 华为技术有限公司 Route recommending method, electronic device and graphical user interface
CN107305134A (en) * 2016-04-22 2017-10-31 高德信息技术有限公司 The method and apparatus for showing the navigation way of predetermined shape on the electronic map
CN106096794A (en) * 2016-06-27 2016-11-09 北京小米移动软件有限公司 The determination method and device of moving line
CN106248072A (en) * 2016-07-15 2016-12-21 上海跑下去网络科技有限公司 A kind of processing method of interesting electronics road book
CN106940188A (en) * 2017-04-05 2017-07-11 珠海市魅族科技有限公司 The sharing method and system of a kind of movable information

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109472204A (en) * 2018-10-08 2019-03-15 咪咕互动娱乐有限公司 A kind of methods of exhibiting of moving line, device and computer readable storage medium
CN110926486A (en) * 2019-11-26 2020-03-27 百度在线网络技术(北京)有限公司 Route determining method, device, equipment and computer storage medium
CN110926486B (en) * 2019-11-26 2021-06-11 百度在线网络技术(北京)有限公司 Route determining method, device, equipment and computer storage medium
US11703333B2 (en) 2019-11-26 2023-07-18 Baidu Online Network Technology (Beijing) Co., Ltd. Method and apparatus for determining route, device and computer storage medium
CN114322992A (en) * 2022-01-18 2022-04-12 武汉元科技术有限公司 Motion path planning method, motion path generation device, motion path planning equipment and storage medium
WO2024041180A1 (en) * 2022-08-24 2024-02-29 华为技术有限公司 Path planning method and apparatus

Similar Documents

Publication Publication Date Title
CN105138259B (en) Operation executes method and device
CN107239535A (en) Similar pictures search method and device
CN106020592A (en) Split screen display method and device
CN107560611A (en) Moving line acquisition methods and device
CN107102772A (en) Touch control method and device
CN106157602A (en) The method and apparatus of calling vehicle
CN107358233A (en) Information acquisition method and device
CN105101354A (en) Wireless network connection method and device
CN104216969B (en) Read flag method and device
CN105511777A (en) Session display method and device of touch display screen
CN107272896A (en) The method and device switched between VR patterns and non-VR patterns
CN104715007A (en) User identification method and device
CN106921958A (en) The method and apparatus for quitting the subscription of business
CN103995844B (en) Information search method and device
CN107656616A (en) Input interface displaying method, device, electronic equipment
CN107491250A (en) Display methods, device and the equipment of notification message
CN106936986A (en) Application processing method and device
CN106775247A (en) The method and intelligent terminal of application icon movement
CN104113622B (en) Method and apparatus for adding contact information in address book
CN107122149A (en) Display methods, device and the terminal of application program
CN106775240A (en) The triggering method of application program, device and terminal
CN106792636A (en) terminal control method and device
CN106126050A (en) Menu display method and device
CN105975428A (en) Method and device for displaying character and terminal
CN104216617A (en) Cursor position determination method and device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180109

RJ01 Rejection of invention patent application after publication