CN102799261B - A kind of method and device realizing screen protection - Google Patents

A kind of method and device realizing screen protection Download PDF

Info

Publication number
CN102799261B
CN102799261B CN201210317323.4A CN201210317323A CN102799261B CN 102799261 B CN102799261 B CN 102799261B CN 201210317323 A CN201210317323 A CN 201210317323A CN 102799261 B CN102799261 B CN 102799261B
Authority
CN
China
Prior art keywords
screen protection
control program
primary control
industrial computer
condition
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.)
Active
Application number
CN201210317323.4A
Other languages
Chinese (zh)
Other versions
CN102799261A (en
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.)
Tianjin Yingli New Energy Resource Co Ltd
Original Assignee
Tianjin Yingli New Energy Resource 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 Tianjin Yingli New Energy Resource Co Ltd filed Critical Tianjin Yingli New Energy Resource Co Ltd
Priority to CN201210317323.4A priority Critical patent/CN102799261B/en
Publication of CN102799261A publication Critical patent/CN102799261A/en
Application granted granted Critical
Publication of CN102799261B publication Critical patent/CN102799261B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of realize screen protection method and device automatically run to realize screen protection with the change of industrial computer state parameter or close, and do not affect the object of industrial computer primary control program operation, by receiving, judging the parameter that primary control program sends, screen protection is made automatically to run with the change of industrial computer state parameter or close, and adopt multitask multithread mode with primary control program, reach screen protection and primary control program switches on a display screen in order, do not affect the object that industrial computer primary control program runs; Next, operation or the closedown of screen protection are associated with state working time of industrial computer primary control program; And; using the continuous working period of screen protection as the condition of closing screen protection, the supervision time interval of constraint industrial computer, using the lasting shut-in time of screen protection as the condition running screen protection; make screen protection after closedown certain hour, automatically recover the operation of screen protection.

Description

