CN109408349A - Anti-addiction method and device based on smart watch, smart watch and storage medium - Google Patents
Anti-addiction method and device based on smart watch, smart watch and storage medium Download PDFInfo
- Publication number
- CN109408349A CN109408349A CN201811166835.9A CN201811166835A CN109408349A CN 109408349 A CN109408349 A CN 109408349A CN 201811166835 A CN201811166835 A CN 201811166835A CN 109408349 A CN109408349 A CN 109408349A
- Authority
- CN
- China
- Prior art keywords
- smartwatch
- addiction
- application programs
- step number
- state
- 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.)
- Pending
Links
- 206010012335 Dependence Diseases 0.000 title claims abstract description 111
- 238000000034 method Methods 0.000 title claims abstract description 40
- 238000012544 monitoring process Methods 0.000 claims abstract description 19
- 238000004590 computer program Methods 0.000 claims description 13
- 230000015654 memory Effects 0.000 claims description 7
- 230000000694 effects Effects 0.000 abstract description 12
- 230000002265 prevention Effects 0.000 abstract 2
- 230000006870 function Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- GOLXNESZZPUPJE-UHFFFAOYSA-N spiromesifen Chemical compound CC1=CC(C)=CC(C)=C1C(C(O1)=O)=C(OC(=O)CC(C)(C)C)C11CCCC1 GOLXNESZZPUPJE-UHFFFAOYSA-N 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3409—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment
- G06F11/3419—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment by assessing time
-
- G—PHYSICS
- G04—HOROLOGY
- G04G—ELECTRONIC TIME-PIECES
- G04G21/00—Input or output devices integrated in time-pieces
- G04G21/02—Detectors of external physical values, e.g. temperature
- G04G21/025—Detectors of external physical values, e.g. temperature for measuring physiological data
Landscapes
- Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Computer Hardware Design (AREA)
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Biophysics (AREA)
- General Health & Medical Sciences (AREA)
- Physiology (AREA)
- Telephone Function (AREA)
Abstract
The invention is suitable for the technical field of intelligent electronic products, and provides an anti-addiction method and device based on an intelligent watch, the intelligent watch and a storage medium, wherein the method comprises the following steps: when a starting request for starting an entertainment application program in the intelligent watch is received, acquiring the program state of the entertainment application program and the current walking step number of a user of the intelligent watch, starting the entertainment application program when the program state is the closed state and the current walking step number reaches a step number threshold value, monitoring the running time of a foreground of the entertainment application program, and closing the entertainment application program when the running time of the foreground is monitored to reach the running time threshold value, so that the humanized degree of addiction prevention is improved in a mode of combining entertainment and motion, and the addiction prevention effect is further improved.
Description
Technical field
The invention belongs to smart electronics product technical field more particularly to a kind of Anti-addiction method based on smartwatch,
Device, smartwatch and storage medium.
Background technique
With the development of the communication technology and mobile Internet, intelligent terminal is also integrated with other than basic communication function
Many amusement functions, for example surf the Internet, play game, chat, see video etc., these amusement functions abundant make many minors
And adult's addiction is wherein, affects normal study and work.
Intelligent terminal is used with more minors is increasingly carried out, and the self-control of minor is poor, therefore, father
The duration that minor uses recreational application programs can be arranged in mother, prevent the minor from excessively indulging in intelligent terminal with this
Amusement function.However, will cause when recreational application programs are in running background and use duration timing not to recreational application programs
Accurate problem, meanwhile, such mode needs parent to supervise, and even needs to prevent minor whole using intelligence by force sometimes
End, be easy to cause minor to dislike, therefore, such mode can not effectively not improve minor to intelligent terminal according to
Rely, the Anti-addiction effect played is also bad.
Summary of the invention
The purpose of the present invention is to provide a kind of Anti-addiction method, apparatus, smartwatch and storage based on smartwatch
Medium, it is intended to solve that a kind of effective Anti-addiction method can not be provided due to the prior art, cause Anti-addiction control hommization it is low,
The ineffective problem of Anti-addiction.
On the one hand, the Anti-addiction method based on smartwatch that the present invention provides a kind of, the method includes the following steps:
When receiving the starting opened to recreational application programs in smartwatch request, the entertainment applications are obtained
The program state of program, described program state include closed state, disabled status and operating status;
When described program state is in off state, the current line for obtaining smartwatch user walks step number;
When the current line, which walks step number, reaches preset step threshold, start the recreational application programs, by the journey
Sequence state is set as operating status, and walks step number to the current line and reset, and to the foreground of the recreational application programs
Operation duration is monitored;
When monitoring that the front stage operation duration reaches preset operation duration threshold value, the entertainment applications journey is closed
Described program state is set to off closed state by sequence.
Preferably, after the step of described program state being set to off closed state, the method also includes:
The current Anti-addiction for obtaining the smartwatch enables number, and the current Anti-addiction that will acquire enabled time
Number increases by 1 time;
Judge that the current Anti-addiction enables whether number reaches the enabled threshold value of preset Anti-addiction, is then, by the journey
Sequence state is set as disabled status, and enables number to the current Anti-addiction and reset.
Preferably, before the step of obtaining the program state of the recreational application programs, the method also includes:
The Anti-addiction configuration information of the smartwatch is set by the mobile terminal being connect with the smartwatch
It sets, the Anti-addiction configuration information includes that the Anti-addiction enables threshold value, the step threshold and the operation duration threshold value.
Preferably, before the step of obtaining the program state of the recreational application programs, the method also includes:
The described program state of the recreational application programs is monitored;
When described program state is closing or disabled status, the walking step number of the smartwatch user is counted
Number;
When described program state is operating status, stop the counting to the walking step number.
Preferably, after the step of current line of acquisition smartwatch user walks step number, start the recreational application programs
The step of before, the method also includes:
When the current line walks step number less than the step threshold, step number and the step number threshold are walked according to the current line
Value calculates remaining step number needed for starting the recreational application programs;
According to the remaining step number, voice reminder is carried out to the smartwatch user.
On the other hand, the present invention provides a kind of Anti-addiction device based on smartwatch, described device include:
Program state acquiring unit is asked for that ought receive the starting opened to recreational application programs in smartwatch
When asking, the program state of the recreational application programs is obtained, described program state includes closed state, disabled status and operation
State;
Walking step number acquiring unit, for obtaining working as smartwatch user when described program state is in off state
Move ahead away step number;
Application program launching unit, for when the current line walks step number and reaches preset step threshold, described in starting
Recreational application programs set operating status for described program state, and walk step number to the current line and reset, and to institute
The front stage operation duration for stating recreational application programs is monitored;And
Closing application program unit monitors that the front stage operation duration reaches preset operation duration threshold value for working as
When, the recreational application programs are closed, described program state is set to off closed state.
Preferably, described device further include:
Enabled number acquiring unit, the current Anti-addiction for obtaining the smartwatch enables number, and will acquire
The current Anti-addiction enable number increase by 1 time;
Enabled frequency judging unit makes for judging whether the enabled number of the current Anti-addiction reaches preset Anti-addiction
Energy threshold value is then, to set disabled status for described program state, and enable number to the current Anti-addiction and reset;
Configuration information setting unit, for the mobile terminal by being connect with the smartwatch to the smartwatch
Anti-addiction configuration information is configured, and the Anti-addiction configuration information includes that the Anti-addiction enables threshold value, the step threshold
And the operation duration threshold value;
Program state monitoring unit is monitored for the described program state to the recreational application programs;
Walking step number counting unit is used for when described program state is closing or disabled status, to the intelligent hand
The walking step number of table user counts;
Stop unit is counted, for when described program state is operating status, stopping the counting to the walking step number;
Remaining step number computing unit, for being worked as according to described when the current line walks step number less than the step threshold
The step number that moves ahead away and the step threshold calculate remaining step number needed for starting the recreational application programs;And
Voice reminder unit, for carrying out voice reminder to the smartwatch user according to the remaining step number.
On the other hand, the present invention also provides a kind of smartwatch, including memory, processor and it is stored in described deposit
In reservoir and the computer program that can run on the processor, the processor are realized such as when executing the computer program
Step described in the above-mentioned Anti-addiction method based on smartwatch.
On the other hand, the present invention also provides a kind of computer readable storage medium, the computer readable storage mediums
It is stored with computer program, such as the above-mentioned Anti-addiction side based on smartwatch is realized when the computer program is executed by processor
Step described in method.
The present invention obtains amusement and answers when receiving the starting opened to recreational application programs in smartwatch request
Step number is walked with the current line of the program state of program and smartwatch user, when program state is in off state and current line walking
When number reaches step threshold, starts recreational application programs, and be monitored to the front stage operation duration of recreational application programs, work as prison
When measuring front stage operation duration and reaching operation duration threshold value, recreational application programs are closed, thus by entertaining and movement combines
Mode, improve the humanization level of Anti-addiction, and then improve Anti-addiction effect.
Detailed description of the invention
Fig. 1 is the implementation flow chart for the Anti-addiction method based on smartwatch that the embodiment of the present invention one provides;
Fig. 2 is the implementation flow chart of the Anti-addiction method provided by Embodiment 2 of the present invention based on smartwatch;
Fig. 3 is the structural schematic diagram for the Anti-addiction device based on smartwatch that the embodiment of the present invention three provides;
Fig. 4 is the structural schematic diagram for the Anti-addiction device based on smartwatch that the embodiment of the present invention four provides;
Fig. 5 is the structural schematic diagram for the Anti-addiction device based on smartwatch that the embodiment of the present invention five provides;And
Fig. 6 is the structural schematic diagram for the smartwatch that the embodiment of the present invention six provides.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
Specific implementation of the invention is described in detail below in conjunction with specific embodiment:
Embodiment one:
Fig. 1 shows the implementation process of the Anti-addiction method based on smartwatch of the offer of the embodiment of the present invention one, in order to
Convenient for explanation, only parts related to embodiments of the present invention are shown, and details are as follows:
In step s101, it when receiving the starting opened to recreational application programs in smartwatch request, obtains
The program state of recreational application programs is taken, program state includes closed state, disabled status and operating status.
The embodiment of the present invention is suitable for intelligent terminal, smartwatch, for example, phone wrist-watch.In embodiments of the present invention, intelligence
Energy wrist-watch user sends the starting for opening the recreational application programs by clicking the recreational application programs being mounted in smartwatch
Request, or input by voice the title of some recreational application programs, opens the recreational application programs with request, when receiving
When the starting opened to recreational application programs is requested, the program state of recreational application programs is obtained, program state includes closing
Closed state, disabled status and operating status, wherein closed state is that recreational application programs are currently not gated on, disabled status
Forbid being turned on the day of for recreational application programs, recreational application programs refer to have surf the Internet, chat, see video, reading novel or
The application program of the amusement functions such as person's game, the recreational application programs of the embodiment of the present invention are one or more different amusement functions
Application program.
After the program state for obtaining recreational application programs, it is preferable that when program state is illegal state, pass through voice
Or the alerting pattern of prompting frame carries out disabling prompting to smartwatch user, to improve the intelligence degree of smartwatch.
In embodiments of the present invention, it is preferable that the program state of recreational application programs is monitored, is monitored with basis
Program state perform corresponding processing, to improve the intelligence degree and Anti-addiction effect of smartwatch.
In step s 102, when program state is in off state, the current line for obtaining smartwatch user walks step number.
In embodiments of the present invention, by the step-counting sensor in smartwatch to the walking step number of smartwatch user or
Person moves step number and counts, and walks step number to obtain the current line of smartwatch user.
In step s 103, when current line, which walks step number, reaches preset step threshold, start recreational application programs, by journey
Sequence state is set as operating status, and walks step number to current line and reset, and to the front stage operation duration of recreational application programs
It is monitored.
In embodiments of the present invention, when the current line of smartwatch user walk step number reach preset step threshold (for example,
8000 steps) when, start recreational application programs, set operating status for program state, and reset current line walk step number (for example,
Current line is walked step number to be set as 0), and the front stage operation duration of recreational application programs is monitored, recreational application programs
Front stage operation duration refers to that recreational application programs occupy the duration that smartwatch screen front end is run.
Before starting recreational application programs, it is preferable that when current line walks step number less than step threshold, according to current line
Step number and step threshold are walked, (i.e. current line walks step number and step threshold to remaining step number needed for calculating starting recreational application programs
Difference absolute value), by the voice broadcast residue step number, to remind smartwatch user, to improve intelligence
The intelligence degree of wrist-watch.
In embodiments of the present invention, it is preferable that when the program state for monitoring recreational application programs is operating status, intelligence
Step-counting sensor stopping in energy wrist-watch counts the walking step number of smartwatch user, to improve to walking pedometer
Several preciseness, and then improve Anti-addiction effect.
In step S104, when monitoring that front stage operation duration reaches preset operation duration threshold value, closes amusement and answer
With program, program state is set to off closed state.
In embodiments of the present invention, when monitoring that front stage operation duration reaches preset operation duration threshold value (for example, 30 points
Clock) when, it will just be closed in the recreational application programs of smartwatch front end operation, and program state is set off shape
State.
In embodiments of the present invention, it is preferable that when the program state for monitoring recreational application programs is in off state, lead to
The step-counting sensor crossed in smartwatch counts the walking step number of smartwatch user, to improve to walking pedometer
Several preciseness, and then improve Anti-addiction effect.
In embodiments of the present invention, when receiving the starting request opened to recreational application programs in smartwatch
When, the current line of the program state and smartwatch user that obtain recreational application programs walks step number, when program state is to close shape
When state and current line walk step number and reach step threshold, start recreational application programs, and when to the front stage operation of recreational application programs
Length is monitored, and when monitoring that front stage operation duration reaches operation duration threshold value, recreational application programs is closed, to pass through joy
It is happy to move the mode combined, the humanization level of Anti-addiction is improved, and then improve Anti-addiction effect.
Embodiment two:
The implementation process for the Anti-addiction method based on smartwatch that Fig. 2 shows provided by Embodiment 2 of the present invention, in order to
Convenient for explanation, only parts related to embodiments of the present invention are shown, and details are as follows:
In step s 201, by the mobile terminal that is connect with smartwatch to the Anti-addiction configuration information of smartwatch into
Row setting, Anti-addiction configuration information include that Anti-addiction enables threshold value, step threshold and operation duration threshold value.
In embodiments of the present invention, firstly, mobile terminal user passes through WiFi or bluetooth or hot spot for mobile terminal
It is connected with smartwatch, later, mobile terminal user is carried out by Anti-addiction configuration information of the mobile terminal to smartwatch
Setting, Anti-addiction configuration information includes that Anti-addiction enables threshold value, step threshold and operation duration threshold value, so that smartwatch
Corresponding Anti-addiction processing is carried out according to the Anti-addiction configuration information, to prevent smartwatch user from indulging in smartwatch
Recreational application programs, improve the humanization level of Anti-addiction.
Preferably, Anti-addiction configuration information further include lift a ban duration threshold value (i.e. recreational application programs disabled status continue
Duration) or ban time (time for being in off state disabled state setting), to further increase Anti-addiction
Humanization level.
In step S202, when receiving the starting opened to recreational application programs in smartwatch request, obtain
The program state of recreational application programs is taken, program state includes closed state, disabled status and operating status.
In step S203, when program state is in off state, the current line for obtaining smartwatch user walks step number.
In step S204, when current line, which walks step number, reaches preset step threshold, start recreational application programs, by journey
Sequence state is set as operating status, and walks step number to current line and reset, and to the front stage operation duration of recreational application programs
It is monitored.
In step S205, when monitoring that front stage operation duration reaches preset operation duration threshold value, closes amusement and answer
With program, program state is set to off closed state.
In embodiments of the present invention, the step of specific embodiment of step S202- step S205 can refer to embodiment one
The description of S101- step S104, details are not described herein.
In step S206, the current Anti-addiction for obtaining smartwatch enables number, and the current Anti-addiction that will acquire
Enabled number increases by 1 time.
In embodiments of the present invention, it is that the recreational application programs in same day smartwatch are being worked as that current Anti-addiction, which enables number,
The preceding number being turned on increases by 1 time on the basis of the current Anti-addiction got enables number, to determine recreational application programs
Opening times whether reached Anti-addiction enable threshold value.
In step S207, judges that current Anti-addiction enables whether number reaches the enabled threshold value of Anti-addiction, be then, to execute step
Otherwise rapid S208 jumps to step S202.
In step S208, disabled status is set by program state, and number is enabled to current Anti-addiction and is reset.
In embodiments of the present invention, reach the enabled threshold value of preset Anti-addiction (for example, 5 when current Anti-addiction enables number
It is secondary) when, disabled status is set by the program state of the recreational application programs, to force smartwatch user that cannot lead on the day of
It crosses refreshing walking step number and is then turned on recreational application programs, prevent smartwatch user from indulging in recreational application programs to play
Effect.
In embodiments of the present invention, it is preferable that when the program state for monitoring recreational application programs is disabled status, lead to
The step-counting sensor crossed in smartwatch counts the walking step number of smartwatch user, to improve to walking pedometer
Several preciseness, and then improve Anti-addiction effect.
After setting disabled status for program state, it is preferable that supervised to the disabling duration of recreational application programs
Survey, when monitor disabling duration reach it is preset lift a ban duration threshold value when, or monitor to reach preset ban time (example
Such as, second day 9:00) when, program state is set to off closed state, to improve the humanization level of Anti-addiction.
In embodiments of the present invention, smartwatch opens joy to the walking step number of smartwatch user and smartwatch user
The number of happy application program and the operation duration of recreational application programs are monitored, and according to the shifting connecting with smartwatch
Dynamic terminal carries out corresponding Anti-addiction processing to the Anti-addiction configuration information that smartwatch is arranged, and realizes that smartwatch user only has
The walking step number for reaching certain could open recreational application programs, and number and the amusement of recreational application programs were opened to the same day
The each run duration of application program is limited, and is avoided smartwatch user and is excessively indulged in recreational application programs, thus
By way of this strike a proper balance between work and rest, the humanization level of Anti-addiction is improved, and then improve Anti-addiction effect.
Embodiment three:
Fig. 3 shows the structure of the Anti-addiction device based on smartwatch of the offer of the embodiment of the present invention three, for the ease of
Illustrate, only parts related to embodiments of the present invention are shown, including:
Program state acquiring unit 31 receives the starting opened to recreational application programs in smartwatch for working as
When request, the program state of recreational application programs is obtained, program state includes closed state, disabled status and operating status.
The embodiment of the present invention is suitable for intelligent terminal, smartwatch, for example, phone wrist-watch.In embodiments of the present invention, intelligence
Energy wrist-watch user sends the starting for opening the recreational application programs by clicking the recreational application programs being mounted in smartwatch
Request, or input by voice the title of some recreational application programs, opens the recreational application programs with request, when receiving
When the starting opened to recreational application programs is requested, the program state of recreational application programs is obtained, program state includes closing
Closed state, disabled status and operating status, wherein closed state is that recreational application programs are currently not gated on, disabled status
Forbid being turned on the day of for recreational application programs, recreational application programs refer to have surf the Internet, chat, see video, reading novel or
The application program of the amusement functions such as person's game, the recreational application programs of the embodiment of the present invention are one or more different amusement functions
Application program.
After the program state for obtaining recreational application programs, it is preferable that when program state is illegal state, pass through voice
Or the alerting pattern of prompting frame carries out disabling prompting to smartwatch user, to improve the intelligence degree of smartwatch.
Walking step number acquiring unit 32, for obtaining the current of smartwatch user when program state is in off state
Walking step number.
In embodiments of the present invention, by the step-counting sensor in smartwatch to the walking step number of smartwatch user or
Person moves step number and counts, and walks step number to obtain the current line of smartwatch user.
Application program launching unit 33, for when current line walks step number and reaches preset step threshold, starting amusement to be answered
With program, set operating status for program state, and step number walked to current line and is reset, and to recreational application programs before
Platform operation duration is monitored.
In embodiments of the present invention, when the current line of smartwatch user walk step number reach preset step threshold (for example,
8000 steps) when, start recreational application programs, set operating status for program state, and reset current line walk step number (for example,
Current line is walked step number to be set as 0), and the front stage operation duration of recreational application programs is monitored, recreational application programs
Front stage operation duration refers to that recreational application programs occupy the duration that smartwatch screen front end is run.
Closing application program unit 34, for when monitoring that front stage operation duration reaches preset operation duration threshold value,
Recreational application programs are closed, program state is set to off closed state.
In embodiments of the present invention, when monitoring that front stage operation duration reaches preset operation duration threshold value (for example, 30 points
Clock) when, it will just be closed in the recreational application programs of smartwatch front end operation, and program state is set off shape
State.
In embodiments of the present invention, each unit of the Anti-addiction device based on smartwatch can be by corresponding hardware or software
Unit realizes that each unit can be independent soft and hardware unit, also can integrate as a soft and hardware unit, herein not to
The limitation present invention.
Example IV:
Fig. 4 shows the structure of the Anti-addiction device based on smartwatch of the offer of the embodiment of the present invention four, for the ease of
Illustrate, only parts related to embodiments of the present invention are shown, including:
Program state acquiring unit 41 receives the starting opened to recreational application programs in smartwatch for working as
When request, the program state of recreational application programs is obtained, program state includes closed state, disabled status and operating status;
Walking step number acquiring unit 42, for obtaining the current of smartwatch user when program state is in off state
Walking step number;
Remaining step number computing unit 43, for walking step number according to current line when current line walks step number less than step threshold
And step threshold, remaining step number needed for calculating starting recreational application programs;And
Voice reminder unit 44, for carrying out voice reminder to smartwatch user according to remaining step number.
In embodiments of the present invention, each unit of the Anti-addiction device based on smartwatch can be by corresponding hardware or software
Unit realizes that each unit can be independent soft and hardware unit, also can integrate as a soft and hardware unit, herein not to
The limitation present invention.Specifically, the embodiment of each unit can refer to the description of preceding method embodiment, and details are not described herein.
Embodiment five:
Fig. 5 shows the structure of the Anti-addiction device based on smartwatch of the offer of the embodiment of the present invention five, for the ease of
Illustrate, only parts related to embodiments of the present invention are shown, including:
Configuration information setting unit 50, for the mobile terminal by being connect with smartwatch to the Anti-addiction of smartwatch
Configuration information is configured, and Anti-addiction configuration information includes that Anti-addiction enables threshold value, step threshold and operation duration threshold value;
Program state monitoring unit 51 is monitored for the program state to recreational application programs;
Program state acquiring unit 52 receives the starting opened to recreational application programs in smartwatch for working as
When request, the program state of recreational application programs is obtained, program state includes closed state, disabled status and operating status;
Walking step number acquiring unit 53, for obtaining the current of smartwatch user when program state is in off state
Walking step number;
Application program launching unit 54, for when current line walks step number and reaches preset step threshold, starting amusement to be answered
With program, set operating status for program state, and step number walked to current line and is reset, and to recreational application programs before
Platform operation duration is monitored;
Stop unit 55 is counted, for stopping the counting to walking step number when program state is operating status;
Closing application program unit 56, for when monitoring that front stage operation duration reaches preset operation duration threshold value,
Recreational application programs are closed, program state is set to off closed state;
Walking step number counting unit 57 is used for when program state is closing or disabled status, to smartwatch user
Walking step number counted;
Enabled number acquiring unit 58, the current Anti-addiction for obtaining smartwatch enable number, and will acquire
Current Anti-addiction enables number and increases by 1 time;And
Enabled frequency judging unit 59, for judging it is enabled whether the enabled number of current Anti-addiction reaches preset Anti-addiction
Threshold value is then, to set disabled status for program state, and enable number to current Anti-addiction and reset.
In embodiments of the present invention, each unit of the Anti-addiction device based on smartwatch can be by corresponding hardware or software
Unit realizes that each unit can be independent soft and hardware unit, also can integrate as a soft and hardware unit, herein not to
The limitation present invention.Specifically, the embodiment of each unit can refer to the description of preceding method embodiment, and details are not described herein.
Embodiment six:
Fig. 6 shows the structure of the smartwatch of the offer of the embodiment of the present invention six, for ease of description, illustrates only and this
The relevant part of inventive embodiments.
The smartwatch 6 of the embodiment of the present invention includes processor 60, memory 61 and is stored in memory 61 and can
The computer program 62 run on processor 60.The processor 60 is realized above-mentioned based on intelligent hand when executing computer program 62
Step in the Anti-addiction embodiment of the method for table, such as step S101 to S104 shown in FIG. 1.Alternatively, processor 60 executes meter
The function of each unit in above-mentioned each Installation practice, such as the function of unit 31 to 34 shown in Fig. 3 are realized when calculation machine program 62.
In embodiments of the present invention, when receiving the starting request opened to recreational application programs in smartwatch
When, the current line of the program state and smartwatch user that obtain recreational application programs walks step number, when program state is to close shape
When state and current line walk step number and reach step threshold, start recreational application programs, and when to the front stage operation of recreational application programs
Length is monitored, and when monitoring that front stage operation duration reaches operation duration threshold value, recreational application programs is closed, to pass through joy
It is happy to move the mode combined, the humanization level of Anti-addiction is improved, and then improve Anti-addiction effect.
The smartwatch of the embodiment of the present invention can be phone wrist-watch.Processor 60 executes computer in the smartwatch 6
The step of realizing when realizing the Anti-addiction method based on smartwatch when program 62 can refer to the description of preceding method embodiment,
This is repeated no more.
Embodiment seven:
In embodiments of the present invention, a kind of computer readable storage medium is provided, which deposits
Computer program is contained, which realizes that the above-mentioned Anti-addiction method based on smartwatch is implemented when being executed by processor
Step in example, for example, step S101 to S104 shown in FIG. 1.Alternatively, on being realized when the computer program is executed by processor
The function of each unit in each Installation practice is stated, such as the function of unit 31 to 34 shown in Fig. 3.
In embodiments of the present invention, when receiving the starting request opened to recreational application programs in smartwatch
When, the current line of the program state and smartwatch user that obtain recreational application programs walks step number, when program state is to close shape
When state and current line walk step number and reach step threshold, start recreational application programs, and when to the front stage operation of recreational application programs
Length is monitored, and when monitoring that front stage operation duration reaches operation duration threshold value, recreational application programs is closed, to pass through joy
It is happy to move the mode combined, the humanization level of Anti-addiction is improved, and then improve Anti-addiction effect.
The computer readable storage medium of the embodiment of the present invention may include can carry computer program code any
Entity or device, recording medium, for example, the memories such as ROM/RAM, disk, CD, flash memory.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.
Claims (12)
1. a kind of Anti-addiction method based on smartwatch, which is characterized in that the method includes the following steps:
When receiving the starting opened to recreational application programs in smartwatch request, the recreational application programs are obtained
Program state, described program state includes closed state, disabled status and operating status;
When described program state is in off state, the current line for obtaining smartwatch user walks step number;
When the current line, which walks step number, reaches preset step threshold, start the recreational application programs, by described program shape
State is set as operating status, and walks step number to the current line and reset, and to the front stage operation of the recreational application programs
Duration is monitored;
When monitoring that the front stage operation duration reaches preset operation duration threshold value, the recreational application programs are closed, it will
Described program state is set to off closed state.
2. the method as described in claim 1, which is characterized in that the step of described program state is set to off closed state it
Afterwards, the method also includes:
The current Anti-addiction for obtaining the smartwatch enables number, and the enabled number of the current Anti-addiction that will acquire increases
Add 1 time;
Judge that the current Anti-addiction enables whether number reaches the enabled threshold value of preset Anti-addiction, is then, by described program shape
State is set as disabled status, and enables number to the current Anti-addiction and reset.
3. method according to claim 2, which is characterized in that the step of obtaining the program state of the recreational application programs it
Before, the method also includes:
The Anti-addiction configuration information of the smartwatch is configured by the mobile terminal being connect with the smartwatch, institute
Stating Anti-addiction configuration information includes that the Anti-addiction enables threshold value, the step threshold and the operation duration threshold value.
4. the method as described in claim 1, which is characterized in that the step of obtaining the program state of the recreational application programs it
Before, the method also includes:
The described program state of the recreational application programs is monitored;
When described program state is closing or disabled status, the walking step number of the smartwatch user is counted;
When described program state is operating status, stop the counting to the walking step number.
5. the method as described in claim 1, which is characterized in that obtain smartwatch user current line the step of walking step number it
Afterwards, before the step of starting the recreational application programs, the method also includes:
When the current line walks step number less than the step threshold, step number and the step threshold are walked according to the current line,
Calculate remaining step number needed for starting the recreational application programs;
According to the remaining step number, voice reminder is carried out to the smartwatch user.
6. a kind of Anti-addiction device based on smartwatch, which is characterized in that described device includes:
Program state acquiring unit, for working as the starting request for receiving and being opened to recreational application programs in smartwatch
When, the program state of the recreational application programs is obtained, described program state includes closed state, disabled status and operation shape
State;
Walking step number acquiring unit, for obtaining the current line of smartwatch user when described program state is in off state
Walk step number;
Application program launching unit, for starting the amusement when the current line walks step number and reaches preset step threshold
Application program sets operating status for described program state, and resets to the current line is walked step number, and to described
The front stage operation duration of recreational application programs is monitored;And
Closing application program unit, for closing when monitoring that the front stage operation duration reaches preset operation duration threshold value
The recreational application programs are closed, described program state is set to off closed state.
7. device as claimed in claim 6, which is characterized in that described device further include:
Enabled number acquiring unit, the current Anti-addiction for obtaining the smartwatch enable number, and the institute that will acquire
It states current Anti-addiction and enables number increase by 1 time;And
Enabled frequency judging unit, for judging that the current Anti-addiction enables whether number reaches the enabled threshold of preset Anti-addiction
Value is then, to set disabled status for described program state, and enable number to the current Anti-addiction and reset.
8. device as claimed in claim 7, which is characterized in that described device further include:
Configuration information setting unit, for the mobile terminal by being connect with the smartwatch to the anti-settling of the smartwatch
Fan configuration information be configured, the Anti-addiction configuration information include the Anti-addiction enable threshold value, the step threshold and
The operation duration threshold value.
9. device as claimed in claim 6, which is characterized in that described device further include:
Program state monitoring unit is monitored for the described program state to the recreational application programs;
Walking step number counting unit, for using the smartwatch when described program state is closing or disabled status
The walking step number at family is counted;And
Stop unit is counted, for when described program state is operating status, stopping the counting to the walking step number.
10. device as claimed in claim 6, which is characterized in that described device further include:
Remaining step number computing unit, for when the current line walks step number less than the step threshold, according to the current line
Step number and the step threshold are walked, remaining step number needed for starting the recreational application programs is calculated;And
Voice reminder unit, for carrying out voice reminder to the smartwatch user according to the remaining step number.
11. a kind of smartwatch, including memory, processor and storage are in the memory and can be on the processor
The computer program of operation, which is characterized in that the processor realizes such as claim 1 to 5 when executing the computer program
The step of any one the method.
12. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists
In when the computer program is executed by processor the step of any one of such as claim 1 to 5 of realization the method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811166835.9A CN109408349A (en) | 2018-09-30 | 2018-09-30 | Anti-addiction method and device based on smart watch, smart watch and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811166835.9A CN109408349A (en) | 2018-09-30 | 2018-09-30 | Anti-addiction method and device based on smart watch, smart watch and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109408349A true CN109408349A (en) | 2019-03-01 |
Family
ID=65466060
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811166835.9A Pending CN109408349A (en) | 2018-09-30 | 2018-09-30 | Anti-addiction method and device based on smart watch, smart watch and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109408349A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110058899A (en) * | 2019-03-30 | 2019-07-26 | 惠州市惠泽电器有限公司 | Autonomous unlocking type Anti-addiction method based on smartwatch |
CN110569116A (en) * | 2019-08-23 | 2019-12-13 | 深圳五洲无线股份有限公司 | Management method for intelligent device application program |
CN110569087A (en) * | 2019-09-09 | 2019-12-13 | 深圳五洲无线股份有限公司 | method for stimulating motion based on application program |
CN111359224A (en) * | 2020-03-02 | 2020-07-03 | 广东小天才科技有限公司 | Method for acquiring addiction index |
CN111857243A (en) * | 2019-04-29 | 2020-10-30 | 奇酷互联网络科技(深圳)有限公司 | Monitoring method of wearable device, wearable device and computer storage medium |
CN112508348A (en) * | 2020-11-17 | 2021-03-16 | 珠海读书郎网络教育有限公司 | Child watch use management system and method |
CN114330769A (en) * | 2021-12-24 | 2022-04-12 | 深圳优地科技有限公司 | Robot fault early warning method and device, robot and server |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105827869A (en) * | 2016-05-26 | 2016-08-03 | 广东欧珀移动通信有限公司 | Anti-addiction method for mobile terminal, anti-addiction device for mobile terminal, and mobile terminal |
CN105872247A (en) * | 2016-05-26 | 2016-08-17 | 广东欧珀移动通信有限公司 | Application anti-addiction method and device as well as mobile terminal |
CN106650263A (en) * | 2016-12-23 | 2017-05-10 | 广东乐心医疗电子股份有限公司 | Method, device and system for controlling use time of electronic equipment according to motion quantity |
CN106681769A (en) * | 2016-12-29 | 2017-05-17 | 宇龙计算机通信科技(深圳)有限公司 | Application control method and terminal |
-
2018
- 2018-09-30 CN CN201811166835.9A patent/CN109408349A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105827869A (en) * | 2016-05-26 | 2016-08-03 | 广东欧珀移动通信有限公司 | Anti-addiction method for mobile terminal, anti-addiction device for mobile terminal, and mobile terminal |
CN105872247A (en) * | 2016-05-26 | 2016-08-17 | 广东欧珀移动通信有限公司 | Application anti-addiction method and device as well as mobile terminal |
CN106650263A (en) * | 2016-12-23 | 2017-05-10 | 广东乐心医疗电子股份有限公司 | Method, device and system for controlling use time of electronic equipment according to motion quantity |
CN106681769A (en) * | 2016-12-29 | 2017-05-17 | 宇龙计算机通信科技(深圳)有限公司 | Application control method and terminal |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110058899A (en) * | 2019-03-30 | 2019-07-26 | 惠州市惠泽电器有限公司 | Autonomous unlocking type Anti-addiction method based on smartwatch |
CN111857243A (en) * | 2019-04-29 | 2020-10-30 | 奇酷互联网络科技(深圳)有限公司 | Monitoring method of wearable device, wearable device and computer storage medium |
CN110569116A (en) * | 2019-08-23 | 2019-12-13 | 深圳五洲无线股份有限公司 | Management method for intelligent device application program |
CN110569087A (en) * | 2019-09-09 | 2019-12-13 | 深圳五洲无线股份有限公司 | method for stimulating motion based on application program |
CN111359224A (en) * | 2020-03-02 | 2020-07-03 | 广东小天才科技有限公司 | Method for acquiring addiction index |
CN111359224B (en) * | 2020-03-02 | 2023-11-21 | 广东小天才科技有限公司 | Method for obtaining addiction index |
CN112508348A (en) * | 2020-11-17 | 2021-03-16 | 珠海读书郎网络教育有限公司 | Child watch use management system and method |
CN114330769A (en) * | 2021-12-24 | 2022-04-12 | 深圳优地科技有限公司 | Robot fault early warning method and device, robot and server |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109408349A (en) | Anti-addiction method and device based on smart watch, smart watch and storage medium | |
CN106096352B (en) | A kind of control method for preventing indulging of mobile terminal, device and mobile terminal | |
KR102137981B1 (en) | Bio leash for user authentication | |
WO2017206433A1 (en) | Television control method and system | |
CN107944277B (en) | Application starting control method and device, storage medium and intelligent terminal | |
CN104519124B (en) | A kind of distribution method and device of virtual resource | |
Hamrick et al. | Think again? The amount of mental simulation tracks uncertainty in the outcome. | |
CN107167159B (en) | Mobile terminal step counting method and mobile terminal | |
CN106778565B (en) | Pull-up counting method and device | |
CN106066810B (en) | A kind of application management method, device and mobile terminal | |
CN109224445B (en) | Game control method, device, equipment and storage medium in intelligent wearable equipment | |
WO2017185456A1 (en) | Method and apparatus for controlling displayed electricity quantity of terminal | |
US20180332348A1 (en) | Playback control method and device | |
CN110124307A (en) | Method of controlling operation thereof and device, storage medium and electronic device | |
CN105739696A (en) | Application program management method and device as well as mobile terminal | |
CN111841011A (en) | Game level configuration information generation method, system, server and storage medium | |
CN109686370A (en) | The method and device of fighting landlord game is carried out based on voice control | |
CN106254688A (en) | Ringtone adjusting method of mobile terminal and mobile terminal | |
CN108419203B (en) | Usage monitoring method, device, equipment and storage medium of electronic equipment | |
CN109657097A (en) | Video screening technique, device, electronic equipment and storage medium | |
CN108363652B (en) | Usage monitoring method, device, equipment and storage medium of electronic equipment | |
CN114513694A (en) | Scoring determination method and device, electronic equipment and storage medium | |
CN105651302A (en) | Method and device for improving step counting precision and mobile terminal | |
US10666796B2 (en) | Method and device for setting up a voice call | |
CN111821694A (en) | Loss prevention method and device for new game user, electronic equipment and storage medium |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190301 |