CN105759939A - Handset screen turning off and awakening method based on ReWorks system - Google Patents

Handset screen turning off and awakening method based on ReWorks system Download PDF

Info

Publication number
CN105759939A
CN105759939A CN201610092576.4A CN201610092576A CN105759939A CN 105759939 A CN105759939 A CN 105759939A CN 201610092576 A CN201610092576 A CN 201610092576A CN 105759939 A CN105759939 A CN 105759939A
Authority
CN
China
Prior art keywords
screen
reworks
signal
event
handset
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
CN201610092576.4A
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.)
Shandong Chaoyue Numerical Control Electronics Co Ltd
Original Assignee
Shandong Chaoyue Numerical Control Electronics 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 Shandong Chaoyue Numerical Control Electronics Co Ltd filed Critical Shandong Chaoyue Numerical Control Electronics Co Ltd
Priority to CN201610092576.4A priority Critical patent/CN105759939A/en
Publication of CN105759939A publication Critical patent/CN105759939A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3265Power saving in display device

Abstract

The invention particularly relates to a handset screen turning off and awakening method based on a ReWorks system. The handset screen turning off and awakening method based on the ReWorks system comprises the steps that a function is defined in a driver of the ReWorks operating system, meanwhile, an OS_Event_31 signal is adopted as a screen awakening signal, then a new screen management task is established, and the procedure of turning off and on a screen is achieved by monitoring the OS_Event_31 signal. According to the handset screen turning off and awakening method based on the ReWorks system, aiming at application of the domestic ReWorks real-time operating system to a handset, the screen can be turned off in time in an idle state to save the electric quantity, the screen is fast turned on when needed, and therefore power consumption speed is reduced, the use duration of the handset is prolonged, and then the functions of protecting a battery of the handset and prolonging the service life of the handset are achieved.

Description

A kind of hand-held set based on ReWorks system realizes the method that screen is closed and waken up
Technical field
The present invention relates to embedded software system technical field, realize, particularly to a kind of hand-held set based on ReWorks system, the method that screen is closed and waken up.
Background technology
Along with the propelling of the ripe and domestic substitution plan of homemade software and hardware product, homemade software and hardware product is increasingly widely applied in domestic communication equipment and Defense Information equipment.
China is information-based proposes great demand with all-round well-off society's construction to embedded system market, Internet appliance product annual requirement several hundred million, each class digitized household appliances have ten million platform market demand, industrial controlling embedded system has a hundred or so ten thousand set demands, commercial embedded system demand millions of.China has integrated circuit and pulls the production in enormous quantities ability of grade product, and the Embedded Application product of outlet also will progressively increase, and also can occupy a tiny space in world market.
Under such market environment, the embedded real-time operating system Reworks of the independent intellectual property right that Huadong Computing Technology Inst. releases necessarily has broad application prospects.This system has been successfully applied to the project such as ship electronic, vehicle mounted guidance.
Owing to hand-held set is that battery is powered, electricity is limited, and screen is a power consumption rich and influential family, in order to extend the use duration of hand-held set as far as possible, it is necessary to close screen at one's leisure to save electricity, and use time point bright screen curtain at needs.
Based on this, the present invention devises a kind of hand-held set based on ReWorks system and realizes the method that screen is closed and waken up.
Summary of the invention
The present invention is in order to make up the defect of prior art, it is provided that a kind of simple efficient hand-held set based on ReWorks system realizes the method that screen is closed and waken up.
The present invention is achieved through the following technical solutions:
A kind of hand-held set based on ReWorks system realizes the method that screen is closed and waken up, it is characterised in that comprise the following steps:
First, defining three functions in the driving of ReWorks operating system, respectively close screen backlight function, half closes screen backlight function and opens screen backlight function, for routine call;
Secondly, utilize in ReWorks operating system OS_Event_31 signal as waking screen signal up;
Then, ReWorks operating system is set up a new screen management task, by monitoring OS_Event_31 signal, to realize closing and opening the flow process of screen.
The main logic of described new screen management task is: if receiving OS_Event_31 signal, then calls and opens screen backlight function, described in open the state that screen backlight function makes screen light or is remain on;If exceeding certain time t1 not receive OS_Event_31 signal, then calling half pass screen backlight function, making screen become half bright state;If exceeding certain time t2 in the state that screen half is bright not receive OS_Event_31 signal, calling with closing screen backlight function, making screen blackening.
Described time-out time t1 and t2 can configure.
Keystroke handling interrupt processing function and touch screen in ReWorks operating system process and are separately added into the function sending OS_Event_31 signal to new screen management task in interrupt processing function, in order to make button operation and contact action all can wake screen up.
The invention has the beneficial effects as follows: should realize, based on the hand-held set of ReWorks system, the method that screen is closed and waken up; for the application on the handset of domestic ReWorks real time operating system; screen can be closed at one's leisure in time to save electricity; and screen is lighted rapidly when needs use; thus slow down power consumption rate; extend the use duration of hand-held set, and then play protection cell of mobile telephone set, extend the effect in hand-held set service life.
Accompanying drawing explanation
Accompanying drawing 1 is screen management task status of the present invention transition schematic diagram.
Detailed description of the invention
In order to make the technical problem to be solved, technical scheme and beneficial effect clearly understand, below in conjunction with drawings and Examples, the present invention will be described in detail.It should be noted that, specific embodiment described herein is only in order to explain the present invention, it is not intended to limit the present invention.
Should realize, based on the hand-held set of ReWorks system, the method that screen is closed and waken up, comprise the following steps:
First, defining three functions in the driving of ReWorks operating system, respectively close screen backlight function, half closes screen backlight function and opens screen backlight function, for routine call;
Secondly, utilize in ReWorks operating system OS_Event_31 signal as waking screen signal up;
Then, ReWorks operating system is set up a new screen management task, by monitoring OS_Event_31 signal, to realize closing and opening the flow process of screen.
The main logic of described new screen management task is: if receiving OS_Event_31 signal, then calls and opens screen backlight function, described in open the state that screen backlight function makes screen light or is remain on;If exceeding certain time t1 not receive OS_Event_31 signal, then calling half pass screen backlight function, making screen become half bright state;If exceeding certain time t2 in the state that screen half is bright not receive OS_Event_31 signal, calling with closing screen backlight function, making screen blackening.
Described time-out time t1 and t2 can configure.
Keystroke handling interrupt processing function and touch screen in ReWorks operating system process and are separately added into the function sending OS_Event_31 signal to new screen management task in interrupt processing function, in order to make button operation and contact action all can wake screen up.
The flow process that screen closes should be realized as follows based on the hand-held set of ReWorks system:
(1) screen management task time-out does not receive screen wake-up signal;
(2) backlight function is closed in screen management task call half, makes screen dimmed;
(3) screen management task again time out does not receive screen wake-up signal;
(4) backlight function is closed in screen management task call, makes screen close.
The flow process that screen wakes up should be realized as follows based on the hand-held set of ReWorks system:
(1) button or touch operation trigger screen wake-up signal;
(2) screen management task receives screen wake-up signal;
(3) backlight function is opened in screen management task call, lights screen.
The method that screen is closed and waken up should be realized based on the hand-held set of ReWorks system; for the application on the handset of domestic ReWorks real time operating system; screen can be closed at one's leisure in time to save electricity; and screen is lighted rapidly when needs use; thus slow down power consumption rate; extend the use duration of hand-held set, and then play protection cell of mobile telephone set, extend the effect in hand-held set service life.

