The content of the invention
In view of the above problems, it is proposed that the present invention so as to provide one kind overcome above mentioned problem or at least in part solve on
State a kind of body-building system and video capture device based on cloud platform of problem.
The embodiments of the invention provide a kind of video capture device, the video capture device includes:Camera, GPS moulds
Block, gyroscope and processor;Wherein,
The camera, processor is sent to for gathering current video information, and by the video information of collection;
The GPS module, the positional information current for obtaining video capture device, and the positional information is sent to
Processor;
The gyroscope, for obtaining the grade information of video capture device present position, and by the grade information
It is sent to processor;
The processor, for receiving video information, grade information and positional information, and by current grade information and
Location information synchronizing recorded in the video information currently gathered.
In order to reduce the resource consumption of video capture device, its stand-by time, the gyroscope, specifically for identification are improved
When being changed to the gradient where video capture device, the grade information of video capture device present position is gathered, and
The grade information is sent to processor;
The GPS module, during specifically for recognizing gyroscope collection grade information, it is current to obtain video capture device
Positional information, and the positional information is sent to processor.
In order to reduce the resource consumption of video capture device, improve its stand-by time, the gyroscope, specifically for according to
The grade information of the time interval collection video capture device present position of setting, and the grade information is sent to processing
Device;
The GPS module, the positional information current specifically for gathering video capture device at set time intervals,
And the positional information is sent to processor.
A kind of body-building system based on cloud platform provided in an embodiment of the present invention, the system include:Above-mentioned video acquisition
Equipment, terminal device and cloud service platform;Wherein,
The video capture device, for the video information comprising positional information and grade information of record to be sent into cloud
Service platform;
The terminal device, for receiving the request of user's order video information, and send the request to cloud service and put down
Platform;The display interface where the video information after the cloud service platform coding is received, and is carried out after being decoded to the display interface
It has been shown that, includes positional information and grade information wherein in the display interface;
The cloud service platform, for receiving the video information of video capture device transmission, the video is believed according to user
The request of program request is ceased, the video information is being locally displayed, the display interface being locally displayed is sent to the terminal device, its
In include positional information and grade information in the display interface.
In order to expand the scope of application of the system, the recreational of system is improved, the system also includes:Exercycle;
The Exercycle, for vehicle wheel rotation directional information and speed information to be sent into terminal device;Receive eventually
The running resistance value that end equipment is sent, and be adjusted according to the running resistance value;
The terminal device, for being sent to after encoding the vehicle wheel rotation directional information and speed information that receive
Cloud service platform;The display interface after the cloud service platform coding is received, and is shown after being decoded to the display interface;Connect
Receive the running resistance value of cloud service platform transmission and be located at the display interface of position in the video comprising Exercycle, by described in
Resistance Value is sent to Exercycle, and the display interface received is decoded and shown;
The cloud service platform, for speed, the vehicle wheel rotation directional information sent according to the terminal device, and currently
Video information where display interface, determine the position that the Exercycle is located in the video, according to its institute in video
Position and the grade information that preserves of the video current location, the running resistance value of Exercycle is determined, by the running resistance
Value and it is located at the display interface of position in the video comprising Exercycle and is sent to terminal device.
Further, the cloud service platform, specifically for each grade information and running resistance preserved according to itself
The corresponding relation of value, determine running resistance value corresponding to current hill grade;Or, determine current hill grade to meeting the tendency of according to default algorithm
Row Resistance Value, wherein grade information are directly proportional to running resistance value.
Further, the Exercycle includes:Detection device and transmission equipment;
The detection device, sent for obtaining the vehicle wheel rotation directional information of Exercycle, and by the information of acquisition
To the transmission equipment;
The transmission equipment, for the vehicle wheel rotation directional information to be sent into the cloud service platform, and taken to cloud
Business platform sends the current control information of user.
Further, the terminal device includes:Display device and set top box;
The set top box, for receiving video information, vehicle wheel rotation directional information and speed information, and by the information of reception
Cloud service platform is sent to after coding;The display interface after cloud service platform coding is received, is shown after being decoded to the display interface;
The display device, for showing decoded display interface, and in the display interface comprising positional information and
Grade information.
The embodiments of the invention provide a kind of body-building system and video capture device based on cloud platform, the video acquisition is set
Camera collection video information in standby, gyroscope record the grade information of each present position of video capture device, GPS
Module obtains the current positional information of video capture device, when processor receives video information, grade information and position letter
During breath, current grade information and positional information recorded in the video information of collection.Due in embodiments of the present invention
Include positional information and grade information in the video information of video capture device collection, therefore accurately video can be believed
Breath is described, in addition, when being combined with cloud service platform, can be provided a user accurately for the video by terminal device
Position and grade information.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And can be practiced according to the content of specification, and in order to allow above and other objects of the present invention, feature and advantage can
Become apparent, below especially exemplified by the embodiment of the present invention.
Embodiment
In order to accurately describe video information, the combination of Exercycle and cloud service platform is realized, enriches the strong of user
Body service, and improve using exercycle use range, the embodiments of the invention provide a kind of body-building system based on cloud platform
And video capture device.
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in accompanying drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
Limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
Completely it is communicated to those skilled in the art.
With reference to explanation accompanying drawing, the embodiment of the present invention is illustrated.
Fig. 1 is a kind of structural representation of video capture device provided in an embodiment of the present invention, the video capture device bag
Include:Camera 11, GPS module 12, gyroscope 13 and processor 14.Wherein,
The camera 11, processing is sent to for gathering current video information, and by the video information of collection
Device 14;
The GPS module 12, the positional information current for obtaining video capture device, and the positional information is sent
To processor 14;
The gyroscope 13, believe for obtaining the grade information of video capture device present position, and by the gradient
Breath is sent to processor 14;
The processor 14, for receiving video information, grade information and positional information, and by current grade information
And location information synchronizing recorded in the video information currently gathered.
Specifically, camera 11 when gathering current video information, obtains the video in the range of its current shooting angle
Information, as shown in figure 1, the video information collected is sent to processor 14 by camera 11, what camera 11 was sent each regards
Frequency information can be each video segment or send video information to processor 14 in real time.
GPS module 12 can obtain the current positional information of video capture device in real time, and the positional information is sent to
Processor 14, the positional information can be specific latitude and longitude informations, can be according to latitude and longitude information determine specifically
Domain name information etc..
Gyroscope 13 is a kind of angular movement detection means, when it rotates, angle that gyroscope 13 rotates getter
Information is spent, the rotation includes the rotation of horizontal direction, the also rotation including vertical direction.In embodiments of the present invention, in order to right
The Resistance Value of Exercycle is automatically controlled, and gyroscope 13 mainly obtains its rotation in vertical direction, that is, is obtained it and worked as
The grade information of front position, the grade information can be with the angle information of horizontal plane, and can altitude info ination etc..
After camera 11, GPS module 12 and gyroscope 13 obtain video information, positional information and grade information,
Video information, positional information and grade information are sent to processor 14 accordingly, processor 14 receives video information, position
Information and grade information, positional information and grade information are recorded together with video information, i.e., by positional information and
Grade information synchronous recording is into the video information currently gathered, so as to generate a video file.
Specifically, by positional information and grade information synchronous recording into current video file when, position can be believed
Breath and grade information store as the mode of ancillary documents, i.e., the corresponding time being directed in each video file in video information
Point, positional information and grade information corresponding to the time point are saved, can specifically use following manner:
<TimeStamp>2014/03/2608:27:25</TimeStamp>(current time)
<Longitude>40.05053039</Longitude>(current longitude information)
<Latitude>116.29930707</Latitude>(current latitude information)
<Speed>6</Speed>(current velocity information)
<Angle>15</Angle>(current grade information)
<TimeStamp>2014/03/2608:27:26</TimeStamp>(current time)
<Longitude>40.05053039</Longitude>(current longitude information)
<Latitude>116.29930707</Latitude>(current latitude information)
<Speed>7</Speed>(current velocity information)
<Angle>15</Angle>(current grade information)
Specifically, the video capture device can be located in intelligent terminal in embodiments of the present invention, or can also position
In Train-borne recorder.When intelligent terminal or Train-borne recorder move, the video information in the range of its shooting angle is obtained, and
Current positional information and grade information are obtained, is worked as so that processor recorded current grade information and location information synchronizing
In the video information of preceding collection, so as to generate the video file for carrying positional information and grade information, the video file is specific
Can be saved in the memory of intelligent terminal or Train-borne recorder.
In order to effectively improve the stand-by time of video capture device, gyroscope described in the embodiment of the present invention is specific to use
When the gradient where recognizing video capture device changes, the gradient letter of collection video capture device present position
Breath, and the grade information is sent to processor;
The GPS module, during specifically for recognizing gyroscope collection grade information, it is current to obtain video capture device
Positional information, and the positional information is sent to processor.
In the above embodiment of the present invention, gyroscope obtains the grade information of its current location in real time, judges current
Whether the grade information that grade information and last moment obtain is identical, when current grade information and the grade information of last moment
When identical, the grade information of last moment acquisition is replaced using the current grade information, when current grade information and upper one
During the grade information difference at moment, current grade information is sent to processor.When gyroscope sends out current grade information
When being sent to processor, the current positional information that itself is obtained also is sent to processor by GPS module, so that processor is current
Video information in record current grade information and positional information.In embodiments of the present invention, due to only having the gradient to become
Corresponding grade information is just determined during change, therefore just has corresponding grade information for each position section in video information,
Each position correspondence identical grade information in the position section.
Specifically, when current grade information is sent to processor by gyroscope, processor can active to GPS moulds
Block sends the request for obtaining positional information, and current positional information is sent to processor by request GPS module.Or work as gyro
When current grade information is sent to processor by instrument, announcement information is sent to GPS module, notice GPS module is current by itself
Positional information be sent to processor.
In order to effectively improve the stand-by time of video capture device, the gyroscope in embodiments of the present invention, specifically
Sent out for gathering the grade information of video capture device present position at set time intervals, and by the grade information
It is sent to processor;
The GPS module, the positional information current specifically for gathering video capture device at set time intervals,
And the positional information is sent to processor.
Identical time interval is set in gyroscope and GPS module in the above-described embodiments, and makes gyroscope and GPS moulds
Block can send grade information and positional information in synchronization.It is to be determined accordingly according to the period in embodiments of the present invention
Grade information, therefore can preserve a grade information for each period in video information, it is corresponding in the period
Each position grade information it is identical.Collecting device is adopted due to video to be located in Train-borne recorder or intelligent terminal, it is vehicle-mounted
The speed of service of recorder or intelligent terminal sometimes at the uniform velocity, it is sometimes non-at the uniform velocity, therefore distance corresponding to each period
Also it is certain identical, therefore each position may be more corresponding to each period, it is also possible to it is few, gathered with specific reference to actual video
Journey determines.
In order to increase the use range of video capture device, meet the needs of different user, realize video capture device with
The combination of cloud service platform, Fig. 2 are a kind of body-building system structural representation based on cloud platform provided in an embodiment of the present invention, institute
The system of stating includes:Video capture device 21, terminal device 22 and cloud service platform 23;Wherein,
The video capture device 21, for the video information comprising positional information and grade information of record to be sent to
Cloud service platform;
The terminal device 22, for receiving the request of user's order video information, and send the request to cloud service
Platform;The display interface where the video information after the cloud service platform coding is received, and the display interface is decoded laggard
Row display, includes positional information and grade information wherein in the display interface;
The cloud service platform 23, for receiving the video information of video capture device transmission, according to user to the video
The request of information on demand, the video information is being locally displayed, the display interface being locally displayed is sent to the terminal device,
Positional information and grade information are included wherein in the display interface.
Between video capture device 21 and cloud service platform 23, connected by wired or wireless mode, video acquisition is set
Video file is saved in standby 21, video information, and the position of the record of corresponding time point of the video information are included in video file
Confidence is ceased and the video information that the record has positional information and grade information is sent to cloud by grade information, video capture device 21
Service platform 23, after cloud service platform 23 receives the video information, the video information is saved in local, so as to the point of user
Broadcast.
Each information that terminal device 22 provides according to cloud service platform 23, sent when recognizing user to the point of video information
After broadcasting request, the order request is sent to cloud service platform 23.
Cloud service platform 23 receive terminal device 22 transmission user to the request of the video information program request after, in local
Render the video information, will the video information be locally displayed, when the video information corresponding record that current time renders has position
Confidence is ceased and during grade information, and the positional information and grade information are shown in the video information that this is rendered, and after rendering
Terminal device 22 is sent to after video information coding, the display interface that will be locally displayed is sent to terminal device 22, the display
Positional information and grade information are included in interface.After terminal device 22 receives the display interface after the coding, to display circle
Face is decoded, and decoded display interface is shown, wherein being wrapped in the display interface shown on terminal device 21
Containing positional information and grade information.
Pass through above-mentioned embodiment, it is possible to achieve the combination of video capture device and cloud service platform, regarded so as to add
The use range of frequency collecting device, adds the experience of user, and user need not buy the terminal device of higher configured, you can viewing
The video information collected by video capture device.
In order to increase the recreational of Exercycle, improve the use range of Exercycle, realize Exercycle with
The set of cloud service platform, the body-building system also includes in the embodiment of the present invention:Exercycle 24;
The Exercycle 24, for vehicle wheel rotation directional information and speed information to be sent into terminal device;Receive
The running resistance value that terminal device is sent, and be adjusted according to the running resistance value;
The terminal device 22, for being sent after encoding the vehicle wheel rotation directional information and speed information that receive
To cloud service platform;The display interface after the cloud service platform coding is received, and is shown after being decoded to the display interface;
Receive the running resistance value of cloud service platform transmission and be located at the display interface of position in the video comprising Exercycle, by institute
State Resistance Value and be sent to Exercycle, the display interface received is decoded and shown;
The cloud service platform 23, for speed, the vehicle wheel rotation directional information sent according to the terminal device, and work as
Display interface where preceding video information, the position that the Exercycle is located in the video is determined, video according to where it
In position and the video current location preserve grade information, determine the running resistance value of Exercycle, the operation hindered
Force value and it is located at the display interface of position in the video comprising Exercycle and is sent to terminal device.
Specifically, when Exercycle and terminal device successful connection, Exercycle is taken by terminal device to cloud
Business platform sends successful connection information, and cloud service platform video capture device according to corresponding to the user of the Exercycle is sent
Video information, the position of Exercycle is positioned at the position that current video information locally rendered shows, the display
Position can be screen the top, bottom, or centre position of screen etc..
Current speed information and vehicle wheel rotation directional information are sent to terminal device by Exercycle, and terminal device connects
After receiving the speed information and vehicle wheel rotation directional information, the information is encoded, and the information after coding is sent to cloud
Service platform.After cloud service platform receives the information after coding, the information is decoded, it is current to obtain Exercycle
Speed information and vehicle wheel rotation directional information, according to current speed information and vehicle wheel rotation directional information, determine body building self running
Position of the car in current video information, i.e., when cloud service platform receives the current speed information and wheel of Exercycle
After rotation direction information, using the moment as current time, according to current time the video information of local runtime image, really
Determine position of the Exercycle in current video information.
In addition, cloud service platform according to the video information of reception in the grade information of the position correspondence, determine body building self running
The running resistance value of car.Cloud service platform will be sent to terminal after the running resistance value encryption of the Exercycle of determination and set
Standby, terminal device is sent to Exercycle after the running resistance value is decoded, and Exercycle hinders according to the operation received
Force value adjusts the running resistance of itself.
In the video information preserved due to cloud service platform, the gradient letter that each position saves the position may be directed to
Breath, it is also possible to the grade information of the relevant position preserved at set time intervals, or be also likely to be to be according to the gradient
Its grade information of the no preservation that changes.Therefore, cloud service platform it is determined that Exercycle running resistance value when, it is different
Situation also correspond to different determination methods.
When cloud service platform preserve video information in include each position grade information when, cloud service platform according to ought
The image of the video information of preceding self-operating, position of the Exercycle in current video information is determined, and according to for this
The grade information that position preserves, it is determined that running resistance value of the current body-building from bicycle, and the running resistance value is passed through into terminal
Equipment is sent to Exercycle, Exercycle is adjusted the running resistance of itself according to the running resistance value.
When preserving the grade information of each setting time interval relevant position in the video information that cloud service platform preserves,
Cloud service platform determines position of the Exercycle in current video information according to the image of the video information of current self-operating
Put, and grade information corresponding to the time interval according to where current location, it is determined that running resistance value of the current body-building from bicycle,
And the running resistance value is sent to Exercycle by terminal device, Exercycle is adjusted according to the running resistance value
The running resistance of itself.
When cloud service platform preserve be whether the video information of preservation is changed according to grade information when, cloud service platform according to
The image of the video information of self-operating, position of the Exercycle in current video information is determined, and according to current location
Grade information corresponding to the position section at place, it is determined that running resistance value of the current body-building from bicycle, and by the running resistance value
Exercycle is sent to by terminal device, Exercycle is adjusted the running resistance of itself according to the running resistance value.
The cloud service platform in embodiments of the present invention, specifically for each grade information and fortune preserved according to itself
The corresponding relation of row Resistance Value, determine running resistance value corresponding to current hill grade;Or, current hill grade is determined according to default algorithm
Corresponding running resistance value, wherein grade information are directly proportional to running resistance value.
It is considered that preserved in the cloud service platform of the embodiment of the present invention corresponding with running resistance value with grade information
Relation, grade information is bigger, and running resistance value is bigger, and the corresponding smaller running resistance value of the gradient is smaller, or, can also be in cloud
Corresponding algorithm is preset in service platform, running resistance value, wherein grade information and fortune are determined according to value of slope in the algorithm
Row Resistance Value is directly proportional, i.e. the bigger running resistance value of grade information is bigger, and the corresponding smaller running resistance value of the gradient is smaller.
Specifically, the Exercycle includes:Detection device and transmission equipment;
The detection device, sent for obtaining the vehicle wheel rotation directional information of Exercycle, and by the information of acquisition
To the transmission equipment;
The transmission equipment, for the vehicle wheel rotation directional information to be sent into the cloud service platform, and taken to cloud
Business platform sends the current control information of user.
The terminal device includes:Display device and set top box;
The set top box, for receiving video information, vehicle wheel rotation directional information and speed information, and by the information of reception
Cloud service platform is sent to after coding;The display interface after cloud service platform coding is received, is shown after being decoded to the display interface;
The display device, for showing decoded display interface, and in the display interface comprising positional information and
Grade information.
The Exercycle is connected with the set top box by wired or wireless way.
The embodiments of the invention provide a kind of body-building system and video capture device based on cloud platform, the video acquisition is set
Camera collection video information in standby, gyroscope record the grade information of each present position of video capture device, GPS
Module obtains the current positional information of video capture device, when processor receives video information, grade information and position letter
During breath, current grade information and positional information recorded in the video information of collection.Due in embodiments of the present invention
Include positional information and grade information in the video information of video capture device collection, therefore accurately video can be believed
Breath is described, in addition, when being combined with cloud service platform, can be provided a user accurately for the video by terminal device
Position and grade information.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein.
Various general-purpose systems can also be used together with teaching based on this.As described above, required by constructing this kind of system
Structure be obvious.In addition, the present invention is not also directed to any certain programmed language.It should be understood that it can utilize various
Programming language realizes the content of invention described herein, and the description done above to language-specific is to disclose this hair
Bright preferred forms.
In the specification that this place provides, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention
Example can be put into practice in the case of these no details.In some instances, known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help to understand one or more of each inventive aspect,
Above in the description to the exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor
The application claims of shield features more more than the feature being expressly recited in each claim.It is more precisely, such as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following embodiment are expressly incorporated in the embodiment, wherein each claim is in itself
Separate embodiments all as the present invention.
Those skilled in the art, which are appreciated that, to be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment
Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or
Sub-component.In addition at least some in such feature and/or process or unit exclude each other, it can use any
Combination is disclosed to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so to appoint
Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power
Profit requires, summary and accompanying drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation
Replace.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included some features rather than further feature, but the combination of the feature of different embodiments means in of the invention
Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed
One of meaning mode can use in any combination.
The all parts embodiment of the present invention can be realized with hardware, or to be run on one or more processor
Software module realize, or realized with combinations thereof.It will be understood by those of skill in the art that it can use in practice
Microprocessor or digital signal processor (DSP) are according to embodiments of the present invention by based on the knowledge figure for pulling picture to realize
The some or all functions of some or all parts in device, terminal device and system.The present invention is also implemented as
For perform method as described herein some or all equipment or program of device (for example, computer program and
Computer program product).Such program for realizing the present invention can store on a computer-readable medium, or can have
The form of one or more signal.Such signal can be downloaded from internet website and obtained, or on carrier signal
There is provided, or provided in the form of any other.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability
Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of some different elements and being come by means of properly programmed computer real
It is existing.In if the unit claim of equipment for drying is listed, several in these devices can be by same hardware branch
To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame
Claim.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention
God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising including these changes and modification.