CN110633012A - Anti-addiction computer - Google Patents

Anti-addiction computer Download PDF

Info

Publication number
CN110633012A
CN110633012A CN201910850774.6A CN201910850774A CN110633012A CN 110633012 A CN110633012 A CN 110633012A CN 201910850774 A CN201910850774 A CN 201910850774A CN 110633012 A CN110633012 A CN 110633012A
Authority
CN
China
Prior art keywords
user
layer
program
sitting posture
distance
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
Application number
CN201910850774.6A
Other languages
Chinese (zh)
Inventor
陈孝军
宋安阳
唐小景
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Rising Tripod Technology Co Ltd
Original Assignee
Wuhan Rising Tripod Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Rising Tripod Technology Co Ltd filed Critical Wuhan Rising Tripod Technology Co Ltd
Priority to CN201910850774.6A priority Critical patent/CN110633012A/en
Publication of CN110633012A publication Critical patent/CN110633012A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/017Gesture based interaction, e.g. based on a set of recognized hand gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/18Status alarms
    • G08B21/24Reminder alarms, e.g. anti-loss alarms

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

The invention discloses an anti-addiction computer which comprises a monitoring module, a storage module, a processing module and an output module, wherein the monitoring module is used for monitoring the program running state of the computer, the sitting posture of a user and the distance between the user and a screen; the processing module is used for analyzing and calculating the information acquired by the monitoring module, and controlling the running state of a program and the brightness of a screen so as to prevent a user from being addicted. Through the mode, the method and the device can respectively set the limit time for various programs according to the actual conditions of the user, and have stronger pertinence and flexibility; and the brightness of the screen is controlled according to the distance between the user and the screen and the sitting posture of the user, and the user is guided to independently keep the correct distance and the sitting posture, so that the method is favorable for the minors to form good computer use habits and protect the physical and mental health of the minors, and has higher economic and social values.

Description