Claims (4)

1. the hand-held set based on ReWorks system realizes the method that screen is closed and waken up, it is characterised in that comprise the following steps:
First, defining three functions in the driving of ReWorks operating system, respectively close screen backlight function, half closes screen backlight function and opens screen backlight function, for routine call;
Secondly, utilize in ReWorks operating system OS_Event_31 signal as waking screen signal up;
Then, ReWorks operating system is set up a new screen management task, by monitoring OS_Event_31 signal, to realize closing and opening the flow process of screen.
2. the hand-held set based on ReWorks system according to claim 1 realizes the method that screen is closed and waken up, it is characterized in that: the main logic of described new screen management task is: if receiving OS_Event_31 signal, then call and open screen backlight function, described in open the state that screen backlight function makes screen light or is remain on;If exceeding certain time t1 not receive OS_Event_31 signal, then calling half pass screen backlight function, making screen become half bright state;If exceeding certain time t2 in the state that screen half is bright not receive OS_Event_31 signal, calling closedown screen backlight function, making screen blackening.
3. the hand-held set based on ReWorks system according to claim 2 realizes the method that screen is closed and waken up, it is characterised in that: described time-out time t1 and t2 can configure.
4. the hand-held set based on ReWorks system according to claim 1 and 2 realizes the method that screen is closed and waken up, it is characterized in that: keystroke handling interrupt processing function and touch screen in ReWorks operating system process and be separately added into the function sending OS_Event_31 signal to new screen management task in interrupt processing function, in order to make button operation and contact action all can wake screen up.
CN201610092576.4A 2016-02-19 2016-02-19 Handset screen turning off and awakening method based on ReWorks system Pending CN105759939A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610092576.4A CN105759939A (en) 2016-02-19 2016-02-19 Handset screen turning off and awakening method based on ReWorks system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610092576.4A CN105759939A (en) 2016-02-19 2016-02-19 Handset screen turning off and awakening method based on ReWorks system

