CN109871245A - Starting state switching method, device, equipment, system and electronic equipment - Google Patents
Starting state switching method, device, equipment, system and electronic equipment Download PDFInfo
- Publication number
- CN109871245A CN109871245A CN201910156935.1A CN201910156935A CN109871245A CN 109871245 A CN109871245 A CN 109871245A CN 201910156935 A CN201910156935 A CN 201910156935A CN 109871245 A CN109871245 A CN 109871245A
- Authority
- CN
- China
- Prior art keywords
- electronic equipment
- timing
- starting state
- time
- memory
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 23
- 238000000151 deposition Methods 0.000 claims description 3
- 238000003860 storage Methods 0.000 description 11
- 238000004590 computer program Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 6
- 239000013078 crystal Substances 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000005611 electricity Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 210000001367 artery Anatomy 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 210000003462 vein Anatomy 0.000 description 1
Landscapes
- Power Sources (AREA)
Abstract
The invention discloses a method, a device, equipment and a system for switching starting states of electronic equipment and the electronic equipment, wherein the method comprises the following steps: reading at least one timing time previously stored from the memory. And acquiring the timing time which is positioned after the current time and is closest to the current time from the at least one timing time as the set time. Writing the acquired set time into an RTC module; the set time is used for triggering the RTC module to output an interrupt signal to a processing system of the electronic equipment when the set time is reached. The interrupt signal is used for triggering the processing system control equipment to be switched from a first starting state to a second starting state. The invention can write the timing time closest to the current time as the set time into the RTC module when setting a plurality of timing times, and can ensure that the set time is written into the RTC module as long as the electronic equipment is in the standby state before the set time no matter how the starting state of the electronic equipment changes.
Description
Technical field
The present invention relates to electronic communication application field is related to, cut more particularly to the starting state of a kind of electronic equipment
Change method, apparatus, equipment, system and electronic equipment.
Background technique
Real-time clock (Real-Time Clock, RTC) circuit is widely used in the state switching of electronic equipment, such as timing
Switching on and shutting down or timing controlled electronic equipment enter working condition from standby mode.For example, passing through RTC circuit controlling electronic devices
The existing procedure for entering working condition from standby mode is as follows: when user passes through the multiple timings of default of electronic equipment first
Between, the first nearest timing is written in the register of RTC circuit by system.Hereafter, system enters standby mode, arrives
Up to setting the first timing when, RTC circuit sends an interrupt signal to system, and system is according to interrupt signal from standby shape
State is switched to normal operating conditions, and reads next timing (being denoted as the second timing) and be written to posting for RTC circuit
In storage, recycle repeatedly.
Inventor has found that at least there are the following problems for the prior art in the practice of the invention: if equipment reaches
Because certain abnormal causes cause to power off before first setting time, and after the first setting time, the second time point it
Preceding power on again is restored to standby mode, then in such cases, RTC circuit can the first setting time normally send interrupt signal to
System, but system cannot respond to enter normal operating conditions due to powering off.And after re-powering, if inartificial opens
Machine, system are restored to standby mode, thus the second setting time can not be also written to register (the system need of RTC circuit
Setting time could be written to the register of RTC circuit in normal operation), it so causes and is set in arrival second
When fixing time, the equipment being in standby can not normal Auto Power On.
Summary of the invention
Starting state method for handover control, device, equipment, system and the storage medium of a kind of equipment of the embodiment of the present invention,
It can ensure that electronic equipment is accurately switched to set state when reaching setting time.
In a first aspect, the embodiment of the present invention provides the starting state switching method of a kind of electronic equipment, include the following steps:
At least one timing pre-deposited is read from memory;
From at least one described timing, obtain after current time and immediate with the current time
Timing, as setting time;
The setting time that will acquire is written to RTC block;Wherein, the setting time exists for triggering RTC block
When reaching the setting time, interrupt signal is exported to the processing system of the electronic equipment;The interrupt signal is for triggering
The processing system control equipment switches to the second starting state by the first starting state.
Further, at least one timing pre-deposited is read from memory specifically:
When listening to the RTC block output interrupt signal, at least one timing pre-deposited is read from memory
Time.
Further, at least one timing pre-deposited is read from memory specifically:
When the starting state for listening to electronic equipment changes, it is fixed that at least one pre-deposited is read from memory
When the time.
Further, the first starting state is standby mode.
Second aspect, the embodiment of the present invention provide the starting state switching device of a kind of electronic equipment, comprising:
Reading unit, for reading at least one timing pre-deposited from memory;
Setting time acquiring unit, for from least one described timing, obtain be located at after current time and
With the immediate timing of the current time, as setting time;
Writing unit, the setting time for will acquire are written to RTC block;Wherein, the setting time is used for
The RTC block is triggered when reaching the setting time, exports the processing system of interrupt signal electron equipment;The interruption
Signal switches to the second starting state by the first starting state for triggering the processing system control electronic equipment.
The third aspect, the embodiment of the present invention provide the starting state switching system of a kind of electronic equipment, comprising: RTC block,
Micro-control unit and memory;The data input pin of the micro-control unit is connect with the memory, the microcontroller list
The data output end of member is connect with the data input pin of the RTC block;The interrupt signal output end of the RTC block is for connecting
Connect the processing system of electronic equipment;The power input of the micro-control unit is used to connect the standby voltage output of power module
End connection;Wherein:
The memory, at least one setting time that the processing system for receiving the electronic equipment is sent, and deposit
Store up at least one described setting time;
The micro-control unit, for reading at least one timing for pre-depositing from the memory, and from institute
State at least one timing, obtain be located at current time after and with the immediate timing of the current time, make
For setting time, and the setting time is written to RTC block;
The RTC block, for exporting the processing system of interrupt signal electron equipment when reaching the setting time
System;The interrupt signal switches to the second starting shape by the first starting state for triggering the processing system controlling electronic devices
State.
Further, micro-control unit is specifically used for, when listening to the RTC block output interrupt signal, from storage
Device reads at least one timing pre-deposited.
Further, the micro-control unit is specifically used for, when the starting state for listening to electronic equipment changes,
At least one timing pre-deposited is read from memory.
Further, the first starting state is standby mode.
Fourth aspect, the embodiment of the present invention provide a kind of electronic equipment, including power module, processing system and institute as above
The starting state switching system stated, wherein the interrupt signal output end of the RTC block of the starting state switching system and institute
Memory is stated to connect with the processing system;The standby voltage of the power input of the micro-control unit and the power module
Output end connection.
In said one embodiment, due to the power input of micro-control unit and the standby voltage output end of power module
Connection, thus, even under standby mode, micro-control unit can also read the timing in memory, and according to fixed
When the time and current time come determine a setting time to be written in RTC block, so as to avoid occur it is unexpected
In the case where power-off, even if restoring to power on the problem of can not normally reading and writing timing.
Detailed description of the invention
In order to illustrate more clearly of technical solution of the present invention, attached drawing needed in embodiment will be made below
Simply introduce, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present invention, general for this field
For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 be the starting state switching system of a kind of electronic equipment that first embodiment of the invention provides and power module with
And the connection schematic diagram of processing system.
Fig. 2 is the real-time clock function circuit structure diagram for the RTC block that first embodiment of the invention provides.
Fig. 3 is the process signal of the starting state switching method for a kind of electronic equipment that second embodiment of the invention provides
Figure.
Fig. 4 is the structural representation of the starting state switching device for a kind of electronic equipment that third embodiment of the invention provides
Figure.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
First embodiment of the invention:
Referring to Fig. 1, first embodiment of the invention provides the starting state switching system 10 of a kind of electronic equipment, comprising: RTC
Module 11, micro-control unit 12 and memory 13;The data input pin of the micro-control unit 2 and the memory 13 connect
It connects, the data output end of the micro-control unit 12 is connect with the data input pin of the RTC block 11;The RTC block 1
Interrupt signal output end is used to connect the processing system 20 of electronic equipment;The power input of the micro-control unit 12 is for connecting
Connect the standby voltage output end connection of power module 30;Wherein:
The memory 13, at least one timing that the processing system 20 for receiving the electronic equipment is sent,
And store at least one described timing.
In the present embodiment, the processing system 20 may include the electronic equipment processor and with the processor
It is adapted to the operating system of operation, wherein the operating system can be window system, Android system, IOS system etc., the present invention
It is not specifically limited.
In the present embodiment, the memory 13 can be EEPROM SPI FLASH, can be used for storing data, example
It such as can be used for storing at least one timing.Wherein, the timing is written to by the processing system 20 of electronic equipment
In memory 13.User can by electronic equipment provide time set interface selection or incoming timing type and with
The each type corresponding time, to generate corresponding timing and be sent to the processing system 20 of electronic equipment, by described
Timing is written to the memory 13 by processing system 20.
It should be noted that the quantity of the timing can be one or more, specifically it is configured by user,
The present invention is not specifically limited.
The micro-control unit 12, for reading at least one timing pre-deposited from the memory 13, and
From at least one described timing, obtains and be located at after current time and when timing immediate with the current time
Between, RTC block 11 is written to as setting time, and by the setting time.
In the present embodiment, the power input of the micro-control unit 12 and the standby voltage of the power module 30 are defeated
Outlet (such as 5V_STB interface of power module 30) connection, thus in the standby state, the micro-control unit 12 can also be with
The standby voltage from power module 30 is received normally to be worked.
The RTC block 11, for exporting the processing system of interrupt signal electron equipment when reaching the setting time
System 20;The interrupt signal is switched to for triggering 20 controlling electronic devices of processing system by the first current starting state
Second starting state.
Referring to fig. 2, in the present embodiment, the RTC block 11 includes first device of RTC chip, crystal oscillator and some peripheries
Part;The RTC chip is connected with the component of the crystal oscillator and some peripheries respectively.The RTC chip includes an alarm clock and posts
The storage timing that micro-control unit 12 is written for storage.Wherein, it should be noted that an alarm clock register can only
A setting time is stored, can only be after presently written setting time be successfully opened, it could be again by a new setting
Time is written into the register of RTC block 11.
In the present embodiment, the interrupt signal is when RTC block 11 is judging the current time arrival setting time
When export one similar " emergency " signal, the RTC block 11 files an application (generate one electricity arteries and veins to processing system 20
Rush signal), it is desirable that " interruption ", that is, require processing system 20 first stop " oneself work " at hand first go processing " emergency ".
Therefore, after the processing system 20 is received from the interrupt signal that RTC block 11 is sent, can first stop " oneself work at hand
Make " and controlling electronic devices the second starting state switched to by the first starting state.
It should be noted that in the present embodiment, second starting state is determined by the type of the setting time,
For example, it may be open state, standby mode or normal operating conditions etc., specifically by user in setting timing when institute
Setting, this will not be repeated here by the present invention.
It should be noted that in the present embodiment, first starting state is currently up shape for the electronic equipment
State, for example, it may be possible to be off-mode, standby mode, normal operating conditions etc..In addition, the first working condition and the second work shape
State possibility is identical may also be different, for example, the first starting state of the electronic equipment currently is normal operating conditions, and it is described
Corresponding second starting state of setting time is also normal operating conditions, then the electronic equipment is receiving the interrupt signal
When, the interrupt signal is not responded, is still maintained in normal operating conditions.For another example when the electronic equipment is current
The first starting state be standby mode, and corresponding second starting state of the setting time is normal operating conditions, then institute
The processing system 20 of electronic equipment is stated when receiving the interrupt signal, the interrupt signal is responded, control electronics is set
It is standby that normal operating conditions is switched to by standby mode.
To illustrate the application of the present embodiment with several actual application scenarios below convenient for the understanding of the present invention.
Example 1:
User inputs three timings, respectively available machine time by the time set interface that electronic equipment provides first
When the 08:00 of the 1:9 month 17,17 days months unused time 2:9 13:00 and the month available machine time 3:9 15:00 on the 17th, pass through electronic equipment
Processing system 20 respectively will available machine time 1, unused time 2 and available machine time 3 be written memory 13 in.The micro-control unit
12 read available machine time 1, unused time 2 and available machine time 3 in memory 13 respectively, and according to current time (assuming that current
Time is September 12:30 on the 17th) determine that stand-by time 2 is setting time, and the stand-by time 2 is set as setting time write-in
In RTC block 11, when RTC block 11 judges that current time reaches unused time 2, an interrupt signal is issued to processing system
20, processing system 20 is switched to off-mode by open state according to the open state of current electronic device, controlling electronic devices.
At the same time, the micro-control unit 12 reads the available machine time 3 in memory 13 and the available machine time 3 is written to RTC block
11, when RTC block 11 reaches available machine time 3, an interrupt signal is issued to processing system 20, processing system 20 is according to current electricity
The off-mode of sub- equipment, controlling electronic devices are switched to open state by off-mode.
Example 2:
Assuming that current time is No. 17 10:00 of September, user is inputted by the time set interface that electronic equipment provides first
Three timings, respectively working time 1 (No. 17 14:00 of September), working time 2 (No. 18 8:00 of September) and working time 3
By processing system 20 memory 13 is written respectively in working time 1, working time 2 and working time 3 by (No. 19 9:00 of September)
It is interior.At this point, the micro-control unit 12 read work time 1 first is written in RTC block 11 as setting time.Assuming that electric
Sub- equipment is being in the standby state, for some reason at work between power off before 1, then the RTC block 11 still can
Interrupt signal is generated when reaching working time 1 to the processing system 20, but due to being that electronic equipment is powered off at this time, because
And the processing system 20 can not switch electronic equipment and enter normal operating conditions.Assuming that electronics is set in No. 17 20:00 of September
It is standby to re-power, then at this point, the electronic equipment is restored to standby mode, in the standby state, the micro-control unit
12 are powered by power module 30, and read the timing in memory 13, and judge to be located at after current time, and with
The immediate timing of current time (i.e. working time 2) is written to RTC block 11 as setting time, then RTC block 11
Interrupt signal can be generated to the processing system 20, is set so that processing system 20 controls the electronics when reaching working time 2
It is standby to enter normal operating conditions from standby mode.
In conclusion the starting state switching system of electronic equipment provided in this embodiment, due to micro-control unit 12
Power input is connect with the standby voltage output end of power module 30, thus, even under standby mode, micro-control unit
12 can also read the timing in memory 13, and a setting time is determined according to timing and current time
To be written in RTC block 11, so as to avoid in the case where there is accident power-off, even if restoring, power on can not be normal
The problem of reading and writing timing.
On the basis of first embodiment, in a preferred embodiment of the invention, the micro-control unit 12 is specific
For when listening to the RTC block output interrupt signal, when reading at least one timing pre-deposited from memory 13
Between.
Specifically, in the present embodiment, whenever the micro-control unit 12 is listening to the output of RTC block 11 interruption
When signal, read at least one timing for pre-depositing from memory 13, and according at least one described timing with
And current time determines a setting time, to be written in RTC block 11.
On the basis of first embodiment, in a preferred embodiment of the present invention, the micro-control unit 12 is specifically used
In when the starting state for listening to electronic equipment changes, at least one pre-deposited from the reading of memory 13 is periodically
Time.
Specifically, in the present embodiment, the micro-control unit 12 can occur in the starting state for listening to electronic equipment
When variation, at least one timing pre-deposited is read from memory 13.For example, working as the electronic equipment from off-position
When being restored to standby mode, then the micro-control unit 12 can actively go to read the timing in memory 13, and according to institute
At least one timing and current time are stated to determine a setting time, to be written in RTC block 11, to avoid
After there is power-off, the problem of reading and writing of timing cannot achieve.
Second embodiment of the invention:
Referring to Fig. 3, second embodiment of the invention provides a kind of starting state method for handover control of equipment, comprising:
S10 reads at least one timing pre-deposited from memory.
S20, from least one timing, obtain be located at current time after and with the immediate timing of current time
Time, as setting time.
In the present embodiment, triggering micro-control unit reads the timing in memory when electronic equipment is switched on, and will
The timing of reading is simultaneously compared with the current time of electronic equipment, thus obtain be located at current time after and with it is described
The immediate timing of current time, as setting time.
S30, the setting time that will acquire are written to RTC block;Wherein, setting time is reached for triggering RTC block
When setting time, interrupt signal is exported to the processing system of the electronic equipment;Interrupt signal is for triggering processing system control
Equipment switches to the second starting state by the first starting state.
On the basis of second embodiment, in a preferred embodiment of the present invention, pre-deposited from memory reading
At least one timing specifically:
When listening to the RTC block output interrupt signal, at least one timing pre-deposited is read from memory
Time.
On the basis of first embodiment, in a preferred embodiment of the present invention, pre-deposited from memory reading
At least one timing specifically:
When the starting state for listening to electronic equipment changes, it is fixed that at least one pre-deposited is read from memory
When the time.
Third embodiment of the invention:
Referring to fig. 4, third embodiment of the invention provides a kind of starting state switching control of equipment, comprising:
Reading unit 10, for reading at least one timing pre-deposited from memory;
Setting time acquiring unit 20, for obtaining and being located at after current time from least one described timing
And with the immediate timing of the current time, as setting time;
Writing unit 30, the setting time for will acquire are written to RTC block;Wherein, the setting time is used
In triggering the RTC block when reaching the setting time, the processing system of interrupt signal electron equipment is exported;In described
Break signal switches to the second starting state by the first starting state for triggering the processing system control electronic equipment.
Preferably, reading unit 10 is specifically used for, when the starting state for listening to electronic equipment changes, from storage
Device reads at least one timing pre-deposited.
Preferably, reading unit 10 is specifically used for, when listening to the RTC block output interrupt signal, from memory
Read at least one timing pre-deposited.
Preferably, the first starting state is standby mode.
Fourth embodiment of the invention:
Fourth embodiment of the invention additionally provides a kind of electronic equipment, including power module 30, processing system 20 and such as
Starting state switching system described in any of the above-described embodiment, wherein in the RTC block 11 of the starting state switching system
Break signal output end and the memory 13 are connect with the processing system 20;The power input of the micro-control unit 12
It is connect with the standby voltage output end of the power module 30.
In the present embodiment, microprocessing unit 12 calls RTC block 11 by MCU_SCL pin and MCU_SDA pin
Execute GetPICDown Time instruction obtain the unused time, execute GetPICStartUp Time instruction obtain the available machine time, with
And it executes GetPICCurrent Time instruction and obtains electronic equipment current time.In the present embodiment, as long as electronic equipment exists
Power on before setting time, can start micro-control unit read in memory with the immediate timing of current time,
Then setting time is arranged to RTC block, as long as guaranteeing that electronic equipment is before setting time node by micro-control unit
Standby mode, electronic equipment can update newest setting time write-in RTC block after powering, to set reaching next time
Automatically start the electronic equipment when time.
Illustratively, computer program described in the embodiment of the present invention can be divided into one or more modules, described
One or more module is stored in the memory, and is executed by the processor, to complete the present invention.It is one
Or multiple modules can be the series of computation machine program instruction section that can complete specific function, the instruction segment is described for describing
Implementation procedure of the computer program in the realization server apparatus.For example, device described in third embodiment of the invention.
Alleged processor can be central processing unit (Central Processing Unit, CPU), can also be it
His general processor, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(APPlication Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng the processor is the control centre of the equipment starting state switching method, entire using various interfaces and connection
The various pieces for realizing a kind of equipment starting state method for handover control.
The memory can be used for storing the computer program and/or module, and the processor is by operation or executes
Computer program in the memory and/or module are stored, and calls the data being stored in memory, realizes equipment
The various functions of starting state switching method.The memory can mainly include storing program area and storage data area, wherein deposit
Storing up program area can application program needed for storage program area, at least one function (such as sound-playing function, text conversion function
Energy is equal) etc.;Storage data area, which can be stored, uses created data (such as audio data, text message data according to mobile phone
Deng) etc..In addition, memory may include high-speed random access memory, it can also include nonvolatile memory, such as firmly
Disk, memory, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital,
SD) card, flash card (Flash Card), at least one disk memory, flush memory device or other volatile solid-states
Part.
Wherein, if the module for realizing service equipment is realized in the form of SFU software functional unit and as independent production
Product when selling or using, can store in a computer readable storage medium.Based on this understanding, the present invention realizes
All or part of the process in above-described embodiment method can also instruct relevant hardware to complete by computer program,
The computer program can be stored in a computer readable storage medium, which is being executed by processor
When, it can be achieved that the step of above-mentioned each embodiment of the method.Wherein, the computer program includes computer program code, described
Computer program code can be source code form, object identification code form, executable file or certain intermediate forms etc..The meter
Calculation machine readable medium may include: can carry the computer program code any entity or device, recording medium, USB flash disk,
Mobile hard disk, magnetic disk, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory
Device (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It needs to illustrate
It is that the content that the computer-readable medium includes can be fitted according to the requirement made laws in jurisdiction with patent practice
When increase and decrease, such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium does not include electric carrier wave letter
Number and telecommunication signal.
It should be noted that the apparatus embodiments described above are merely exemplary, wherein described be used as separation unit
The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with
It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual
It needs that some or all of the modules therein is selected to achieve the purpose of the solution of this embodiment.In addition, device provided by the invention
In embodiment attached drawing, the connection relationship between module indicate between them have communication connection, specifically can be implemented as one or
A plurality of communication bus or signal wire.Those of ordinary skill in the art are without creative efforts, it can understand
And implement.
The foregoing is only a preferred embodiment of the present invention, but scope of protection of the present invention is not limited thereto,
In the technical scope disclosed by the present invention, any changes or substitutions that can be easily thought of by anyone skilled in the art,
It should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with scope of protection of the claims
Subject to.
Claims (10)
1. the starting state switching method of a kind of electronic equipment, which comprises the steps of:
At least one timing pre-deposited is read from memory;
From at least one described timing, obtain be located at current time after and with the immediate timing of the current time
Time, as setting time;
The setting time that will acquire is written to RTC block;Wherein, the setting time is judging for triggering RTC block
When current time reaches the setting time, interrupt signal is exported to the processing system of the electronic equipment;The interrupt signal
The second starting state is switched to by the first current starting state for triggering the processing system controlling electronic devices.
2. the starting state switching method of electronic equipment according to claim 1, which is characterized in that described to be read from memory
Take at least one timing pre-deposited specifically:
When listening to the RTC block output interrupt signal, at least one timing pre-deposited is read from memory.
3. the starting state switching method of electronic equipment according to claim 1, which is characterized in that described to be read from memory
Take at least one timing pre-deposited specifically:
When the starting state for listening to electronic equipment changes, it is fixed that at least one pre-deposited is read from the memory
When the time.
4. the starting state switching method of electronic equipment according to claim 1, which is characterized in that the first starting shape
State is standby mode.
5. the starting state switching device of a kind of electronic equipment characterized by comprising
Reading unit, for reading at least one timing pre-deposited from memory;
Setting time acquiring unit, for from least one described timing, obtain be located at after current time and with institute
The immediate timing of current time is stated, as setting time;
Writing unit, the setting time for will acquire are written to RTC block;Wherein, the setting time is for triggering
The RTC block exports the processing system of interrupt signal electron equipment when reaching the setting time;The interrupt signal
The second starting state is switched to by the first starting state for triggering the processing system control electronic equipment.
6. the starting state switching system of a kind of electronic equipment characterized by comprising RTC block, micro-control unit and deposit
Reservoir;The data input pin of the micro-control unit is connect with the memory, the data output end of the micro-control unit with
The data input pin of the RTC block connects;The interrupt signal output end of the RTC block is used to connect the processing of electronic equipment
System;The power input of the micro-control unit is used to connect the standby voltage output end connection of power module;Wherein:
The memory, at least one setting time that the processing system for receiving the electronic equipment is sent, and store institute
State at least one setting time;
The micro-control unit, for reading at least one timing for pre-depositing from the memory, and from it is described to
In a few timing, obtain be located at after current time and with the immediate timing of the current time, as setting
It fixes time, and the setting time is written to RTC block;
The RTC block, for exporting the processing system of interrupt signal electron equipment when reaching the setting time;Institute
It states interrupt signal and the second starting is switched to by the first current starting state for triggering the processing system controlling electronic devices
State.
7. the starting state switching system of electronic equipment according to claim 6, which is characterized in that the micro-control unit
It is specifically used for, when listening to the RTC block output interrupt signal, at least one timing pre-deposited is read from memory
Time.
8. the starting state switching system of electronic equipment according to claim 6, which is characterized in that the micro-control unit
It is specifically used for, when the starting state for listening to electronic equipment changes, at least one pre-deposited is read from memory
Timing.
9. the starting state switching system of electronic equipment according to claim 6, which is characterized in that the first starting shape
State is standby mode.
10. a kind of electronic equipment, which is characterized in that including power module, processing system and as claim 6 to 9 is any one
Described in starting state switching system, wherein the interrupt signal output end of the RTC block of the starting state switching system with
And the memory is connect with the processing system;The power input of the micro-control unit is standby with the power module
Voltage output end connection.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910156935.1A CN109871245A (en) | 2019-03-01 | 2019-03-01 | Starting state switching method, device, equipment, system and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910156935.1A CN109871245A (en) | 2019-03-01 | 2019-03-01 | Starting state switching method, device, equipment, system and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109871245A true CN109871245A (en) | 2019-06-11 |
Family
ID=66919650
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910156935.1A Pending CN109871245A (en) | 2019-03-01 | 2019-03-01 | Starting state switching method, device, equipment, system and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109871245A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111225113A (en) * | 2020-01-08 | 2020-06-02 | 青岛海信移动通信技术股份有限公司 | Communication terminal and starting method thereof |
CN111913754A (en) * | 2020-08-11 | 2020-11-10 | 山东超越数控电子股份有限公司 | Automatic starting method suitable for domestic CPU computer |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050268127A1 (en) * | 2004-05-12 | 2005-12-01 | Canon Kabushiki Kaisha | Electronic apparatus for use with removable storage medium, control method therefor, and program for implementing the method |
CN1749887A (en) * | 2004-09-13 | 2006-03-22 | 华为技术有限公司 | Method for realizing multipoint alarm clock in electronic equipment |
CN2881771Y (en) * | 2005-10-24 | 2007-03-21 | 四川长虹电器股份有限公司 | Electrical equipment standby controller |
CN101788846A (en) * | 2010-02-08 | 2010-07-28 | 厦门四信通信科技有限公司 | Control device of intelligent timing switch machine |
CN103546648A (en) * | 2013-10-31 | 2014-01-29 | 宇龙计算机通信科技(深圳)有限公司 | Method for managing timing information of terminal and terminal |
CN103777738A (en) * | 2014-02-26 | 2014-05-07 | 福建星网视易信息系统有限公司 | Method and device for timed start-up and shut-down on basis of Android system |
-
2019
- 2019-03-01 CN CN201910156935.1A patent/CN109871245A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050268127A1 (en) * | 2004-05-12 | 2005-12-01 | Canon Kabushiki Kaisha | Electronic apparatus for use with removable storage medium, control method therefor, and program for implementing the method |
CN1749887A (en) * | 2004-09-13 | 2006-03-22 | 华为技术有限公司 | Method for realizing multipoint alarm clock in electronic equipment |
CN2881771Y (en) * | 2005-10-24 | 2007-03-21 | 四川长虹电器股份有限公司 | Electrical equipment standby controller |
CN101788846A (en) * | 2010-02-08 | 2010-07-28 | 厦门四信通信科技有限公司 | Control device of intelligent timing switch machine |
CN103546648A (en) * | 2013-10-31 | 2014-01-29 | 宇龙计算机通信科技(深圳)有限公司 | Method for managing timing information of terminal and terminal |
CN103777738A (en) * | 2014-02-26 | 2014-05-07 | 福建星网视易信息系统有限公司 | Method and device for timed start-up and shut-down on basis of Android system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111225113A (en) * | 2020-01-08 | 2020-06-02 | 青岛海信移动通信技术股份有限公司 | Communication terminal and starting method thereof |
CN111913754A (en) * | 2020-08-11 | 2020-11-10 | 山东超越数控电子股份有限公司 | Automatic starting method suitable for domestic CPU computer |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11349767B2 (en) | Device and method for disabling a WLAN hotspot based on data traffic value | |
US20140344620A1 (en) | Shutdown method, startup method, and communication terminal | |
CN105113169A (en) | Washing machine control method and washing machine | |
CN101860624A (en) | Crash auto-restart method and mobile phone | |
CN109871245A (en) | Starting state switching method, device, equipment, system and electronic equipment | |
CN110933698A (en) | Monitoring management method, device and equipment for Internet of things card | |
CN105281965B (en) | Traffic acquisition method and device based on IOS (input/output system) | |
CN106022108A (en) | Synchronous management method and terminal device | |
CN113760468A (en) | Distributed election method, device, system and medium | |
CN108572866B (en) | Application program management method, application program management device and mobile terminal | |
CN111176897A (en) | Closed BIOS self-repairing method, system, terminal and storage medium | |
CN102467400B (en) | Control method on multiport network interface card | |
CN113218058B (en) | Method and device for controlling air conditioner and server | |
CN106487469B (en) | A kind of timing node switching method and system | |
CN112260967A (en) | Switch voltage adjusting method, system, terminal and storage medium | |
CN109068355B (en) | Method for saving data traffic, telephone watch, server and mobile terminal | |
CN109240790B (en) | Multi-window management method and system and android terminal | |
CN110308916A (en) | OTA upgrade method, device, equipment, system and storage medium based on lorawan agreement | |
CN112230753B (en) | ARM server power key shutdown method, system, terminal and storage medium | |
CN110035496A (en) | A kind of cloud platform switching method, system and electronic equipment | |
CN114116029B (en) | Control method, device, equipment and medium for waking up low power consumption of infrared receiver | |
CN104503849A (en) | System data setting method, system data setting device and terminal | |
CN105764128B (en) | The method for controlling power supply and device of mobile terminal | |
CN113873026A (en) | Dynamic timeout response method, device, terminal equipment and storage medium | |
CN114257469A (en) | Communication method, device and medium of EtherCAT main station |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190611 |
|
RJ01 | Rejection of invention patent application after publication |