CN105786157A - Electronic device and control method thereof - Google Patents

Electronic device and control method thereof Download PDF

Info

Publication number
CN105786157A
CN105786157A CN201610124822.XA CN201610124822A CN105786157A CN 105786157 A CN105786157 A CN 105786157A CN 201610124822 A CN201610124822 A CN 201610124822A CN 105786157 A CN105786157 A CN 105786157A
Authority
CN
China
Prior art keywords
module
electronic equipment
time
peripheral hardware
communication
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
CN201610124822.XA
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.)
Hefei Lianbao Information Technology Co Ltd
Original Assignee
Hefei Lianbao Information 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 Hefei Lianbao Information Technology Co Ltd filed Critical Hefei Lianbao Information Technology Co Ltd
Priority to CN201610124822.XA priority Critical patent/CN105786157A/en
Publication of CN105786157A publication Critical patent/CN105786157A/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/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • 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/3246Power saving characterised by the action undertaken by software initiated power-off
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides an electronic device and a control method thereof. The electronic device switches the working state of the electronic device according to a communication connection state with a peripheral; the electronic device internally comprises a communication module, a timing module and a state switching module, wherein the communication module is used for communicating with the peripheral, the timing module is used for calculating the time for connecting and disconnecting the communication connection between the electronic device and the peripheral, and the state switching module is used for switching the working state of the electronic device according to the time calculated by the timing module. The electronic device can achieve remote control over operations of shutting down and sleeping of computer equipment.

Description