Publications (1)

Publication Number Publication Date
CN105759939A true CN105759939A (en) 2016-07-13

Family

ID=56330194

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610092576.4A Pending CN105759939A (en) 2016-02-19 2016-02-19 Handset screen turning off and awakening method based on ReWorks system

Country Status (1)

Country Link
CN (1) CN105759939A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018227472A1 (en) * 2017-06-15 2018-12-20 深圳市汇顶科技股份有限公司 Screen wake-up method and apparatus, and terminal device
CN111399624A (en) * 2020-02-18 2020-07-10 上海泰辑软件有限公司 Embedded low-power-consumption image display method and system
CN115083358A (en) * 2022-07-05 2022-09-20 珠海格力电器股份有限公司 Display panel backlight control circuit and control method
WO2023016017A1 (en) * 2021-08-12 2023-02-16 荣耀终端有限公司 Control method for display screen, and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101610300A (en) * 2009-06-16 2009-12-23 中兴通讯股份有限公司 The control method of backlight of mobile terminal and device
US20110141077A1 (en) * 2009-12-11 2011-06-16 Cho Dae-Ho Driving method for local dimming of liquid crystal display device and apparatus using the same
CN102779502A (en) * 2011-05-11 2012-11-14 中兴通讯股份有限公司 Terminal screen control method and terminal
CN103218045A (en) * 2013-04-25 2013-07-24 广东欧珀移动通信有限公司 Method and device for illuming screen of mobile terminal
CN103514837A (en) * 2012-06-27 2014-01-15 中兴通讯股份有限公司 Terminal screen backlight control method and apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101610300A (en) * 2009-06-16 2009-12-23 中兴通讯股份有限公司 The control method of backlight of mobile terminal and device
US20110141077A1 (en) * 2009-12-11 2011-06-16 Cho Dae-Ho Driving method for local dimming of liquid crystal display device and apparatus using the same
CN102779502A (en) * 2011-05-11 2012-11-14 中兴通讯股份有限公司 Terminal screen control method and terminal
CN103514837A (en) * 2012-06-27 2014-01-15 中兴通讯股份有限公司 Terminal screen backlight control method and apparatus
CN103218045A (en) * 2013-04-25 2013-07-24 广东欧珀移动通信有限公司 Method and device for illuming screen of mobile terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018227472A1 (en) * 2017-06-15 2018-12-20 深圳市汇顶科技股份有限公司 Screen wake-up method and apparatus, and terminal device
CN111399624A (en) * 2020-02-18 2020-07-10 上海泰辑软件有限公司 Embedded low-power-consumption image display method and system
WO2023016017A1 (en) * 2021-08-12 2023-02-16 荣耀终端有限公司 Control method for display screen, and electronic device
CN115083358A (en) * 2022-07-05 2022-09-20 珠海格力电器股份有限公司 Display panel backlight control circuit and control method

Similar Documents

Publication Publication Date Title
CN105759939A (en) Handset screen turning off and awakening method based on ReWorks system
CN102006356B (en) Method for detecting state of cell phone pocket by using Android operating system
CN102981766A (en) Terminal activating method and terminal
CN202634538U (en) Energy-saving mobile communication terminal
CN104918310A (en) Mobile terminal with rapid power saving function and rapid power saving method thereof
CN109869048A (en) A kind of processing method and processing unit of door-locking system low battery
CN102946497A (en) Method for reducing power consumption of smart phone during communication
CN201946269U (en) Automatic control system for power switch of light emitting diode (LED) display screen
CN102915083B (en) Mobile terminal
CN201690269U (en) Handheld meter terminal power supply control circuit
CN205594571U (en) Power controlling means and computer
CN102495558B (en) System and method for remotely controlling turn-on or turn-off of electric equipment by using radio frequency communication
CN208506962U (en) A kind of energy-saving wireless remote control device
CN116825013A (en) Control device, control method and related equipment of display screen
CN103453728A (en) Refrigerator controlling system
CN201226550Y (en) Mobile communication apparatus with energy-saving mechanism
CN105872160A (en) Method and device for rapidly starting flashlight
CN109688355A (en) A kind of display screen discharge control device of OLED TV
CN100479601C (en) Electric saving method of mobile communication equipment
CN101730300A (en) Displayer and keyboard power management system and method
CN206209583U (en) A kind of calculator restarts protector
CN209924648U (en) Intelligent lock and low-power-consumption activation device thereof
CN202443414U (en) Peripheral energy-saving computer circuit for full-function shutoff host
CN206023903U (en) A kind of mobile phone with a key electricity-saving function
CN105186230A (en) Smart energy-efficient power wiring board

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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: 20160713