Source: https://patents.google.com/patent/CN106303140A/en
Timestamp: 2020-02-17 18:30:29
Document Index: 112103216

Matched Legal Cases: ['Application No. 201110425383', 'art 5', 'art 5', 'art 5', 'art 5', 'art 202', 'art 207', 'art 208', 'art 290', 'art 202', 'art 207', 'art 290', 'art 202', 'art 207', 'art 208', 'art 290', 'art 202', 'art 208', 'art 290', 'art 202', 'art 207', 'art 207', 'art 207']

CN106303140A - Can suitably perform messaging device and control method thereof that shutdown processes - Google Patents
Can suitably perform messaging device and control method thereof that shutdown processes Download PDF
CN106303140A
CN106303140A CN201610753996.2A CN201610753996A CN106303140A CN 106303140 A CN106303140 A CN 106303140A CN 201610753996 A CN201610753996 A CN 201610753996A CN 106303140 A CN106303140 A CN 106303140A
CN201610753996.2A
CN106303140B (en
高谷保
横沟聪
2011-12-16 Application filed by 佳能株式会社 filed Critical 佳能株式会社
2011-12-16 Priority to CN201110425383.3A priority patent/CN102665022B/en
2017-01-04 Publication of CN106303140A publication Critical patent/CN106303140A/en
2018-12-28 Publication of CN106303140B publication Critical patent/CN106303140B/en
The present invention provides and can suitably perform messaging device and the control method thereof that shutdown processes, and messaging device can make equipment operate normal state from the recovering state of software operation exception to software.This messaging device has CPU, CPU for receiving the instruction of the power supply for disconnecting this messaging device.When receiving this instruction, CPU judges whether to need to disconnect the power supply of this messaging device.When needing the power supply disconnecting this messaging device, CPU controls this messaging device so that its power supply is disconnected, and when need not the power supply disconnecting this messaging device, CPU controls this messaging device so that its power supply is not disconnected.
Can suitably perform messaging device and control method thereof that shutdown processes
The application be filing date December in 2011 16 days, Application No. 201110425383.3, invention entitled " can Suitably perform messaging device and control method thereof that shutdown processes " the divisional application of application for a patent for invention.
The present invention relates to messaging device and control method thereof and storage medium, particularly relate to the information operated by software Processing equipment, the control method of this messaging device and storage medium.
Recently, the messaging device being implemented as image forming apparatus etc. has had more multi-functional.The thing followed, The system of this messaging device becomes complicated, and the time used by software that starts trends towards increasing.
In order to solve this problem, have built up following technology: when shutdown, messaging device is in and only loads wherein The state (sleep state) that the volatile memory (such as, DRAM) of software is powered so that when next time starting shooting, this information processing Equipment can restart from this state, thus reduces the time needed for software starts.
About above-mentioned technology, have been disclosed for following technology: statistics determines and seldom carries out user behaviour during sleep state The time made, and restart software (for example, with reference to Japanese Unexamined Patent Publication 2006-229509 publication) in this time.
But, only power to the volatile memory loading software if be shut down at messaging device and enter Before state (sleep (sleep) state), software issue (such as, freeze or memorizer is used up) occurs, then this information processing is set The operation of standby shutdown and then start (restarting) makes this equipment only return to same error status.
As it has been described above, this conventional art restarting software during sleep pattern is difficult to equipment different from software operation Normal recovering state operates normal state to software.
Additionally, the startup time in recent information processing system trends towards because of the increase of program quantity increasing.In order to Realize the quick startup of this system, it has been proposed that use the technology hanging up (suspend)/recovery (or dormancy) function.
Japanese Unexamined Patent Publication 2005-284491 publication proposes following technology: prepare the shape when system start-up completes in advance The memory mapping of each program become, and this memory mapping is loaded from sleep state when recovering, thus reduce from answering Start to completing the time used with what program started.
Generally user may not realize that and relates to the initialized startup of whole information processing system and use recovery function to enter Process difference between the startup of row, and when user's power-on button, carry out at both startups according to starting setting In reason one.
On the other hand, when user wants ending message processing system, it needs according to circumstances to process in shutdown and hang up Select between process.
If additionally, carrying out needing what system restarted to arrange change, then under the normal condition of information processing system User needs judgement to arrange change to be needed system to restart and performs shutdown to process and do not consider to start setting.
But, for domestic consumer, carry out the above-mentioned normal difficulty that judges between right and wrong.Therefore, although having been carried out needing To be shut down arranges change, but may not perform shutdown so that can not correctly reflect that this arranges change, or may carry out not Necessary shutdown so that next time start the time used the most elongated.
The present invention provides a kind of and can just operated from the recovering state of software operation exception to software by messaging device The messaging device of normal state, the control method of this messaging device and storage realize the computer-readable of the method The storage medium of program.
Additionally, the present invention provides one can the most optionally use hang-up (or dormancy) function and shutdown Function and do not make user recognize the messaging device of this selection, thus realized suitably the initializing of this equipment, fast Speed starts and the information processing environment of splendid availability.
In a first aspect of the present invention, it is provided that a kind of messaging device, this messaging device includes: receive unit, Its instruction being configured to receive the power supply for disconnecting described messaging device；Judging unit, it is configured to operable With when described reception unit receives described instruction, it may be judged whether need to disconnect the power supply of described messaging device；And Control unit, it is configured to operable to judge, when described judging unit, the power supply that needs to disconnect described messaging device Time, control described messaging device and its power supply is disconnected, and when described judging unit is judged to need not described in disconnection During the power supply of messaging device, control described messaging device and its power supply is not disconnected.
In a second aspect of the present invention, it is provided that a kind of method controlling messaging device, the method comprises the steps: Receive the instruction being used for disconnecting the power supply of described messaging device；When receiving described instruction, it may be judged whether need to disconnect The power supply of described messaging device；And when judging the power supply needing to disconnect described messaging device, control described Messaging device makes its power supply be disconnected, and when judging the power supply that need not disconnect described messaging device, control Making described messaging device makes its power supply not be disconnected.
In a third aspect of the present invention, it is provided that the computer-readable recording medium of a kind of non-transitory, this computer-readable Storage medium storage is for making computer perform to control the computer executable program of the method for messaging device, wherein said Method comprises the steps: to receive the instruction of the power supply for disconnecting described messaging device；When receiving described instruction, Judge whether the power supply needing to disconnect described messaging device；And when judging to need to disconnect described messaging device During power supply, control described messaging device and its power supply is disconnected, and when judging to need not disconnect described information processing During the power supply of equipment, control described messaging device and its power supply is not disconnected.
In accordance with the invention it is possible to information processing system is operated normal shape from software operation exception recovering state to software State.Furthermore it is possible to the most optionally use hang-up (suspend) (or dormancy (hibernaton)) function and pass Machine function and do not make user recognize this selection, thus realized suitably the initializing of this equipment, quickly started and pole The information processing environment of good availability.
By description to exemplary embodiment referring to the drawings, other features of the present invention will be clear from.
Fig. 1 is the schematic diagram of the image forming apparatus as messaging device according to a first embodiment of the present invention.
Fig. 2 is the flow chart that the power supply control performed by the image forming apparatus in Fig. 1 processes.
Fig. 3 is the flow chart of the first modified example that the power supply control performed by the image forming apparatus in Fig. 1 processes.
Fig. 4 is the flow chart of the second modified example that the power supply control performed by the image forming apparatus in Fig. 1 processes.
Fig. 5 is the flow chart of the 3rd modified example that the power supply control performed by the image forming apparatus in Fig. 1 processes.
Fig. 6 is information processing system that apply messaging device according to a second embodiment of the present invention, that comprise controller The block diagram of system.
Fig. 7 is the block diagram of controller.
Fig. 8 is the figure of the State Transferring illustrating the information processing system according to the present embodiment.
Fig. 9 is the first conversion process that the information processing system in the present embodiment is transformed into suspended state from holding state Flow chart.
Figure 10 is the first conversion process that the information processing system in the present embodiment is transformed into suspended state from holding state The flow chart of modified example.
Figure 11 is the second conversion process that the information processing system in the present embodiment is transformed into suspended state from sleep state Flow chart.
Figure 12 A and Figure 12 B is the block diagram of the supply of electric power configuration example of information processing system.
Hereinafter, the present invention is described in detail with reference to the accompanying drawing illustrating the embodiment of the present invention.
Fig. 1 is the schematic diagram of the image forming apparatus 200 as messaging device according to a first embodiment of the present invention.
With reference to Fig. 1, image forming apparatus 200 include controller 1 (control unit), USB storage 9, control station part 5, Switch 10, HDD 6, power supply 8, print apparatus 4, scanner device 2 and picture unit 7.
Controller 1 includes mainboard 100 and subplate 120.
Mainboard 100 is so-called universal cpu system.Mainboard 100 includes CPU 101, guides ROM102, USB controller 108, memorizer 103, bus control unit 104, nonvolatile memory 105, power-supply controller of electric 109, disk controller 106 and flash memory Dish 107.
CPU 101 controls the overall operation of mainboard 100.ROM 102 is guided to store bootstrap.Memorizer 103 is volatile Property memorizer, and CPU 101 uses memorizer 103 as working storage.Generally, software is stored in nonvolatile memory In 105, and the ephemeral data etc. used in operating this software is loaded in memorizer 103.In addition to these data, by The software being stored in the Software Create in nonvolatile memory 105 is the most also carried in memorizer 103.Controller 1 basis Software program controls image forming apparatus 200.But, when what the data being such as stored in memorizer 103 or software comprised When information is made mistakes, the mode of operation of software becomes abnormal.In the case, though when continue to memorizer 103 power supply same Time when restarting another device (such as, print apparatus 4), software the most inevitably continues labile state.Therefore, The supply of electric power to memorizer 103 is cut off such that it is able to by image forming apparatus by cutting off the supply of electric power to controller 1 200 operate normal state from the recovering state of software operation exception to software.
Bus control unit 104 has the function serving as the bridge with external bus.Even if it is after supply of electric power is cut-off, non- Volatile memory 105 also is able to storage information.Disk controller 106 controls coupled storage device (illustrated example In flash disk 107).Flash disk (such as, SSD (solid-state drive)) 107 be by semiconductor device formed relatively small capacity Storage device.USB controller 108 can control coupled USB device (USB storage 9 in illustrated example). Power-supply controller of electric 109 manages the supply of electric power of the various piece to the mainboard 100 needing electric power.
USB storage 9 above-mentioned, control station part 5, HDD 6 and switch 10 are coupled externally to mainboard 100.HDD 6 can be any kind of, as long as it is non-volatile apparatus.It is various that control station part 5 includes for user operation Button and for displaying to the user that information and the touch panel for user operation.When switch 10 be user-operably time, it to CPU 101 sends interruption.When this interruption being detected, CPU 101 controls power supply according to the state of image forming apparatus 200 and controls Device 109.Thus, user is switched on or switched off main power source, but even if when the main power source of image forming apparatus 200 is disconnected, electricity Power supply is not completely severed.
Subplate 120 includes relatively small universal cpu system and image processing hardware.
Subplate 120 includes that CPU 121, memorizer 123, bus control unit 124, nonvolatile memory 125, power supply control Device 128, image processor 127 and Setup Controller 126 and 129.
CPU 121 controls the overall operation of subplate 120.CPU 121 uses memorizer 123 as working storage.Bus Controller 124 has the function serving as the bridge with external bus.Even if after supply of electric power is cut-off, nonvolatile memory 125 also are able to storage information.
Image processor 127 carries out real time digital simulation system.Setup Controller 126 is at print apparatus 4 and image Transmit data between reason device 127, and Setup Controller 129 transmits number between scanner device 2 and image processor 127 According to.CPU 121 directly controls picture unit 7.
Power-supply controller of electric 128 manages the supply of electric power of the various piece to the subplate 120 needing electric power.
Electric power is supplied to mainboard 100 and subplate 120 from power supply 8.User uses switch 10 to carry out power on/off operation.As Upper described, when switching 10 and being operated, send to CPU 101 and interrupt.When this interruption being detected, CPU 101 is according to image shape The state of forming apparatus 200, controls power-supply controller of electric 109 and 128.
Noting, in order to make explanation simplify, Fig. 1 illustrates image forming apparatus 200 in a simplified manner.Such as, CPU 101 Multiple CPU peripheral hardware devices is included, such as chipset, bus bridge and clock generator, but at figure with each in CPU 121 In 1, these are all omitted, because they are unnecessary for describing the present embodiment.Therefore, the present invention is not limited to this block diagram Shown in configuration.
The operation of controller 1 as configured above is described as a example by copying image.
When user is given for the instruction of copying image by control station part 5, CPU 101 passes through CPU 121 to sweeping Retouch device device 2 and send image read command.Scanner device 2 optical scanning sheet material original copy, converts the image into digital picture number According to, and by Setup Controller 129, this Digital Image Data is input to image processor 127.Image processor 127 passes through This Digital Image Data DMA is sent to memorizer 123 by CPU 121, and memorizer 123 stores this digital picture number temporarily According to.
After this Digital Image Data being able to confirm that whole or scheduled volume has been enter into memorizer 123, CPU 101 provide image output instruction by CPU 121 to print apparatus 4.CPU 121 by this view data in memorizer 123 Position informing to image processor 127.According to the synchronizing signal from print apparatus 4, the digital picture in memorizer 123 Data are sent to print apparatus 4 by image processor 127 and Setup Controller 126, and are then printed on printer On sheet material in device 4.
In the case of printing many parts, this view data is stored in HDD 6 by CPU 101 so that this view data energy Enough it is sent to print apparatus 4, to print second part and part afterwards, and does not receives view data from scanner device 2.
Fig. 2 is the flow chart that the power supply control performed by the image forming apparatus 200 in Fig. 1 processes.
The CPU 101 of the image forming apparatus 200 in place's reason Fig. 1 in Fig. 2 performs.
With reference to Fig. 2, when disconnecting switch 10 by user operation (step S101), software passes through power-supply controller of electric 109 He 128 detect interruption.Then, it is judged that whether the mode of operation of the software having been received by this interruption has been changed to exception (step S102).If the mode of operation of this software does not become abnormal ("No" in step S102), then CPU 101 is by power supply control Controller 1 is transformed into sleep state (electricity-saving state) by device 109 and 128 processed, then terminates present treatment.
If judging that the mode of operation of software has been changed to exception ("Yes" in step S102), then in step s 102 CPU 101 cuts off the supply of electric power (step S104) to controller 1 by power-supply controller of electric 109 and 128, then terminates this place Reason.
On ordinary meaning, sleep state (electricity-saving state) means to cut off the supply of electric power in addition to controller 1, but It is in the present embodiment, about the supply of electric power to controller 1, only requires that at least supply of electric power to memorizer 103 is not cut Disconnected.
According to the process of Fig. 2, when switching 10 and being disconnected, it is judged that whether the mode of operation of software has been changed to abnormal (step Rapid S102), and when the mode of operation judging software has been changed to abnormal ("Yes" in step S102), cut off control The supply of electric power of device 1.Therefore, it is possible to image forming apparatus 200 is just being operated from the recovering state of software operation exception to software Normal state.
Fig. 3 is the flow chart of the first modified example that the power supply control performed by the image forming apparatus 200 in Fig. 1 processes.
In process in figure 3, operation is predetermined process.For example, it is possible to print processing etc. is processed as this operation, But any process substantially, performed when this image forming apparatus is not the free time may be regarded as this operation.
With reference to Fig. 3, when disconnecting switch 10 by user operation (step S201), software passes through power-supply controller of electric 109 He 128 detect interruption.Then, it is judged that after switch 10 is switched on, whether be performed (S202) entirely without operation.If it is complete Entirely do not have operation to be performed ("Yes" in step S202), then CPU 101 is by power-supply controller of electric 109 and 128 breaking controller 1 Power supply (step S205), then terminate present treatment.
If judging at least to perform one-stop operation ("No" in step S202) in step S202, then judge whether Operation is also had not terminate (step S203).If also operation does not terminates ("Yes" in step S203), then this process proceeds to Step S205, and without unclosed operation ("No" in step S203), then CPU 101 is by power-supply controller of electric 109 With 128, controller 1 is transformed into sleep state (electricity-saving state), then terminates present treatment.
In the process above, judge about 2, i.e. whether be performed and the most also operation entirely without operation Do not terminate.When being performed entirely without operation, it is believed that occur one during the startup of this equipment or during the free time A little mistakes.On the other hand, at the end of also operation not, it is believed that there occurs some mistakes during Job execution.
Fig. 4 is the flow chart of the second modified example that the power supply control performed by the image forming apparatus 200 in Fig. 1 processes.
With reference to Fig. 4, when disconnecting switch 10 by user operation (step S301), software passes through power-supply controller of electric 109 He 128 detect interruption.Then, it is judged that as long as whether software has occurred and that off and on power supply, i.e. by cutting off electric power confession Should, image forming apparatus 200 just can be from its mistake recovered (step S302).Occur (in step S302 without mistake "No"), then controller 1 is transformed into sleep state (electricity-saving state) (step by power-supply controller of electric 109 and 128 by CPU 101 S303), present treatment is then terminated.
As long as if judging software there occurs off and on power supply, image forming apparatus 200 in step s 302 Just can be from its mistake recovered ("Yes" step S302), then CPU 101 disconnects control by power-supply controller of electric 109 and 128 The power supply (step S304) of device 1 processed, then terminates present treatment.
Fig. 5 is the flow chart of the 3rd modified example that the power supply control performed by the image forming apparatus 200 in Fig. 1 processes.
With reference to Fig. 5, when disconnecting switch 10 by user operation (step S401), software passes through power-supply controller of electric 109 He 128 detect interruption.Then, it is judged that whether the software receiving this interruption is in abnormality (step S402).If software Be not at abnormality ("No" in step S402), then controller 1 is changed by CPU 101 by power-supply controller of electric 109 and 128 To sleep state (electricity-saving state) (step S403), then terminate this process.
If judging that in step S402 software is in abnormality ("Yes" in step S402), then CPU 101 weight Newly start software, and restart the initialized hardware of needs by power-supply controller of electric 109 and 128 to software simultaneously Device carries out restarting (step S404).Then, controller 1 is transformed into by CPU 101 by power-supply controller of electric 109 and 128 Sleep state (step S403), then terminates present treatment.
Compared with processing with the power supply control in Fig. 2, owing to carrying out restarting of software and related hardware device, above-mentioned 3rd modified example to when being transformed into low power state from disconnection switch 10, trends towards with for more time, but ought connect next time When switching 10, recover faster.After restarting (step S404) in Fig. 5, controller 1 is transformed into sleep state (step S403) the power supply control that process can also be applied in Fig. 3 and Fig. 4 processes.
Fig. 6 is information processing system that apply messaging device according to a second embodiment of the present invention, that comprise controller The block diagram of system.With reference to Fig. 6, reference 201 represents the information of application messaging device according to a second embodiment of the present invention Processing system (image input/output system).Information processing system 201 is by such as by Ethernet (Ethernet, registrar Mark) to be connected to master computer (be the first master computer 203 and the second analytic accounting in the present embodiment for the LAN (LAN) 205 that realizes Calculation machine 204).
Information processing system 201 includes reader part 202, printer section 206, control station part 207, hard disk part 208, facsimile part 290 and controller 210.
Reader part 202 reads view data.Printer section 206 exports view data.Control station part 207 includes For input/output view data keyboard, include the various hardkeys of on and off switch and for showing view data, various merit The liquid crystal panel of energy etc..Control program, view data etc. are pre-written at relatively low cost (record in a computer-readable manner) to hard disk part In 208.Facsimile part 290 carries out fax and sends and receive.
Controller 210 be connected to reader part 202, printer section 206, control station part 207, hard disk part 208, Facsimile part 290 and other component parts, to control them.
Reader part 202 includes the original copy feeder unit 230 for transmitting original copy sheet material and former for optically reading Manuscript base picture and this original image is converted to the scanner unit 211 of the view data as the signal of telecommunication.
Printer section 206 includes sheet feeding unit 212 (each sheet feeding box bag with multiple sheet feeding box Containing recording sheet), for view data being transferred on recording sheet and the view data of transfer being fixed on this documentary film Imprint cell 213 on material and the recording sheet paging after printing, binding and the row that they are discharged from equipment Go out unit 214.
Fig. 7 is the block diagram of controller 210.As shown in Figure 7, controller 210 is roughly classified into for controlling at general information Manage the main CPU unit 2200 (mainboard) of operation and for controlling the secondary CPU element 2220 (subplate) of image forming operation.
Should be appreciated that, it is also possible to main CPU unit 2200 and secondary CPU element 2220 are formed as single plate.But, in this reality Execute in example, in order to make explanation simplify, by including two separate plates (i.e. main CPU unit 2200 and pair with controller 210 CPU element 2220) in case of, provide following description.
In main CPU unit 2200, guiding ROM 2201, CPU 2202, volatile memory (DRAM 2213 are installed With SRAM 2216) and Memory Controller 2212.
Guiding ROM 2201 is the nonvolatile memory storing bootstrap.CPU 2202 is performed for bootstrap Arithmetic processing apparatus with other program.DRAM 2213 is for interim storage program and the volatile memory of data.Storage Device controller 2212 controls DRAM 2213.
Additionally, in main CPU unit 2200, be provided with the bus marco for controlling the connection with secondary CPU element 2220 Device 2204, it is used for controlling the disk controller 2205 etc. of hard disk drive (HDD) 2209.Noting, hard disk drive 2209 is received In the hard disk part 208 occurred in figure 6.
Disk controller 2205 is connected to port selector 2207 by port switch 2206, and port switch 2206 is for permitting Permitted and forbid accessing between the device connected to switch over.
Flash disk 2208 and hard disk drive 2209 are connected to port selector 2207 so that disk controller 2205 can be controlled Make the flash disk 2208 or hard drive 2209 selected by port selector 2207.
Although in the present embodiment, using disk controller 2205, port switch 2206 and port selector 2207 as separately Module describe, but part or all in them can be installed as individual module.
Flash disk 2208 or hard disk drive 2209 storage include the various programs of OS (operating system) and application program.
Additionally, in main CPU unit 2200, be provided with between main CPU unit 2200 and secondary CPU element 2220 is total The bus bridge 2214 that line connects.Additionally, in main CPU unit 2200, be provided with for single in main CPU unit 2200 and secondary CPU The dma controller 2215 of memory data is transmitted between unit 2220.
On the other hand, on secondary CPU element 2220, guiding ROM 2221, CPU 2222, volatile memory are installed (DRAM) 2242 and Memory Controller 2240.
Guiding ROM 2221 is the nonvolatile memory storing bootstrap.CPU 2222 is performed for bootstrap Arithmetic processing apparatus with other program.Volatile memory 2242 stores program and data temporarily.Memory Controller 2240 Control volatile memory 2242.
Additionally, on secondary CPU element 2220, be provided with bus control unit 2225.Additionally, on secondary CPU element 2220, also Image processor 2224 and Setup Controller 2226 are installed.
Bus control unit 2225 controls the connection with main CPU unit 2200.Image processor 2224 performs at a high speed image shape One-tenth processes.Setup Controller 2226 controls connected image processing system, such as facsimile engine 2227, print engine 2228 With scanning engine 2229, and perform image formation process.Note, facsimile engine 2227, print engine 2228 and scanning engine 2229 are respectively received in Fig. 6 in facsimile part 290, printer section 206 and the reader part 202 occurred.
Additionally, on secondary CPU element 2220, be provided with for passing between main CPU unit 2200 and secondary CPU element 2220 Send the dma controller 2241 of memory data.
Controller 210 has unshowned network interface.It is stored in sudden strain of a muscle for controlling the network driver of network interface In deposit 2208, hard disk drive 2209, guiding ROM 2221 etc..Facsimile engine 2227, print engine is included for control 2228 and the driver of modules of various modules of scanning engine 2229 also be stored in flash disk 2208, hard disk drive 2209, Guide in ROM 2221 grade.
Fig. 8 is the State Transferring of the information processing system 201 exemplified as the messaging device according to the present embodiment Figure.
As shown in Figure 8, performing startup by power on operation and process, by controller 210, from off-position, (system is closed Closed state) (301) be transformed into holding state (302).Under this holding state (302), operation can be received, such as copy job or Print job.Note, in startup processes, information processing system 201 is initialized.
The controller 210 receiving operation under holding state (302) is transformed into Job execution state (303), to perform Relevant operation processes.When this end of job, controller 210 returns to holding state (302).
When not having operation to be performed in predetermined amount of time under holding state (302), controller 210 is transformed into sleep State (electricity-saving state) (304).Then, when occurring under sleep state (304) from the factor that sleep returns, such as switch behaviour Make, network packet receives or counting specifies the intervalometer of time period to expire, and controller 210 changes (return) to holding state (302)。
Additionally, when carrying out power supply opening operation under holding state (302), controller 210 judges whether to need shutdown (310).If needing to shut down ("Yes" in 310), then controller 210 performs shutdown process to kernel and driver, thus turns Change to system off state (301).On the other hand, if need not shut down ("No" in 310), then controller 210 is to kernel Perform hang-up with driver to process, thus be transformed into suspended state (electricity-saving state) (305).Note, shutdown process corresponding to End in ending message processing system 201 processes.Additionally, hang-up processes corresponding to for by information processing system 201 State makes the operation of information processing system 201 stop after being stored in DRAM 2213, HDD 2209 or flash disk 2208 (deactivate) termination processes.Noting, in the present embodiment, term " is hung up " and is not mean only that " hang-up " also means that " dormancy ".
Controller 210 under suspended state (305) performs recovery in response to power on operation and processes, thus is transformed into and treats Machine state (302).This recovery processes and processes corresponding to return, and described return processes and is stored in DRAM 2213, HDD for use 2209 or flash disk 2208 in information the state of information processing system 201 is returned to its perform hang-up process before elder generation Front state.
Be given the information processing system as the messaging device according to the present embodiment referring to Fig. 9 to Figure 11 The description of the state transition operation of 201.
Fig. 9 be information processing system 201 in the present embodiment from holding state (302) be transformed into suspended state (305) and Then return to the flow chart of the first conversion process of holding state (302).By the CPU 2202 of controller 210 perform by terms of The readable mode of calculation machine is stored in the journey in storage medium (such as, guiding ROM 2201, HDD 2209 or flash disk 2208) Sequence realizes present treatment.
When detecting that power on operates (step S901), the CPU 2202 of controller 210 is to O/S kernel and driver Carry out initializing (step S902).Additionally, CPU 2202 is by initializing the application program for various Job Operations Start information processing system 201, then controller 210 is transformed into holding state (302) (operation waiting state) (step S903)。
Then, when power supply opening operation (power down request) being detected ("Yes" in step S904), this process proceeds to Step S905.
In step S905, CPU 2202 judges whether need shutdown or restart information processing system based on shutdown flag System 201 (that is, O/S kernel and the initialization of driver of modules).Noting, shutdown flag is such as stored in HDD 2209 or dodges In deposit 2208.
If judging need shutdown or restart (if i.e., shutdown flag is unlocked) in step S905, then may be used To imagine such as situations below (1) to (3):
(1) expectation starts the situation that O/S kernel renewal processes；
(2) expectation changes the situation of O/S kernel start-up mode (normal mode or generation patterns)；And
(3) (needs are restarted to reflect that setting changes to expect execution to be used for restarting desired driver of modules The driver of modules become) the state of process.
For example it is assumed that user's (normal mode) operating console part 207 the most in the standby mode, to be given for OS more New instruction.If be detected that this renewal instruction, then CPU 2202 would indicate that the mark (shutdown flag) needing shutdown is changed into Open, and also generation patterns active flag is set on.Carry out this process, thus close OS in the normal mode and operate also And start OS (2) by kernel start-up mode being changed into generation patterns, and then perform O/S kernel renewal process (1). Noting, this generation patterns active flag is stored in such as HDD 2209 or flash disk 2208.
Furthermore, it is assumed that user's operating console part 207 the most in the standby mode is to change the setting of network driver (such as, the setting of IP address).If be detected that this change, then shutdown flag is changed into unlatching by CPU 2202.Carry out at this Reason, thus the setting after restarting network driver (3) and reflecting change.Furthermore, it is assumed that user is such as with standby mould Formula operating console part 207 is to update driver of modules.If be detected that the renewal of driver of modules, then CPU2202 Shutdown flag is changed into unlatching.Carry out this process, thus restart the driver of modules after renewal (3) and reflect this Update.In brief, when carried out in information processing system 201 specific change time (that is, network settings change, need mould The renewal etc. of the initialized driver of modules of block driver), shutdown flag is changed into unlatching by CPU 2202.
Then, in the case of on and off switch is disconnected (step S904), if shutdown flag is opened, in step S905 CPU 2202 judges need shutdown or restart.On the other hand, if shutdown flag is closed, then CPU in step S905 2202 judge both to need not shutdown also without restarting.
If it is judged that need shutdown or restart ("Yes" in step S905), then CPU 2202 performs application journey The end process of sequence and the end of O/S kernel driver process (step S906), thus (system closedown completes (step to close closed system Rapid S907)).In other words, controller 210 is transformed into system off state (301) by CPU 2202.Hereafter, on and off switch is worked as If being switched on and generation patterns active flag being opened, then CPU 2202 is controlled so that start OS with generation patterns.? During Gai, O/S kernel driver and application program be initialised.
On the other hand, if judging both to need not shutdown also without restarting (step S905 in step S905 In "No"), then CPU 2202 performs the hang-up of the hang-up process of Kernel Driver and hardware and processes (step S910), thus Controller 210 is transformed into suspended state (electricity-saving state) (305).
If detecting that under suspended state (305) power on operates ("Yes" in step S911), then CPU 2202 The recovery of the recovery process and O/S kernel driver that perform hardware processes (step S912), so that information processing system 201 Run.Then, controller 210 is converted to operation waiting state (holding state (302)) (step S903) by CPU 2202.
Note, the first conversion process in Fig. 9 can be replaced by the modified example described referring to Figure 10.
Figure 10 is the flow chart of the modified example of the first conversion process, wherein as the messaging device according to the present embodiment Information processing system 201 restart once from holding state (302), be transformed into suspended state 305, be then switched again to Holding state (302).Perform to be stored in storage medium in a computer-readable manner (such as, by the CPU 2202 of controller 210 Guide ROM 2201, HDD 2209 or flash disk 2208) in program realize present treatment.
When detecting that power on operates (step S1001), the CPU 2202 of controller 210 is to O/S kernel and drives journey Sequence carries out initializing (step S1002).Additionally, the application program for various Job Operations is initialized by CPU 2202, So that information processing system 201 is run, and controller 210 is transformed into holding state (302) (operation waiting state) (step Rapid S1003).
Then, when power supply opening operation (power down request) being detected ("Yes" in step S1004), this process proceeds to Step S1005.In step S1005, CPU 2202 based on above-mentioned to shutdown flag judge whether need shutdown or again open Dynamic information processing system 201 (that is, O/S kernel and the initialization of driver of modules).Step S1005 is judged need to close Machine or restart the situation (that is, when shutdown flag is opened) of information processing system 201 and before with reference to the phase described by Fig. 9 With.
If judging need shutdown or restart ("Yes" in step S1005), then CPU in step S1005 The end of the 2202 end process performing application program and O/S kernel driver processes (step S1006).Additionally, CPU 2202 O/S kernel driver and application program are reinitialized (step S1007).In other words, this system is restarted.At weight In the case of new startup OS, if above-mentioned generation patterns active flag is opened, then CPU 2202 is controlled to update Pattern starts OS.
Then, after information processing system 201 has been shifted to normal condition (holding state (302)), CPU 2202 The hang-up of the hang-up process and hardware that perform Kernel Driver processes (step S1010), thus controller 210 is transformed into extension Play state (305).If detecting that under suspended state power on operates (305) ("Yes" in step S1011), then CPU The recovery of the 2202 recovery process performing hardware and O/S kernel driver processes (step S1012), so that information processing system System 201 operation.Then, controller 210 is converted to operation waiting state (holding state (302)) (step by CPU 2202 S1003)。
On the other hand, if judging both to need not shutdown also without restarting (step in step S1005 "No" in S1005), then CPU 2202 is immediately performed step S1010 to S1012, so that information processing system 201 is run. Then, controller 210 is transformed into operation waiting state (holding state (302)) (step S1003) by CPU 2202.
Compared with the first conversion process in Fig. 9, in modified example in Fig. 10, hold in the case of needs restart The longer time has been used in the process of row.But, when user switches on power next time, information processing system is returned from suspended state Return so that compared with the first conversion process starting system from off-position in Fig. 9, it is possible to start system at faster speed System.
It follows that provide the description to the second conversion process with reference to Figure 11, in the second conversion process, as according to this reality The information processing system 201 of the messaging device executing example is transformed into suspended state (305) from sleep state (304) and then returns Return to sleep state (304).
Figure 11 is the flow chart of the second conversion process, in the second conversion process, at according to the information of the present embodiment The information processing system 201 of reason equipment is transformed into suspended state (305) from sleep state (304) and then again returns to sleep State (304).By controller 210 perform to be stored in a computer-readable manner storage medium (such as, guide ROM 2201, HDD 2209 or flash disk 2208) in program realize present treatment.
When detecting that power on operates (step S1101), the CPU 2202 of controller 210 is to O/S kernel and drives journey Sequence carries out initializing (step S1102).Then, the application program for various Job Operations is initialized by CPU 2202, So that information processing system 201 is run, and then controller 210 is converted to holding state (302).Then, as with reference to Fig. 8 Described, if not having operation to be detected in predetermined time period, then CPU 2202 performs sleep process, thus will control Device 210 processed is converted to sleep state (304) (step S1103).
Then, when power supply opening operation (power down request) being detected ("Yes" in step S1104), CPU 2202 performs The process (step S1105) returned from sleep, so that controller 210 returns (304) from sleep state, with by controller 210 Temporarily it is transformed into holding state (302).After controller 210 is transformed into holding state (302), CPU 2202 is based on shutdown Mark judges whether to need shutdown or restarts information processing system 201 (that is, O/S kernel and driver of modules is initial Change) (step S1106).Step S1106 is judged need shutdown or restart the situation of information processing system 201 (i.e., When shutdown flag is opened) identical with described by reference Fig. 9 before.
If it is judged that need shutdown or restart ("Yes" in step S1106), then CPU 2202 performs application The end process of program and the end of O/S kernel driver process (step S1107), thus (system closedown completes to close closed system (step S1108)).In other words, controller 210 is transformed into system off state (301) by CPU 2202.Hereafter, power supply is worked as If switch is switched on and generation patterns active flag is opened, then CPU 2202 is controlled so that start with generation patterns OS。
On the other hand, if judging both to need not shutdown also without restarting (step in step S1106 "No" in S1106), then the hang-up of hang-up process and hardware that CPU 2202 performs Kernel Driver processes (step S1110), thus by controller 210 it is transformed into suspended state (electricity-saving state) (305).
If detecting that under suspended state (305) power on operates ("Yes" in step S1111), then CPU 2202 The recovery of the recovery process and O/S kernel driver that perform hardware processes (step S1112), so that information processing system 201 Run.Then, controller 210 is converted to operation waiting state (holding state (302)) by CPU 2202.Then, if in advance Do not have operation to be detected in the section of fixing time, then CPU 2202 performs sleep process, thus controller 210 is transformed into sleep shape State (304) (step S1103).
Face describes the supply of electric power configuration of information processing system 201 with reference to Figure 12 A and Figure 12 B.Figure 12 A and Figure 12 B is to show Go out the block diagram of the example of the supply of electric power configuration of information processing system 201.
With reference to Figure 12 A and Figure 12 B, reference 700 represents source power supply, and 701 represent on and off switch, and 702 represent relay Device switchs.Relay switch 702 is arranged in parallel with on and off switch 701 so that though on and off switch 701 disconnect after also be able to from Source power supply 700 supplies electric power.Noting, the CPU 2202 of controller 210 can be continued by relay ON/OFF signal 703 The ON/OFF of electric switch 702 controls.
As it has been described above, when user's disconnecting power switch 701, the CPU 2202 of controller 210 judges whether to need shutdown. If needing shutdown, then CPU 2202 closes this information processing system, and controller 210 is transformed into system off state. On the other hand, if need not shutdown, then CPU 2202 performs hang-up process, thus controller 210 is transformed into suspended state.
As in the case of shutting down, shown in Figure 12 A, the CPU 2202 of controller 210 makes relay switch 702 enter Enter off-state, thus cut off from source power supply 700 to the supply of electric power of controller 210.
On the other hand, in the case of carrying out hang-up process, as shown in Figure 12B, the CPU 2202 of controller 210 makes to continue Electric switch 702 is maintained at on-state, thus maintains from source power supply 700 to the supply of electric power of controller 210.This makes can To maintain some unit to including DRAM 2242 to supply electric power.Therefore, switch on power under in suspended state switch 701 time, Such as can read at a high speed data from DRAM 2242, thus accelerate the startup of information processing system 201.
As it has been described above, according to the present embodiment, it is possible to the most optionally use hang-up process (or at dormancy Reason) and shutdown process, without making the user carrying out power operation recognize this point, thus realize the suitable of information processing system Initialization, quickly startup and splendid availability.
In other words, when user carries out normal power operation without take notice of termination process (hang up or dormancy process) and Shutdown process between difference time, this system automatic decision carries out termination and processes and be also by shutdown and process, and suitably holds Go one of them.This suitably initialization, quickly startup and splendid availability of making it possible to realize information processing system.
Noting, the present invention is not limited to above-described embodiment, it is also possible to realize the present invention with various forms.For example, it is possible to will The present invention is applied to system, equipment, method, program, storage medium etc..Specifically, can apply the present invention to by multiple Device formed system or be applied to be formed as the equipment of single assembly.
It addition, the present invention includes the combination of above-described embodiment.
Each aspect of the present invention can also by read and perform to record on a storage device for performing above-mentioned enforcement The system of the program of the function of example or the computer (or equipment of such as CPU or MPU) of device realize, and by by system Or the computer of device is by such as reading and perform to record the function for performing above-described embodiment on a storage device Program performs the method for each step and realizes.In consideration of it, such as via network or from all kinds as storage device Record medium (such as computer-readable medium) to computer provide program.
Although with reference to exemplary embodiment, invention has been described, but it is to be understood that the present invention is not limited to institute Disclosed exemplary embodiment.Scope of the following claims should be given the widest explanation, so that it contains all these Modified example and the 26S Proteasome Structure and Function of equivalent.
This application claims Japanese patent application the 2010-288047th and in December, 2010 that December in 2010 submits on the 24th The priority of the Japanese patent application the 2010-280091st submitted to for 16th, is hereby incorporated by reference in its entirety in this.
1. a messaging device, this messaging device includes:
Receive unit, its instruction being configured to receive the power supply for disconnecting described messaging device；
Judging unit, it is configured to operable with when described reception unit receives described instruction, it may be judged whether need disconnected Open the power supply of described messaging device；And
Control unit, it is configured to operable to judge to need to disconnect described messaging device when described judging unit During power supply, control described messaging device and its power supply is disconnected, and when described judging unit is judged to need not disconnect During the power supply of described messaging device, control described messaging device and its power supply is not disconnected.
Messaging device the most according to claim 1, wherein, when the software of described messaging device is in abnormal shape During state, described judging unit judges the power supply needing to disconnect described messaging device.
Messaging device the most according to claim 1, wherein, when described messaging device is not carried out any operation Time, described judging unit judges the power supply needing to disconnect described messaging device.
Messaging device the most according to claim 1, wherein, when the most described messaging device is unclosed any During operation, described judging unit judges the power supply needing to disconnect described messaging device.
Messaging device the most according to claim 1, wherein, when described messaging device makes a mistake, institute State the power supply that judging unit is judged to need to disconnect described messaging device.
Messaging device the most according to claim 1, wherein, when the software of described messaging device is changed, Described judging unit judges the power supply needing to disconnect described messaging device.
Messaging device the most according to claim 1, wherein, when described judging unit is judged to need to disconnect described letter When ceasing the power supply of processing equipment, described control unit makes described messaging device restart.
Messaging device the most according to claim 1, wherein, when described judging unit is judged to need not described in disconnection During the power supply of messaging device, described control unit makes described messaging device be transformed into electricity-saving state.
9. a control method for messaging device, described control method comprises the steps:
Receive the instruction being used for disconnecting the power supply of described messaging device；
When receiving described instruction, it may be judged whether need to disconnect the power supply of described messaging device；And
When judging the power supply needing to disconnect described messaging device, control described messaging device and make its power supply quilt Disconnect, and when judging the power supply that need not disconnect described messaging device, control described messaging device and make it Power supply is not disconnected.
CN201610753996.2A 2010-12-16 2011-12-16 The information processing equipment and its control method of shutdown processing can suitably be executed CN106303140B (en)
CN201110425383.3A CN102665022B (en) 2010-12-16 2011-12-16 Can suitably perform messaging device and control method thereof that shutdown processes
CN201110425383.3A Division CN102665022B (en) 2010-12-16 2011-12-16 Can suitably perform messaging device and control method thereof that shutdown processes
CN106303140A true CN106303140A (en) 2017-01-04
CN106303140B CN106303140B (en) 2018-12-28
CN201610753996.2A CN106303140B (en) 2010-12-16 2011-12-16 The information processing equipment and its control method of shutdown processing can suitably be executed
JP6075820B2 (en) 2012-02-06 2017-02-08 キヤノン株式会社 Image forming apparatus and image forming apparatus control method
JP2014043067A (en) * 2012-08-28 2014-03-13 Canon Inc Image forming device, method for controlling the same, and program
JP6157282B2 (en) * 2013-08-29 2017-07-05 キヤノン株式会社 Image processing apparatus, information processing method, and program
CN101211269A (en) * 2006-03-29 2008-07-02 富士通株式会社 Information processing device, power supply control method and storage medium
JP4003727B2 (en) * 2003-09-22 2007-11-07 ブラザー工業株式会社 Portable printer with communication means
KR101000554B1 (en) 2008-06-17 2010-12-14 엘지전자 주식회사 Apparatus and method for shutting down system
WO2011091743A1 (en) * 2010-02-01 2011-08-04 Hangzhou H3C Technologies Co., Ltd. Apparatus and method for recording reboot reason of equipment
US20120159212A1 (en) 2012-06-21
CN1791515A (en) 2006-06-21 Image forming apparatus