Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Startup control method for software-operated startup and shutdown in multitask systems

A technology of shutdown control and software switch, which is applied in the direction of program control device, response error generation, program loading/starting, etc., can solve the problems of inconvenience and inability to take over the shutdown action, and achieve the effect of improving user experience

Inactive Publication Date: 2013-12-25
FUJIAN CENTM INFORMATION
View PDF5 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But this correspondingly brings a hidden danger, that is: if the overall software system crashes due to some abnormality, but because the hardware design adopts a software power-on / off scheme, the user presses the power button for a long time, and the software has already crashed and cannot be taken over. To realize the shutdown action, the only solution at this time is to disassemble the machine and pull out the battery, which is inconvenient

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Startup control method for software-operated startup and shutdown in multitask systems

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0007] see figure 1 As shown, the present invention is a shutdown control method of a software switch in a multitasking system, and the shutdown control method is realized by any one of three guarantee mechanisms; guarantee mechanism 1: for a multitasking system, generally adopt Multi-process and multi-thread mechanism, so the crash of the application program will generally not affect the system kernel, but a power management monitoring service thread is established in the multi-tasking system kernel, and the long-press event of the power button is regularly detected through the power management monitoring service thread , to realize the control of shutdown; wherein, the power management monitoring service thread is used to regularly detect the long press event of the power button to realize the control of shutdown, specifically: when the power management monitoring service thread detects the long press event of the power button, throw The shutdown message is sent to the messa...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a startup control method for software-operated startup and shutdown in multitask systems. The method is implemented by any one of three safeguard mechanisms. The first safeguard mechanism includes: a power management and monitoring service thread is established in a kernel of the multitask system, and shutdown is controlled through the power management and monitoring service thread which detects a long-press event of a power button. The second safeguard mechanism includes: a hardware timer interrupt service is established in the multitask system, and a hardware timer is started to regularly detect the long-press event of the power button so as to control shutdown. The third safeguard mechanism includes: a hardware watchdog timer is established in the multitask system, and the watchdog times out and restores so as to control shutdown. The design of three safeguard mechanisms allows a handheld terminal system to be able to shut down or reset and restart with no need for dismantling the system to remove a battery when the whole software-operated startup and shutdown mechanism collapses abnormally; accordingly, user experience is improved greatly, and products can be more competitive.

Description

technical field [0001] The invention relates to the technical field of communication equipment, in particular to a shutdown control method of a software switch in a multi-task system. Background technique [0002] For a handheld terminal whose hardware design adopts a software power-on / off scheme, the software power-on / off scheme means that the startup and shutdown actions of the handheld terminal need to be taken over by software. For example, when the handheld terminal is running, if the user presses the power button for a long time, the hardware shutdown signal will not be sent, and the software needs to take over the implementation. This can prevent the user from triggering a hardware shutdown when the software is busy. Signal, the situation where the forced shutdown leads to the collapse of the entire software system. But this correspondingly brings a hidden danger, that is: if the overall software system crashes due to some abnormality, but because the hardware design...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/445G06F11/07
Inventor 黄少锋张登峰余杭军
Owner FUJIAN CENTM INFORMATION
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products