A kind of method and device realizing screen protection
Technical field
The present invention relates to screen protection field, particularly a kind of method and device realizing screen protection.
Background technology
The display screen of industrial computer configuration is for showing industrial computer control inerface or other monitoring interfaces relevant with industrial computer state, site operation personnel carries out an industrial computer status surveillance and confirmation activity by display screen at regular intervals or checks industrial computer running state parameter according to temporary needs, in addition other times, display screen is in idle state, causes the waste of electric energy and the waste of display screen resource.For HCT wire cutting machine tool, the power consumption of its display screen is about 1.44W/h, according to cutting off machine often saw operation 10 hours, often saw monitor number of times 15 times, often monitor and once cut 10 minutes consuming time, before cutting, 2.5 hours setup times calculated, the time cumulation that reading displayed shields data is needed every day to be about 11 hours, the standby time of display screen every day is about 13 hours, and the electricity of waste is about 18KW.
Utilize industrial computer from the screen protection program of tape operation system, as the screen protection program of WindowsXP operating system, can to a certain degree solve the problem.But, because it is mainly for the screen protection program that the operation of operating system provides, function is very limited, only comprise: screen protection intermittent pattern, stand-by period, the settings such as projection speed, can not automatically close with the change of industrial computer state of a control or run screen protection, such as: when the display screen of HCT wire cutting machine tool is in screen protection program running status, and the cutting-height parameter of this cutting off machine is when having exceeded allowed band, with current screen protection program, can not realize automatically stopping screen protection program running with the parameter state of cutting off machine and return to cutting off machine main control interface for operator inspection cutting off machine running status, the display screen supervision effect of cutting off machine is caused to lose efficacy, although can judge that inherent parameters state changes by amendment industrial computer primary control program, the instruction of closedown screen protection program is sent to make up this defect to operating system again by industrial computer primary control program, but for the industrial computer primary control program of complexity, amendment difficulty is high, industrial computer primary control program needs to carry out extra computation process, affects the travelling speed of industrial computer primary control program, if modify to the primary control program of a collection of industrial computer, the workload of amendment is inestimable especially.
Summary of the invention
In view of this, fundamental purpose of the present invention be to provide a kind of realize screen protection method and device automatically run to realize screen protection with the change of industrial computer state parameter or close, and do not affect the object that industrial computer primary control program runs.
The invention provides a kind of method realizing screen protection, the method adopts multitask multithread mode, specifically comprises:
Receive the parameter that primary control program sends;
Judge whether described parameter meets the first condition of closing screen protection, if so, close screen protection, return to primary control program interface, otherwise, run screen protection.
Preferably, also comprise:
Timing is carried out to the working time of primary control program;
Judge whether the timing result of described primary control program working time meets the second condition of closing screen protection, if so, closes screen protection, returns to primary control program interface, otherwise, run screen protection.
Preferably, also comprise:
Under the state that screen protection runs, timing is carried out to the continuous working period of screen protection, judges whether the timing result in described screen protection continuous working period meets the Article 3 part of closing screen protection, if, then close screen protection, return to primary control program interface;
Under the state that screen protection is closed, timing is carried out to the time that screen protection continues to close, judge that described screen protection continues the timing result of the time of closing and whether meets the Article 4 part running screen protection, if so, then run screen protection.
The present invention also comprises a kind of device realizing screen protection, and this device adopts multitask multithread mode, comprising:
Receiving element: for receiving the parameter that primary control program sends, described parameter is sent to performance element;
Performance element: for judging whether described parameter meets the first condition of closing screen protection, if so, closing screen protection, returning to primary control program interface, otherwise, run screen protection.
Visible the present invention has following beneficial effect:
The screen protection method proposed due to the present invention passes through to receive, judge the parameter that primary control program sends, screen protection is made automatically to run with the change of industrial computer state parameter or close, and adopt multitask multithread mode with primary control program, reach screen protection and primary control program switches on a display screen in order, do not affect the object that industrial computer primary control program runs; Secondly, also to comprise the working time of primary control program as the condition closing or run screen protection, reach the operation of screen protection or close the object that working time, state was associated with industrial computer primary control program; And; using the continuous working period of screen protection as the condition of closing screen protection; the supervision time interval of constraint industrial computer; using the lasting shut-in time of screen protection as the condition running screen protection; make screen protection after closedown certain hour; the operation of automatic recovery screen protection, thus do not need manual intervention.
Accompanying drawing explanation
Fig. 1 is a kind of method step legend realizing screen protection of the present invention;
Fig. 2 is a kind of device composition legend realizing screen protection of the present invention.
Embodiment
For enabling above-mentioned purpose of the present invention, feature and advantage become apparent more, are described in further detail the embodiment of the present invention below in conjunction with the drawings and specific embodiments.
The invention provides a kind of method realizing screen protection, see Fig. 1, the method adopts multitask multithread mode, comprising:
The parameter that S101, reception primary control program send;
S102, judge that whether described parameter meets the first condition of closing screen protection, if so, close screen protection, return to primary control program interface, otherwise, run screen protection.
From above performing step; the screen protection method proposed due to the present invention passes through to receive, judge the parameter that primary control program sends; screen protection is made automatically to run with the change of industrial computer state parameter or close; and adopt multitask multithread mode with primary control program; reach screen protection and primary control program switches on a display screen in order, do not affect industrial computer primary control program and run.
It should be noted that, the parameter that primary control program sends is received described in step S101, according to the needs that the present invention specifically implements, the arbitrary parameter that primary control program sends can be received, one or more, such as, the various parameters at each position of lathe in the cutting process that the primary control program receiving cutting off machine industrial computer constantly sends, comprise cutting master routine record cutting-height and cut the parameters such as working time.
Below to meeting the first condition of closing screen protection described in step S102, be described:
In one embodiment of the invention, described first condition is specially described parameter and exceedes allowed band, such as: the cutting-height parameter of cutting off machine exceedes permission height or exceedes the permission time clipping time;
According to other practical application scene needs, the first condition of described satisfied closedown screen protection can also be that between received various parameters, combinatorial operation meets a certain result, will not enumerate at this.
Below, following several closedown that can also comprise the present invention or the condition running screen protection are described:
(1) using the working time of primary control program as closing or running the condition of screen protection, comprise the following steps:
Timing is carried out to the working time of primary control program;
Judge whether the timing result of described primary control program working time meets the second condition of closing screen protection, if so, closes screen protection, returns to primary control program interface, otherwise, run screen protection.
The working time of primary control program is set as the condition closing or run screen protection; be mainly used in the actual scene of the routine inspection of industrial computer set time, reach the operation of screen protection or close the object that working time, state was associated with industrial computer primary control program.
(2) using the working time of screen protection as closing or running the condition of screen protection, comprise the following steps:
Under the state that screen protection runs, timing is carried out to the continuous working period of screen protection, judges whether the timing result in described screen protection continuous working period meets the Article 3 part of closing screen protection, if, then close screen protection, return to primary control program interface;
Under the state that screen protection is closed, timing is carried out to the time that screen protection continues to close, judge that described screen protection continues the timing result of the time of closing and whether meets the Article 4 part running screen protection, if so, then run screen protection.
The continuous working period of screen protection is set as the condition of closing screen protection, be mainly used in the supervision time interval retraining industrial computer, such as, after screen protection has run half an hour, namely after industrial computer is in non-monitored state half an hour, no matter which kind of state industrial computer is in, and all requires that operator checks industrial computer, needs to close screen protection and checks industrial computer state to remind operator;
The lasting shut-in time of screen protection is set as the condition running screen protection; be mainly used in screen protection after closedown certain hour; the operation of automatic recovery screen protection; thus do not need manual intervention, such as, screen protection is in closed condition; operator checks industrial computer state; estimate that the supervision time is 5 minutes, then can be set to screen protection and continue the timing result of the time of closing more than 5 minutes, then run screen protection.
In addition, consider other actual needs: such as, under screen protection running status, operator is touched touch-screen or rolling mouse, is initiatively checked industrial computer state, needs to close screen protection program in time; Or abnormal conditions appear in industrial computer, industrial computer primary control program sends warning message, needs to close screen protection program in time for operator inspection; Therefore, the present invention also comprises:
Judge whether external input device has input data, if had, close screen protection, return to primary control program interface;
Or,
When receiving the warning message coming from primary control program, close screen protection, return to primary control program interface.
It should be noted that, in order to the safety protecting primary control program and screen protection to run, the above first condition, second condition, Article 3 part, Article 4 part, specifically allowing when receiving senior key to arrange, specifically arranging in conjunction with the technique in actual production process and determining; And, can also comprise broadcast mode, page-turning speed, different time sections play data, dissimilar data reservation reproduction time, data loop play mode, etc. various setting, certainly, more than arrange and specifically can select to open or close by arranging interface for users as required.
In view of the closedown of screen protection of the present invention all adapts with the needs of industrial computer status checking, therefore the present invention also comprises: when closing screen protection, sends voice message or ejects prompt window; Be mainly used in reminding site operation personnel to check industrial computer state, this function can arrange according to actual needs and open or close certainly.
It should be noted that, screen protection is run specifically according to the screen protection file that the file layout display preset is preset described in the present invention, such as: according to actual needs, the screen protection file allowing to play various file layout can be set in advance as, the forms such as ppt, jpg or pdf; The screen protection file preset can be stored in screen protection dedicated folder; or according to the needs of other related sides such as the manufacturer of user, lathe; by the mode of USB interface or the network interconnection; input some information existed with lantern slide or extended formatting, the operation instruction of the equipment that such as equipment manufacturer provides or the advertising information of equipment manufacturer, employee's vocational skills data, etc. the propaganda materials of PPT form.
And when screen protection runs, the content of display may be the page composition of several continuous content, and show the discontinuous display effect that may affect desired by screen protection file, therefore, the present invention also comprises:
When closing screen protection, record the interruption position of the screen protection file shown;
When running screen protection, show from the interruption position of described screen protection file.
Visible, in this embodiment, screen protection close before content and the content run shown by screen protection again of display can realize broadcasting that content links up to reach desirable display effect; And by recording the interruption position of the screen protection file shown, the needs specifically implemented according to the present invention, can realize the orderly broadcasting between file or in file.
The present invention also comprises a kind of device realizing screen protection, and this device adopts multitask multithread mode, see Fig. 2, comprising:
Receiving element 201: for receiving the parameter that primary control program sends, described parameter is sent to performance element 202;
Performance element 202: for judging whether described parameter meets the first condition of closing screen protection, if so, closing screen protection, returning to primary control program interface, otherwise, run screen protection.
It should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All any amendments done within the spirit and principles in the present invention, equivalent replacement, improvement etc., be all included in protection scope of the present invention.

