Summary of the invention
The present invention provides a kind of user movement data transmission system and method for private religion training, its object is to gram
Defect in the prior art is taken, the user movement data transmission channel between user and private religion is established, the workout data of user has
It is pointedly sent to the private religion for formulating corresponding fitness program, guarantees the safety and validity of the transmission of user for body-building data.
To achieve the goals above, the present invention has following constitute:
The user movement data transmission system trained for private religion, including private religion user terminal, body-building user terminal, number
According to library, cloud server and multiple fitness equipments, each fitness equipment includes bluetooth communication and velocity sensor, institute
When stating bluetooth communication and the body-building user terminal communication, the User ID of the body-building user terminal binding and transmission are obtained
To the cloud server, the velocity sensor is set on the movable part of the fitness equipment, and speed data is sent out
It send to the cloud server, the database purchase has the corresponding relationship of the User ID of fitness program and body-building user and each
The workout data of a body-building user;
The cloud server executes following steps:
The cloud server receives the fitness program of private religion user terminal and is stored into the database, the body-building
Plan includes the target duration and fitness equipment that fitness program executes time and at least one fitness project;
The cloud server pushes to the fitness program of the database within a preset period of time every preset time
Body-building user terminal;
The cloud server receives body-building user terminal to the selection instruction of fitness program, is established according to the selection instruction
Body-building user terminal and issue the fitness program private religion user terminal corresponding relationship, and the corresponding relationship is stored into described
Database;
When the cloud server receives the User ID that the bluetooth communication is sent, cloud is logged in using the User ID
Service platform, and this body-building duration of user is calculated according to the speed data of corresponding velocity sensor;
The velocity amplitude that the cloud server receives the velocity sensor of the fitness equipment is less than preset threshold and holds
When the continuous time is greater than default rest duration or receives the User ID notice of cancellation that the bluetooth communication is sent, the cloud
This body-building duration of server statistics user;
The type of cloud server fitness equipment according to corresponding to the bluetooth communication for sending User ID determines
This fitness project of user, and user this body-building duration is accumulated to the body-building duration of the fitness project;
Fitness program belonging to this fitness project of cloud server inquiry user, and inquire and issue the body-building meter
The User ID for the private religion user terminal drawn, by user this body-building duration and the accumulative body-building duration of the fitness project be sent to
Corresponding private religion user terminal.
Optionally, fitness program of the cloud server every preset time by the database within a preset period of time
Body-building user terminal is pushed to, is included the following steps:
The cloud server is to the fitness program newly received in preset time period respectively according to fitness program duration, strong
The body number of entry and fitness equipment number of types carry out ranking, generate fitness program duration ranked list, fitness project quantity row
List of file names and fitness equipment number of types ranked list;
The corresponding private of fitness program newly received in the cloud server statistics preset time period is taught by selection time
Number is taught according to private and carries out ranking to the fitness program newly received in preset time period by selection number, and selection number is obtained
Ranked list;
The cloud server is by the fitness program duration ranked list, fitness project quantity ranked list, fitness equipment
Material number of types ranked list and the selection number ranked list push to the body-building user terminal.
Optionally, the class of cloud server fitness equipment according to corresponding to the bluetooth communication for sending User ID
Type determines this fitness project of user, includes the following steps:
The type search of cloud server fitness equipment according to corresponding to the bluetooth communication for sending User ID
Fitness project corresponding with the fitness equipment in the fitness program that user is currently executing;
The cloud server judge corresponding fitness project whether only one;
If it is, the cloud server is using the corresponding fitness project inquired as this body-building item of user
Mesh;
Otherwise, the corresponding fitness project inquired is pushed to body-building user terminal by the cloud server, according to strong
The selection of body user terminal determines this fitness project of user.
The embodiment of the present invention also provides a kind of user movement data transmission method for private religion training, using the use
In the user movement data transmission system of private religion training, described method includes following steps:
The cloud server receives the fitness program of private religion user terminal and is stored into the database, the body-building
Plan includes the target duration and fitness equipment that fitness program executes time and at least one fitness project;
The cloud server pushes to the fitness program of the database within a preset period of time every preset time
Body-building user terminal;
The cloud server receives body-building user terminal to the selection instruction of fitness program, is established according to the selection instruction
Body-building user terminal and issue the fitness program private religion user terminal corresponding relationship, and the corresponding relationship is stored into described
Database;
When the cloud server receives the User ID that the bluetooth communication is sent, cloud is logged in using the User ID
Service platform, and this body-building duration of user is calculated according to the speed data of corresponding velocity sensor;
The velocity amplitude that the cloud server receives the velocity sensor of the fitness equipment is less than preset threshold and holds
When the continuous time is greater than default rest duration or receives the User ID notice of cancellation that the bluetooth communication is sent, the cloud
This body-building duration of server statistics user;
The type of cloud server fitness equipment according to corresponding to the bluetooth communication for sending User ID determines
This fitness project of user, and user this body-building duration is accumulated to the body-building duration of the fitness project;
Fitness program belonging to this fitness project of cloud server inquiry user, and inquire and issue the body-building meter
The User ID for the private religion user terminal drawn, by user this body-building duration and the accumulative body-building duration of the fitness project be sent to
Corresponding private religion user terminal.
Optionally, cloud server pushes the fitness program of the database within a preset period of time every preset time
To body-building user terminal, include the following steps:
The cloud server is to the fitness program newly received in preset time period respectively according to fitness program duration, strong
The body number of entry and fitness equipment number of types carry out ranking, generate fitness program duration ranked list, fitness project quantity row
List of file names and fitness equipment number of types ranked list;
The corresponding private of fitness program newly received in the cloud server statistics preset time period is taught by selection time
Number is taught according to private and carries out ranking to the fitness program newly received in preset time period by selection number, and selection number is obtained
Ranked list;
The cloud server is by the fitness program duration ranked list, fitness project quantity ranked list, fitness equipment
Material number of types ranked list and the selection number ranked list push to the body-building user terminal.
Optionally, the class of cloud server fitness equipment according to corresponding to the bluetooth communication for sending User ID
Type determines this fitness project of user, includes the following steps:
The type search of cloud server fitness equipment according to corresponding to the bluetooth communication for sending User ID
Fitness project corresponding with the fitness equipment in the fitness program that user is currently executing;
The cloud server judge corresponding fitness project whether only one;
If it is, the cloud server is using the corresponding fitness project inquired as this body-building item of user
Mesh;
Otherwise, the corresponding fitness project inquired is pushed to body-building user terminal by the cloud server, according to strong
The selection of body user terminal determines this fitness project of user.
Optionally, further include following steps:
When each disbursement and sattlement end cycle, the private religion deduction clearing task of cloud server starting;
The cloud server counts body-building expense of each body-building user in the disbursement and sattlement period;
For each body-building user, the cloud server counts what body-building user executed in the disbursement and sattlement period
The body-building duration of fitness program and body-building user in each fitness program, the body-building duration for calculating each fitness program account for
The percentage of body-building user total body-building duration within the disbursement and sattlement period;
By body-building user shared by body-building duration of the body-building expense in the body-building billing cycle multiplied by a fitness program
The percentage of total body-building duration, obtains expense of the body-building user in the fitness program;
It determines the corresponding private religion coach of the fitness program, searches private religion and train preset deduction coefficient;
By expense of the body-building user in the fitness program multiplied by the preset deduction coefficient, body-building user is obtained
In the fitness program, obtained deduction is trained in private religion.
Optionally, further include following steps:
Each private religion coach is counted in each disbursement and sattlement period, number and be good for that the fitness program formulated is selected
Body plan is performed the percentage finished;
If a private religion was trained in continuous three disbursement and sattlement periods, the fitness program formulated is working as previous disbursement and sattlement
The number selected in period is all larger than preset times, and within each disbursement and sattlement period, after fitness program is selected
The percentage being finished is all larger than 80%, then preset deduction coefficient is trained in private religion and improve a grade.
Using the user movement data transmission system and method for private religion training in the invention, have following beneficial
Effect:
(1) the user movement data transmission channel between user and private religion is established, data transmission channel corresponds to each use
The specific fitness program of family selection and establish, for each fitness program selected, establish select the user of the plan with
The exclusive data transmission channel between the coach of the plan is formulated, the workout data of user is targetedly sent to formulation and corresponds to
The private religion of fitness program, guarantees the safety and validity of the transmission of user for body-building data, the workout data of user will not be unrelated
Private religion acquired in, private religion will not obtain a large amount of invalid data and influence its judgement to user for body-building process;
(2) by the way that the fitness program of private religion formulation according to diversified forms ranking, is preferably showed each fitness program
Feature facilitates user to select according to their needs;
(3), can be with the workout data of programming count user and body-building expense when each disbursement and sattlement end cycle, and it can
With according to the corresponding relationship between body-building duration and fitness program and private religion, programming count obtains each private and teaches at this stage
Deduction, and can according to private teach the number and degree that fitness program select and completed, give performance it is good private teach with
Reward, forms effective incentive measure.
Specific embodiment
It is further to carry out combined with specific embodiments below in order to more clearly describe technology contents of the invention
Description.
User movement data transmission system for private religion training as shown in Figure 1, including private religion user terminal, body-building are used
Family terminal, database, cloud server and multiple fitness equipments, each fitness equipment includes bluetooth communication and speed
When sensor, the bluetooth communication and the body-building user terminal communication, the use of the body-building user terminal binding is obtained
Family ID is simultaneously sent to the cloud server, and the velocity sensor is set on the movable part of the fitness equipment, and will
Speed data is sent to the cloud server, and the database purchase has fitness program corresponding with the User ID of body-building user
The workout data of relationship and each body-building user;
The cloud server executes following steps:
The cloud server receives the fitness program of private religion user terminal and is stored into the database, the body-building
Plan includes the target duration and fitness equipment that fitness program executes time and at least one fitness project;
The cloud server pushes to the fitness program of the database within a preset period of time every preset time
Body-building user terminal;
The cloud server receives body-building user terminal to the selection instruction of fitness program, is established according to the selection instruction
Body-building user terminal and issue the fitness program private religion user terminal corresponding relationship, and the corresponding relationship is stored into described
Database;
When the cloud server receives the User ID that the bluetooth communication is sent, cloud is logged in using the User ID
Service platform, and this body-building duration of user is calculated according to the speed data of corresponding velocity sensor;
The velocity amplitude that the cloud server receives the velocity sensor of the fitness equipment is less than preset threshold and holds
When the continuous time is greater than default rest duration or receives the User ID notice of cancellation that the bluetooth communication is sent, the cloud
This body-building duration of server statistics user;
The type of cloud server fitness equipment according to corresponding to the bluetooth communication for sending User ID determines
This fitness project of user, and user this body-building duration is accumulated to the body-building duration of the fitness project;
Fitness program belonging to this fitness project of cloud server inquiry user, and inquire and issue the body-building meter
The User ID for the private religion user terminal drawn, by user this body-building duration and the accumulative body-building duration of the fitness project be sent to
Corresponding private religion user terminal.
In this embodiment, the cloud server is every preset time by the database within a preset period of time strong
Body plan pushes to body-building user terminal, includes the following steps:
The cloud server is to the fitness program newly received in preset time period respectively according to fitness program duration, strong
The body number of entry and fitness equipment number of types carry out ranking, generate fitness program duration ranked list, fitness project quantity row
List of file names and fitness equipment number of types ranked list;By providing a variety of ranking modes, can preferably recommend not to user
Same fitness program, user can select suitable fitness program according to their own needs;
The corresponding private of fitness program newly received in the cloud server statistics preset time period is taught by selection time
Number is taught according to private and carries out ranking to the fitness program newly received in preset time period by selection number, and selection number is obtained
Ranked list;Therefore, body-building user not only can also teach pouplarity according to private according to the characteristic of fitness program itself
Select corresponding fitness program;
The cloud server is by the fitness program duration ranked list, fitness project quantity ranked list, fitness equipment
Material number of types ranked list and the selection number ranked list push to the body-building user terminal.
Due to the user movement data transmission system using this programme, private religion no longer needs to that one-to-one to stare at body-building user strong
Body, it is only necessary to obtain each body-building user body-building duration corresponding to the fitness program and other desired workout data, just
Can the body-building process to user better understand, therefore, a private religion can be with more students, and can be formed
One student corresponds to multiple drill programs, to correspond to multiple private religions, a private religion corresponds to the form of multiple students, shape
Formula is more flexible.
In this embodiment, cloud server fitness equipment according to corresponding to the bluetooth communication for sending User ID
The type of material determines this fitness project of user, includes the following steps:
The type search of cloud server fitness equipment according to corresponding to the bluetooth communication for sending User ID
Fitness project corresponding with the fitness equipment in the fitness program that user is currently executing;
The cloud server judge corresponding fitness project whether only one;
If it is, the cloud server is using the corresponding fitness project inquired as this body-building item of user
Mesh;
Otherwise, the corresponding fitness project inquired is pushed to body-building user terminal by the cloud server, according to strong
The selection of body user terminal determines this fitness project of user.In the fitness program that may execute body-building user's same period, have
All include the fitness project of the same fitness equipment in two or more fitness programs, user is needed to select one to be good at this time
This body-building duration is included in the fitness program selected by body plan.
As shown in Fig. 2, the embodiment of the present invention also provides a kind of user movement data transmission method for private religion training, adopt
With the user movement data transmission system for private religion training, described method includes following steps:
The cloud server receives the fitness program of private religion user terminal and is stored into the database, the body-building
Plan includes the target duration and fitness equipment that fitness program executes time and at least one fitness project;
The cloud server pushes to the fitness program of the database within a preset period of time every preset time
Body-building user terminal;
The cloud server receives body-building user terminal to the selection instruction of fitness program, is established according to the selection instruction
Body-building user terminal and issue the fitness program private religion user terminal corresponding relationship, and the corresponding relationship is stored into described
Database;
When the cloud server receives the User ID that the bluetooth communication is sent, cloud is logged in using the User ID
Service platform, and this body-building duration of user is calculated according to the speed data of corresponding velocity sensor;
The velocity amplitude that the cloud server receives the velocity sensor of the fitness equipment is less than preset threshold and holds
When the continuous time is greater than default rest duration or receives the User ID notice of cancellation that the bluetooth communication is sent, the cloud
This body-building duration of server statistics user;
The type of cloud server fitness equipment according to corresponding to the bluetooth communication for sending User ID determines
This fitness project of user, and user this body-building duration is accumulated to the body-building duration of the fitness project;
Fitness program belonging to this fitness project of cloud server inquiry user, and inquire and issue the body-building meter
The User ID for the private religion user terminal drawn, by user this body-building duration and the accumulative body-building duration of the fitness project be sent to
Corresponding private religion user terminal.
As described above, in this embodiment, cloud server is every preset time by the database in preset time period
Interior fitness program pushes to body-building user terminal, includes the following steps:
The cloud server is to the fitness program newly received in preset time period respectively according to fitness program duration, strong
The body number of entry and fitness equipment number of types carry out ranking, generate fitness program duration ranked list, fitness project quantity row
List of file names and fitness equipment number of types ranked list;
The corresponding private of fitness program newly received in the cloud server statistics preset time period is taught by selection time
Number is taught according to private and carries out ranking to the fitness program newly received in preset time period by selection number, and selection number is obtained
Ranked list;
The cloud server is by the fitness program duration ranked list, fitness project quantity ranked list, fitness equipment
Material number of types ranked list and the selection number ranked list push to the body-building user terminal.
As described above, in this embodiment, the cloud server is right according to the bluetooth communication institute for sending User ID
The type for the fitness equipment answered determines this fitness project of user, includes the following steps:
The type search of cloud server fitness equipment according to corresponding to the bluetooth communication for sending User ID
Fitness project corresponding with the fitness equipment in the fitness program that user is currently executing;
The cloud server judge corresponding fitness project whether only one;
If it is, the cloud server is using the corresponding fitness project inquired as this body-building item of user
Mesh;
Otherwise, the corresponding fitness project inquired is pushed to body-building user terminal by the cloud server, according to strong
The selection of body user terminal determines this fitness project of user.
As shown in figure 3, the user movement data transmission method for private religion training of this embodiment of the invention further include as
Lower step:
When each disbursement and sattlement end cycle, the private religion deduction clearing task of cloud server starting;
The cloud server counts body-building expense of each body-building user in the disbursement and sattlement period;
For each body-building user, the cloud server counts what body-building user executed in the disbursement and sattlement period
The body-building duration of fitness program and body-building user in each fitness program, the body-building duration for calculating each fitness program account for
The percentage of body-building user total body-building duration within the disbursement and sattlement period;
By body-building user shared by body-building duration of the body-building expense in the body-building billing cycle multiplied by a fitness program
The percentage of total body-building duration, obtains expense of the body-building user in the fitness program;
It determines the corresponding private religion coach of the fitness program, searches private religion and train preset deduction coefficient;
By expense of the body-building user in the fitness program multiplied by the preset deduction coefficient, body-building user is obtained
In the fitness program, obtained deduction is trained in private religion.
It therefore,, can be with programming count user's when each disbursement and sattlement end cycle by using the method for the embodiment
Workout data and body-building expense, and can be according to the corresponding relationship between body-building duration and fitness program and private religion, automatically
Statistics obtains the deduction of each private religion at this stage, greatly reduces the workload of disbursement and sattlement, and calculation is fair public
Just, preferably private can be motivated to teach work incentive.
In this embodiment, the user movement data transmission method for private religion training further includes following steps:
Each private religion coach is counted in each disbursement and sattlement period, number and be good for that the fitness program formulated is selected
Body plan is performed the percentage finished;
If a private religion was trained in continuous three disbursement and sattlement periods, the fitness program formulated is working as previous disbursement and sattlement
The number selected in period is all larger than preset times, and within each disbursement and sattlement period, after fitness program is selected
The percentage being finished is all larger than 80%, then preset deduction coefficient is trained in private religion and improve a grade.Body-building herein
The percentage that plan is finished after being selected is all larger than 80%, refers in one cycle, such as the body-building meter of its formulation
It draws and has been selected m time (private teaches can formulate multiple fitness programs, and m times is each fitness program by selection number herein
It is cumulative), and there is m*80% selection fitness program to have been carried out in this m times and finish.
Pouplarity can be taught by private and degree that its fitness program is completed is taught work to private and commented
Valence, and incentive measure is set, coefficient of being deducted a percentage improves a grade, is equivalent to revenue growth.
Compared with prior art, using the user movement data transmission system and side trained for private religion in the invention
Method has the following beneficial effects:
(1) the user movement data transmission channel between user and private religion is established, data transmission channel corresponds to each use
The specific fitness program of family selection and establish, for each fitness program selected, establish select the user of the plan with
The exclusive data transmission channel between the coach of the plan is formulated, the workout data of user is targetedly sent to formulation and corresponds to
The private religion of fitness program, guarantees the safety and validity of the transmission of user for body-building data, the workout data of user will not be unrelated
Private religion acquired in, private religion will not obtain a large amount of invalid data and influence its judgement to user for body-building process;
(2) by the way that the fitness program of private religion formulation according to diversified forms ranking, is preferably showed each fitness program
Feature facilitates user to select according to their needs;
(3), can be with the workout data of programming count user and body-building expense when each disbursement and sattlement end cycle, and it can
With according to the corresponding relationship between body-building duration and fitness program and private religion, programming count obtains each private and teaches at this stage
Deduction, and can according to private teach the number and degree that fitness program select and completed, give performance it is good private teach with
Reward, forms effective incentive measure.
In this description, the present invention is described with reference to its specific embodiment.But it is clear that can still make
Various modifications and alterations are without departing from the spirit and scope of the invention.Therefore, the description and the appended drawings should be considered as illustrative
And not restrictive.