CN103995711A - Electronic calculator device and restarting method of electronic calculator device - Google Patents

Electronic calculator device and restarting method of electronic calculator device Download PDF

Info

Publication number
CN103995711A
CN103995711A CN201410125917.4A CN201410125917A CN103995711A CN 103995711 A CN103995711 A CN 103995711A CN 201410125917 A CN201410125917 A CN 201410125917A CN 103995711 A CN103995711 A CN 103995711A
Authority
CN
China
Prior art keywords
electronic calculator
memory
calculator device
nonvolatile memory
nucleus module
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.)
Granted
Application number
CN201410125917.4A
Other languages
Chinese (zh)
Other versions
CN103995711B (en
Inventor
吕奇璋
刘登荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanning Fulian Fugui Precision Industrial Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN201410125917.4A priority Critical patent/CN103995711B/en
Priority claimed from CN201010136237.4A external-priority patent/CN102207875B/en
Publication of CN103995711A publication Critical patent/CN103995711A/en
Application granted granted Critical
Publication of CN103995711B publication Critical patent/CN103995711B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention relates to an electronic calculator device which comprises a first nonvolatile storage device and a second nonvolatile storage device. A loading module and an operation system core module in the compressed format are stored in the first nonvolatile storage device. The second nonvolatile storage device serves as an internal storage device of the electronic calculator device. A processor of the electronic calculator device executes the loading module to upload and uncompress the core module from the first nonvolatile storage device to the second nonvolatile storage device to be responded to a starting command. When a shutdown command is received, the processor judges whether part of a starting procedure of the electronic calculator device is executed to be responded to the shutdown command or not before the electronic calculator device is shut down. After the electronic calculator device is shut down and restarting is carried out, the starting procedure is continuously executed. Part of the procedure is normally started, and execution is carried out before actual starting to save the starting time.

Description

Electronic calculator device and method for restarting thereof
The application's case is to be on March 30th, 2010 date of application, and application number is 201010136237.4, and denomination of invention is the segmented speech of the patent application case of " media data playing device and method for restarting thereof ".
Technical field
The present invention relates to computer technology, relate in particular to a kind of media data playing device and method for restarting thereof.
Background technology
Radiovisor, be commonly referred to as TV set-top box (set-top box), be used for the channel number that Management Television machine do not support, and will after channel signals descrambling (descramble), deciphering (decrypt), decoding (decode), produce video and relevant information thereof, for example listing (program guide).TV set-top box comprises digital signal processing (the digital signal processing for processing video and audio frequency, be called for short DSP) chip, and be used for executive operating system (operating system, be called for short OS) and the CPU (central processing unit) of other program (central processing unit is called for short CPU).In the time that TV set-top box starts, carry out load-on module to clear up internal memory, from flash memory (flash memory), operating system loaded to (loading) and decompresses to described internal memory.Because cleaning internal memory and load operation system are parts for start-up routine, for example, so restarting is usually also a solution in the time there is system mistake, the mistake being caused in the time occurring that the region of virtual memory (virtual memory) is override mistakenly.But operating system is reloaded and is decompressed and lose time very much.
Summary of the invention
In order to solve described problem, the present invention proposes a kind of media data playing device and comprise first and second nonvolatile memory, input block and processor.The nucleus module of the compressed format of described the first nonvolatile memory store operation system.Described the second nonvolatile memory is as the internal memory of described media data playing device.The movement of wherein said nucleus module comprise from described the first nonvolatile memory load and the described nucleus module that decompresses to described the second nonvolatile memory.In the time that described input block receives enabled instruction, described processor, carries out described load-on module to drive the mobile to respond described enabled instruction for the first time of described nucleus module.In the time receiving shutdown command from described input block, described processor, before described media data playing device shutdown, determines whether drive the mobile to respond described shutdown command for the second time of described nucleus module.
A kind of media data playing device comprises first and second nonvolatile memory, input block and processor.The nucleus module of the compressed format of described the first nonvolatile memory store operation system.Described the second nonvolatile memory is as the internal memory of described media data playing device.The movement of wherein said nucleus module comprise from described the first nonvolatile memory load and the described nucleus module that decompresses to described the second nonvolatile memory.In the time that described input block receives enabled instruction, described processor, carries out described load-on module to drive the mobile to respond described enabled instruction for the first time of described nucleus module.In the time receiving shutdown command from described input block, described processor was carried out fragment to described the second nonvolatile memory and is reclaimed function to respond described shutdown command before described media data playing device shutdown.
A kind of method for restarting of media data playing device, be executed in described media data playing device, described device comprises the first nonvolatile memory for the nucleus module of the compressed format of store operation system, and as the second nonvolatile memory of the internal memory of described media data playing device, the movement of wherein said nucleus module comprise from described the first nonvolatile memory load and the described nucleus module that decompresses to described the second nonvolatile memory.Described method comprises: receive enabled instruction from the input block of described media data playing device; Respond described enabled instruction to carry out described load-on module to drive moving for the first time of described nucleus module; And in the time receiving shutdown command from described input block, before described media data playing device shutdown, carry out the subprogram of start-up routine of described media data playing device to respond described shutdown command.
Media data playing device of the present invention reclaims one of them grade of operation at the fragment that receives shutdown command and carry out multiple grades in the actual down periods, thereby use situation that can managing internal memory is in order to long use.Subprogram in normal start-up routine, for example movement of operating system kernel module was just carried out the time starting to save before reality starts.
Brief description of the drawings
The embodiment structure calcspar of Fig. 1 display media data replay apparatus;
The memory modules calcspar of Fig. 2 display media data replay apparatus;
Fig. 3 show the internal memory unit of phase-change memory element embodiment setting (set) and reset (reset) pulse wave schematic diagram;
Fig. 4 shows the embodiment schematic diagram of the internal memory unit of phase change random access memory;
Fig. 5 shows the embodiment sectional view of the internal memory unit of phase change random access memory;
The operation embodiment process flow diagram of Fig. 6 display media data replay apparatus response shutdown command;
The response of Fig. 7 display media data replay apparatus starts the operation embodiment process flow diagram of enabled instruction.
Main element symbol description
Media data playing device 100
Processor 151
Internal memory 152
Nonvolatile memory 153
Mass storage 154
Display 155
Communication unit 156
Content protecting unit 157
Power supply unit 158
Quartz (controlled) oscillator 159
Input-output unit 160
Audio output unit 161
Image output unit 162
Port one 64
Controller 165
Contact-controllable detector 167
The nucleus module 1525 decompressing
Instruction 1526
Load-on module 1531
Inferior routine 1532
Interrupt vector table 1533
Vector 1534
The nucleus module 1535 of compression
Configuration file 1536
Address 1537
Fragment reclaims sets 1538
Replacement pulse wave 201
Pulse wave 202 is set
Memory device 301
Diode 302
Bit line 304
Character line 305
Phase change material 401
Phase change region 402
Heating arrangement 403
Timer 50,60
Internal storage location C
Time t1
Time t2
Phase change material starts the temperature T-l of nucleogenesis
The melting temperature T-h of phase change material
Embodiment
Media data playing device and method for restarting enforcement side thereof are described as follows:
1. system survey
Disclosed media data playing device can implementation become an independent table apparatus, or be integrated in various media data playing device, such as Set Top Box, mobile phone, tablet personal computer (tablet personal computer), laptop computer (laptop computer), multimedia player, digital camera, personal digital assistant (personal digital assistant, be called for short PDA), guider or mobile Internet access device (mobile internet device, MID).
The embodiment of 1.1 media data playing devices
With reference to Fig. 1, processor 151 is the central processing unit of media data playing device 100, can be by integrated circuit (Integrated Circuit is called for short IC) composition, for the treatment of data and computer program.As shown in Figure 1, available serial or parallel bus or radio communication channel form the assembly connecting mode of media data playing device 100.Wireless communication unit 156 is set up communication channel, make media data playing device 100 by described communication channel to be connected to remote server, and from described remote server media data.In addition, wireless communication unit 156 can be set up radio communication channel, makes mobile device, for example telepilot, by described radio communication channel to be connected to media data playing device 100 swap data.Described communication unit 156 can comprise antenna, fundamental frequency (base band) and radio frequency (radio frequency, being called for short RF) chipset is used for carrying out WLAN (wireless local area network, be called for short wireless LAN) communication, infrared communication and/or cellular communication system communication, the multiple access of for example wideband code division (Wideband Code Division Multiple Access, be called for short W-CDMA) and high-speed downstream packet access (High Speed Downlink Packet Access is called for short HSDPA).Via the radio communication channel of described foundation, described media data playing device 100 can be used as the access point of WLAN, make mobile device can via described access point with connect the Internet (Internet).
Processor 151 can be made up of the IC of single encapsulation, or connects the encapsulation IC of many identical functions or difference in functionality and form.For instance, processor 151 can only comprise central processing unit (Central Processing Unit, be called for short CPU), or the combination of the control chip of CPU, digital signal processor (digital signal processor is called for short DSP) and communication controler (for example communication unit 156).Described communication controler can comprise cellular communication system communication, infrared ray, bluetooth (Bluetooth tM) or the communication control unit of WLAN.CPU can be the CPU of single arithmetic core or multioperation core.Described communication controler is for controlling the communication of each assembly of media data playing device 100, or the communicating by letter of media data playing device 100 and external device (ED), and can support direct memory access (Direct Memory Access).
Power supply unit 158 is supplied with electric power and is given the each assembly in media data playing device 100.Quartz (controlled) oscillator 159 provides frequency signal to other assembly in processor 151 and media data playing device 100.Timer 50 and 60 is made up of circuit, computer program or its combination, during being respectively used to timing regular length.Timer produces signal when 50 or 60 expiry (expiration), finishes during timing for informing.Input-output unit 160 comprises control knob, alphanumeric keyboard, contact panel, Touch Screen and multiple light emitting diode (light emitting diodes is called for short LEDs).Operation and the running of controller 165 detectings control inputs output unit 160, and detected operation is sent to described processor 151.Described processor 151 can pass through controller 165 control inputs output units 160.Port one 64 can be connected to various computerized interfaces, for example outside computer installation or peripheral unit.Port one 64 can be to meet versabus (universal serial bus, be called for short USB) or (the Institute of Electrical and Electronics Engineers of the Institute of Electrical and Electronics Engineers (IEEE), IEEE) the entity port of the standards such as 1394, (the Electronic Industries Association of EIA, be called for short EIA) No. 232 proposed standard (Recommended Standard-232 formulating, be called for short RS-232) and/or o.11 proposed standard (Recommended Standard-11, be called for short RS-11) entity connectivity port, serial ATA (Serial ATA, abbreviate SAT A) and/or HDMI (High Definition Multimedia Interface) (High Definition Multimedia Interface, be called for short HDMI).
The digital content that content protecting unit 157 produces for image processor 100 provides access control.This content protecting unit 157 comprises general-purpose interface (DVB-CI) and/or required internal memory and the necessary device of conditional access (DVB-CA) of realizing digital video broadcasting.The digital signal that image processor 100 can transmit from antenna, tuner (tuner) and detuner (demodulator) obtains digital content.In another embodiment, image processor 100 can be obtained digital content by network accessible interface from the networks such as the Internet.
Image output unit 162 comprises that wave filter and amplifier are used for video filtering and amplification that processor 151 is exported.Audio output unit 161 comprises that the sound signal that digital analog converter is used for processor 151 to export is converted to analog format from digital format.
Display 155 display texts and image, and can comprise Electronic Paper, OLED Organic Light Emitting Diode (organic light emitting diode, be called for short OLED), Field Emission Display (field emission display, be called for short FED) or LCD liquid crystal display (liquid crystal display is called for short LCD).Or described display 155 can comprise reflected displaying device, for example electrophoresis-type (electrophoretic) display, or utilize the display of interference of light modulation tech (interferometric modulation of light).Described display 155 can show that various graphical user interfaces (graphical user interface is called for short GUI), using as virtual controlling assembly, include but not limited to window, scroll bar, icon and scrapbook.Described display 155 can comprise multiple displays of single display or different size.
Described I/O unit 160 comprises that contact-controllable detector 167 is for detecting the touch control operation on described display 155.Described contact-controllable detector 167 can comprise the transparent touch plate covering on described display 155, or is arranged on optical touch transmitter and the receiver group of described display 155 frames, and for example U.S. Patent Publication No. 20090189878 discloses.
1.2 internal memory embodiments
Nonvolatile memory 153 stores the performed operating system of processor 151 and application program.Described processor 151 is stored in mass storage 154 to internal memory 152 and by digital content from described nonvolatile memory 153 load operating programs and data data.This internal memory 152 can be non-volatile DRAM (Dynamic Random Access Memory) (Nonvolatile Random Access Memory, be called for short NVRAM), for example phase change random access memory (Phase Change RAM, be called for short PRAM), magnetic-resistance random access memory (Magetoresistive RAM, be called for short MRAM) or the NVRAM of other type, the NVRAM that for example U.S. Patent number 7405167 or U.S. Patent Publication No. 20090146140 or 20090221113 disclose.This nonvolatile memory 153 can be that electronics can be erased and can be planned ROM (read-only memory) (Electrically Erasable Programmable Read-Only Memory, be called for short EEPROM), or flash memory, for example anti-or flash memory (NOR flash memory) or anti-and flash memory (NAND flash memory).In the following description, with PRAM as an example, and nonvolatile memory 153 with flash memory as an example for internal memory 152.
PRAM is the nonvolatile memory so that for example the chalcogenide (chalcogenide) of germanium, antimony, tellurium (Germanium-Antimony-Tellurium, Ge-Sb-Te, GST) alloy forms.Crystalline state (crystalline state) and the noncrystalline state (amorphous state) of phase change material GST have different resistance characteristics.Can facilitate the variation of phase change material GST between crystalline state and noncrystalline state via temperature control.The crystalline state of phase change material GST and noncrystalline state all very stable at 150 DEG C.During higher than 200 DEG C, the nucleation of its crystal is accelerated, if it is enough to maintain the time of crystallization, phase change material GST will undergo phase transition and change into as crystalline state.If revert back to noncrystalline state, need heating phase change material to exceeding its fusing point (approximately 600 DEG C) rapid decline temperature.
Fig. 3 shows the graph of a relation of temperature required and time of undergoing phase transition.Temperature T-h is the melting temperature of phase change material, and temperature T-l is the temperature that phase change material starts nucleogenesis.Curve 201 is called replacement pulse wave (reset pulse), show the phase change required temperature control of crystalline state to noncrystalline state, and curve 202 is called pulse wave (set pulse) is set, show that noncrystalline state is to the required temperature control of the phase change of crystalline state.As shown, but replacement phase change material needs the heating process of short higher temperatures of time, and and then in short time t1, carries out cooling.Arrange that phase change material needs the time long (being designated as t2 in Fig. 3) but the heating process of lower temperature to facilitate crystallization and and long brilliant (crystal growing).
Fig. 4 shows the memory device 301 that utilizes phase change material to make.Heating arrangement 403 comprises the resistance-type electrode (resistive electrode) 403 being close to phase change material 401, can be by electric current according to Joule effect (Joule effect) to heat to realize described pulse wave and the replacement pulse wave of arranging.Described phase change material 401 is generally crystalline state and passes through in order to electric current.The region 402 of described phase change material 401 directly connects described heating arrangement 403 becomes phase change region 402.
Under the not obvious condition that causes heating effect, via applying small voltage and measuring by the electric current of described phase change region 402, can read the state of described phase change region 402.Because described electric current is to be directly proportional to the conduction (conductance) of phase change material, therefore can distinguish according to this described two kinds of states.
Fig. 5 shows the equivalent electrical circuit of internal storage location (cell) C of PRAM.Described internal storage location C comprises described memory device 301 and diode 302.Described diode 302, as choosing assembly, can use transistor (transistor) to replace.Described memory device 301 is electrically connected the P junction (P junction) of bit line (bit line) 304 and described diode 302.Character line (word line) 305 connects the N junction (N junction) of described diode 302.
Described memory device 301 can be regarded as according to its phase change state by the resistance of different current values.Bestowing after suitable bias voltage, if be decided to be when the magnitude of current that described memory device 301 can conducting can be detected " setting " or " logical one ", or, if not conducting or only conducting are decided to be " replacement " or " logical zero " during much smaller than the magnitude of current corresponding to " setting " state.
Described internal memory 152 comprises that the array of PRAM internal storage location makes the wherein stored data can be by random access.
2. the running of media data playing device
With reference to Fig. 2, described nonvolatile memory 153 stores operating system kernel module 1535 and the interrupt vector table (interrupt vector table) 1533 of load-on module 1531, its configuration file 1536, compression formation.Register inferior routine 1532 in described load-on module 1531 as Interrupt Service Routine (interrupt service routine) to serve the look-at-me (interrupt) that represents shutdown command or powered-down instruction, and vector 1534 in interrupt vector table 1533 points to time routines 1532.Described configuration file 1536 more comprises garbage collection (garbage collection is called for short GC) setting 1538, is used to specify the option of garbage collection program.It 1538 can be that user sets that garbage collection is set, or automatically set the service time since according to last startup of described media data playing device 100 by processor 151.
When input-output unit 160 receives the power key of pressing media data playing device 100, and while representing the push action of enabled instruction or power supply instruction, described processor 151 is carried out described load-on module 1531 to carry out initialization, and respond enabled instruction to drive the movement of described nucleus module 1535, the movement of wherein said nucleus module 1535 comprise from described nonvolatile memory 153 load and the described nucleus module 1535 that decompresses to described internal memory 152, to produce the nucleus module 1525 in internal memory 152.Described processor 151 is carried out the operation of described operating system.The movement that responds the described nucleus module 1535 of described enabled instruction is called moving for the first time of described nucleus module 1535.
Operation before 2.1 device shutdown
With reference to Fig. 6, in the time of the 100 normal work of described media data playing device, described input-output unit 160 receives the pressing of described power key, and sends the look-at-me that represents shutdown command to described processor 151 (step S100).Described processor 151 is carried out following operation to respond described shutdown command.Described processor 151 is obtained the vector 1534 (step S102) of corresponding described look-at-me in described interrupt vector table 1533, obtains and carry out described vectorial 1534 corresponding routines 1532 (step S104).Under the guidance of described routine 1532, described processor 151 shows pass machine information or stops output video, and reclaiming according to fragment one of them grade of setting the grade to carry out multiple fragments recovery.
Described processor 151 judges that the fragment in described configuration file 1536 reclaims setting 1538 (step S106).When reclaiming, described fragment sets the general fragment recovery of 1538 instruction operation, other program that described processor 151 is correspondingly searched described media data playing device 100 in described internal memory 152 use less than data object (step S107), and discharge the space (step S108) of the shared internal memory of these data objects 152.Described processor 151 records the address 1537 on described internal memory 152, the address (step S110) of carrying out will be continued in described address 1537 for described nucleus module 1535 is designated, and stops power supply to described media data playing device 100 (step S118).
When reclaiming, described fragment sets the high-grade fragment recovery operation of 1538 instructions, described processor 151 stocking system related datas (system context) are to described nonvolatile memory 153, remove described internal memory 152 (step S112), and again drive the movement (step S114) from described nonvolatile memory 153 to described internal memory 152 of described nucleus module 1535 and application program according to the described system related data storing, and reply described system related data (step S115).Remove described internal memory 152 and comprise all data of deleting in described internal memory 152.The movement that responds the described nucleus module 1535 of described shutdown command is called moving for the second time of described nucleus module 1535, comprising load from described nonvolatile memory 153 and the described nucleus module 1535 that decompresses to described internal memory 152.In like manner, the movement of described application program comprise from described nonvolatile memory 153 load and the described application program that decompresses to described internal memory 152.Described system related data comprises the program data structure of nextport hardware component NextPort setting, page table (page table), program management data (process management data), described application program, and other default.Step S115 can only reply the described system related data of part, for example, only reply the described system related data of part to described internal memory 152.Remaining system related data can be replied in the time of device startup 100 next time.Via described step S114 to rearrange data in described internal memory 152 and the arranged distribution of program.Described processor 151 records the address 1537 on described internal memory 152, described address 1537 is to restart the designated address (step S116) that will continue execution of (reboot) rear described nucleus module 1535, and stops power supply to described media data playing device 100 (step S118).For instance, described processor 151 cuts out described power supply unit 158.
The movement of removing described internal memory 152 and described nucleus module 1535 is a part for the routine of the start-up routine of described media data playing device 100.Via execution step S112 and S114, the described start-up routine that described processor 151 was carried out a part before the actual shutdown of described media data playing device 100 is to respond described shutdown command.Described processor 151, before the actual shutdown of described media data playing device 100, and after the movement of carrying out described nucleus module 1535 and application program, can rearrange the situation of utilizing of described internal memory 152.Or in different embodiments, in step S114, described processor 151 can only be carried out the movement of described nucleus module 1535.Described processor 151 is at execution step S107, S108, and S110, S112, S114, S115, and when S116, can first suspend the processing to other look-at-me, described step can not be interrupted.
2.2 device start-up operations
With reference to Fig. 7, in the off-mode of described media data playing device 100, press described power key to send enabled instruction to described processor 151 (step S200).Described processor 151 is carried out following operation to respond described enabled instruction.
In the time receiving described enabled instruction from described input-output unit 160, described processor 151 is carried out load-on module 1531 (step S202).Described load-on module 1531 instructs the initialization (step S204) of described processor 151 and other assembly of described media data playing device 100, and guides described processor 151 to determine whether and has the suitable address (step S206) of continuing and carrying out.When the address 1537 of carrying out when continuing described in judging exists, described processor 151 is obtained described address 1537, and carries out the instruction 1526 (step S208) of the corresponding nucleus module 1535 in described internal memory 152 in described address 1537.Dotted line in Fig. 2 shows the relation between 1537 and instructions 1526 of address.Therefore, the execution of described processor 151 programs switches to the described address 1537 of described internal memory 152.After receiving described enabled instruction, no longer carry out the movement of removing described internal memory 152 and described nucleus module 1535, therefore save described media data playing device 100 and restarted the required time.
When the address 1537 of carrying out when continuing described in judging does not exist, described processor 151 is carried out the general start-up routine (step S210) of described load-on module 1531, load and the described nucleus module 1535 that decompresses to produce described nucleus module 1525 (step S212 and S214), and executive system initialization (step S216) under the guidance of described operating system kernel module 1525.
3. conclusion
In a word, receive shutdown command and actual close described media data playing device 100 during in, the fragment of carrying out multiple grades reclaims one of them grade of operation.Therefore use situation that, can managing internal memory is in order to long use.Subprogram in normal start-up routine, for example movement of operating system kernel module was just carried out the time starting to save before reality starts.

Claims (23)

1. the method for restarting of an electronic calculator device, be executed in described electronic calculator device, described device comprises the first nonvolatile memory of the nucleus module that stores an operating system, and as the second nonvolatile memory of the primary memory of described electronic calculator device, the movement of wherein said nucleus module comprises from described the first nonvolatile memory and loads described nucleus module to described the second nonvolatile memory, it is characterized in that described method comprises:
Receive enabled instruction; And
Drive the mobile to respond described enabled instruction for the first time of described nucleus module, load described nucleus module to described the second nonvolatile memory described mobile the comprising from described the first nonvolatile memory for the first time of described nucleus module;
In the time receiving shutdown command, before described electronic calculator device shutdown, determine whether drive the mobile to respond described shutdown command for the second time of described nucleus module, load described nucleus module to described the second nonvolatile memory described mobile the comprising from described the first nonvolatile memory for the second time of wherein said nucleus module; And
Described in driving if determine, move for the second time, after described movement for the second time, described electronic calculator device shuts down to respond described shutdown command; And
Described in not driving if determine, move for the second time, described electronic calculator device shuts down to respond described shutdown command.
2. the method for restarting of electronic calculator device as claimed in claim 1, it is characterized in that described the first nonvolatile memory stores memory management function and sets, described memory management function is set one of them grade of the multiple grades in order to indicate memory management function, and in the time that described memory management function is set the high-grade memory management function of instruction, described method also comprises:
Respond described shutdown command to drive the described of described nucleus module to move for the second time, an and address of volatile internal memory for the second time described in storing in described the first nonvolatile memory, when wherein said nucleus module is designated for described electronic calculator device and receives the second enabled instruction, execution continues from described address, and make described electronic calculator device shutdown, to respond described shutdown command.
3. the method for restarting of electronic calculator device as claimed in claim 2, is characterized in that described method also comprises before the described movement for the second time of carrying out described nucleus module:
Remove the data in described the second nonvolatile memory.
4. the method for restarting of electronic calculator device as claimed in claim 2, characterized by further comprising:
After the shutdown of described electronic calculator device, in the time again receiving the second enabled instruction, the second nonvolatile memory carry out the corresponding instruction in described address described in access, to respond described the second enabled instruction.
5. the method for restarting of electronic calculator device as claimed in claim 3, is characterized in that described the second nonvolatile memory comprises the wherein one of phase change random access memory and magnetic-resistance random access memory.
6. the method for restarting of electronic calculator device as claimed in claim 2, it is characterized in that comprising load-on module at described electronic calculator device, the inferior routine of described load-on module instructs execution the described of described nucleus module to move for the second time, and is registered as the service routine of the interruption that represents described shutdown command.
7. the method for restarting of an electronic calculator device, be executed in described electronic calculator device, described device comprises the first nonvolatile memory in order to the nucleus module of store operation system, and as the second nonvolatile memory of the primary memory of described electronic calculator device, the movement of wherein said nucleus module comprises from described the first nonvolatile memory and loads described nucleus module to described the second nonvolatile memory, it is characterized in that described method comprises:
Receive enabled instruction;
Respond described enabled instruction to drive moving for the first time of described nucleus module, load described nucleus module to described the second nonvolatile memory described mobile the comprising from described the first nonvolatile memory for the first time of described nucleus module; And
In the time receiving shutdown command, before described electronic calculator device shutdown, described the second nonvolatile memory is carried out to memory management function to respond described shutdown command, wherein said memory management function comprises to be searched in described primary memory the data object of removing, and discharge the memory headroom that is used for storing described data object in described primary memory, and carry out described electronic calculator device and shut down to respond described shutdown command.
8. the method for restarting of electronic calculator device as claimed in claim 7, wherein said the first nonvolatile memory stores memory management function and sets, described memory management function is set one of them grade of the multiple grades in order to indicate memory management function, and in the time that described memory management function is set the high-grade memory management function of instruction, it is characterized in that described method also comprises:
Drive the mobile to respond described shutdown command for the second time of described nucleus module;
In described the first nonvolatile memory, store an address of described the second nonvolatile memory, and make described electronic calculator device shutdown, to respond described shutdown command, when wherein said nucleus module is designated for described electronic calculator device and receives the second enabled instruction, execution continues from described address;
Load described nucleus module to described the second nonvolatile memory described mobile the comprising from described the first nonvolatile memory for the second time of wherein said nucleus module.
9. the method for restarting of an electronic calculator device, be executed in described electronic calculator device, described device comprises the first nonvolatile memory in order to the nucleus module of store operation system, and as the second nonvolatile memory of the primary memory of described electronic calculator device, the movement of wherein said nucleus module comprises from described the first nonvolatile memory and loads described nucleus module to described the second nonvolatile memory, it is characterized in that described method comprises:
Receive the first enabled instruction, wherein said the first enabled instruction is for driving the start-up routine of described electronic calculator device, and described start-up routine comprises the internal memory handling procedure for described internal memory, described internal memory handling procedure at least comprises whether decision removes described internal memory;
Respond described the first enabled instruction to drive moving for the first time of described nucleus module, load described nucleus module to described the second nonvolatile memory described mobile the comprising from described the first nonvolatile memory for the first time of described nucleus module, and described start-up routine comprise for described internal memory about described mobile internal memory handling procedure for the first time;
When receiving when shutdown command, before described electronic calculator device shutdown, carry out the subprogram of described start-up routine of described electronic calculator device to respond described shutdown command, the subprogram of wherein said start-up routine at least comprises removes described internal memory; And
Removing after described internal memory, described electronic calculator device shuts down to respond described shutdown command.
10. the method for restarting of electronic calculator device as claimed in claim 9, it is characterized in that described the first nonvolatile memory stores memory management function and sets, described memory management function is set one of them grade of the multiple grades in order to indicate memory management function, and the subprogram of the start-up routine of described electronic calculator device also comprises:
In the time that described memory management function is set the high-grade memory management function of instruction, more respond described shutdown command to drive moving for the second time of described nucleus module, load described nucleus module to described the second nonvolatile memory described mobile the comprising from described the first nonvolatile memory for the second time of wherein said nucleus module;
Wherein said method also comprises:
In described the first nonvolatile memory, store an address of described the second nonvolatile memory, when wherein said nucleus module is designated for described electronic calculator device and receives the second enabled instruction, execution continues from described address; And
Make described electronic calculator device shut down to respond described shutdown command.
The method for restarting of 11. 1 kinds of electronic calculator devices, be executed in described electronic calculator device, described device comprises the first nonvolatile memory in order to the nucleus module of store operation system, and as the second nonvolatile memory of the primary memory of described electronic calculator device, the movement of wherein said nucleus module comprises from described the first nonvolatile memory and loads described nucleus module to described the second nonvolatile memory, it is characterized in that described method comprises:
Receive enabled instruction;
Respond the first enabled instruction to drive moving for the first time of described nucleus module, load described nucleus module to described the second nonvolatile memory described mobile the comprising from described the first nonvolatile memory for the first time of described nucleus module; And
In the time receiving shutdown command, carry out shutdown corresponding program to respond described shutdown command, wherein said shutdown corresponding program comprises:
Before described electronic calculator device shutdown, described the second nonvolatile memory is carried out to memory management function to respond described shutdown command, wherein said memory management function comprises to be searched in described primary memory the data object of removing, and discharges the memory headroom that is used for storing described data object in described primary memory; And
Make described electronic calculator device shut down to respond described shutdown command, the memory headroom that wherein said shutdown corresponding program prevents described release is taken up by data.
The method for restarting of 12. 1 kinds of electronic calculator devices, be executed in described electronic calculator device, described device comprises one first nonvolatile memory in order to the nucleus module of store operation system, and as the second nonvolatile memory of the primary memory of described electronic calculator device, the movement of wherein said nucleus module comprises from described the first nonvolatile memory and loads described nucleus module to described the second nonvolatile memory, it is characterized in that described method comprises:
Receive the first enabled instruction of described electronic calculator device, wherein said the first enabled instruction is in order to drive the start-up routine of described electronic calculator device, and described start-up routine comprises the memory region of removing described primary memory;
Carry out described start-up routine to drive the mobile to respond described the first enabled instruction for the first time of described nucleus module, the mobile associated processing to described primary memory for the first time described in described start-up routine comprises, the part of described nucleus module in the described described memory region that is loaded on described primary memory in mobile for the first time;
Receive a shutdown command of described electronic calculator device; And
A part of program of carrying out described start-up routine before the shutdown of described electronic calculator device to be to respond described shutdown command, and a part of program of wherein said start-up routine comprises the described memory region of removing in described primary memory and the described nucleus module in described memory region.
The method for restarting of 13. electronic calculator devices as claimed in claim 12, it is characterized in that described the first nonvolatile memory stores memory management function and sets, described memory management function is set one of them grade of the multiple grades in order to indicate memory management function, and in the time that described memory management function is set the high-grade memory management function of instruction, described method for restarting also comprises:
Respond described shutdown command to drive the described of described nucleus module to move for the second time, an and address of volatile internal memory for the second time described in storing in described the first nonvolatile memory, when wherein said nucleus module is designated for described electronic calculator device and receives the second enabled instruction, execution continues from described address, and make described electronic calculator device shutdown, to respond described shutdown command.
The method for restarting of 14. electronic calculator devices as claimed in claim 13, it is characterized in that after described electronic calculator device shutdown, in the time receiving the second enabled instruction, the second nonvolatile memory carry out the corresponding instruction in described address described in access, to respond described the second enabled instruction.
15. 1 kinds of electronic calculator devices, is characterized in that comprising:
Processor; And
Primary memory, as the primary memory of described processor, described primary memory comprises that nonvolatile memory is in order to still save data is in described primary memory in the time that described electronic calculator device shuts down, and wherein said processor is carried out method for restarting, and described method for restarting comprises:
In the start-up routine of described electronic calculator device, according to the startup relevant field in described electronic calculator device, when described startup relevant field has in the situation of the first parameter value, remove described primary memory to respond the enabled instruction of described electronic calculator device, one of them in the described start-up routine of wherein said startup relevant field corresponding to described electronic calculator device in multiple startup flow processs starts flow process; And
According to described startup relevant field, when described startup relevant field has in the situation of the second parameter value, in the described start-up routine of described electronic calculator device, omit the removing step of described primary memory to respond the described enabled instruction of described electronic calculator device.
16. electronic calculator devices as claimed in claim 15, is characterized in that described startup relevant field reaction setup parameter, and wherein said setup parameter is indicated the setting value in multiple internal memory setting values, and described method for restarting also comprises:
If described setup parameter is indicated specific setting value, in a shutdown programm of described electronic calculator device, remove certain memory region in described primary memory to respond the shutdown command of described electronic calculator device; And
According to described startup relevant field, when in the situation that the described certain memory region of described main note body has been eliminated in the described shutdown programm at described electronic calculator device, in the described start-up routine of described electronic calculator device, omit the removing step in described memory region of described primary memory to respond the described enabled instruction of described electronic calculator device.
17. electronic calculator devices as claimed in claim 15, is characterized in that described startup relevant field reaction setup parameter, and wherein said setup parameter is indicated a grade in multiple memory management grades, and described method for restarting also comprises:
If the inferior grade in the described multiple memory management grades of described setup parameter instruction, in a shutdown programm of described electronic calculator device, is removed certain memory region in described primary memory to respond the shutdown command of described electronic calculator device; And
If high-grade in the described multiple memory management grades of described setup parameter instruction, in a shutdown programm of described electronic calculator device, removes whole memories region of described primary memory to respond the described shutdown command of described electronic calculator device.
18. 1 kinds of electronic calculator devices, is characterized in that comprising:
Processor; And
Nonvolatile memory, comprise the first nonvolatile memory region and the second nonvolatile memory region, wherein said the second nonvolatile memory region is as the primary memory of described processor, described primary memory in order to when the shutdown of described electronic calculator device still save data in described primary memory, wherein said processor is carried out method for restarting, and described method for restarting comprises:
In the start-up routine of described electronic calculator device, according to the startup relevant field in described electronic calculator device, when described startup relevant field has in the situation of parameter value, remove described primary memory, and from described the first nonvolatile memory region load operation system core module to described primary memory, to respond the enabled instruction of described electronic calculator device, one of them in the described start-up routine of wherein said startup relevant field corresponding to described electronic calculator device in multiple startup flow processs starts flow process; And
According to described startup relevant field, when described startup relevant field has in the situation of the second parameter value, represent to have stored in described primary memory the nucleus module of loading of described operating system, in the described start-up routine of described electronic calculator device, omit the removing step of described primary memory and omit the load step of described operating system kernel module, and continue to carry out the described nucleus module that loaded that is stored in the described operating system in described primary memory, to respond the described enabled instruction of electronic calculator device.
The method for restarting of 19. 1 kinds of electronic calculator devices, be executed in described electronic calculator device, described device comprises nonvolatile memory, described nonvolatile memory comprises the first nonvolatile memory region in order to the nucleus module of store operation system, and as the second nonvolatile memory region of the primary memory of described electronic calculator device, it is characterized in that described method comprises:
In the start-up routine of described electronic calculator device, according to the startup relevant field in described electronic calculator device, when described startup relevant field has in the situation of the first parameter value, remove described primary memory, and the described nucleus module that loads described operating system from described the first nonvolatile memory region is to described primary memory, to respond the enabled instruction of described electronic calculator device, one of them in the described start-up routine of wherein said startup relevant field corresponding to described electronic calculator device in multiple startup flow processs starts flow process; And
According to described startup relevant field, when described startup relevant field has in the situation of the second parameter value, represent to have stored in described primary memory the nucleus module of loading of described operating system, in the described start-up routine of described electronic calculator device, omit the removing step of described primary memory and omit the load step of described operating system kernel module, and continue to carry out the described nucleus module that loaded that is stored in the described operating system in described primary memory, to respond the described enabled instruction of electronic calculator device.
20. 1 kinds of electronic calculator devices, is characterized in that comprising:
Processor; And
Nonvolatile memory, comprise the first nonvolatile memory region and the second nonvolatile memory region, wherein said the second nonvolatile memory region is as the primary memory of described processor, described primary memory in order to when the shutdown of described electronic calculator device still save data in described primary memory, wherein said processor is carried out method for restarting, and described method for restarting comprises:
In the start-up routine of described electronic calculator device, according to the startup relevant field in described electronic calculator device, when described startup relevant field has in the situation of the first parameter value, remove in described primary memory a selected memory region of the loading of the operating system kernel module for accepting described electronic calculator device, and load the operating system kernel module of described electronic calculator device from described the first nonvolatile memory region to the described selected memory region of described primary memory, to respond the enabled instruction of described electronic calculator device, one of them in the described start-up routine of wherein said startup relevant field corresponding to described electronic calculator device in multiple startup flow processs starts flow process, and
According to described startup relevant field, when described startup relevant field has in the situation of the second parameter value, represent to have stored in described primary memory the nucleus module of loading of described operating system, in the described start-up routine of described electronic calculator device, omit described primary memory described selected memory region removing step and omit the load step of described operating system kernel module, and continue to carry out the described nucleus module that loaded of the described operating system in the described selected memory region that is stored in described primary memory, with the described enabled instruction of response electronic calculator device.
The method for restarting of 21. 1 kinds of electronic calculator devices, be executed in described electronic calculator device, described device comprises nonvolatile memory, described nonvolatile memory comprises the first nonvolatile memory region in order to the nucleus module of store operation system, and as the second nonvolatile memory region of the primary memory of described electronic calculator device, it is characterized in that described method comprises:
In the start-up routine of described electronic calculator device, according to the startup relevant field in described electronic calculator device, when described startup relevant field has in the situation of the first parameter value, remove in described primary memory a selected memory region of the loading of the operating system kernel module for accepting described electronic calculator device, and load the described nucleus module of described operating system from described the first nonvolatile memory region to the described selected memory region of described primary memory, to respond the enabled instruction of described electronic calculator device, one of them in the described start-up routine of wherein said startup relevant field corresponding to described electronic calculator device in multiple startup flow processs starts flow process, and
According to described startup relevant field, when described startup relevant field has in the situation of the second parameter value, represent to have stored in described primary memory the nucleus module of loading of described operating system, in the described start-up routine of described electronic calculator device, omit described primary memory described selected memory region removing step and omit the load step of described operating system kernel module, and continue to carry out the described nucleus module that loaded of the described operating system in the described selected memory region that is stored in described primary memory, with the described enabled instruction of response electronic calculator device.
22. 1 kinds of electronic calculator devices, is characterized in that described electronic calculator device comprises:
The first nonvolatile memory, in order to the nucleus module of store operation system; And
The second nonvolatile memory, as the primary memory of described electronic calculator device, the movement of wherein said nucleus module comprises from described the first nonvolatile memory and loads described nucleus module to described the second nonvolatile memory; And
Processor, in order to carry out method for restarting, described method comprises:
Receive the first enabled instruction, wherein said the first enabled instruction is for driving the start-up routine of described electronic calculator device, and described start-up routine comprises the internal memory handling procedure for described internal memory, described internal memory handling procedure at least comprises whether decision removes described internal memory;
Respond described the first enabled instruction to drive moving for the first time of described nucleus module, load described nucleus module to described the second nonvolatile memory described mobile the comprising from described the first nonvolatile memory for the first time of described nucleus module, and described start-up routine comprise for described internal memory about described mobile internal memory handling procedure for the first time;
When receiving when shutdown command, before described electronic calculator device shutdown, carry out the subprogram of described start-up routine of described electronic calculator device to respond described shutdown command, the subprogram of wherein said start-up routine at least comprises removes described internal memory; And
Removing after described internal memory, described electronic calculator device shuts down to respond described shutdown command.
The method for restarting of 23. 1 kinds of electronic calculator devices, be executed in described electronic calculator device, described device comprises primary memory, described primary memory comprise nonvolatile memory in order to when the shutdown of described electronic calculator device still save data in described primary memory, wherein said electronic calculator device is carried out method for restarting, it is characterized in that described method for restarting comprises:
In the start-up routine of described electronic calculator device, according to the startup relevant field in described electronic calculator device, when described startup relevant field has in the situation of the first parameter value, remove described primary memory to respond the enabled instruction of described electronic calculator device, one of them in the described start-up routine of wherein said startup relevant field corresponding to described electronic calculator device in multiple startup flow processs starts flow process; And
According to described startup relevant field, when described startup relevant field has in the situation of the second parameter value, in the described start-up routine of described electronic calculator device, omit the removing step of described primary memory to respond the described enabled instruction of described electronic calculator device.
CN201410125917.4A 2010-03-30 2010-03-30 Electronic calculator device and its method for restarting Expired - Fee Related CN103995711B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410125917.4A CN103995711B (en) 2010-03-30 2010-03-30 Electronic calculator device and its method for restarting

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010136237.4A CN102207875B (en) 2010-03-30 2010-03-30 Media data playing device and rebooting method thereof
CN201410125917.4A CN103995711B (en) 2010-03-30 2010-03-30 Electronic calculator device and its method for restarting

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201010136237.4A Division CN102207875B (en) 2010-03-30 2010-03-30 Media data playing device and rebooting method thereof

Publications (2)

Publication Number Publication Date
CN103995711A true CN103995711A (en) 2014-08-20
CN103995711B CN103995711B (en) 2018-02-02

Family

ID=51309889

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410125917.4A Expired - Fee Related CN103995711B (en) 2010-03-30 2010-03-30 Electronic calculator device and its method for restarting

Country Status (1)

Country Link
CN (1) CN103995711B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105630407A (en) * 2015-05-29 2016-06-01 上海磁宇信息科技有限公司 Computer system, memory scheduling method of operation system and system starting method
CN112416449A (en) * 2020-12-15 2021-02-26 北京梧桐车联科技有限责任公司 Electronic equipment and starting method and starting device thereof

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1399193A (en) * 2001-07-24 2003-02-26 英业达股份有限公司 Method of turning off the system unit safely
CN1467625A (en) * 2002-07-08 2004-01-14 尹启凤 Quick starting computer system
CN1530795A (en) * 2003-03-12 2004-09-22 联想(北京)有限公司 Method for saving and restoring computer system operation state
CN1818869A (en) * 2006-03-15 2006-08-16 浙江大学 Mirror starting optimization of built-in operation system
CN1991759A (en) * 2005-12-28 2007-07-04 技嘉科技股份有限公司 Computer framework rapidly activating system program
CN101299349A (en) * 2007-05-02 2008-11-05 联发科技股份有限公司 Erase handling method for non-volatile memory and electronic apparatus thereof
CN101515194A (en) * 2008-02-21 2009-08-26 鸿富锦精密工业(深圳)有限公司 Computer operating state converting method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1399193A (en) * 2001-07-24 2003-02-26 英业达股份有限公司 Method of turning off the system unit safely
CN1467625A (en) * 2002-07-08 2004-01-14 尹启凤 Quick starting computer system
CN1530795A (en) * 2003-03-12 2004-09-22 联想(北京)有限公司 Method for saving and restoring computer system operation state
CN1991759A (en) * 2005-12-28 2007-07-04 技嘉科技股份有限公司 Computer framework rapidly activating system program
CN1818869A (en) * 2006-03-15 2006-08-16 浙江大学 Mirror starting optimization of built-in operation system
CN101299349A (en) * 2007-05-02 2008-11-05 联发科技股份有限公司 Erase handling method for non-volatile memory and electronic apparatus thereof
CN101515194A (en) * 2008-02-21 2009-08-26 鸿富锦精密工业(深圳)有限公司 Computer operating state converting method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105630407A (en) * 2015-05-29 2016-06-01 上海磁宇信息科技有限公司 Computer system, memory scheduling method of operation system and system starting method
CN112416449A (en) * 2020-12-15 2021-02-26 北京梧桐车联科技有限责任公司 Electronic equipment and starting method and starting device thereof

Also Published As

Publication number Publication date
CN103995711B (en) 2018-02-02

Similar Documents

Publication Publication Date Title
CN102207875B (en) Media data playing device and rebooting method thereof
US9619246B2 (en) Electronic computing device and reboot method thereof
US20120054752A1 (en) Electronic device having operation mode dynamic adjusting mechanism and method of the same
EP3041247B1 (en) Broadcast image output device, download server, and control methods therefor
NL2011914B1 (en) Mobile device and method of managing data using swap thereof.
US20100306453A1 (en) Method for operating a portion of an executable program in an executable non-volatile memory
US10416909B2 (en) Methods for phase-change memory array
US10212480B2 (en) Method, apparatus and computer program product for switching television channels
JP2011097809A (en) Information processor, power supply controlling method, program, and power supply controlling system
CN107566622B (en) Temperature control method and mobile terminal
US10018975B2 (en) Home network control system for controlling devices in a home network and the control method thereof
CN111638826A (en) Interface display method and device and electronic equipment
CN103995711A (en) Electronic calculator device and restarting method of electronic calculator device
JP5919555B2 (en) Information processing apparatus and method for starting information processing apparatus
CN108270252A (en) The method and mobile terminal of a kind of charging, charging equipment
WO2022242586A1 (en) Application interface method and apparatus, and electronic device
CN102360303A (en) Method for upgrading handheld terminal software, and handheld terminal
WO2024001966A1 (en) Icon management method and icon management device
CN103460187A (en) Information processing apparatus, information processing method, and program
WO2023071996A1 (en) Object display method and apparatus, electronic device, and storage medium
US10368137B2 (en) System for presenting video information and method therefor
CN116431218A (en) Compatible chip memory control method, system and controller
TWI442320B (en) Media data playback device and reboot method thereof
TWI547872B (en) Media data playback device and reboot method thereof
US11586239B2 (en) Electronic device and method for controlling device clock frequencies based on detected link information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20180227

Address after: The Guangxi Zhuang Autonomous Region Nanning hi tech Zone headquarters Road No. 18, China ASEAN enterprise headquarters base three 5# workshop

Patentee after: NANNING FUGUI PRECISION INDUSTRIAL CO., LTD.

Address before: 518109 Guangdong city of Shenzhen province Baoan District Longhua Town Industrial Zone tabulaeformis tenth East Ring Road No. 2 two

Co-patentee before: Hon Hai Precision Industry Co., Ltd.

Patentee before: Hongfujin Precise Industry (Shenzhen) Co., Ltd.

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180202

Termination date: 20190330

CF01 Termination of patent right due to non-payment of annual fee