Anti-addiction computer
Technical Field
The invention relates to the technical field of computers, in particular to an anti-addiction computer.
Background
With the development of science and technology and the progress of society, computers and the internet are rapidly popularized, and become essential components of daily life of people. The computer brings convenience to the work and life of people, and meanwhile, a plurality of people are addicted to the computer through rich entertainment choices, especially juveniles. For the minor who is not mature in physiological and psychological development, the enthusiasm computer not only affects the study and life, but also causes the problems of hypopsia, lassitude, humpback and the like, and poses serious threat to the physical health of the minor. Therefore, various anti-addiction products are produced in order to protect the physical and mental health of minors.
At present, a common anti-addiction computer is mainly used for timing through a timer, giving an alarm after a set time is reached, and controlling a computer starting switch to close the computer, so that an anti-addiction effect is achieved, but the method adopts a mode of directly closing the computer, and is easy to cause adverse effects on the working performance and the service life of the computer; and the method only controls the use time, but does not limit the use posture, and can not effectively solve the problems of hypopsia, humpback and the like caused by improper sitting posture.
Therefore, the patent with the publication number of CN106327811A provides a computer anti-addiction device, which can prevent addiction by turning off a computer network card after a limited time is reached, thereby solving the problem of performance influence caused by directly turning off the computer; and the camera and the infrared distance measuring sensor are used for controlling the sitting posture of the user and the distance from the face of the user to the screen, so that the problem that the use posture is not limited is solved. However, the patent adopts the fixed 2-hour and 3-hour time limit of the minors when performing anti-addiction, and the mode is too single and lacks flexibility; after the use time exceeds the limit, the network disconnection mode can only prevent the user from indulging the network, and when the user still can use application programs such as a stand-alone game and the like which do not need the network, the problem of computer indulging is not solved substantially; simultaneously, this patent is when using camera and infrared distance measuring sensor to user's position of sitting and the distance of face to the screen to control, only reports to the police through the prompt tone to the state that does not conform to the standard, and the user can be through closing the sound and blindly remind for actual control effect is not good. Therefore, there is still a need to develop a more reasonable and effective anti-addiction computer to guide the minors to use the computer correctly so as to ensure their physical and mental health.
Disclosure of Invention
The invention aims to solve the problems and provides an anti-addiction computer, which analyzes and predicts the addiction state of a user by monitoring the use condition of the user, and sets corresponding time thresholds for various application programs respectively according to the addiction state, so that the anti-addiction control is flexibly performed according to the actual condition of the user; and the distance between the user and the screen and the sitting posture of the user are monitored, so that the brightness of the screen is controlled to change along with the monitoring, and the user is guided to keep the correct distance and the sitting posture.
In order to achieve the purpose, the invention adopts the technical scheme that:
an anti-addiction computer comprises a monitoring module, a storage module, a processing module and an output module, wherein the monitoring module, the storage module and the output module are respectively connected with the processing module, and the output module comprises a screen; the monitoring module comprises a program monitoring unit, a camera and a distance sensor, and is respectively used for monitoring the program running state, the sitting posture of a user and the distance between the user and the screen; the processing module comprises an operation submodule and a control submodule, and the operation submodule is connected with the monitoring module through the control submodule and is used for analyzing and operating the information acquired by the monitoring module and outputting the result to the control submodule; the control submodule is respectively connected with the monitoring module, the storage module, the output module and the operation submodule and is used for controlling the operation of each module, controlling the operation state of a program and the brightness of a screen and preventing a user from being addicted.
Furthermore, the camera is arranged in the middle of the top end of the screen and used for collecting sitting posture image information of a user; the distance sensor is arranged in the middle of the bottom end of the screen and used for detecting the distance between a user and the screen.
Further, the program monitoring unit comprises a program identification layer and a time acquisition layer, wherein the program identification layer is used for identifying the currently started program, and the time acquisition layer is used for acquiring the time point of the program display operation interface, the time point of the program switching to the background operation and the time point of the program closing.
Furthermore, the control submodule comprises a main control unit, a setting unit, a program control unit and a screen brightness adjusting unit, wherein the setting unit, the program control unit and the screen brightness adjusting unit are respectively connected with the main control unit and respectively control the parameter setting, the program operation and the screen brightness of the computer.
Furthermore, the operation submodule comprises an addiction state analysis unit, a sitting posture identification unit and a distance identification unit; the addiction state analysis unit is used for counting the program running data monitored by the program monitoring unit and analyzing the current addiction state and the future trend of the user; the sitting posture identification unit is used for analyzing and identifying the image information acquired by the camera and judging whether the sitting posture of the user meets the requirement; the distance identification unit is used for identifying the distance information collected by the distance sensor and judging whether the distance between the user and the screen meets the requirement.
Further, the addiction state analysis unit comprises an operation duration calculation layer, a data statistics layer, a trend prediction layer and a threshold adjustment layer; the operation duration calculation layer is used for calculating the actual operation duration of each application program without background operation time in the operation process and transmitting the actual operation duration to the data statistics layer; the data statistics layer is used for receiving the time length data output by the operation time length calculation layer, carrying out statistics on the time length data and transmitting the time length data to the trend prediction layer; the trend prediction layer is used for predicting the development trends of the use duration of each application program and the login duration of the computer so as to judge the enthusiasm state and transmit the enthusiasm state to the threshold adjustment layer; the threshold adjusting layer is used for adjusting the threshold of each time length according to the enthrallment state and transmitting the adjusted threshold to the control submodule.
Further, the sitting posture identification unit comprises a contour extraction layer, a sitting posture modeling layer and a sitting posture matching layer, wherein the contour extraction layer is used for extracting contours of the head, the neck and the shoulders of the user and transmitting contour information to the sitting posture modeling layer; the sitting posture modeling layer is used for establishing a coordinate system for a sitting posture outline, extracting the coordinates of the vertex of the head and transmitting the coordinates to the sitting posture matching layer; the sitting posture matching layer is used for matching the coordinates of the pixels at the top end of the head with the pre-stored normal coordinates and judging whether the sitting posture of the user is correct or not.
Further, the distance recognition unit comprises a signal processing layer and a distance matching layer, wherein the signal processing layer is used for amplifying signals input by the distance sensor, converting the signals into digital signals from analog signals and transmitting the digital signals to the distance matching layer; the distance matching layer is used for matching the monitored distance data with a preset distance threshold value and judging whether the user is within a reasonable distance.
Furthermore, the operation submodule further comprises an identity recognition unit, wherein the identity recognition unit is used for extracting facial features in the image information acquired by the camera, matching the facial features with facial information in pre-stored user information and recognizing the identity of the current user; the user information includes face information, identity information and authority information.
Further, the storage module comprises a program storage unit and a data storage unit, which are respectively used for storing various application programs and data, and the data comprises various data generated by the monitoring module, the control submodule and the operation submodule in the operation process.
Compared with the prior art, the invention has the beneficial effects that:
1. the anti-addiction computer provided by the invention can set corresponding time thresholds for various application programs according to the actual conditions of the user, and has stronger pertinence and flexibility; meanwhile, the invention can also control the brightness of the screen according to the distance between the user and the screen and the sitting posture thereof, thereby guiding the user to independently keep the correct distance and the sitting posture.
2. The anti-addiction computer provided by the invention can be used for matching different authorities for minors and parents thereof respectively, analyzing and predicting the addiction state of the minors by monitoring the computer use condition of the minors and counting the actual operation duration of each application program, and setting corresponding time thresholds for each application program respectively, thereby realizing anti-addiction control according to the actual condition of the user; meanwhile, parents can check the use conditions of various application programs and the enthusiasm state analysis and prediction of the underage users, and adjust corresponding time thresholds, so that the underage computers are further prevented from being enthusiastic.
3. The anti-addiction computer provided by the invention can monitor the distance between the user and the screen and the sitting posture of the user, and control the change of the brightness of the screen, when the distance between the user and the screen is lower than a set value or the sitting posture is incorrect, the brightness of the screen is reduced, the use experience of the user is reduced, and the user is prompted to recover the correct distance between the user and the screen and the correct sitting posture; meanwhile, the screen brightness is adjusted to be 0 when the correct distance and the sitting posture are not recovered according to the requirements, so that the user is prevented from continuously using the computer in an improper posture.
4. The anti-addiction computer provided by the invention can effectively control the use time of the user, can guide the user to keep a good sitting posture, is beneficial to helping minors to develop a good computer use habit, protects the physical and mental health of the minors, and has higher economic and social values.
Drawings
FIG. 1 is a schematic block diagram of an anti-addiction computer of the present invention;
FIG. 2 is a main flow chart of the anti-addiction computer of the present invention in use;
FIG. 3 is a flow chart of an anti-addiction computer adjusting screen brightness according to a user's sitting posture in accordance with the present invention;
FIG. 4 is a flowchart illustrating an anti-addiction computer adjusting screen brightness according to a distance between a user and a screen according to an embodiment of the present invention.
Detailed Description
The following detailed description of the preferred embodiments of the present invention, taken in conjunction with the accompanying drawings, will make the advantages and features of the invention easier to understand by those skilled in the art, and thus will clearly and clearly define the scope of the invention. It is to be understood that the described embodiments are merely a few embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without any inventive step, are within the scope of the present invention.
Examples
Referring to fig. 1, an embodiment of the present invention provides an anti-addiction computer, including a monitoring module, a storage module, a processing module, and an output module, where the monitoring module, the storage module, and the output module are respectively connected to the processing module, and the output module includes a screen; the monitoring module comprises a program monitoring unit, a camera and a distance sensor, and is respectively used for monitoring the program running state, the sitting posture of a user and the distance between the user and the screen; the processing module comprises an operation submodule and a control submodule, and the operation submodule is connected with the monitoring module through the control submodule and is used for analyzing and operating the information acquired by the monitoring module and outputting the result to the control submodule; the control submodule is respectively connected with the monitoring module, the storage module, the output module and the operation submodule and is used for controlling the operation of each module, controlling the operation state of a program and the brightness of a screen and preventing a user from being addicted.
The camera is arranged in the middle of the top end of the screen and used for collecting sitting posture image information of a user; the distance sensor is arranged in the middle of the bottom end of the screen and used for detecting the distance between a user and the screen; the program monitoring unit comprises a program identification layer and a time acquisition layer, wherein the program identification layer is used for identifying a currently started program, and the time acquisition layer is used for acquiring a time point of a program display operation interface, a time point of program switching to background operation and a time point of program closing.
Specifically, the control submodule comprises a main control unit, a setting unit, a program control unit and a screen brightness adjusting unit, wherein the setting unit, the program control unit and the screen brightness adjusting unit are respectively connected with the main control unit and respectively control parameter setting, program operation and screen brightness of a computer.
The operation sub-module comprises an addiction state analysis unit, a sitting posture identification unit, a distance identification unit and an identity identification unit; the addiction state analysis unit is used for counting the program running data monitored by the program monitoring unit and analyzing the current addiction state and the future trend of the user; the sitting posture identification unit is used for analyzing and identifying the image information acquired by the camera and judging whether the sitting posture of the user meets the requirement; the distance identification unit is used for identifying the distance information collected by the distance sensor and judging whether the distance between the user and the screen meets the requirement or not; the identity recognition unit is used for extracting facial features in the image information acquired by the camera, matching the facial features with facial information in pre-stored user information and recognizing the identity of the current user; the user information includes face information, identity information and authority information.
The enthusiasm analysis unit comprises an operation duration calculation layer, a data statistics layer, a trend prediction layer and a threshold adjustment layer; the operation duration calculation layer is used for calculating the actual operation duration of each application program without background operation time in the operation process and transmitting the actual operation duration to the data statistics layer; the data statistics layer is used for receiving the time length data output by the operation time length calculation layer, carrying out statistics on the time length data and transmitting the time length data to the trend prediction layer; the trend prediction layer is used for predicting the development trends of the use duration of each application program and the login duration of the computer so as to judge the enthusiasm state and transmit the enthusiasm state to the threshold adjustment layer; the threshold adjusting layer is used for adjusting the threshold of each time length according to the enthrallment state and transmitting the adjusted threshold to the control submodule.
The sitting posture identification unit comprises a contour extraction layer, a sitting posture modeling layer and a sitting posture matching layer, wherein the contour extraction layer is used for extracting contours of the head, the neck and the shoulders of a user and transmitting contour information to the sitting posture modeling layer; the sitting posture modeling layer is used for establishing a coordinate system for a sitting posture outline, extracting the coordinates of the vertex of the head and transmitting the coordinates to the sitting posture matching layer; the sitting posture matching layer is used for matching the coordinates of the pixels at the top end of the head with the pre-stored normal coordinates and judging whether the sitting posture of the user is correct or not.
The distance identification unit comprises a signal processing layer and a distance matching layer, wherein the signal processing layer is used for amplifying signals input by the distance sensor, converting the signals into digital signals from analog signals and transmitting the digital signals to the distance matching layer; the distance matching layer is used for matching the monitored distance data with a preset distance threshold value and judging whether the user is within a reasonable distance.
The storage module comprises a program storage unit and a data storage unit which are respectively used for storing various application programs and data, and the data comprises various data generated in the operation process of the monitoring module, the control submodule and the operation submodule.
With reference to fig. 2, when the user uses the anti-addiction computer provided in this embodiment, the camera acquires facial information of the user, the facial features are extracted through the identity recognition unit, and the facial features are matched with the facial information in the user information stored in the storage unit to recognize the current user identity so as to match the corresponding authority; and if the information which can be matched is not identified, prompting the user to carry out information input. A user needing to input information can input user information through a setting unit according to a prompt, wherein the user information comprises face information, standard sitting posture information, identity information and authority information, and the user information is stored in a storage module after being input; the face information and the standard sitting posture information are collected by a camera, and the identity information is an identity card number and is input through a keyboard; and the initial authority information is automatically matched according to the identity information, and comprises login duration, monitoring state and monitoring result information.
In this embodiment, the allowable use duration of each application program in the initial state is consistent with the allowable login duration of the computer, and the initial login duration of each age user is as follows:
the login permission time of a user under the age of 14 is 1 hour each time, and the total login permission time is 2 hours each day; the login permission time of a user aged 14-18 years is 2 hours each time, and the total login permission time is 4 hours each day; the login permitted time of a user aged 18 years or more is 4 hours each time, and the total login permitted time is 8 hours each day.
The login time length is only an initial value and can be automatically adjusted according to the actual use state of the user. Meanwhile, the monitoring state of the underage user is started by default, only the monitoring result of the underage user can be inquired by default, and all the authorities of the underage user cannot be modified by self; the monitoring state of the adult user is closed by default, the monitoring results of the adult user and the immature user can be inquired, and all the authorities of the adult user and the immature user can be modified.
To the user who has input user information, and the monitoring state is opened, when it uses the anti-addiction computer that this embodiment provided, monitor the user state of its each item procedure by program monitoring unit to monitor user self state by camera and distance sensor.
Specifically, the program monitoring unit monitors the program running state of the user in real time, identifies the currently started program through the program identification layer, acquires a time point ta corresponding to a program display operation interface, a time point tb when the program is switched to background running and a time point tc when the program is closed through the time acquisition layer, and transmits the time points to the main control unit, and calculates the actual operation duration of the application program without background running time in the running process through the operation duration calculation layer in the enthrallment state analysis unit after the time point is read by the main control unit, wherein before the program is closed, the currently monitored time point is used as the program closing time point for calculation, and the specific calculation method is as follows:
arranging all time points according to a time sequence, wherein every two time points are in a group, and if a single time point is left at last, directly discarding the time points; and subtracting the previous time from the later time to obtain the operation duration of each group, and accumulating to obtain the actual operation duration of the application program.
Illustratively, if a certain program is subjected to the processes of starting, background running and reopening, and is still in an on state currently, the currently monitored time point is taken as a closing time point, and the corresponding time lengths are arranged in sequence, wherein each group of the currently monitored time point is represented by ta1, tb1, ta2 and tc2, and the actual operation time length t of the application is (tb1-ta1) + (tc2-ta 2); if a program goes through the processes of opening, background running, re-opening, background running again and direct closing, the corresponding time lengths are arranged in sequence, and each two programs are sequentially represented as ta1, tb1, ta2, tb2 and tc3, so that the actual operation time length t of the application is (tb1-ta1) + (tb2-ta 2).
The operation duration calculation layer calculates the actual operation duration of the application program used by the user through the mode, and compared with the method of only counting the operation duration of the program, the operation duration calculation layer eliminates the time occupied by the background application of the program, and the result is more accurate and reasonable.
The data statistics layer is used for counting the time length data calculated by the operation time length calculation layer, respectively counting the operation time length of each application program every day, and accumulating the operation time lengths of the applications in the same day to obtain the accumulated use time length of the same day.
In the use process of the anti-addiction computer, a user can check the operation duration and the accumulated duration of each current application, if the operation duration of an application program of the user on the day reaches a set threshold or the accumulated use duration of the user on the day reaches the set threshold, the main control unit sends an instruction to the program control unit to prompt that the application is about to be closed, so that the user can conveniently store related data, forcibly close the program after 10 minutes and prevent the user from being addicted.
Meanwhile, the data counted every day by the data counting layer is predicted by the trend prediction layer, and the trend prediction layer performs exponential smoothing on the time sequence of the use duration of each application program and the time sequence of the computer login duration respectively, so that the development trend of each duration is predicted, and the enthusiasm state is judged. Taking a certain application program as an example, the application program is used for i days at present, the use duration of each day sequentially represents x 1-xi, and the specific steps of performing trend prediction and enthusiasm state judgment on the application program through the trend prediction layer are as follows:
s1.1, carrying out three times of exponential smoothing on the time length data of the first i-1 days by taking 0.1 as a smoothing coefficient sigma to respectively obtain three times of exponential smoothing values
Figure BDA0002196845010000081
And
Figure BDA0002196845010000082
the calculation formula is as follows:
Figure BDA0002196845010000091
Figure BDA0002196845010000092
s1.2, calculating a prediction parameter a according to the calculated cubic exponential smoothing valuei-1、bi-1And ci-1And according to the prediction parameters, the time length x 'of the day i'iThe prediction is carried out, and the calculation formula is as follows:
Figure BDA0002196845010000094
Figure BDA0002196845010000095
Figure BDA0002196845010000096
x′i=ai-1+bi-1+ci-1
s1.3, iterating the smoothing coefficient sigma by a step length of 0.01 within the range of 0.1-0.8, and carrying out predicted values x 'of the time length of the ith day under different smoothing coefficients sigma according to steps S1.1 and S1.2'iCalculating, comparing the time length with the actual time length xi of the ith day, selecting a smoothing coefficient corresponding to the predicted value closest to the actual time length as an optimal smoothing coefficient, and predicting the time length of the (i + 1) th day according to the same method;
s1.4, sequentially predicting the time lengths of the (i + 2) th day, the (i + 3) th day, the (i + 4) th day, the (i + 5) th day, the (i + 6) th day and the (i + 7) th day according to the steps S1.1-S1.3, obtaining a predicted value of the use time length of the future 7 days, comparing the predicted value with an original time length threshold value of the application program, if the predicted value of 3-5 days in the 7 days reaches or exceeds the original time length threshold value, judging that the user is in a state of addiction, and if the predicted value of more than 5 days in the 7 days reaches or exceeds the original time length threshold value, judging that the user is in a state of serious addiction.
The trend prediction layer carries out threshold adjustment through the threshold adjustment layer according to the enthusiasm state judged by the prediction data: for the user judged to be in the addiction state, the original time length threshold value of the application program is reduced by 10 percent and is output to the main control unit; and if the user is judged to be in a serious addiction state, reducing the original time length threshold of the application program by 20 percent and outputting the reduced time length threshold to the main control unit. And after the main control unit receives and reads the threshold output by the threshold adjusting layer, the control setting unit updates the set threshold.
Through the mode, the anti-addiction computer provided by the embodiment can judge the addiction state according to the actual use condition of the user, and adds a limit to the addiction user to prevent the addiction user from continuing.
Simultaneously, the anti-addiction computer that this embodiment provided can also monitor user's self state through camera and distance sensor to the luminance of control screen from this.
The camera is used for collecting sitting posture images of a user, collected image information is read by the main control unit and then is identified through the sitting posture identification unit, and the specific identification steps are as follows:
s2.1, after sitting posture image information collected by the camera is read by the main control unit, extracting the outline of the sitting posture image through an outline extraction layer in the sitting posture identification unit, and mainly comprising the following steps:
s2.1.1, calculating the average gray value of the image pixels, and selecting a frame of image which is close to the gray value of the current image and has small time interval to assist in contour extraction; the calculation formula of the average gray value mu of the image pixel is as follows:
Figure BDA0002196845010000101
in the formula, n represents the number of pixel points in the image, and Σ f (i, j) represents the sum of pixel values of each pixel point in the image;
s2.1.2, converting the image with the gray value close to the selected gray value and small time interval into a gray image, and subtracting to obtain a difference image to obtain a fuzzy sitting posture outline;
s2.1.3, performing binarization processing on the differential image to obtain a sitting posture contour only with black and white pixel points, and performing filtering processing on the sitting posture contour to eliminate noise and obtain a clearer sitting posture contour;
s2.2, modeling the contour information extracted by the contour extraction layer by a sitting posture modeling layer, wherein the sitting posture modeling layer establishes a rectangular coordinate system by taking a connecting line of pixel points at two ends of the shoulder contour as an x axis, taking the middle point of the pixel points at the two ends of the shoulder contour as an original point and taking the direction of the head contour as the positive direction of a y axis, and detects the coordinates (xm, yn) of the pixel points at the top end of the head;
and S2.3, matching the detected coordinates (xm, yn) of the pixels at the top of the head with the coordinates of the pixels at the top of the head in the standard sitting posture information prestored in the storage module through a sitting posture matching layer, setting a deviation threshold value to be 10%, and judging that the sitting posture of the user is incorrect if the deviation threshold value is exceeded.
The sitting posture state judged by the sitting posture matching layer is read by the main control unit, and an instruction is sent to the screen brightness adjusting unit to adjust the screen brightness, the main flow is shown in fig. 3, and the specific steps are as follows:
s3.1, the main control unit extracts sitting posture information of the user, the sitting posture identification unit judges whether the sitting posture is correct or not, and the sitting posture state information is transmitted to the main control unit;
s3.2, reading the sitting posture state information by the main control unit, and if the sitting posture is read to be correct, sending an instruction to the screen brightness adjusting unit to control the screen to keep normal brightness, and finishing the brightness adjustment of the current round; if the sitting posture is read to be incorrect, continuing to perform the next step;
s3.3, continuously detecting the time when the sitting posture is incorrect, and judging whether the time when the sitting posture is incorrect exceeds 1 minute; if the time does not exceed 1 minute, the user only carries out transient activities, the main control unit sends an instruction to the screen brightness adjusting unit to control the screen to keep normal brightness, and the current round of brightness adjustment is finished;
if the incorrect sitting posture time exceeds 1 minute, the main control unit sends an instruction to the screen brightness adjusting unit to control the screen brightness to be adjusted to 50% of the normal brightness value, and the next step is continued;
s3.4, continuously detecting the sitting posture after the screen brightness is reduced, and if the screen brightness is recovered to be normal, adjusting the brightness to be a normal value; if the screen is not recovered to be normal, continuously keeping the lower brightness, and simultaneously extracting the duration of the low brightness state of the screen;
s3.5, if the duration of the screen at the low brightness does not exceed 3 minutes, indicating that the user adjusts the sitting posture within 3 minutes, restoring the screen brightness to be normal, and ending the brightness adjustment of the current round; if the duration of the screen in the low brightness exceeds 3 minutes, which indicates that the user still does not adjust the sitting posture within 3 minutes, the main control unit sends an instruction to the screen brightness adjusting unit to adjust the screen brightness value to 0, so that the user is prevented from continuing to use the computer in an improper posture, and the current cycle of brightness adjustment is finished.
Meanwhile, the distance sensor is used for monitoring the distance between the user and the screen, the monitoring result is recognized by the distance recognition unit called by the main control unit, and the brightness of the screen is regulated according to the recognition result, the main flow is as shown in fig. 4, and the specific steps are as follows:
s4.1, monitoring the distance between a user and a screen by a distance sensor, calling a signal processing layer in a distance recognition unit by a main control unit to perform amplification processing and signal conversion on a signal input by the distance sensor, converting the signal into a digital signal from an analog signal, and transmitting the digital signal to a distance matching layer; comparing the measured distance with a preset distance threshold value through a distance matching layer, and judging whether the current distance is smaller than the set distance threshold value, wherein the distance threshold value is set to be 50cm in the embodiment;
s4.2, if the current distance is not smaller than the set distance threshold, the main control unit sends an instruction to the screen brightness adjusting unit to control the screen to keep normal brightness, and the current round of brightness adjustment is finished;
if the current distance is smaller than the set distance threshold, the main control unit sends an instruction to the screen brightness adjusting unit to control the screen brightness to be adjusted to 50% of the normal brightness value, and the next step is continued;
s4.3, continuously detecting the distance between the user and the screen after the screen brightness is reduced, and if the distance is not smaller than a threshold value, returning the brightness to a normal value; if the distance is still smaller than the threshold value, continuously keeping the lower brightness, and simultaneously extracting the duration of the low brightness state of the screen;
s4.4, if the duration of the screen at the low brightness does not exceed 3 minutes, indicating that the user adjusts the distance between the screen and the user within 3 minutes, and the brightness of the screen returns to normal, and ending the brightness adjustment of the current round; if the duration of the screen at low brightness exceeds 3 minutes, which indicates that the user still does not adjust the distance between the screen and the main control unit within 3 minutes, the main control unit sends an instruction to the screen brightness adjusting unit to adjust the screen brightness value to 0, so that the user is prevented from continuing to use the computer in an improper posture, and the brightness adjustment of the current round is finished.
Through the mode, the anti-addiction computer provided by the invention can set the limit time for various programs according to the actual condition of the user, and has stronger pertinence and flexibility; and the brightness of the screen is controlled according to the distance between the user and the screen and the sitting posture of the user, and the user is guided to independently keep the correct distance and the sitting posture, so that the method is favorable for the minors to form good computer use habits and protect the physical and mental health of the minors, and has higher economic and social values.
The above description is only for the purpose of illustrating the technical solutions of the present invention and is not intended to limit the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; all the equivalent structures or equivalent processes performed by using the contents of the specification and the drawings of the invention, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. An anti-addiction computer comprises a monitoring module, a storage module, a processing module and an output module, wherein the monitoring module, the storage module and the output module are respectively connected with the processing module, and the output module comprises a screen; the method is characterized in that: the monitoring module comprises a program monitoring unit, a camera and a distance sensor, and is respectively used for monitoring the program running state, the sitting posture of a user and the distance between the user and the screen; the processing module comprises an operation submodule and a control submodule, and the operation submodule is connected with the monitoring module through the control submodule and is used for analyzing and operating the information acquired by the monitoring module and outputting the result to the control submodule; the control submodule is respectively connected with the monitoring module, the storage module, the output module and the operation submodule and is used for controlling the operation of each module, controlling the operation state of a program and the brightness of a screen and preventing a user from being addicted.
2. An anti-addiction computer according to claim 1, wherein: the camera is arranged in the middle of the top end of the screen and used for collecting sitting posture image information of a user; the distance sensor is arranged in the middle of the bottom end of the screen and used for detecting the distance between a user and the screen.
3. An anti-addiction computer according to claim 1, wherein: the program monitoring unit comprises a program identification layer and a time acquisition layer, wherein the program identification layer is used for identifying a currently started program, and the time acquisition layer is used for acquiring a time point of a program display operation interface, a time point of program switching to background operation and a time point of program closing.
4. An anti-addiction computer according to claim 3, wherein: the control submodule comprises a main control unit, a setting unit, a program control unit and a screen brightness adjusting unit, wherein the setting unit, the program control unit and the screen brightness adjusting unit are respectively connected with the main control unit and respectively control the parameter setting, the program operation and the screen brightness of the computer.
5. An anti-addiction computer according to claim 4, wherein: the operation sub-module comprises an addiction state analysis unit, a sitting posture identification unit and a distance identification unit; the addiction state analysis unit is used for counting the program running data monitored by the program monitoring unit and analyzing the current addiction state and the future trend of the user; the sitting posture identification unit is used for analyzing and identifying the image information acquired by the camera and judging whether the sitting posture of the user meets the requirement; the distance identification unit is used for identifying the distance information collected by the distance sensor and judging whether the distance between the user and the screen meets the requirement.
6. An anti-addiction computer according to claim 5, wherein: the enthusiasm analysis unit comprises an operation duration calculation layer, a data statistics layer, a trend prediction layer and a threshold adjustment layer; the operation duration calculation layer is used for calculating the actual operation duration of each application program without background operation time in the operation process and transmitting the actual operation duration to the data statistics layer; the data statistics layer is used for receiving the time length data output by the operation time length calculation layer, carrying out statistics on the time length data and transmitting the time length data to the trend prediction layer; the trend prediction layer is used for predicting the development trends of the use duration of each application program and the login duration of the computer so as to judge the enthusiasm state and transmit the enthusiasm state to the threshold adjustment layer; the threshold adjusting layer is used for adjusting the threshold of each time length according to the enthrallment state and transmitting the adjusted threshold to the control submodule.
7. An anti-addiction computer according to claim 5, wherein: the sitting posture identification unit comprises a contour extraction layer, a sitting posture modeling layer and a sitting posture matching layer, wherein the contour extraction layer is used for extracting contours of the head, the neck and the shoulders of a user and transmitting contour information to the sitting posture modeling layer; the sitting posture modeling layer is used for establishing a coordinate system for a sitting posture outline, extracting the coordinates of the vertex of the head and transmitting the coordinates to the sitting posture matching layer; the sitting posture matching layer is used for matching the coordinates of the pixels at the top end of the head with the pre-stored normal coordinates and judging whether the sitting posture of the user is correct or not.
8. An anti-addiction computer according to claim 5, wherein: the distance identification unit comprises a signal processing layer and a distance matching layer, wherein the signal processing layer is used for amplifying signals input by the distance sensor, converting the signals into digital signals from analog signals and transmitting the digital signals to the distance matching layer; the distance matching layer is used for matching the monitored distance data with a preset distance threshold value and judging whether the user is within a reasonable distance.
9. An anti-addiction computer according to claim 5, wherein: the operation submodule also comprises an identity recognition unit, wherein the identity recognition unit is used for extracting facial features in the image information acquired by the camera, matching the facial features with facial information in pre-stored user information and recognizing the identity of the current user; the user information includes face information, identity information and authority information.
10. An anti-addiction computer according to claim 1, wherein: the storage module comprises a program storage unit and a data storage unit which are respectively used for storing various application programs and data, and the data comprises various data generated in the operation process of the monitoring module, the control submodule and the operation submodule.
CN201910850774.6A 2019-09-10 2019-09-10 Anti-addiction computer Pending CN110633012A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910850774.6A CN110633012A (en) 2019-09-10 2019-09-10 Anti-addiction computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910850774.6A CN110633012A (en) 2019-09-10 2019-09-10 Anti-addiction computer

