Summary of the invention
The invention provides a kind of device that is used to limit the time of televiewing, be mainly used in solve the prior art control mode single simple, can't promote the problem that the user strengthens physical training.
The present invention solves the problems of the technologies described above the technical scheme that is adopted: a kind of device that is used to limit the time of televiewing comprises: user's exercise data input module is used to gather user's amount of exercise information; The user can watch the duration calculation module, is used for the watched duration of said amount of exercise information translation for the user; And the user watches the duration monitoring module; The duration that televiews that is used for recording user; And watch duration relatively with said, and surpassing the said duration of watching when detecting the accumulative total duration that televiews, said user watches that the duration monitoring module sends and stops play instruction.
Wherein, said device further comprises: user log-in block, said user lands module and is used to be provided with user name and corresponding user cipher.
Wherein, said user's exercise data input module links to each other with amount of exercise statistics instrument, and reads the said user's of said amount of exercise statistics instrument statistics amount of exercise information.
Wherein, said user's amount of exercise information comprises the motion kind, tempers duration and exercise intensity.
Wherein, said amount of exercise statistics instrument comprises passometer, treadmills, bicycle odometer and spring-grip.
Wherein, said user's exercise data input module and said amount of exercise statistics instrument carries out communication through wireless transmission method.
Wherein, said user's exercise data input module and said amount of exercise statistics instrument carries out communication through wire transmission mode.
Wherein, said restriction watches that control module is used to receive the play instruction that stops that said user watches that the duration monitoring module sends, and the control television set gets into can't user mode, closes normal audio frequency and video output.
The present invention also provides a kind of restriction time method that televiews, and said method adopts above-mentioned being used to limit the device of the time of televiewing, and said method comprises the following steps:
S101: start said device, get into the user and land module and import username and password;
S102: the operating system of said device reads active user's the duration watched from database;
S103: judge whether the said duration of watching is 0, if not, then gets into step S108; If then get into step S104;
Whether S104: detecting user's exercise data input module has the data input; If not, then get into step S105; If then get into step S106;
S105: the operating system of said device ejects the prompting of asking the user to import exercise data or ask the user to strengthen taking exercise, and gets into step S109;
S106: read the amount of exercise information on said user's physical training data input module, the user can watch that the said amount of exercise information translation that the duration calculation module will collect is the corresponding said duration of watching;
S107: said user watches the duration monitoring module supervisory user duration that televiews, and compares with the said duration of watching;
S108: whether the judges accumulative total duration that televiews reaches the said duration of watching, if then get into step S104; If not, then get into step S107;
S109: start said restriction and watch control module, close normal audio frequency and video output.
Wherein, further comprising the steps of before step S101;
S100: a plurality of user accounts are set, and said a plurality of user accounts are carried out password setting, set up corresponding database according to said a plurality of user accounts simultaneously.
Compared with prior art; The present invention is used to limit the device of the time of watching and gathers the user movement amount information on the specific sport equipment through user's exercise data input module; Go out to exchange corresponding televiewed duration for according to user movement amount information calculations; User's televiewed duration is associated with individual sports time or intensity etc.; User's amount of exercise that duration depends on that this user has sports every day that can teleview every day prevents that the user from televiewing for a long time thereby reach, the purpose that can impel the user to strengthen physical training simultaneously.In addition, the present invention also has advantages such as simple in structure, easy to operate.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is a part of embodiment of the present invention, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
Please with reference to Fig. 1, the present invention provides a kind of device that is used to limit the time of televiewing, and comprises that the user logins 1, user's exercise data input module 2, user can watch that duration calculation module 3, user watch that duration monitoring module 4 and restriction watch control module 5.
The user lands module 1 and is used to be provided with user name and corresponding user cipher; In order to distinguish different user identity; In the operating system of said device, store corresponding user data and authority information in advance according to different user names; And set up corresponding database, different user data and authority information in the different user name correspondence database.
User's exercise data input module 2 links to each other with amount of exercise statistics instrument (not drawing among the figure), reads the user's of amount of exercise statistics instrument statistics amount of exercise information.The user uses the instrument with statistics amount of exercise function to have sports at the volley; According to motion kind and mode; Amount of exercise statistics instrument comprises passometer, treadmills, bicycle odometer and spring-grip; The amount of exercise information of this instrument statistics and recording user when the user performs physical exercises, user's amount of exercise information comprises the motion kind, tempers duration and exercise intensity.User's exercise data input module 2 can carry out communication through wireless transmission method with amount of exercise statistics instrument; Wireless transmission method comprises WIFI (Wireless Fidelity), RF (radio frequency) or bluetooth etc., and amount of exercise statistics instrument sends the amount of exercise information that writes down to user's exercise data input module 2 through wireless transmission.In addition; User's exercise data input module 2 also can carry out communication through wire transmission mode with amount of exercise statistics instrument; Mainly refer to pass through the USB transmission line and connect user's exercise data input module 2 and amount of exercise statistics instrument, amount of exercise statistics instrument sends the amount of exercise information that writes down to user's exercise data input module 2 through wire transmission.
The user can watch that duration calculation module 3 is used for the watched duration of amount of exercise information translation for the user.The user can watch the user's that duration calculation module 3 reception user exercise data input modules 2 send amount of exercise information; According to different motion kinds, temper duration and exercise intensity and calculate accordingly according to predefined standard meter and can watch duration; And this can be watched in the duration storage data storehouse, upgrade corresponding user data and authority information.
The user watches that duration monitoring module 4 is used for the duration that televiews of recording user, and in real time with can watch duration relatively, teleview duration accumulative total above watching duration when detecting accumulative total, then send and stop play instruction.
Restriction watches that control module 5 is used to receive the play instruction that stops that the user watches that duration monitoring module 4 sends, and the control television set gets into can't user mode, i.e. restriction watches that control module 5 closes normal audio frequency and video output.
The course of work of device that the present invention is used to limit the time of televiewing is following:
Appear for the first time and open this device; Get into user log-in block 1; The operating system of this device ejects user's login interface; The input username and password carries out authentication, verifies that successfully the back system extracts this user corresponding individual's configuration and authority information from database, comprising this user's the duration watched.
User's exercise data input module 2 links to each other with amount of exercise statistics instrument, and amount of exercise statistics instrument sends the user movement amount information that writes down to user through wired or wireless transmission means and tempers input module 2.When this user's the duration watched was 0, whether system detects user's exercise data input module 2 automatically had data inputs, if having then read the amount of exercise information on the amount of exercise statistics instrument; If do not have then system ejects the prompting ask the user to import exercise data or ask the user to strengthen physical training.
Then start the user and can watch duration calculation module 4; With the amount of exercise information that reads according to different motion kinds, temper duration and exercise intensity and calculate accordingly according to predefined standard meter and can watch duration; And this can be watched in the duration storage data storehouse, upgrade corresponding user data and authority information.
The user is in the process that televiews; The user watches that duration monitoring module 4 adds up this time that televiews automatically; And in real time with can watch duration relatively, surpass can watch duration the time when detecting the accumulative total duration accumulative total that televiews, whether duplicate detection user's exercise data input module 2 has data input; Watch control module 5 if no, then start restriction.
Restriction watches that control module controls that 5 television sets get into can't user mode, promptly closes normal audio frequency and video output.
The workflow that one of ordinary skill in the art will appreciate that the foregoing description is to accomplish through the relevant hardware of the operating system commands for controlling of this device, in the readable storage medium storing program for executing of this system stores and this device.
In sum; The device that is used to limit the time of watching according to the present invention is through the user movement amount information on user's exercise data input module collection specific sport equipment; Go out to exchange corresponding televiewed duration for according to user movement amount information calculations; User's televiewed duration is associated with individual sports time or intensity etc.; User's amount of exercise that duration depends on that this user has sports every day that can teleview every day prevents that the user from televiewing for a long time thereby reach, the purpose that can impel the user to strengthen physical training simultaneously.The present invention also has advantages such as simple in structure, easy to operate.
The present invention also provides a kind of restriction time method that televiews, and this method adopts above-mentioned being used to limit the device of the time of televiewing, and this method comprises the following steps:
Wherein, further comprising the steps of before step S101;
S100: a plurality of user accounts are set, and said a plurality of user accounts are carried out password setting, store corresponding user data and authority information according to said a plurality of user accounts simultaneously, and set up corresponding database.
S101: start said device, get into the user and land module and import username and password;
In this step, identity informations such as username and password are verified the successfully operating system of the said device of back entering.
S102: the operating system of said device reads active user's the duration watched from database;
In this step, the operating system of said device is extracted this user corresponding individual's configuration and authority information from database, comprising this user's the duration watched.
S103: judge whether the said duration of watching is 0, if not, then gets into step S108; If then get into step S104;
Whether S104: detecting user's exercise data input module has the data input; If not, then get into step S105; If then get into step S106;
In this step, user's exercise data input module links to each other with amount of exercise statistics instrument, and amount of exercise statistics instrument sends the user movement amount information that writes down to user through wired or wireless transmission means and tempers input module.
S105: the operating system of said device ejects the prompting of asking the user to import exercise data or ask the user to strengthen taking exercise, and gets into step S109;
S106: read the amount of exercise information on said user's physical training data input module, the user can watch that the said amount of exercise information translation that the duration calculation module will collect is the corresponding said duration of watching;
In this step; The user can watch the duration calculation module with the amount of exercise information that reads according to different motion kinds, temper duration and exercise intensity and calculate accordingly according to predefined standard meter and can watch duration; And this can be watched in the duration storage data storehouse, upgrade corresponding user data and authority information.
S107: said user watches the duration monitoring module supervisory user duration that televiews, and compares with the said duration of watching;
S108: whether the judges accumulative total duration that televiews reaches the said duration of watching, if then get into step S104; If not, then get into step S107;
S109: start said restriction and watch control module, close normal audio frequency and video output.
The all or part of step that one of ordinary skill in the art will appreciate that the method for the foregoing description is to accomplish through the relevant hardware of the operating system commands for controlling of this device, in the readable storage medium storing program for executing of this system stores and this device.
In sum; According to of the present invention be used to limit watch that time method passes through user's exercise data input module and gather the user movement amount information on the specific sport equipment; Provide the televiewed duration that can exchange correspondence for according to user movement amount information; User's televiewed duration is associated with individual sports time or intensity etc.; User's amount of exercise that duration depends on that this user has sports every day that can teleview every day prevents that the user from televiewing for a long time thereby reach, the purpose that can impel the user to strengthen physical training simultaneously.
More than be merely embodiments of the invention; Be not so limit claim of the present invention; Every equivalent structure or equivalent flow process conversion that utilizes specification of the present invention and accompanying drawing content to be done; Or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.