Claims (10)

1. realize a method for screen protection, it is characterized in that, adopt multitask multithread mode with the primary control program of industrial computer, comprising:
The industrial computer state parameter that the primary control program receiving industrial computer sends;
Judge whether described industrial computer state parameter meets the first condition of closing screen protection, and wherein, described first condition is specially described industrial computer state parameter and exceedes allowed band; if so, close screen protection, return to the primary control program interface of industrial computer; otherwise, run screen protection.
2. method according to claim 1, is characterized in that, described first condition is specially described parameter and exceedes allowed band.
3. method according to claim 1, is characterized in that, also comprises following any one or combination:
Judge whether external input device has input data, if had, close screen protection, return to primary control program interface;
When receiving the warning message coming from primary control program, close screen protection, return to primary control program interface.
4. method according to claim 3, is characterized in that, also comprises:
Timing is carried out to the working time of primary control program;
Judge whether the timing result of described primary control program working time meets the second condition of closing screen protection, if so, closes screen protection, returns to primary control program interface, otherwise, run screen protection.
5. method according to claim 4, is characterized in that, also comprises:
Under the state that screen protection runs, timing is carried out to the continuous working period of screen protection, judges whether the timing result in described screen protection continuous working period meets the Article 3 part of closing screen protection, if, then close screen protection, return to primary control program interface;
Under the state that screen protection is closed, timing is carried out to the time that screen protection continues to close, judge that described screen protection continues the timing result of the time of closing and whether meets the Article 4 part running screen protection, if so, then run screen protection.
6. method according to claim 5, is characterized in that, described first condition, second condition, Article 3 part, Article 4 part, specifically allows when receiving senior key to arrange.
7. the method according to claim 1 to 6 any one, is characterized in that, also comprises:
When closing screen protection, sending voice message or ejecting prompt window.
8. method according to claim 1, is characterized in that, described operation screen protection is specifically according to the screen protection file that the file layout display preset is preset.
9. method according to claim 8, is characterized in that, also comprises: when closing screen protection, records the interruption position of the screen protection file shown;
When running screen protection, show from the interruption position of described screen protection file.
10. realize a device for screen protection, it is characterized in that, adopt multitask multithread mode with the primary control program of industrial computer, comprising:
Receiving element: the industrial computer state parameter that the primary control program for receiving industrial computer sends, sends to performance element by described industrial computer state parameter;
Performance element: for judging whether described industrial computer state parameter meets the first condition of closing screen protection; wherein; described first condition is specially described industrial computer state parameter and exceedes allowed band; if; close screen protection; return to the primary control program interface of industrial computer, otherwise, run screen protection.
CN201210317323.4A 2012-08-30 2012-08-30 A kind of method and device realizing screen protection Active CN102799261B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210317323.4A CN102799261B (en) 2012-08-30 2012-08-30 A kind of method and device realizing screen protection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210317323.4A CN102799261B (en) 2012-08-30 2012-08-30 A kind of method and device realizing screen protection