A kind of electronic equipment and control method thereof
Technical field
The present invention relates to electronic device field, particularly a kind of electronic equipment and control method thereof.
Background technology
Currently in computer equipment field, often when shutdown; need to go near computer; carry out power-off operation, and its shutdown of control that can not be long-range or carry out the operations such as dormancy, and; for the wireless mouse commonly used; user often uses wireless mouse in the place having with a certain distance from main frame, if now needing shutdown, it is necessary to mouse and main frame are turned off respectively; such operation is cumbersome, and experience effect is poor.
Summary of the invention
Problem to be solved by this invention be a kind of can the electronic equipment of the shutdown of remote control computer equipment or the operation such as dormancy and control method thereof.
A kind of electronic equipment, it, according to the communication connection status with peripheral hardware, switches the duty of self;Include in described electronic equipment:
Communication module, it is used for and peripheral communication;
Timing module, it is for calculating the time of connection communication connection and disconnection communication connection between described electronic equipment and described peripheral hardware;
State handover module, its duty according to the calculated time-switching electronic equipment of described timing module.
Wherein, described state handover module be configured to the time of the described electronic equipment that described timing module calculates and the separated communication connection of peripheral hardware more than first scheduled time time, the duty switching described electronic equipment is the first predetermined work state.
Wherein, described state handover module be further configured to the time of the separated communication connection of the described electronic equipment when described timing module calculates and peripheral hardware more than second scheduled time time, change its duty into the second predetermined work state.
Wherein, described first predetermined state is resting state, and the second predetermined state is off-mode.
Wherein, described electronic equipment includes the energy supply control module for controlling power-supply system, described energy supply control module be configured to the time of the described electronic equipment that described timing module calculates and the separated communication connection of peripheral hardware more than three scheduled times time, the powering mode of described energy supply control module is converted to battery saving mode, and wherein said 3rd scheduled time is less than described first scheduled time.
Wherein, described control module is also connected with described communication module, timing module and state handover module respectively, controls the operation of described state handover module with the temporal information calculated according to described timing module.
Wherein, prestoring the facility information of described peripheral hardware in described control module, when the communication of described communication module Yu this peripheral hardware is converted to disconnection by connection, described control module controls described timing module and carries out Clocked operation.
Wherein, described communication module includes bluetooth module, WiFi module.
Wherein, described peripheral hardware is at least the one in wireless mouse, mobile phone, computer equipment.
Present invention also offers a kind of control method controlling electronic equipment described above, it comprises the following steps:
S1: the communication module of electronic equipment sets up the communication connection with peripheral hardware;
S2: timing module calculates the time of connection communication connection and disconnection communication connection between described electronic equipment and peripheral hardware;
S3: the duty of electronic equipment described in the time-switching that state handover module calculates according to described timing module.
Compared with prior art, the beneficial effects of the present invention is:
1, electronic equipment provided by the invention can control the duty of electronic equipment according to the time of turn-off data communication between peripheral hardware and electronic equipment, play the effect saving the energy on the one hand, the shutdown controlling corresponding electronic equipment that on the other hand can also be long-range or dormancy, more convenient to operate;
2, the powering mode of electronic equipment can also be converted to battery saving mode by electronic equipment provided by the invention, simultaneously closes off the operation of unnecessary program, more saves electric energy.
Accompanying drawing explanation
Fig. 1 is the principle assumption diagram of a kind of electronic equipment of the embodiment of the present invention;
Fig. 2 is the principle assumption diagram of the electronic equipment in another embodiment of the present invention;
Fig. 3 is the flow chart of the control method of a kind of electronic equipment of the embodiment of the present invention.
Description of reference numerals
100-electronic equipment 200-peripheral hardware
101-communication module 102-timing module
103-state handover module 104-controls module
105-switchs
Detailed description of the invention
Below in conjunction with the drawings and specific embodiments, the present invention is described in further detail, but not as limiting to the invention.
The invention provides a kind of electronic equipment, it according to the communication connection status with peripheral hardware, can switch the duty of self.As it is shown in figure 1, be the principle assumption diagram of the electronic equipment of the embodiment of the present invention;This electronic equipment 100 communicates to connect with peripheral hardware 200, and according to the switching on and off of the communication connection of this peripheral hardware 200, electronic equipment 100 in the present embodiment can switch its duty, such as dormancy, the states such as shutdown, concrete, the present embodiment may include that in electronic equipment 100 communication module 101, timing module 102 and state handover module 103, wherein communication module 101 is for communication with the outside, peripheral hardware 200 communicates with electronic equipment 100 as can be passed through this communication module 101, preferably, communication module 101 can also carry out data communication with other electronic equipment;Timing module 102 is connected communication connection for calculating and disconnects the time of communication connection between electronic equipment 100 and peripheral hardware 200, namely, when communication module 101 disconnects the data communication between described peripheral hardware 200, and connect between peripheral hardware 200 communication time, can the timework of triggering timing module 102;And state handover module 103 can according to the duty of the calculated time-switching electronic equipment of timing module 102.Such as, state handover module 103 can be configured to when the time of the electronic equipment 100 that timing module 102 calculates and the separated communication connection of peripheral hardware 200 more than first scheduled time time, the duty of switching electronic equipment 100 is the first predetermined work state, and this first predetermined work state can be resting state or off-mode.Further, when the first predetermined work state is dormancy, state handover module 103 can also be further configured to when the time of the electronic equipment 100 that timing module 102 calculates and the separated communication connection of peripheral hardware 200 more than second scheduled time time, the duty of switching electronic equipment 100 is the second predetermined work state, and the second predetermined work state can be off-mode.Communication module 101 in the present embodiment can include bluetooth module and WiFi module.Peripheral hardware 200 can be in wireless mouse, mobile phone, computer equipment any one, and, electronic equipment 100 can also be any one computer equipment.By above-mentioned configuration, the turn-off time by the data communication between peripheral hardware 200 and electronic equipment 100 can be realized, switch the duty of electronic equipment 100, namely, can pass through to close the state that the peripheral hardware 200 data to electronic equipment 100 are transmitted or communicated to connect, the dormancy controlling peripheral hardware that just can be long-range or shutdown, play the effect saving the energy on the one hand, makes the remote control electronic equipment 100 that user is convenient on the other hand.
Preferably, can also including an energy supply control module in the present embodiment, this energy supply control module according to the time of the calculated electronic equipment of timing module 101 and the separated communication connection of peripheral hardware, can adjust powering mode.Such as, the time that timing module 102 calculates more than three scheduled times time, in advance the powering mode of energy supply control module can be converted to battery saving mode, wherein the 3rd scheduled time is less than first scheduled time, that is, first the powering mode of electronic equipment 100 can be converted to battery saving mode before electronic equipment 100 is carried out sleep operation, further to save the use of power supply.
As shown in Figure 2, principle assumption diagram for the computer equipment in another embodiment of the present invention, wherein, a control module 104 can also be included in electronic equipment 100, and this first control module 104 can be connected with the energy supply control module of electronic equipment 100 and timing module 102, control the operation of energy supply control module with the time calculated according to timing module 102.
nullWherein,Controlling module 104 can as the internal controller of electronic equipment 100,Namely it can also be connected with communication module 101 and state handover module 103,With when communication module 101 is judged as disconnecting the communication with peripheral hardware,Control timing module and carry out Clocked operation,And the operation of correspondingly controlled state handover module 103,Concrete,Data communication is set up by communication module 101 and the second data terminal 200,As when communication module 101 is attached by Bluetooth technology,Control module 104 and can monitor the pairing situation of communication module 101 and the second data terminal 200,If peripheral hardware 200 closes power supply,Or away from electronic equipment 100 (distance is unsuccessful as far as pairing),Unpaired message or data communication are lost within a certain period of time,Communication module 101 can will detect the information that data cube computation disconnects or loses pairing,And this information is transmitted to controlling module 104,Control module 104 and then can pass through to control GPIO (the universal input output of energy supply control module,Or expander) allow electronic equipment enter energy saver mode or battery saving mode,After this battery saving mode continues for some time (the 3rd scheduled time),Unpaired message or data communication still do not recover,Timing module 102 and communication module 101 can transmit clocking information and communications status to control module 104 respectively,And control module 104 and now by the state handover module 103 of electronic equipment 100, the duty of electronic equipment 100 can be switched to dormancy or shutdown,Or carry out power-off operation after a certain time.
Additionally, in the present embodiment, control also to prestore the facility information about peripheral hardware 200 in module 104, such as title, device type etc., when the communication of communication module 101 with this peripheral hardware 200 is converted to disconnection by connection, control module 104 controls timing module 102 and carries out Clocked operation.And, between communication module 101 and the control module 104 of electronic equipment 100, a switch 105 can also be set, for turning on and off communication module 101 and the data transmission controlled between module 104, when turning off this switch 105, then the data communication between peripheral hardware 200 and electronic equipment 100 or unpaired message are not monitored, control module 104, timing module 102 and state handover module 103 and also just do not operate accordingly.Turning on and off of this switch 105 can be realized by user's configuration by electronic equipment 100, say, that user can choose whether to carry out remote control operation by peripheral hardware 200 with associating of electronic equipment 100 voluntarily, has autonomy.Accordingly, the switching switch of the break-make of the communication connection that peripheral hardware 200 can also be provided with between control and electronic equipment 100, in order to the long-range control to electronic equipment 100.
In addition, it is necessary to illustrate, in the present embodiment, peripheral hardware 200 can also as a kind of long-range start remote control equipment, and communication module 101 may also receive from other instructions of peripheral hardware 200.As regulated backlight and measuring, the configuration such as volume or mike, the corresponding module 104 that controls can also control the corresponding configuration of electronic equipment according to above-mentioned control instruction.
It addition, as it is shown on figure 3, be the flow chart of the control method of electronic equipment in the embodiment of the present invention, including step:
S1: the communication module 101 of electronic equipment 100 sets up the communication connection with peripheral hardware 200;
S2: timing module 102 calculates and connects communication connection between electronic equipment 100 with peripheral hardware 200 and disconnect the time of communication connection;
S3: the duty of the time-switching electronic equipment 100 that state handover module 103 calculates according to timing module 102, this duty includes off-mode and resting state.
Such as, state handover module 103 can be configured to when the time that timing module 102 calculates more than first scheduled time time, the duty of switching electronic equipment 100 is the first predetermined work state, and this first predetermined work state can be resting state or off-mode.Further, state handover module 103 can also be further configured to when the time that timing module 102 calculates more than second scheduled time time, the duty of switching electronic equipment 100 is the second predetermined work state, and the second predetermined work state can be off-mode.Communication module 101 in the present embodiment can include bluetooth module and WiFi module.Peripheral hardware 200 can be in wireless mouse, mobile phone, computer equipment any one.By above-mentioned configuration, it is possible to achieve by the turn-off time of the data communication between peripheral hardware 200 and electronic equipment 100, switch the duty of electronic equipment 100.
Above example is only the exemplary embodiment of the present invention, is not used in the restriction present invention, and protection scope of the present invention is defined by the claims.The present invention in the essence of the present invention and protection domain, can be made various amendment or equivalent replacement by those skilled in the art, and this amendment or equivalent replacement also should be regarded as being within the scope of the present invention.