Publications (1)

Publication Number Publication Date
CN110633012A true CN110633012A (en) 2019-12-31

Family

ID=68970989

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910850774.6A Pending CN110633012A (en) 2019-09-10 2019-09-10 Anti-addiction computer

Country Status (1)

Country Link
CN (1) CN110633012A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111436752A (en) * 2020-04-09 2020-07-24 中南大学湘雅三医院 Computer screen light and distance reminding device
CN111586372A (en) * 2020-06-15 2020-08-25 马鞍山市科泰电气科技有限公司 Boiler flame high-temperature intelligent industrial television system with self-warning function

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111436752A (en) * 2020-04-09 2020-07-24 中南大学湘雅三医院 Computer screen light and distance reminding device
CN111436752B (en) * 2020-04-09 2022-09-13 中南大学湘雅三医院 Computer screen light and distance reminding device
CN111586372A (en) * 2020-06-15 2020-08-25 马鞍山市科泰电气科技有限公司 Boiler flame high-temperature intelligent industrial television system with self-warning function
CN111586372B (en) * 2020-06-15 2021-08-17 马鞍山市科泰电气科技有限公司 Boiler flame high-temperature intelligent industrial television system with self-warning function

Similar Documents

Publication Publication Date Title
US11625949B2 (en) Face authentication apparatus
WO2015158087A1 (en) Method and apparatus for detecting health status of human eyes and mobile terminal
CN105184246B (en) Living body detection method and living body detection system
US7233684B2 (en) Imaging method and system using affective information
CN101617339B (en) Image processing device and image processing method
CN105072327B (en) A kind of method and apparatus of the portrait processing of anti-eye closing
CN103093124A (en) Method for restricting the usage of electronic equipment and electronic equipment
TWI729983B (en) Electronic device, system and method for adjusting display device
CN110633012A (en) Anti-addiction computer
CN204791017U (en) Mobile terminal users authentication device based on many biological characteristics mode
JP6614547B2 (en) Viewing state detection device, viewing state detection system, and viewing state detection method
CN111091046A (en) User bad sitting posture correction system based on machine vision
CN110623631A (en) Learning monitoring system based on myopia glasses
CN108537026A (en) application control method, device and server
WO2017101226A1 (en) Method and apparatus for judging user eyesight fatigue
CN109044375A (en) A kind of control system and its method of real-time tracking detection eyeball fatigue strength
WO2018179150A1 (en) Heart rate estimation apparatus
CN115171024A (en) Face multi-feature fusion fatigue detection method and system based on video sequence
CN211742051U (en) Anti-addiction computer
CN110413239B (en) Terminal setting parameter adjusting method and device and storage medium
CN112052779B (en) Access control system with palm vein recognition and iris recognition
CN106445112B (en) Mobile terminal and method for controlling mobile terminal to be used
JP6525072B1 (en) Face recognition device
US20180310845A1 (en) Image processing apparatus and pulse estimation system provided therewith, and image processing method
CN110222674B (en) Eye state detection method and eye state detection system

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