Publications (2)

Publication Number Publication Date
CN102799261A CN102799261A (en) 2012-11-28
CN102799261B true CN102799261B (en) 2016-02-10

Family

ID=47198386

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210317323.4A Active CN102799261B (en) 2012-08-30 2012-08-30 A kind of method and device realizing screen protection

Country Status (1)

Country Link
CN (1) CN102799261B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2921933B1 (en) 2014-02-26 2018-12-19 LG Electronics Inc. Digital device and method of processing screensaver thereof
CN105807848B (en) * 2014-12-30 2020-11-17 研祥智能科技股份有限公司 Touch industrial personal computer
KR20160143429A (en) * 2015-06-05 2016-12-14 엘지전자 주식회사 Mobile terminal and method for controlling the same
CN107682724B (en) * 2017-09-29 2020-05-01 北京盛世辉科技有限公司 Display method, display device, intelligent remote controller and computer readable storage medium
CN112533064A (en) * 2019-09-19 2021-03-19 海信视像科技股份有限公司 Screen protection display method and device, storage medium and smart television

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101187865A (en) * 2007-12-24 2008-05-28 深圳市迅雷网络技术有限公司 Screen protection system and method
CN102402424A (en) * 2010-09-08 2012-04-04 鸿富锦精密工业(深圳)有限公司 Screen protection system and method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010277449A (en) * 2009-05-29 2010-12-09 Toshiba Corp Information processing apparatus and control method of information processing apparatus
CN202177805U (en) * 2011-06-29 2012-03-28 上海闻江电气控制设备有限公司 Power manager of printer master control system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101187865A (en) * 2007-12-24 2008-05-28 深圳市迅雷网络技术有限公司 Screen protection system and method
CN102402424A (en) * 2010-09-08 2012-04-04 鸿富锦精密工业(深圳)有限公司 Screen protection system and method