Claims (10)

1. an electronic equipment, it, according to the communication connection status with peripheral hardware, switches the duty of self;Include in described electronic equipment:
Communication module, it is used for and peripheral communication;
Timing module, it is for calculating the time of connection communication connection and disconnection communication connection between described electronic equipment and peripheral hardware;
State handover module, it is the duty of electronic equipment according to the calculated time-switching of described timing module.
2. electronic equipment according to claim 1, it is characterized in that, described state handover module be configured to the time of the described electronic equipment that described timing module calculates and the separated communication connection of peripheral hardware more than first scheduled time time, the duty switching described electronic equipment is the first predetermined work state.
3. electronic equipment according to claim 2, it is characterized in that, described state handover module be further configured to the time of the separated communication connection of the described electronic equipment when described timing module calculates and peripheral hardware more than second scheduled time time, change its duty into the second predetermined work state.
4. electronic equipment according to claim 3, it is characterised in that described first predetermined state is resting state, the second predetermined state is off-mode.
5. electronic equipment according to claim 2, it is characterized in that, including the energy supply control module for controlling power-supply system, it is characterized in that, described energy supply control module be configured that the time of the described electronic equipment that described timing module calculates and the separated communication connection of peripheral hardware more than three scheduled times time, powering mode is converted to battery saving mode, and wherein said 3rd scheduled time is less than described first scheduled time.
6. electronic equipment according to claim 1, it is characterized in that, also including controlling module, described control module is also connected with described communication module, timing module and state handover module respectively, controls the operation of described state handover module with the temporal information calculated according to described timing module.
7. electronic equipment according to claim 6, it is characterized in that, prestoring the facility information of described peripheral hardware in described control module, when the communication of described communication module Yu peripheral hardware is converted to disconnection by connection, described control module controls described timing module and carries out Clocked operation.
8. electronic equipment according to claim 1, it is characterised in that described communication module includes bluetooth module, WiFi module.
9. electronic equipment according to claim 1, it is characterised in that described peripheral hardware is at least the one in wireless mouse, mobile phone, computer equipment.
10. one kind for controlling in claim 1-9 the control method of the electronic equipment as described in any one, it is characterised in that comprises the following steps:
S1: the communication module of electronic equipment sets up the communication connection with peripheral hardware;
S2: timing module calculates the time of connection communication connection and disconnection communication connection between described electronic equipment and peripheral hardware;
S3: the duty of electronic equipment described in the time-switching that state handover module calculates according to described timing module.
CN201610124822.XA 2016-03-04 2016-03-04 Electronic device and control method thereof Pending CN105786157A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610124822.XA CN105786157A (en) 2016-03-04 2016-03-04 Electronic device and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610124822.XA CN105786157A (en) 2016-03-04 2016-03-04 Electronic device and control method thereof

