EP1761847A2 - Initialization of electronic device - Google Patents
Initialization of electronic deviceInfo
- Publication number
- EP1761847A2 EP1761847A2 EP05734287A EP05734287A EP1761847A2 EP 1761847 A2 EP1761847 A2 EP 1761847A2 EP 05734287 A EP05734287 A EP 05734287A EP 05734287 A EP05734287 A EP 05734287A EP 1761847 A2 EP1761847 A2 EP 1761847A2
- Authority
- EP
- European Patent Office
- Prior art keywords
- software
- electronic device
- initialization
- memory
- processing
- 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.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
Definitions
- the present invention relates to an electronic device managed by software, a control method for an electronic device, and a control program product for an electronic device.
- the present invention is an electronic device controlled by control software stored in volatile memory, wherein said software is retained in memory and said electronic device is stopped after executing steps to initialize said software.
- the present invention may be implemented by a control program product for an electronic device controlled by control software stored in volatile memory, wherein said software is retained in memory and said electronic device is stopped after executing steps to initialize said software.
- Fig. 1 is a block view showing the configuration of an electronic device of an embodiment of the present invention
- Fig. 2 is a view showing a flowchart at the time of start-up of an electronic device of the embodiment of the present invention
- Fig. 3 is a view showing a flowchart at the time of standby and the time of start-up of the electronic device of the embodiment of the present invention.
- an electronic device 100 of one of a preferred embodiment of the present invention is comprised principally of a main processor 10, imaging element 12, analog/digital converter (A/D converter) 14, digital signal processor (DSP) 16, internal storage 18, driver 20, external memory slot 22, power supply switch 24, and battery 26.
- image signals are shown by solid lines and control signals are shown by dashed lines.
- DSP digital signal processor
- image signals are shown by solid lines and control signals are shown by dashed lines.
- a description is given taking a digital camera as an example of the electronic device 100 but the present invention is by no means limited in this respect, and the present invention may similarly be applied to other electronic devices.
- the following processing is capable of being implemented as a result of execution of an electronic device control program stored in internal storage 18 as a program capable of being executed using a microprocessor acting as the main processor 10.
- the electronic device 100 is initialized by installing the battery pack 26 and turning the power supply switch 24 on.
- a flowchart for the processing occurring when the battery is turned on is shown in Fig. 2.
- Step S 10 a determination is made as to whether or not the power supply switch 24 is on after the battery pack 26 is installed. When a prescribed amount of electrical power is supplied from the battery pack 26, the main processor 10 determines whether or not the power supply switch 24 is on. If the power supply switch 24 is on, the processing advances to step SI 2. Hardware initialization is then carried out in step SI 2. In accompaniment with installation of the battery pack 26, a prescribed amount of electrical power is provided to each part of the electrical device 100.
- Initialization signals are sent from the main processor 10 to the imaging element 12, A/D converter 14, DSP 16, internal storage 18, image display 19, and driver 20, and each part of the electronic device 100 is initialized.
- Software initialization is then carried out in step SI 4.
- Control software is transferred to volatile memory (RAM) from the n on- volatile memory (ROM) of the internal storage 18 and setting of initialization values of the software etc., is carried out.
- Cache memory etc. of the main processor 10 is also cleared.
- an operating system (OS) initialization routine is executed, and the OS is booted.
- a database in then made in step S16 at the internal storage 18 or at the external memory card 30 installed in the external memory slot 22.
- the main processor 10 When software initialization is complete, the main processor 10 ensures an area in the memory of the internal storage 18 and the external storage card 30, and sets a database region for storing and maintaining digital image data. This processing is necessary when the electronic device 100 is an imaging device such as a digital camera etc., and may be omitted for other electronic equipment. A transition is made to normal processing when the processing at the time of battery installation is complete. Normal processing is described in the following. A flowchart showing processing at the time of normal turning on and turning off of the power supply is shown in Fig. 3. When the battery pack 26 is installed and initialization of the hardware and software is complete, the processing of step S20 is proceeded to, and normal imaging processing is executed.
- the imaging element 12, A/D converted 14, and DSP 16 receive control signals from the main processor 10, receiving signals from the shutter, take images of subjects, and acquire digital image data
- the internal memory 18 temporarily stores digital image data acquired at a database constructed in step SI 6.
- the image display 19 displays digital image data acquired by control of the main processor 10 receiving an image display instruction from a user using a touch panel (not shown) etc., or displays digital image data image processed by the main processor 10 as necessary.
- the driver 20 receives a control signal from the main processor 10 and stores digital image data on the external memory card 30 inserted into the external memory slot 22 and reads digital image data from the external memory card 30.
- the control program stored in the volatile memory of the internal memory 18 can be implemented through execution at the main processor 10.
- step S22 a determination is made as to whether or not the power supply switch 24 is off.
- the main processor 10 receives a signal from the power supply switch 24 and determines whether or not the power supply switch is off. If the power supply switch 24 is off, the processing proceeds to step S24, and if the power supply switch 24 remains on, the normal processing of step S20 is continued.
- step S24 the hardware is put into a standby state.
- the main processor 10 sends standby signals to the imaging element 12, A/D converted 14, DSP 16, internal storage 18, image display 19m, and driver 20, and each part of the electronic device 100 is put into a standby state.
- Software initialization is then carried out in step S26.
- the control software is maintained as is in volatile storage (RAM) and setting of initialization values required during reactivation of the electronic device 100 is carried out. It is preferable for the software initialization to include processing for clearing at least part of a memory area other than the memory area in which the software is stored, for example, a cache memory area holding variable used in internal processing. As a result, the hardware and software both enter a standby state.
- This embodiment has a further feature where in addition to software initialization being executed S26, software is put into a standby state when the power supply switch 24 is put off. In step S28, a determination is made as to whether or not the power supply switch 24 is on.
- the main processor 10 receives a signal from the power supply switch 24 and determines whether or not the power supply switch is on.
- step S30 If the power supply switch 24 is turned on, the processing advances to step S30, and if the power supply switch 24 is turned off, the processing of step S28 is repeated, and a system standby state is maintained. Hardware initialization is then carried out in step S30.
- the main processor 10 sends initialization signals to imaging element 12, A/D converter 14, DSP 16, image display 19 and driver 20 maintained in a standby state and executes initialization of each part of the electronic device 100. Further, a standby state cancel signal is sent to the RAM of the internal memory 18 and a state where access is possible is attained.
- the software when the power supply switch 24 is turned off, the initialization is complete, and imaging processing is possible immediately. When this processing ends, the processing advances to step S20, and normal imaging processing is carried out.
- restarting of a system it is possible for restarting of a system to take place in both a rapid and stable manner by executing initialization of software in advance prior to putting the entire system into a standby state S24 when putting a power supply switch 24 off.
- a standby state S24 it is possible to rapidly restart an electronic camera from a standby state so as to ensure that very few good opportunities to take a photograph will be missed when taking pictures.
- memory fragmentation etc. does not occur even when the electronic device is repeatedly put into a standby state and it is possible for the system to operated in a stable manner.
- restarting that is fast and stable is possible for mobile electronic devices employing real-time operating systems (RTOS) and mobile electronic devices that perform control using only stand alone control software and do not employ an operating system, and this increases the convenience of the electronic device.
- RTOS real-time operating systems
Abstract
Software initialization in an electronic device is carried out before switching off. The control software is maintained as is in volatile storage (RAM) and setting of initialization values required during reactivation of the electronic device is carried out. Included in the initialization software is the processing for clearing at least part of the memory area holding variable used in internal processing. As a result, the hardware and software both enter a standby state.
Description
DEVICE. CONTROL METHOD. AND PROGRAM PRODUCT
FIELD OF THE INVENTION The present invention relates to an electronic device managed by software, a control method for an electronic device, and a control program product for an electronic device.
BACKGROUND OF THE INVENTION Software controlled electronic devices require software initialization at the time of starting up the device. However, this software initialization processing takes time and the time the devices takes to start up therefore becomes long. It has been possible to shorten processing time by omitting software initialization processing when restarting the software by entering a standby state where content of memory used by the software is retained while halting the device. Further, in Japanese Patent Laid-open Publication No. Hei 8- 161176, technology is disclosed where a restarting processing instruction string resides in instruction cache in order to perform high speed processing for the operating system when problems occur with the software. However, there are problems with stability of the electronic device when this method is executed repeatedly in the case of using a method where memory content is retained and a standby state is entered while halting the electronic device. In particular, with electronic devices employing software not compatible with fragmentation of memory such as with a real time operating system (RTOS), or electronic devices that only use stand-alone control software and do not utilize an operating system, memory fragmentation etc. occurs due to repeatedly entering a standby state, and it is possible that the system may no longer operate in a stable manner.
SUMMARY OF THE INVENTION The present invention is an electronic device controlled by control software stored in volatile memory, wherein said software is retained in memory and said electronic device is stopped after executing steps to initialize said software. The present invention may be implemented by a control program product for an electronic device controlled by control software stored in volatile memory, wherein said software is retained in memory and said electronic device is stopped after executing steps to initialize said software.
BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a block view showing the configuration of an electronic device of an embodiment of the present invention; Fig. 2 is a view showing a flowchart at the time of start-up of an electronic device of the embodiment of the present invention; and Fig. 3 is a view showing a flowchart at the time of standby and the time of start-up of the electronic device of the embodiment of the present invention. DETAILED DESCRIPTION OF THE INVENTION AS shown in Fig. 1, an electronic device 100 of one of a preferred embodiment of the present invention is comprised principally of a main processor 10, imaging element 12, analog/digital converter (A/D converter) 14, digital signal processor (DSP) 16, internal storage 18, driver 20, external memory slot 22, power supply switch 24, and battery 26. In Fig. 1, image signals are shown by solid lines and control signals are shown by dashed lines. As described above, in this embodiment, a description is given taking a digital camera as an example of the electronic device 100 but the present invention is by no means limited in this respect, and the present invention may similarly be applied to other electronic devices.
The following processing is capable of being implemented as a result of execution of an electronic device control program stored in internal storage 18 as a program capable of being executed using a microprocessor acting as the main processor 10. The electronic device 100 is initialized by installing the battery pack 26 and turning the power supply switch 24 on. A flowchart for the processing occurring when the battery is turned on is shown in Fig. 2. In Step S 10, a determination is made as to whether or not the power supply switch 24 is on after the battery pack 26 is installed. When a prescribed amount of electrical power is supplied from the battery pack 26, the main processor 10 determines whether or not the power supply switch 24 is on. If the power supply switch 24 is on, the processing advances to step SI 2. Hardware initialization is then carried out in step SI 2. In accompaniment with installation of the battery pack 26, a prescribed amount of electrical power is provided to each part of the electrical device 100. Initialization signals are sent from the main processor 10 to the imaging element 12, A/D converter 14, DSP 16, internal storage 18, image display 19, and driver 20, and each part of the electronic device 100 is initialized. Software initialization is then carried out in step SI 4. Control software is transferred to volatile memory (RAM) from the n on- volatile memory (ROM) of the internal storage 18 and setting of initialization values of the software etc., is carried out. Cache memory etc. of the main processor 10 is also cleared. Further, an operating system (OS) initialization routine is executed, and the OS is booted. A database in then made in step S16 at the internal storage 18 or at the external memory card 30 installed in the external memory slot 22. When software initialization is complete, the main processor 10 ensures an area in the memory of the internal storage 18 and the external storage card 30, and sets a database region for storing and maintaining digital image data. This processing is necessary when the electronic device 100 is an imaging device such as a digital camera etc., and may be omitted for other electronic equipment.
A transition is made to normal processing when the processing at the time of battery installation is complete. Normal processing is described in the following. A flowchart showing processing at the time of normal turning on and turning off of the power supply is shown in Fig. 3. When the battery pack 26 is installed and initialization of the hardware and software is complete, the processing of step S20 is proceeded to, and normal imaging processing is executed. In the normal imaging processing, the imaging element 12, A/D converted 14, and DSP 16 receive control signals from the main processor 10, receiving signals from the shutter, take images of subjects, and acquire digital image data, the internal memory 18 temporarily stores digital image data acquired at a database constructed in step SI 6. The image display 19 displays digital image data acquired by control of the main processor 10 receiving an image display instruction from a user using a touch panel (not shown) etc., or displays digital image data image processed by the main processor 10 as necessary. Further, the driver 20 receives a control signal from the main processor 10 and stores digital image data on the external memory card 30 inserted into the external memory slot 22 and reads digital image data from the external memory card 30. The control program stored in the volatile memory of the internal memory 18 can be implemented through execution at the main processor 10. In step S22, a determination is made as to whether or not the power supply switch 24 is off. The main processor 10 receives a signal from the power supply switch 24 and determines whether or not the power supply switch is off. If the power supply switch 24 is off, the processing proceeds to step S24, and if the power supply switch 24 remains on, the normal processing of step S20 is continued. In step S24, the hardware is put into a standby state. The main processor 10 sends standby signals to the imaging element 12, A/D converted 14, DSP 16, internal storage 18, image display 19m, and driver 20, and each part of the electronic device 100 is put into a standby state.
Software initialization is then carried out in step S26. The control software is maintained as is in volatile storage (RAM) and setting of initialization values required during reactivation of the electronic device 100 is carried out. It is preferable for the software initialization to include processing for clearing at least part of a memory area other than the memory area in which the software is stored, for example, a cache memory area holding variable used in internal processing. As a result, the hardware and software both enter a standby state. This embodiment has a further feature where in addition to software initialization being executed S26, software is put into a standby state when the power supply switch 24 is put off. In step S28, a determination is made as to whether or not the power supply switch 24 is on. The main processor 10 receives a signal from the power supply switch 24 and determines whether or not the power supply switch is on. If the power supply switch 24 is turned on, the processing advances to step S30, and if the power supply switch 24 is turned off, the processing of step S28 is repeated, and a system standby state is maintained. Hardware initialization is then carried out in step S30. the main processor 10 sends initialization signals to imaging element 12, A/D converter 14, DSP 16, image display 19 and driver 20 maintained in a standby state and executes initialization of each part of the electronic device 100. Further, a standby state cancel signal is sent to the RAM of the internal memory 18 and a state where access is possible is attained. With regards to the software, when the power supply switch 24 is turned off, the initialization is complete, and imaging processing is possible immediately. When this processing ends, the processing advances to step S20, and normal imaging processing is carried out. As described in the above, according to this embodiment, it is possible for restarting of a system to take place in both a rapid and stable manner by executing initialization of software in advance prior to putting the entire system into a standby state S24 when putting a power supply switch 24 off. As a result, for example, it is possible to rapidly restart an electronic camera from a standby
state so as to ensure that very few good opportunities to take a photograph will be missed when taking pictures. Further, memory fragmentation etc. does not occur even when the electronic device is repeatedly put into a standby state and it is possible for the system to operated in a stable manner. In particular, restarting that is fast and stable is possible for mobile electronic devices employing real-time operating systems (RTOS) and mobile electronic devices that perform control using only stand alone control software and do not employ an operating system, and this increases the convenience of the electronic device.
PARTS LIST
10 main processor
12 imaging element
14 A/D converter
16 DSP circuit
18 internal storage
20 driver
22 external memory slot
24 power supply switch
26 battery pack
30 external memory card
100 electronic device
S10 battery installed?
S12 initialize hardware
S14 initialize software
S16 make database
S20 normal processing
S22 power supply turned off?
S24 put hardware in standby state
S26 initialize software
S28 power supply turned on?
S30 initialize hardware
Claims
1. An electronic device controlled by control software stored in a volatile memory, wherein said software is retained in the memory and said electronic device is stopped after executing steps to initialize said software.
2. The electronic device as claimed in claim 1, wherein said software initialization includes processing to clear at least part of a memory area other than a memory area storing said software.
3. The electronic device as claimed in claim 1, wherein said software is executed on a real-time operating system or without utilizing an operating system.
4. A control method for an electronic device controlled by control software stored in a volatile memory, wherein said software is retained in the memory and said electronic device is stopped after executing steps to initialize said software.
5. A control program product for an electronic device controlled by control software sorted in a volatile memory, wherein said software is retained in the memory and said electronic device is stopped after executing steps to initialize said software.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004121636A JP2005309495A (en) | 2004-04-16 | 2004-04-16 | Electronic device, control method for electronic device, and control program for electronic device |
PCT/US2005/012904 WO2005103892A2 (en) | 2004-04-16 | 2005-04-14 | Initialization of electronic device |
Publications (1)
Publication Number | Publication Date |
---|---|
EP1761847A2 true EP1761847A2 (en) | 2007-03-14 |
Family
ID=35057169
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
EP05734287A Ceased EP1761847A2 (en) | 2004-04-16 | 2005-04-14 | Initialization of electronic device |
Country Status (4)
Country | Link |
---|---|
EP (1) | EP1761847A2 (en) |
JP (1) | JP2005309495A (en) |
CN (1) | CN100410881C (en) |
WO (1) | WO2005103892A2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4846553B2 (en) * | 2006-12-20 | 2011-12-28 | 株式会社東芝 | Resume method, program, and information processing apparatus |
JP6237737B2 (en) * | 2015-09-15 | 2017-11-29 | 株式会社デンソー | Vehicle communication device, computer program, and communication system |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08161176A (en) * | 1994-12-05 | 1996-06-21 | Hitachi Ltd | Restart processing method |
JP2830772B2 (en) * | 1995-04-18 | 1998-12-02 | 富士ゼロックス株式会社 | System boot device |
JP3348331B2 (en) * | 1995-04-21 | 2002-11-20 | ソニー株式会社 | Electronic device and operation mode control method thereof |
JP4719974B2 (en) * | 2000-12-20 | 2011-07-06 | ソニー株式会社 | Electronic device and method for starting electronic device |
US6564286B2 (en) * | 2001-03-07 | 2003-05-13 | Sony Corporation | Non-volatile memory system for instant-on |
CN1315052C (en) * | 2002-12-30 | 2007-05-09 | 神达电脑股份有限公司 | Test method for open and close of computer |
-
2004
- 2004-04-16 JP JP2004121636A patent/JP2005309495A/en active Pending
-
2005
- 2005-04-14 EP EP05734287A patent/EP1761847A2/en not_active Ceased
- 2005-04-14 CN CNB2005800113456A patent/CN100410881C/en not_active Expired - Fee Related
- 2005-04-14 WO PCT/US2005/012904 patent/WO2005103892A2/en not_active Application Discontinuation
Non-Patent Citations (1)
Title |
---|
See references of WO2005103892A3 * |
Also Published As
Publication number | Publication date |
---|---|
JP2005309495A (en) | 2005-11-04 |
WO2005103892A3 (en) | 2006-06-08 |
CN100410881C (en) | 2008-08-13 |
CN1942857A (en) | 2007-04-04 |
WO2005103892A2 (en) | 2005-11-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100754534B1 (en) | Wireless communication device and system startup method for the same | |
US20080288767A1 (en) | Computer system | |
US7062600B2 (en) | Apparatus and method of controlling information process system of mobile terminal apparatus using flash memory | |
KR101979138B1 (en) | Vehicle Mounting System | |
JP2007122653A (en) | Information processor and starting control method | |
CN113286091B (en) | Control method, control device, electronic equipment and readable storage medium | |
EP1460550B1 (en) | Fast start-up program for camera | |
JP2013025426A (en) | Image output device and program therefor | |
EP1761847A2 (en) | Initialization of electronic device | |
JPH06300560A (en) | Electronic surveying equipment | |
US7859576B2 (en) | Image pickup apparatus, control method therefor, and control program for implementing the control method | |
JP2003084981A (en) | Booting method for information processor | |
KR100256011B1 (en) | Information processing method | |
US20080172505A1 (en) | Electronic device, control method, and program product | |
CN115827076A (en) | Method and equipment for booting operating system storage medium and program product | |
KR20100136152A (en) | Apparatus and method for recognize external memorycard in portable terminal | |
JP2003044307A (en) | Radio communication equipment, method for rewriting its boot program, and program | |
Cisco | Cisco 4000-M ROM Monitor | |
Cisco | Cisco 4000-M ROM Monitor | |
Cisco | Cisco 4000-M ROM Monitor | |
EP0974899B1 (en) | Information processing apparatus, information processing method, and recording medium | |
JP2000152138A (en) | Information processor, information processing method and medium stored with program | |
KR100745487B1 (en) | Method and apparatus for recovering a boot code in mobile terminal | |
JP2001265707A (en) | Information processing terminal and automatic connection recognizing method for external device for the same | |
JP2001034480A (en) | Method for starting information processor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PUAI | Public reference made under article 153(3) epc to a published international application that has entered the european phase |
Free format text: ORIGINAL CODE: 0009012 |
|
17P | Request for examination filed |
Effective date: 20061011 |
|
AK | Designated contracting states |
Kind code of ref document: A2 Designated state(s): AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IS IT LI LT LU MC NL PL PT RO SE SI SK TR |
|
17Q | First examination report despatched |
Effective date: 20070308 |
|
DAX | Request for extension of the european patent (deleted) | ||
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: THE APPLICATION HAS BEEN REFUSED |
|
18R | Application refused |
Effective date: 20081028 |