Summary of the invention
Place in view of above-mentioned deficiencies of the prior art, the purpose of the present invention is to provide based on a kind of route by cloud platformOne step process and system can generate a plurality of reference route according to the target step number and walking demand item of user setting and select for userIt selects, increases the intelligent interaction of user and pedometer or step counting application.
In order to achieve the above object, this invention takes following technical schemes:
A kind of route step-recording method based on cloud platform comprising:
A, step counting terminal starts route setting pattern, and the target step number of user's input and walking demand item are sent to cloudPlatform;
B, cloud platform is generated according to target step number and walking demand item contains a plurality of itinerary map letter with reference to routeBreath feeds back to step counting terminal and shows.
In the route step-recording method based on cloud platform, in the step A, the walking demand item is for limitingThe requirement that the purpose and route for determining user's walking are formulated, shopping project, fitness project, leisure project, traffic item including userMesh and flow of the people project.
In the route step-recording method based on cloud platform, the step A is specifically included:
It is connected to the network after A1, step counting terminal starting route setting pattern with cloud platform, pop-up step number setting input frame and stepRow demand item choice box;
A2, after the target step number and walking demand item for obtaining the current geographical coordinate of user, and inputting with user are packagedIt is sent to cloud platform.
In the route step-recording method based on cloud platform, the step B is specifically included:
B1, cloud platform calculate path length according to target step number, according to path length, walking demand item and geographical seatMark generates a plurality of with reference to route;
B2, a plurality of reference route in conjunction with map and is generated into itinerary map information, the itinerary map information is fed backIt is shown to step counting terminal.
In the route step-recording method based on cloud platform, after the step B further include:
C, show that one refers to route, geographical coordinate and step in real-time display user's gait processes according to the user's choiceNumber statistics.
A kind of route step counting system based on cloud platform comprising:
Step counting terminal sends the target step number of user's input and walking demand item for starting route setting patternTo cloud platform;
Cloud platform, for containing a plurality of itinerary map with reference to route according to target step number and the generation of walking demand itemInformation feeds back to step counting terminal and shows.
In the route step counting system based on cloud platform, the walking demand item is used to limit the mesh of user's walkingAnd requirement that route is formulated, shopping project, fitness project including user, leisure project, communication project and flow of the people project.
In the route step counting system based on cloud platform, the step counting terminal includes:
Link block is connected to the network after route setting pattern for starting with cloud platform, send the geographical coordinate after being packaged,Target step number and walking demand item are to cloud platform;
GPS module, for obtaining the current geographical coordinate of user;
Data processing module is used for ejecting step number setting input frame and walking demand item choice box, and geography is satMark and the target step number and walking demand item of user's input are transferred to link block after being packaged.
In the route step counting system based on cloud platform, the cloud platform includes:
Route Generation module, for calculating path length according to target step number, according to path length, walking demand itemIt is generated with geographical coordinate a plurality of with reference to route;
Map generation module, in conjunction with map and generating itinerary map information with reference to route for a plurality of, by the roadLine cartographic information feeds back to step counting terminal and shows.
In the route step counting system based on cloud platform, the step counting terminal further include:
A monitoring module, for showing that refers to a route according to the user's choice, in real-time display user's gait processesGeographical coordinate and step number statistics.
Compared to the prior art, the route step-recording method and system provided by the invention based on cloud platform, in step counting terminalWhen starting route setting pattern, the target step number of user's input and walking demand item are sent to cloud platform;Cloud platform according toTarget step number and the generation of walking demand item contain a plurality of itinerary map information with reference to route and feed back to step counting terminal and show;Suitable Walking Route can be formulated automatically according to the walking demand of user, meet user demand conscientiously, also add interest,Improve the intelligent interaction between step counting terminal and user.
Specific embodiment
The present invention provides a kind of route step-recording method and system based on cloud platform.To make the purpose of the present invention, technical sideCase and effect are clearer, clear, and the present invention is described in more detail as follows in conjunction with drawings and embodiments.It should be appreciated thatDescribed herein specific examples are only used to explain the present invention, is not intended to limit the present invention.
Referring to Fig. 1, the route step-recording method provided in an embodiment of the present invention based on cloud platform includes:
S100, step counting terminal start route setting pattern, and the target step number of user's input and walking demand item are sentTo cloud platform;
S200, cloud platform contain a plurality of itinerary map with reference to route according to target step number and the generation of walking demand itemInformation feeds back to step counting terminal and shows.
Wherein, the requirement that the walking demand item is used to limit the purpose of user's walking and route is formulated, including but notIt is limited to shopping project, fitness project, leisure project, communication project and the flow of the people project of user.In other words, walking requirement itemMesh shows user's walking purpose, formulates Walking Route according to the demand of user, can meet the needs of users and passes throughExercise walking body, the present embodiment will be in subsequent illustrations.
The present embodiment provides route by increasing walking demand item on the basis of existing pedometer or step counting applicationFunction is formulated, in order to not influence the use of existing capability, can correspond to and increase route setting pattern to realize that route formulates function, thenThe step S100 is specifically included:
Step 1, step counting terminal starting route setting pattern after with cloud platform be connected to the network, pop-up step number setting input frame andWalking demand item choice box.
After user selects route setting pattern, step counting terminal can be connected to the network with cloud platform automatically, and pop up step number settingInput frame and walking demand item choice box.The step number of user's input expectation walking in step number setting input frame, a usual stepHalf meter or one meter is indicated, or by 65 kilograms of weight every steps, 0.7 meter of this standard conversion.User can be defeated according to physical conditionEnter the step number (being equivalent to setting needs how much rice) for needing to walk.
In the specific implementation, step counting terminal can also be set according to the health condition or daily exercise plan of user in step number defeatedEnter frame display default step number (such as 2000 steps), user may choose whether to modify.Due to target step number only for taking exercises, walk moreIt may make human fatigue, to walk to have lacked may not reach preferable exercise effect.Consider further that the feelings that user may returnCondition provides preferably for this purpose, the present embodiment is also provided with uniline/round-trip options in step number setting input frame for userTravel distance.
Shopping project, fitness project, leisure project, communication project, flow of the people are shown in walking demand item choice boxProject and sundry item;Enter the child window for requiring setting after selecting some project.The child window of shopping project is for inputtingUser needs the commodity bought.The child window of fitness project is used to input the purpose of environmental requirement or exercise that user needs to take exerciseGround.The child window of shopping project is used to input the commodity that user needs to buy.The child window of leisure project is for inputting user'sLeisure demand, such as go window-shopping, have a drink, read a book.The child window of communication project such as defines traffic lights for inputting traffic requirementCrossing want less (less than 2), (the few then vehicle exhaust of the local vehicle of walking is few, empty for the road for selecting driving vehicle lessGas is more preferable).The child window of flow of the people project is for limiting flow of the people, usually on and off duty if walking is more comfortable when flow of the people is lessPeak period flow of the people is more.
After user has inputted above-mentioned target call, step counting terminal needs to obtain the current geographical location of user, could formulateFeasible route out, it may be assumed that
Step 2 obtains the current geographical coordinate of user, and is packaged with the target step number of user's input and walking demand itemAfter be sent to cloud platform.
Current geographical coordinate, target step number and walking demand item are packaged after compressing together and are sent to cloud by step counting terminalPlatform can accelerate transmission speed.Geographical coordinate, target step number and walking demand item are parsed after cloud platform decompression, then is tiedNetwork big data (including map, time etc.) is closed to formulate suitable route.Then the step S200 is specifically included:
Step 21, cloud platform calculate path length according to target step number, according to path length, walking demand item and groundIt is a plurality of with reference to route to manage Coordinate generation.
Cloud platform first positions the current geographical coordinate of user on map, then using geographical coordinate as starting point, path lengthFor radius draw the domain of walk (form of circle), inquired in the domain of walk according to walking demand item need by targetPoint, then multiple target locations are concatenated by a plurality of reference route walked with path length.It is to be appreciated that if user existsUniline is selected in step number setting input frame, then path length corresponds to target step number;If selection is round-trip, path length includes round-tripDistance.
Step 22 in conjunction with map and generates itinerary map information with reference to route for a plurality of, by the itinerary map informationStep counting terminal is fed back to show.
Show that a user is currently located the map near ground in step counting terminal, and red-label goes out a plurality of reference on mapRoute.After user clicks a wherein reference route, step counting terminal shows this with reference to route, also real-time display user walkingGeographical coordinate and step number statistics in journey.It can thus facilitate user to understand walking situation, avoid user lost.
The present embodiment will be specifically described the above-mentioned route step-recording method based on cloud platform according to the classification of walking demand item:
One, shopping project
By taking user buys vegetables as an example, after user starts the route setting pattern in step counting terminal, step counting terminal pop-up stepNumber setting input frame and walking demand item choice box.User inputs 2000 steps in step number setting input frame and selects round-trip, choosingThe shopping project in walking demand item is selected, and inputs " vegetables ".Step counting terminal extracts the current geographical coordinate (family) of user,It is sent to after the geographical coordinate of target step number (2000 steps, round-trip), walking demand item (buying vegetables) and family is packaged togetherCloud platform.
It is about 1 km that cloud platform, which calculates path length with the target step number of 1000 steps,.User's family is positioned on mapGeographical coordinate and using it as starting point, a circle (i.e. the domain of walk) is drawn as radius using 1 km on map and is looked into the circleAsk the geographical coordinate and label of supermarket, food market.Supermarket, food market are concatenated into line (i.e. road according to road existing on mapLine), and the length of route is about 1 km.It can be formed so a plurality of with reference to route.Cloud platform refers to route and map for a plurality ofIn conjunction with and generate itinerary map information and feed back to step counting terminal and show.User selects wherein route.
Due to different different with reference to the supermarket that may pass through on route or food market, user can backtracking, also can return toUpper level (showing a plurality of interface with reference to route) selects another road walking;This two lines length is in 1 km or so.In the specific implementation, round-trip reference route can also be different length, i.e. cloud platform is starting with the geographical coordinate of user's familyPoint, it is a plurality of with reference to route of 2000 kms that each supermarket, food market, which are concatenated into length,.
In further embodiment, user can also specifically input certain commodity in shopping project.Cloud platform is in specified referenceWhen route, all shops of the commodity can be inquired, are sorted according to the selling price in each shop, according to first walking to price mostLow shop walks to the highest shop of price finally to automatically generate route.There are price identical two or several shops, thenIt can divide and list two or more pieces with reference to route.The length of every route is limited with target step number.
It is identical based on data acquisition, transmission mode between step counting terminal and cloud platform, each walking demand item processingThe difference is that the route selection of cloud platform, how to be selected based on route according to disparity items with cloud platform when subsequent elaboration,Other processing refer to above-described embodiment (one, shopping project)
Two, fitness project
Since the mode of body-building is more, such as stroll, ball game, dancing, mechanical exercise.Different physical training styles need notSame environment, if running needs vehicle less air preferably local, playing badminton and dancing needs more spacious place, machineTool tempers the place for needing exercise apparatus.If assuming, user selects to dance, and cloud platform searches square, public affairs in the domain of walkThe more spacious place such as garden be terminal, from user family to terminal between select a plurality of length in the reference of path length or soRoute.Ball game, mechanical exercise are similar with dancing, are required to fixed exercise place, are not described further herein.
If selection is taken a walk, show that user needs air quality preferably local.Cloud platform is searched in the domain of walkThe more place of trees flowers and plants is linked to be with reference to route, the at this time repeatable walking of a route.
Three, leisure project
Common leisure way mainly has a drink (or eating), the modes such as shopping of going window-shopping.If user's input is had a drink(or eating), then cloud platform searches the shop for selling snack or beverage in the domain of walk, and the geographical coordinate with user's family isEach shop is concatenated into a plurality of with reference to route by starting point.
In the specific implementation, user can also input specific leisure way, such as read a book, have tea.Then cloud platform is being walkedBookstore is searched in range, tea-drinking is simultaneously set as terminal, from user family to terminal between select a plurality of length on a path length left sideRight reference route.
In further embodiment, above-mentioned cloud platform is also linked with each merchant web site, the shopping if user's selection is gone window-shopping, Yun PingPlatform, which inquires, is carrying out preferential, advertising campaign shop, and each shop is concatenated into a shopping special line.
Four, communication project
User can choose the less local exercise walking of vehicle flowrate, if congested in traffic or vehicle flowrate is more, air compared withDifference is not suitable for taking exercise.Then cloud platform shows real-time road on map, in the domain of walk
It finds out the less place of vehicle flowrate and is linked to be route.Or cloud platform can be according to bus stop and processState's vehicle of the website is searched.If the bus by some website is more, can recognize for vehicle flowrate it is more.If certain road public transportStation point is seldom even without then its vehicle flowrate is less.In addition, the vehicle flowrate of usually major trunk roads is more, the vehicle of path or branchFlow is less.Cloud platform accordingly comprehensive analysis or can select a kind of situation to make with reference to route.
Five, flow of the people project
Usually on and off duty or upper flow of the people when classes are over is more, and the place more than people is more crowded, is not suitable for exercise walking.Yun PingPlatform can judge commuter time and upper classes are over time according to current system time, in conjunction on map industrial area, Technology Park,The specific geographics such as school position judge together flow of the people number, select the less route of flow of the people.Assuming that having in the domain of walkSchool, then cloud platform judges whether current time is upper, classes are over time, if then school area people is more, discharge has schoolRoute;If it is not, then people is less, the route needed by school can be formulated.
It is to be appreciated that above-mentioned route formulate when, can also be according to the actual situation although being subject to target step numberIt transfers up and down.User can also stop walking monitoring at any time in gait processes.
Based on the above-mentioned route step-recording method based on cloud platform, the embodiment of the present invention correspondingly provides a kind of flat based on cloudThe route step counting system of platform.Referring to Fig. 2, the route step counting system includes step counting terminal 10 and cloud platform 20, the step countingAfter terminal 10 starts route setting pattern, the target step number of user's input and walking demand item are sent to cloud platform 20;CloudPlatform 20 contains a plurality of itinerary map information with reference to route and feeds back to meter according to target step number and the generation of walking demand itemStep terminal is shown.
Wherein, the step counting terminal 10 includes:
Link block 110 is connected to the network after route setting pattern for starting with cloud platform, and send after being packaged geographical sitsMark, target step number and walking demand item are to cloud platform;
GPS module 120, for obtaining the current geographical coordinate of user;
Data processing module 130 is used for ejecting step number setting input frame and walking demand item choice box, and will be geographicalThe target step number and walking demand item of coordinate and user's input are transferred to link block after being packaged.
Walking situation is understood in order to facilitate user, and the step counting terminal 10, can basis including further including monitoring module 140The selection of user shows that refers to a route, geographical coordinate and step number statistics in real-time display user's gait processes.
The cloud platform 20 includes:
Route Generation module 210, for calculating path length according to target step number, according to path length, walking demandProject and geographical coordinate generate a plurality of with reference to route;
Map generation module 220, for map in conjunction with and generating itinerary map information with reference to route for a plurality of, will described inItinerary map information feeds back to step counting terminal and shows.
It should be understood that the step counting terminal can be pedometer, or be mounted with the shifting of related step counting applicationDynamic terminal (such as smart phone, tablet computer or smartwatch).
In conclusion the present invention target step number, walking demand item and the current geographical coordinate that are inputted according to user comeIt generates a plurality of with reference to route, suitable Walking Route can be formulated automatically according to the walking demand of user, meeting user conscientiously needsIt asks, also adds interest, improve the intelligent interaction between step counting terminal and user.
It, can according to the technique and scheme of the present invention and its hair it is understood that for those of ordinary skillsBright design is subject to equivalent substitution or change, and all these changes or replacement all should belong to the guarantor of appended claims of the inventionProtect range.