Publications (1)

Publication Number Publication Date
CN105786157A true CN105786157A (en) 2016-07-20

Family

ID=56387062

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610124822.XA Pending CN105786157A (en) 2016-03-04 2016-03-04 Electronic device and control method thereof

Country Status (1)

Country Link
CN (1) CN105786157A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106136527A (en) * 2016-09-05 2016-11-23 广州视源电子科技股份有限公司 Intelligent luggage carrier and the control method of Intelligent luggage carrier
CN106375808A (en) * 2016-08-29 2017-02-01 深圳创维数字技术有限公司 Bluetooth remote control optimization method and system, and set-top box
CN109661020A (en) * 2018-11-07 2019-04-19 深圳市有方科技股份有限公司 Adjusting method, adjustment equipment and the computer readable storage medium of Internet of Things battery saving mode
WO2020078383A1 (en) * 2018-10-16 2020-04-23 深圳Tcl新技术有限公司 Bluetooth connection-based mode switching method, apparatus and system, and bluetooth device
CN112865771A (en) * 2020-12-31 2021-05-28 广州极飞科技股份有限公司 Delayed power-off system, unmanned equipment and delayed power-off method
CN115515209A (en) * 2021-06-23 2022-12-23 中移物联网有限公司 Low-power-consumption communication method, device, terminal equipment, storage medium and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070293953A1 (en) * 2006-06-14 2007-12-20 Kenichi Hoshi Power line communication terminal apparatus
CN101437323A (en) * 2008-12-01 2009-05-20 深圳华为通信技术有限公司 Method for closedown of gateway equipment, gateway equipment and system
US20100281185A1 (en) * 2009-05-01 2010-11-04 Hajime Takayama Communication device, control method for communication device, and computer program product
CN102778943A (en) * 2011-05-10 2012-11-14 联想(北京)有限公司 State control method and device and portable terminal
CN104599473A (en) * 2015-01-30 2015-05-06 乐视致新电子科技(天津)有限公司 Switching method and switching device of wireless communication mode

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070293953A1 (en) * 2006-06-14 2007-12-20 Kenichi Hoshi Power line communication terminal apparatus
CN101437323A (en) * 2008-12-01 2009-05-20 深圳华为通信技术有限公司 Method for closedown of gateway equipment, gateway equipment and system
US20100281185A1 (en) * 2009-05-01 2010-11-04 Hajime Takayama Communication device, control method for communication device, and computer program product
CN102778943A (en) * 2011-05-10 2012-11-14 联想(北京)有限公司 State control method and device and portable terminal
CN104599473A (en) * 2015-01-30 2015-05-06 乐视致新电子科技(天津)有限公司 Switching method and switching device of wireless communication mode

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375808A (en) * 2016-08-29 2017-02-01 深圳创维数字技术有限公司 Bluetooth remote control optimization method and system, and set-top box
CN106136527A (en) * 2016-09-05 2016-11-23 广州视源电子科技股份有限公司 Intelligent luggage carrier and the control method of Intelligent luggage carrier
CN106136527B (en) * 2016-09-05 2018-05-25 广州视源电子科技股份有限公司 The control method of Intelligent luggage carrier and Intelligent luggage carrier
WO2020078383A1 (en) * 2018-10-16 2020-04-23 深圳Tcl新技术有限公司 Bluetooth connection-based mode switching method, apparatus and system, and bluetooth device
CN109661020A (en) * 2018-11-07 2019-04-19 深圳市有方科技股份有限公司 Adjusting method, adjustment equipment and the computer readable storage medium of Internet of Things battery saving mode
CN109661020B (en) * 2018-11-07 2021-12-21 深圳市有方科技股份有限公司 Adjusting method and adjusting device for power saving mode of Internet of things and computer-readable storage medium
CN112865771A (en) * 2020-12-31 2021-05-28 广州极飞科技股份有限公司 Delayed power-off system, unmanned equipment and delayed power-off method
CN115515209A (en) * 2021-06-23 2022-12-23 中移物联网有限公司 Low-power-consumption communication method, device, terminal equipment, storage medium and system