Also Published As

Publication number Publication date
CN102799261A (en) 2012-11-28

Similar Documents

Publication Publication Date Title
CN102799261B (en) A kind of method and device realizing screen protection
KR101209994B1 (en) System for mornitoring driving condition of vehicle in remote and thereof method
JP2006349483A (en) Electric power consumption monitoring system
CN101729294A (en) Monitoring method and system based on WEB GIS topological map
CN104823194A (en) Mining operation control and review
JP6890609B2 (en) Information display system
CN103065228B (en) Have a power failure monitoring assessment method for early warning and equipment
SG166079A1 (en) Performance dashboard monitoring for the knowledge management system
CN107944284B (en) Method and system for internal security control of enterprise data
TW200612302A (en) Semiconductor test management system and method
CN106651643A (en) Power security management and control method for whole process based on distribution and adjustment
CN102317900A (en) Method and module of performance threshold value setting
CN208521175U (en) A kind of creation data monitoring analysis system
CN201741234U (en) City fire-fighting remote monitoring management system
CN102594581B (en) A kind of recording method of daily record data
CN105938153A (en) System for monitoring abnormal state of CT secondary loop and electricity stealing prevention method
CN104052814A (en) Alarm information map push method and system based on web browser
JP6161990B2 (en) External interface device control system and external interface device control method
CN101673472A (en) Method for monitoring operating system, device and system therefor
CN204719494U (en) Service monitoring system
CN107747971A (en) Touch-screen workshop intelligent monitoring management system
Urban et al. Process knowledge building an optimized alarm system
CN113065668A (en) Equipment full life cycle management method and device
CN105159970B (en) A kind of database data migration system and method
Chandharabhanich et al. Enhancing Fuel Efficiency in Onshore Drilling Rigs through Generator Power Management: A Sustainable Approach to Reduce Diesel Consumption

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant