CN108763414A - A kind of live-action display method, device, terminal device and storage medium - Google Patents

A kind of live-action display method, device, terminal device and storage medium Download PDF

Info

Publication number
CN108763414A
CN108763414A CN201810501623.5A CN201810501623A CN108763414A CN 108763414 A CN108763414 A CN 108763414A CN 201810501623 A CN201810501623 A CN 201810501623A CN 108763414 A CN108763414 A CN 108763414A
Authority
CN
China
Prior art keywords
running
distance
default
map
user
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
CN201810501623.5A
Other languages
Chinese (zh)
Other versions
CN108763414B (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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201810501623.5A priority Critical patent/CN108763414B/en
Publication of CN108763414A publication Critical patent/CN108763414A/en
Application granted granted Critical
Publication of CN108763414B publication Critical patent/CN108763414B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Instructional Devices (AREA)
  • Navigation (AREA)

Abstract

The invention discloses a kind of live-action display method, device, terminal device and storage mediums.This method includes:Obtain the running distance of user on a treadmill;Traversal presets the key point in running route to the distance of starting point, and is ranked up to the distance of key point to starting point;According to the distance of the key point after running distance from small to large traversal sequence to starting point, until confirming target critical point;Based on default map datum, the longitude and latitude and realistic picture of target critical point are extracted;Position of the user on default map is updated according to longitude and latitude, by position of the target critical point on default map and realistic picture real-time display on the display screen of treadmill.The present invention solves the outdoor scene that can not watch running route during user runs on a treadmill in real time, and the problem of the social attribute difference of running behavior, outdoor scene and real-time tracking and the purpose of checking user position on default map of the user in running may be viewed by running route in the process are reached.

Description

A kind of live-action display method, device, terminal device and storage medium
Technical field
The present embodiments relate to the communication technology more particularly to a kind of live-action display method, device, terminal device and storages Medium.
Background technology
With the continuous improvement of people's living standards, people's health consciousness is more and more stronger.In order to improve the body of itself The different motion mode carry out activity such as shuttlecock, running, swimming may be selected in quality, people.Especially convenient-to-running running, It is deep to be liked by sporter.
Currently, when user runs outdoors, although being observed that the landscape of the Nature during running, It is easy the influence by the weather such as wind and rain thunder and lightning and air quality, thereby using family it is difficult to run outdoors;And user When being run on treadmill indoors, treadmill can only generally provide some basic running functions, it might even be possible to set Some formulas are run, for example, the target etc. of setting countdown 30 minutes, 5km, and show during running the speed of user The information such as degree, time, calorie, running distance.
But inventor has found during stating scheme in realization, due to the mistake run on user indoors treadmill It often can only see the TV above barren number or the treadmill on treadmill display screen in journey, reduce running process In interest, thereby reduce user running experience.
Invention content
A kind of live-action display method of present invention offer, device, terminal device and storage medium, to realize that user was running The outdoor scene watched in journey in running route and real-time tracking and check positioning of the user on map.
In a first aspect, an embodiment of the present invention provides a kind of live-action display methods, including:
Obtain the running distance of user on a treadmill;The distance for presetting the key point in running route to starting point is traversed, And the distance of the key point to starting point is ranked up;
According to the distance of the key point after the running distance from small to large traversal sequence to starting point, until confirming that target is closed Key point, the distance of the target critical point to starting point and it is described running distance between difference be all key points to starting point away from The minimum positive number in difference between with a distance from the running;
Based on default map datum, the longitude and latitude and realistic picture of the target critical point are extracted;
Position of the user on default map is updated according to the longitude and latitude, by the target critical point on default map Position and the realistic picture real-time display on the display screen of the treadmill.
Second aspect, the embodiment of the present invention additionally provide a kind of life size display apparatus, including:
Acquisition module, for obtaining the running distance of user on a treadmill;
Sorting module is traversed, the distance for traversing the key point in default running route to starting point, and to the key The distance of point to starting point is ranked up;
Confirmation module, the distance for traversing the key point after sequence from small to large to starting point according to the running distance, Until confirming target critical point, the difference between the distance of the target critical point to starting point and the running distance is related Key point to starting point distance and it is described running distance between difference in minimum positive number;
First extraction module, for based on default map datum, extracting the longitude and latitude and realistic picture of the target critical point;
Display module, for updating position of the user on default map according to the longitude and latitude, by the target critical Position and the realistic picture real-time display of the point on default map are on the display screen of the treadmill.
The third aspect, the embodiment of the present invention additionally provide a kind of terminal device, which includes:
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors so that one or more of processing Device realizes live-action display method as described in relation to the first aspect.
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer readable storage medium, are stored thereon with computer Program realizes live-action display method as described in relation to the first aspect when the program is executed by processor.
The present invention is by obtaining the running distance of user on a treadmill, and the key point traversed in default running route arrives The distance of starting point is equal to the current running distance of user until the distance for finding a certain key point to starting point is just greater than, and will The key point is confirmed as target critical point;It is then based on default map datum, extracts the longitude and latitude and realistic picture of target critical point, And position of the user on default map is updated according to longitude and latitude, and by position of the target critical point on default map and outdoor scene Technological means of the figure real-time display on the display screen of treadmill solves user in the prior art and runs on a treadmill During can not watch in real time running route outdoor scene, and running behavior social attribute difference technical problem, realize User may be viewed by outdoor scene in running route and real-time tracking during running and check position of the user on default map The technique effect set.
Description of the drawings
Fig. 1 is a kind of flow chart for live-action display method that the embodiment of the present invention one provides;
Fig. 2 is the signal confirmed to target critical point in a kind of default running route that the embodiment of the present invention one provides Figure;
Fig. 3 is a kind of flow chart of live-action display method provided by Embodiment 2 of the present invention;
Fig. 4 is a kind of structure diagram for life size display apparatus that the embodiment of the present invention three provides;
Fig. 5 is a kind of hardware architecture diagram for terminal device that the embodiment of the present invention four provides.
Specific implementation mode
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limitation of the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Generally, due to during user runs on treadmill indoors, treadmill itself does not move, User carries out original place movement on a treadmill.When running on treadmill indoors, it cannot can make as user is in outdoor running With the running software such as happy race circle on mobile phone, and pass through GPS (Global Positioning System, global positioning system) See that the running route of oneself, the social attribute for causing running behavior are poor in real time.In view of this, providing one kind in embodiment During being run on treadmill indoors, user can see that the true streetscape in running route, and update are used in real time The method of family oneself position on map, it is specific as follows:
Embodiment one
Fig. 1 is a kind of flow chart for live-action display method that the embodiment of the present invention one provides, and the present embodiment is applicable to use The case where family shows the outdoor scene in running route during being run on a treadmill, this method can be by terminal Equipment executes, wherein the terminal device can realize by the mode of hardware and/or software.Illustratively, to run in embodiment Step machine is that terminal device carries out exemplary description.As shown in Figure 1, live-action display method provided in this embodiment specifically include it is as follows Step:
S110, the running distance of user on a treadmill is obtained.
Wherein, running distance is the distance that user had run on a treadmill.In embodiment, it is integrated on a treadmill Android (Android) platform, and specific application software is installed in Android platform, live-action display method is carried out specifically in fact It applies.Usually, on a treadmill after electricity, when detecting that user starts to move on a treadmill, the Distance-sensing in treadmill Device detects and calculates the distance that user had run on a treadmill automatically, and is opened on treadmill specifically using soft in user When part, the specific application software can get in real time the user detected by range sensor run on a treadmill away from From data information.
Wherein, specific application software, it can be understood as the running distance of user on a treadmill is analyzed, and root The software that position of user during running and outdoor scene are shown according to live-action display method.
Key point in the default running route of S120, traversal to starting point distance, and to the distance of key point to starting point into Row sequence.
Wherein, preset running route, it can be understood as user to running beginning and end after accomplishing the setting up, according to running Point and terminal can automatically generate a plurality of route, and user is according to itself hobby or is accustomed to selected running route.In general, When being drawn to map, corresponding map is drawn according to the building on each street, and the building is arranged For key point.Wherein, the distance between each key point in each street, in staff when being drawn to map, with Completion is configured it.Therefore, when user completes the selection to default running route, institute is related in the default running route The distance between the location information of key point, and each key point information is pre-set.In general, each key point The distance between can be tens meters to 100 meters or so, be not limited thereto.
Specifically, after user determines default running route, specific application software is according to being extracted on treadmill The default running route in all key points, and the starting point based on default running route calculates all key points to starting point Distance, then the distance of all key points to starting point is ranked up by sequence from small to large.
S130, according to running distance from small to large traversal sequence after key point arrive starting point distance, until confirmation target Key point.
Wherein, target critical point to starting point distance and running distance between difference be all key points to starting point away from The minimum positive number in difference between with a distance from running.Wherein, minimum positive number, it can be understood as target critical point arrives starting point The value that distance subtracts running distance be that the distance of all key points to starting point in default running route subtracts in the value of distance of running The minimum value of positive number.Specifically, several keys before the running distance of user on a treadmill is more than in default running route Point to starting point apart from when, the distance of preceding several key points to starting point subtract running apart from when, between difference be negative, At this point, not carrying out absolute value to the difference, therefore, the difference between the distance and running distance of all key points to starting point is deposited The negative the case where.
Wherein, target critical point, it can be understood as the running distance of user on a treadmill in default running route The distance of all key points to starting point carries out concrete value comparison analysis, the distance of a certain key point in default running route to starting point With running apart from closest, at this point, a certain key point is target critical point.
It specifically, can be directly by the way that the institute in the default running route be calculated after determining default running route There is key point the distance between to starting point, and sequence from small to large is carried out to the distance between all key points to starting point, this When running distance by the range sensor user in real on treadmill on a treadmill, and by accessed running The distance between distance and key point to starting point carry out concrete value comparison analysis, and the distance for directly finding key point to a starting point is rigid It is good to be equal to or more than running distance, and target critical point will be confirmed as with key point.
Non-limiting as example, Fig. 2 is closed to target in the default running route of one kind that the embodiment of the present invention one provides The schematic diagram that key point is confirmed.As illustrated in fig. 2, it is assumed that the starting point in default running route is A, terminal B, while default There are 8 key points in running route, wherein the spacing between each key point is unfixed.Specifically, user is being determined Running route be AB after, the position of C, D, E, F, G, H, I and J this 8 key points in running route AB can be automatically extracted Information, with calculate separately out 8 key points to starting point A distance, and to the distance of 8 key points to starting point A carry out from it is small to Then big sequence obtains user's running distance on a treadmill, it is assumed that the running distance of user is 390m at this time, then to from The distance and running distance of the small key point to after big sequence to starting point are compared analysis, if detecting, the distance between AF is 400m, then using key point F as target critical point.Specifically, key point C, D and the E preset in running route AB arrives starting point When distance makees difference with running distance, obtained value is negative, absolute value is not carried out to it, simultaneously because target critical The distance and the difference of running distance of point to starting point are minimum positive number, then by be calculated key point F to the distance of starting point and The difference for distance of running is minimum positive number, i.e. key point F is set as target critical point.
S140, it is based on default map datum, extracts the longitude and latitude and realistic picture of target critical point.
Wherein, map datum is preset, it can be understood as database and the map data information that obtains according to the map.Wherein, Map data base is the database based on map digitizing data, each element of the map content being stored in computer The digital information file of (such as control point, landforms, land type, settlement place, the hydrology, vegetation, communications and transportation, boundary), data The set of base management system and other software and hardwares.Data are mainly on the ground with common scale ruler and geographical co-ordinate system It is obtained by regulation and standardization requirement digitlization on figure.Wherein, longitude and latitude is that longitude and dimension are collectively referred to as one seat of composition Mark system is a kind of spherical surface using three-dimensional space to define the spherical coordinate system in tellurian space, can indicate the earth On any one position.Realistic picture, it can be understood as user can see the map of true streetscape.
Specifically, after confirming the target critical point in default running route, access preset map datum simultaneously extracts Longitude and latitude of the target critical point on default map, to obtain elaborate position of the target critical point on default map, and should The corresponding true streetscape of target critical point.
S150, position of the user on default map is updated according to longitude and latitude, by target critical point on default map Position and realistic picture real-time display are on the display screen of treadmill.
Wherein, position of the user on default map, it can be understood as with designated identification to indicate user, and referred to by this The position that user is shown on default map is known in calibration.In general, designated identification, can be a dot icon or one The arrow icon is not defined it at this.Specifically, it after confirming default running route, is specifically answered on treadmill Obtain the starting point in default running route automatically with software, and by position of the starting point on default map and realistic picture in treadmill Display screen on shown;Then, user starts to run on a treadmill, and user in real is on a treadmill Distance of running is used before the running distance of user on a treadmill not up to presets first key point in running route Family on a display screen observed by realistic picture always remain as the true streetscape of starting point in default running route, in order to True streetscape of the family in running sees predetermined paths in the process, improves the interest during running.
Similarly, during the running of user, when the running of user distance does not reach next target critical point, Real-time display is user in position of the current goal key point on default map and current mesh on the display screen of treadmill The true streetscape of key point is marked, meanwhile, indicate that the designated identification of user is also no motion of on a display screen, only user's When running distance reaches next target critical point, designated identification will be moved to the position of next target critical point, and will be real Scape figure is updated to the true streetscape of next target critical point, to realize indirectly user can real-time tracking oneself running The technique effect of route.
The technical solution of the present embodiment by obtaining the running distance of user on a treadmill, and traverses default running road Key point in line is to the distance of starting point, and until the distance that finds a certain key point to starting point is just greater than, to be equal to user current Running distance, and the key point is confirmed as target critical point;It is then based on default map datum, extracts the warp of target critical point Latitude and realistic picture, and position of the user on default map is updated according to longitude and latitude, and by target critical point in default map On technological means on the display screen of treadmill of position and realistic picture real-time display, solve user in the prior art and running The outdoor scene of running route, and the skill of the social attribute difference of running behavior can not be watched during being run on step machine in real time Art problem realizes user and may be viewed by the outdoor scene in running route during running and real-time tracking and check that user exists The technique effect of position on default map.
Embodiment two
Fig. 3 is a kind of flow chart of live-action display method provided by Embodiment 2 of the present invention, and the present embodiment is in above-mentioned reality On the basis of applying example, live-action display method is further optimized.Specifically:Obtain user's running on a treadmill away from From before, further include:Based on the data-interface access preset map datum being integrated in treadmill, generated in default map default Running route;All key points in the default running route of extraction and the live-action display method further include:When detecting use At the end of family is run, running route map is generated in default map according to target critical point;The sectional drawing instruction of running route map is received, And sectional drawing picture is sent to default social platform, and, at the end of ought detect user's running, according to the target critical After point generates running route map, further include:The first identification code is generated according to running route map;Show the first identification code, for Acquisition running route map is identified with associated the first identification code of mobile terminal pair of treadmill.The live-action display method it is specific Steps are as follows:
S201, based on the data-interface access preset map datum being integrated in treadmill, generated in default map default Running route.
Wherein, data-interface, is a kind of application programming interfaces based on map software, including JavaScript, iOS, The miscellaneous editions such as Andriod (Android), static map, Web service, provide base map, location finding, Perimeter etc..Make Non-limiting for example, data-interface can be Baidu map API, Amap API, Tencent map API etc., not to this It is defined.Wherein, map software is the map APP of corresponding data interface or the webpage version of map.For example, working as data-interface For Baidu map API when, corresponding map software is the webpage version of Baidu map APP or Baidu map.
Wherein, map is preset, it can be understood as shown on the display screen of treadmill when user opens map software Map picture.Specifically, when user is when treadmill is by map API Access map software, can see on a display screen The display picture of map, and running beginning and end can be inputted on default map by finger or felt pen, it is a plurality of to generate Then route therefrom selects a route and presets display of the running route in map as default running route, and by this It is shown on picture.It certainly, can also be on the display picture of map in the concrete mode of selection running beginning and end Two buildings are directly selected respectively as running beginning and end.
All key points in S202, the extraction default running route.
Specifically, user is according to the running beginning and end of setting, and after determining default running route, on treadmill The specific application software installed is based on map API and accesses to the default running route, and extracts the default running road All key points in line.
S203, the running distance of user on a treadmill is obtained.
Key point in the default running route of S204, traversal to starting point distance, and to the distance of key point to starting point into Row sequence.
S205, according to running distance from small to large traversal sequence after key point arrive starting point distance, until confirmation target Key point.
Wherein, target critical point to starting point distance and running distance between difference be all key points to starting point away from The minimum positive number in difference between with a distance from running.
S206, it is based on default map datum, extracts the longitude and latitude and realistic picture of target critical point.
S207, position of the user on default map is updated according to longitude and latitude, by target critical point on default map Position and realistic picture real-time display are on the display screen of treadmill.
S208, judge whether user runs and terminate, if running terminates, execute step S209;Otherwise, step S203 is executed.
In general, after user on a treadmill sets default running route, it can be according to default running road Line computation goes out the running distance that user needs to move on a treadmill.When by accessed by the range sensor on treadmill The running distance of user on a treadmill be equal to default running route apart from when, prompt will be popped up on the display screen of treadmill Frame to prompt user that the road-work of default running route is completed, and prompts the user whether to continue to run.If user selects knot Beam thens follow the steps S209;Conversely, if user selects to continue, step S203 will be executed.
S209, running route map is generated in default map according to target critical point.
Wherein, run route map, it is possible to understand that for according to target critical point and real-time update user on default map Position and the route map generated.Specifically, when user starts to move on a treadmill, with specified on default map Mark shows the pre-set running start position of user, and is just equal to or less than default running road in the running of user distance First key point in line to starting point apart from when, set first key point to target critical point, and user will be represented Designated identification be moved to position of first key point on default map, and so on, until user on a treadmill Running distance be just equal to running origin-to-destination apart from when, the target critical point that is passed through on default map according to user Generate running route map.
Illustratively, in the prior art, when user is in outdoor running, the happy race circle installed on mobile phone can be opened Etc. similar running software, and see the running route of oneself in real time by GPS positioning.Similarly, the technology in the present embodiment Scheme is based on map API, when user runs on a treadmill, by calculating distance and running of the key point to starting point The difference of distance in the position real-time update to default map of target critical point and will generate running route map, to which user is logical Cross and run on a treadmill, real-time update user appoints vicinal position in the whole world, and see appoint it is vicinal true Real streetscape increases interest of user during running, and reduce user run indoors it is dull.
S210, judge whether that the sectional drawing instruction for receiving running route map executes step if receiving sectional drawing instruction S211;Otherwise, step S212 is executed.
Wherein, sectional drawing instructs, it can be understood as the command information of sectional drawing is carried out to the picture on the display screen of treadmill.One As for, sectional drawing instruction can be the specified button on shown on a display screen sectional drawing icon or treadmill, This is not defined it.Specifically, when user completes to run, and running route map is generated according to target critical point Afterwards, a prompting frame can be popped up on a display screen, to prompt the user whether to carry out sectional drawing to running route map, cut if user clicks Figure executes step S211;Conversely, executing step S212.
S211, sectional drawing picture is sent to default social platform.
Wherein, sectional drawing picture, it can be understood as when treadmill receives sectional drawing instruction, to working as on treadmill display screen Preceding picture carries out the obtained picture of sectional drawing.Wherein, social platform is preset, for the social platform installed on a treadmill, than Such as, wechat, Tencent QQ etc., is not limited thereto.
It should be noted that Wi-Fi network module is equipped on a treadmill, when treadmill passes through Wi-Fi network When module is connected with router, the function of treadmill is equivalent to an Intelligent flat computer, can install on a treadmill various APP is belonged to facilitating user that the running route map of oneself is sent to the social circle of oneself to improve the social of treadmill Property.
S212, the first identification code is generated according to running route map.
Wherein, the first identification code, for for identify according to target critical point generated running route map bar code information. In general, the first identification code can be Quick Response Code or bar code, herein and it is not limited thereof.
Specifically, after generating running route map according to the target critical point in default running route, and one is popped up Prompting frame to prompt user to carry out sectional drawing to running route map, and is sent to default social platform;But if not pacifying on treadmill Equipped with default social platform, user may be selected not carry out sectional drawing to it, and treadmill is to run route map with generating a URL at this time Location, then the addresses URL are encapsulated in the first identification code by the processor of treadmill, and are shown to user by display screen.
S213, the first identification code of display, are obtained for being identified with associated the first identification code of mobile terminal pair of treadmill Take running route map.
Wherein, mobile terminal can be the terminal device being connected with treadmill by WIFI.For example, mobile terminal, It can be mobile phone, tablet etc., herein and be not limited thereof.Specifically, when generated according to running route map first knows It after other code, is shown on a display screen, then user can be by the first identification code of mobile scanning terminal of networking, to obtain Running route map corresponding to first identification code.Then, the default social platform that user is installed by mobile terminal, will run Route map is shared to default social platform, to improve the social attribute of treadmill.
The technical solution of the present embodiment, on the basis of the above embodiments, by carrying out sectional drawing, or general to running route map Route map of running generates the first identification code, and right by obtaining the first identification code institute with the mobile terminal identification associated by treadmill Then running route map is shared to the technological means of default social platform, is solved in the prior art by the running route map answered The technical problem of treadmill social attribute difference, realize the current map by user in default running route sectional drawing share to Each social platform improves the technique effect of the social attribute of treadmill.
On the basis of the above embodiments, to based on the data-interface access preset map datum being integrated in treadmill, Default running route is generated in default map further to optimize, specially:Based on the data-interface being integrated in treadmill Access preset map datum confirms the beginning and end of user's running route;According to beginning and end, generates and show at least one Item running route;Receiving circuit confirms instruction, confirms the specified running route of instruction as default running route in circuit.
Wherein, based on the data-interface access preset map datum being integrated in treadmill, confirm user's running route Beginning and end.Specially:When user opens and accesses the map API integrated on treadmill, and obtain map data information Later, user sets the beginning and end of user's running route on default map in the form of icon, or on a display screen Input the address of starting point and terminal.
Illustratively, when user's plan experience is once run in Tianjin, and running starting point is set to Tianjin natural science Shop, terminal are set as Tianjin Library, then user can directly select the icon of the two addresses on default map;Also it can rise " Museum of Tianjin " is inputted in point input frame, " Tianjin Library " is inputted in terminal input frame, to complete rising for running route The setting of point and terminal.
Further, according to beginning and end, generate and show at least one running route, specially:According to user The beginning and end of the running route of setting, is based on map API, will be generated between two places and show a plurality of running road Line, while every running route can generate a corresponding menu frame, in order to which user selects.
Further, receiving circuit confirms instruction, confirms the specified running route of instruction as default running road in circuit Line, specially:Circuit confirms instruction, it can be understood as user selects the command information of running route.Specifically, in default map After the generated running route of upper display, the considerations of user is according to traffic, safety etc., a road of suitably running is selected Line, and as default running route.
The technical solution of the present embodiment is further based on and is integrated in treadmill on the basis of the above embodiments Data-interface access preset map datum confirms the beginning and end of user's running route;According to starting point and the terminal, generate And show at least one running route;Receiving circuit confirms instruction, confirms the specified running route of instruction as default in circuit It runs route, realizes user according to own situation, the selection to route of running.
Embodiment three
Fig. 4 is a kind of structure diagram for life size display apparatus that the embodiment of the present invention three provides, which is suitable for user The case where being shown to the outdoor scene in running route during running on a treadmill, the device can be by hardware/software realities It is existing.As shown in figure 4, the device includes:Acquisition module 310, traversal sorting module 320, confirmation module 330, the first extraction module 340 and display module 350.
Wherein, acquisition module 310, for obtaining the running distance of user on a treadmill;
Sorting module 320 is traversed, the distance for traversing the key point in default running route to starting point, and to key point Distance to starting point is ranked up;
Confirmation module 330, for the distance according to the key point after running distance from small to large traversal sequence to starting point, directly To target critical point is confirmed, the difference between the distance and running distance of target critical point to starting point is all key points to starting point Distance and running distance between difference in minimum positive number;
First extraction module 340, for based on default map datum, extracting the longitude and latitude and realistic picture of target critical point;
First display module 350, for updating position of the user on default map according to longitude and latitude, by target critical point Position and realistic picture real-time display on default map is on the display screen of treadmill.
The technical solution of the present embodiment by obtaining the running distance of user on a treadmill, and traverses default running road Key point in line is to the distance of starting point, and until the distance that finds a certain key point to starting point is just greater than, to be equal to user current Running distance, and the key point is confirmed as target critical point;It is then based on default map datum, extracts the warp of target critical point Latitude and realistic picture, and position of the user on default map is updated according to longitude and latitude, and by target critical point in default map On technological means on the display screen of treadmill of position and realistic picture real-time display, solve user in the prior art and running The outdoor scene of running route, and the skill of the social attribute difference of running behavior can not be watched during being run on step machine in real time Art problem realizes user and may be viewed by the outdoor scene in running route during running and real-time tracking and check that user exists The technique effect of position on default map.
On the basis of the above embodiments, life size display apparatus further includes:
First generation module, for based on the data-interface access preset map datum being integrated in treadmill, presetting Map generates default running route;
Second extraction module, for extracting all key points in default running route.
On the basis of the above embodiments, the first generation module, including:
Confirmation unit, for based on the data-interface access preset map datum being integrated in treadmill, confirming that user runs The beginning and end of step line;
Display unit is generated, for according to starting point and the terminal, generating and showing at least one running route;
Designating unit confirms instruction for receiving circuit, and circuit is confirmed that the specified running route of instruction is run as default Step line.
On the basis of the above embodiments, life size display apparatus further includes:
Second generation module, at the end of detecting user's running, being generated in default map according to target critical point Running route map;
Sending module is received, the sectional drawing instruction for receiving running route map, and sectional drawing picture is sent to default social activity Platform.
On the basis of the above embodiments, life size display apparatus further includes:Third generation module, for according to running route Figure generates the first identification code;
Second display module, for showing the first identification code, for being identified with the associated mobile terminal pair first of treadmill Acquisition running route map is identified in code.
Above-mentioned life size display apparatus can perform the live-action display method that any embodiment of the present invention is provided, and have the side of execution The corresponding function module of method and advantageous effect.
Example IV
Fig. 5 is a kind of hardware architecture diagram for terminal device that the embodiment of the present invention four provides.The embodiment of the present invention four In terminal device illustrated by taking computer equipment as an example wherein, which is preferably treadmill.As shown in figure 5, The computer equipment that the embodiment of the present invention four provides, including:Processor 410 and memory 420, input unit 430 and output dress Set 440.Processor 410 in the computer equipment can be it is one or more, it is described in Fig. 5 by taking a processor 410 as an example Processor 410, memory 420, input unit 430 and output device 440 in computer equipment can by bus or other Mode connects, in Fig. 5 for being connected by bus.
Memory 420 in the computer equipment is used as a kind of computer readable storage medium, can be used for storing one or Multiple programs, described program can be software program, computer executable program and module, such as the embodiment of the present invention one or two Corresponding program instruction/the module of provided live-action display method is (for example, the module in life size display apparatus shown in Fig. 4, packet It includes:Acquisition module 310, traversal sorting module 320, confirmation module 330, the first extraction module 340 and display module 350).Processing Device 410 is stored in software program, instruction and module in memory 420 by operation, to execute each of computer equipment The live-action display method in above method embodiment is realized in kind application of function and data processing.
Memory 420 may include storing program area and storage data field, wherein storing program area can storage program area, Application program needed at least one function;Storage data field can be stored uses created data etc. according to equipment.In addition, Memory 420 may include high-speed random access memory, can also include nonvolatile memory, for example, at least a disk Memory device, flush memory device or other non-volatile solid state memory parts.In some instances, memory 420 can be wrapped further The memory remotely located relative to processor 410 is included, these remote memories can pass through network connection to equipment.Above-mentioned net The example of network includes but not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Input unit 430 can be used for receiving number input by user or character information, to generate the user with terminal device Setting and the related key signals input of function control.Output device 440 may include that display screen etc. shows equipment, be adapted to we Display screen can be set in front of treadmill by the optional concrete application scene of terminal device in case, such as treadmill.
Also, when one or more included program of above computer equipment is by one or more of processors When 410 execution, program proceeds as follows:
Obtain the running distance of user on a treadmill;
Traversal presets the key point in running route to the distance of starting point, and arranges the distance of key point to starting point Sequence;
According to the distance of the key point after running distance from small to large traversal sequence to starting point, until confirming target critical Point, the difference between the distance of target critical point to starting point and running distance be all key points to starting point distance with run away from Minimum positive number in difference between;
Based on default map datum, the longitude and latitude and realistic picture of target critical point are extracted;
Update position of the user on default map according to longitude and latitude, by position of the target critical point on default map and Realistic picture real-time display is on the display screen of treadmill.
Embodiment five
The embodiment of the present invention five additionally provides a kind of computer readable storage medium, is stored thereon with computer program, should Realize that live-action display method provided in an embodiment of the present invention, this method include when program is executed by processor:
Obtain the running distance of user on a treadmill;
Traversal presets the key point in running route to the distance of starting point, and arranges the distance of key point to starting point Sequence;
According to the distance of the key point after running distance from small to large traversal sequence to starting point, until confirming target critical Point, the difference between the distance of target critical point to starting point and running distance be all key points to starting point distance with run away from Minimum positive number in difference between;
Based on default map datum, the longitude and latitude and realistic picture of target critical point are extracted;
Update position of the user on default map according to longitude and latitude, by position of the target critical point on default map and Realistic picture real-time display is on the display screen of treadmill.
The arbitrary of one or more computer-readable media may be used in the computer storage media of the embodiment of the present invention Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable Storage medium for example can be system, device or the device of -- but being not limited to -- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, Or the arbitrary above combination.The more specific example (non exhaustive list) of computer readable storage medium includes:With one The electrical connection of a or multiple conducting wires, portable computer diskette, hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD- ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage Medium, which can be any, includes or the tangible medium of storage program, which can be commanded execution system, device or device Using or it is in connection.
Computer-readable signal media may include in a base band or as the data-signal that a carrier wave part is propagated, Wherein carry computer-readable program code.Diversified forms may be used in the data-signal of this propagation, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for By instruction execution system, device either device use or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited In wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
It can be write with one or more programming languages or combinations thereof for executing the computer that operates of the present invention Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, Further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion Divide and partly executes or executed on a remote computer or server completely on the remote computer on the user computer.? Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including LAN (LAN) or Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as carried using Internet service It is connected by internet for quotient).
Note that above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The present invention is not limited to specific embodiments described here, can carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out to the present invention by above example It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also May include other more equivalent embodiments, and the scope of the present invention is determined by scope of the appended claims.

Claims (10)

1. a kind of live-action display method, which is characterized in that including:
Obtain the running distance of user on a treadmill;
Traversal presets the key point in running route to the distance of starting point, and arranges the distance of the key point to starting point Sequence;
According to the distance of the key point after the running distance from small to large traversal sequence to starting point, until confirming target critical Point, the difference between the distance of the target critical point to starting point and the running distance are distance of all key points to starting point The minimum positive number in difference between the running distance;
Based on default map datum, the longitude and latitude and realistic picture of the target critical point are extracted;
Position of the user on default map is updated according to the longitude and latitude, by position of the target critical point on default map It sets with the realistic picture real-time display on the display screen of the treadmill.
2. according to the method described in claim 1, it is characterized in that, in the running of the acquisition user on a treadmill apart from it Before, further include:
Based on the data-interface access preset map datum being integrated in treadmill, default running route is generated in default map;
Extract all key points in the default running route.
3. according to the method described in claim 2, it is characterized in that, described accessed based on the data-interface being integrated in treadmill Default map datum generates default running route in default map, including:
Based on the data-interface access preset map datum being integrated in the treadmill, confirm user run route starting point and Terminal;
According to the starting point and the terminal, generates and show at least one running route;
Receiving circuit confirms instruction, confirms the specified running route of instruction as default running route in the circuit.
4. according to the method described in claim 1, it is characterized in that, the method further includes:
At the end of detecting user's running, running route map is generated in default map according to the target critical point;
The sectional drawing instruction of the running route map is received, and sectional drawing picture is sent to default social platform.
5. according to the method described in claim 4, it is characterized in that, at the end of detecting user's running, according to the mesh After marking key point generation running route map, further include:
The first identification code is generated according to the running route map;
First identification code is shown, for first identification code is identified with the associated mobile terminal of the treadmill Obtain running route map.
6. a kind of life size display apparatus, which is characterized in that including:
Acquisition module, for obtaining the running distance of user on a treadmill;
Sorting module is traversed, the distance for traversing the key point in default running route to starting point, and the key point is arrived The distance of starting point is ranked up;
Confirmation module, the distance for traversing the key point after sequence from small to large to starting point according to the running distance, until Confirm target critical point, the difference between the distance of the target critical point to starting point and the running distance is all key points To the minimum positive number in the difference between the distance and the running distance of starting point;
First extraction module, for based on default map datum, extracting the longitude and latitude and realistic picture of the target critical point;
Display module exists the target critical point for updating position of the user on default map according to the longitude and latitude Position and the realistic picture real-time display on default map is on the display screen of the treadmill.
7. device according to claim 6, which is characterized in that described device further includes:
First generation module, for based on the data-interface access preset map datum being integrated in treadmill, in default map Generate default running route;
Second extraction module, for extracting all key points in the default running route.
8. device according to claim 6, which is characterized in that described device further includes:
Second generation module, at the end of detecting user's running, being generated in default map according to the target critical point Running route map;
Sending module is received, the sectional drawing instruction for receiving the running route map, and sectional drawing picture is sent to default social activity Platform.
9. a kind of terminal device, which is characterized in that the terminal device includes:
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors so that one or more of processors are real The now live-action display method as described in any in claim 1-5.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor The live-action display method as described in any in claim 1-5 is realized when execution.
CN201810501623.5A 2018-05-23 2018-05-23 Live-action display method and device, terminal equipment and storage medium Active CN108763414B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810501623.5A CN108763414B (en) 2018-05-23 2018-05-23 Live-action display method and device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810501623.5A CN108763414B (en) 2018-05-23 2018-05-23 Live-action display method and device, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108763414A true CN108763414A (en) 2018-11-06
CN108763414B CN108763414B (en) 2021-07-06

Family

ID=64004777

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810501623.5A Active CN108763414B (en) 2018-05-23 2018-05-23 Live-action display method and device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108763414B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110209751A (en) * 2019-05-20 2019-09-06 上海车轮互联网服务有限公司 Route sharing method and device suitable for Driving Test application
CN110457421A (en) * 2019-08-14 2019-11-15 广州视源电子科技股份有限公司 Methods of exhibiting and device, the treadmill of shift position

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2907771Y (en) * 2006-05-10 2007-06-06 池翰平 Real scene simulated treadle mill
CN105260799A (en) * 2015-10-22 2016-01-20 海南图语地理信息技术有限公司 System and method for GIS-based tourism and sports route planning and positioning of real scene information
CN105797349A (en) * 2016-03-17 2016-07-27 深圳市智游人科技有限公司 Live-action running device, method and system
CN105854267A (en) * 2016-03-31 2016-08-17 乐视控股(北京)有限公司 Data processing method and device and running machine

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2907771Y (en) * 2006-05-10 2007-06-06 池翰平 Real scene simulated treadle mill
CN105260799A (en) * 2015-10-22 2016-01-20 海南图语地理信息技术有限公司 System and method for GIS-based tourism and sports route planning and positioning of real scene information
CN105797349A (en) * 2016-03-17 2016-07-27 深圳市智游人科技有限公司 Live-action running device, method and system
CN105854267A (en) * 2016-03-31 2016-08-17 乐视控股(北京)有限公司 Data processing method and device and running machine

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110209751A (en) * 2019-05-20 2019-09-06 上海车轮互联网服务有限公司 Route sharing method and device suitable for Driving Test application
CN110457421A (en) * 2019-08-14 2019-11-15 广州视源电子科技股份有限公司 Methods of exhibiting and device, the treadmill of shift position

Also Published As

Publication number Publication date
CN108763414B (en) 2021-07-06

Similar Documents

Publication Publication Date Title
US11698268B2 (en) Street-level guidance via route path
US8812990B2 (en) Method and apparatus for presenting a first person world view of content
CN102227611B (en) For providing the method and apparatus of the cursor of context data in instruction drawing application
US11512970B2 (en) Method and apparatus for generating information
US20110145718A1 (en) Method and apparatus for presenting a first-person world view of content
CN108120436A (en) Real scene navigation method in a kind of iBeacon auxiliary earth magnetism room
CN103069370A (en) Methods, apparatuses and computer program products for automatically generating suggested information layers in augmented reality
CN109636868B (en) High-precision image map online construction method and device based on WebGIS and deep learning
CN105704675A (en) Scenic region information processing method and device
CN106302129A (en) A kind of chat method based on geographical position and mobile terminal
CN107806883B (en) Navigation method and device
CN105260468A (en) Coordinate based near point search method and apparatus
JP2010181315A (en) Map data distribution server
CN108763414A (en) A kind of live-action display method, device, terminal device and storage medium
CN105917329B (en) Information display device and information display program
CN103885955B (en) WiFi positioning datums collecting method, system and collection client
KR101880168B1 (en) Real-time map data updating method
JP5749057B2 (en) Navigation device
Bogdos et al. Crowd-sourced wildfire spread prediction with remote georeferencing using smartphones
KR102447172B1 (en) Method of customizing a place shown in an initial screen of digital map and digital map system using the same
US8869058B1 (en) Interface elements for specifying pose information for photographs in an online map system
KR101710489B1 (en) Real-time map data updating system and method
KR102143239B1 (en) Apparatus for prviding online course curating service
KR101963341B1 (en) Real-time map data updating method
CN110580275A (en) Map display 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
GR01 Patent grant
GR01 Patent grant