Similar Documents

Publication Publication Date Title
CN105786157A (en) Electronic device and control method thereof
WO2017101047A1 (en) Charging control method and device, power adapter, and mobile terminal
WO2016165062A1 (en) Terminal control method, device and terminal
WO2013185679A1 (en) Method and device for controlling power supply and charging of cellular phone
CN102547943B (en) Control method and device of task item execution
CN102520627B (en) Handheld electronic equipment and control method thereof
CN102572119B (en) A kind of mobile terminal and electricity saving method thereof
US10375756B2 (en) Method of controlling operation of a communication device, transceiver operating accordingly, and computer program
CN103685953A (en) Shooting device, mobile terminal and watch
CN108777862B (en) Bluetooth transmission method, Bluetooth controller and Bluetooth device
CN102916730A (en) Bluetooth equipment and Bluetooth antitheft system
JP2006020176A5 (en)
CN104349433A (en) System for supporting mobile terminal to realize dual model switching and mobile terminal using same
CN117472163B (en) Power supply system for high-speed additional card
CN104144251A (en) Bluetooth control method and device of mobile terminal
KR20170098467A (en) Apparatus and method for providing usb interface between potable device and external device
CN205594571U (en) Power controlling means and computer
CN104883613A (en) Method for awakening television through network terminal equipment
CN208385007U (en) It is a kind of can voice control switch
US20160142526A1 (en) Remote monitoring system and remote monitoring method
KR101544466B1 (en) Power Control Method and Apparatus for Controlling Power Source Circuit of Portable Terminal
CN113922522A (en) Wireless charging management method, system, electronic device and storage medium
KR20120126658A (en) Method and apparatus for avoiding noise in no contact charging system
KR200486844Y1 (en) Apparatus for controlling computer power using IoT
CN111355836A (en) Flashlight control method and device, storage medium and mobile terminal

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

Application publication date: 20160720

RJ01 Rejection of invention patent application after publication