CN108469891B - Startup and shutdown management method of portable device, terminal device and storage medium - Google Patents

Startup and shutdown management method of portable device, terminal device and storage medium Download PDF

Info

Publication number
CN108469891B
CN108469891B CN201810200100.7A CN201810200100A CN108469891B CN 108469891 B CN108469891 B CN 108469891B CN 201810200100 A CN201810200100 A CN 201810200100A CN 108469891 B CN108469891 B CN 108469891B
Authority
CN
China
Prior art keywords
shutdown
power supply
control module
supply control
host
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.)
Active
Application number
CN201810200100.7A
Other languages
Chinese (zh)
Other versions
CN108469891A (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.)
Xiamen Meiya Pico Information Co Ltd
Original Assignee
Xiamen Meiya Pico Information 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 Xiamen Meiya Pico Information Co Ltd filed Critical Xiamen Meiya Pico Information Co Ltd
Priority to CN201810200100.7A priority Critical patent/CN108469891B/en
Publication of CN108469891A publication Critical patent/CN108469891A/en
Application granted granted Critical
Publication of CN108469891B publication Critical patent/CN108469891B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/28Supervision thereof, e.g. detecting power-supply failure by out of limits supervision

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)

Abstract

The invention discloses a startup and shutdown management method of portable equipment, which comprises the following startup processes: the startup key sends a startup signal; when the power supply control module receives a starting signal, a starting instruction is sent to the host; when the host receives the starting command, sending a starting response to the power supply control module and starting up the power supply module; when the power supply control module receives the startup response, the startup state indicator lamp is controlled to flicker, the battery is connected, and whether the startup of the host is finished or not is monitored; when the situation that the host is started up is monitored, controlling a starting-up state indicator lamp to be normally on; shutdown process: the shutdown key sends a shutdown signal; when the power supply control module receives a shutdown signal, a shutdown instruction is sent to the host; when the host receives a shutdown instruction, sending a shutdown response to the power supply control module, and shutting down the power supply module; when the power supply control module receives a shutdown response, the power supply control module controls the shutdown state indicator lamp to flash and monitors whether the shutdown of the host is finished; and when the host is monitored to be powered off, the power-off state indicator lamp is controlled to be turned off, and the battery is cut off.

Description

Startup and shutdown management method of portable device, terminal device and storage medium
Technical Field
The invention relates to the technical field of portable equipment management, in particular to a startup and shutdown management method of portable equipment, terminal equipment and a storage medium.
Background
A portable device refers to a device that is easily carried between usage sites. Devices weighing no more than 5kg and easy to handle without handles, and devices weighing no more than 23kg and with handles are portable devices. The portable equipment has small volume, light weight and easy carrying, and is popular with users. Portable devices such as: notebook, portable PC, portable investigation equipment, etc., and the power supply methods thereof include battery power supply, external ac power supply, etc.
Some portable devices in the existing market adopt a windows or linux operating system, but do not have a display screen, that is, the device cannot see the progress of power-off in real time when being powered off, and whether the device quits or not is unknown. Due to the inconvenient operation, some operators adopt forced shutdown or direct power-off shutdown, so that the operating system is easily crashed and damaged, data is damaged and lost, and the damage to some devices with databases is larger.
Disclosure of Invention
In order to solve the above problems, the present invention provides a power on/off management method for a portable device, a terminal device, and a storage medium, which enable an operator to perform correct power on/off operation intuitively, and effectively overcome the original disadvantages.
The invention discloses a startup and shutdown management method of portable equipment, which comprises the following processes:
the starting process comprises the following steps:
the startup key sends a startup signal;
when the power supply control module receives a starting signal sent by a starting button, a starting instruction is sent to the host;
when the host receives a starting-up instruction sent by the power supply control module, sending a starting-up response to the power supply control module and starting up the computer;
when the power supply control module receives a power-on response sent by the host, the power supply control module controls the power-on state indicator lamp to flicker, switches on the battery for power supply and simultaneously monitors whether the host is powered on or not;
when the power supply control module monitors that the host is started, the power supply control module controls the starting state indicator lamp to be normally on;
shutdown process:
the shutdown key sends a shutdown signal;
when the power supply control module receives a shutdown signal sent by a shutdown key, a shutdown instruction is sent to the host;
when the host receives a shutdown instruction sent by the power supply control module, sending a shutdown response to the power supply control module, and performing shutdown;
when the power supply control module receives a power-off response sent by the host, the power supply control module controls the power-off state indicator lamp to flicker and monitors whether the power-off of the host is finished;
when the power supply control module monitors that the host is powered off, the power supply control module controls the power-off state indicator lamp to be turned off and cuts off the power supply of the battery.
Furthermore, in the starting process, when the starting button is pressed for a fixed time period, a starting signal is sent out; and in the shutdown process, when the shutdown key is pressed for a fixed time period, a shutdown signal is sent.
Furthermore, in the starting process and the shutdown process, the fixed time period for which the starting key and the shutdown key are pressed is 3S.
Furthermore, in the starting process, when the power supply control module sends a starting instruction to the host, the power supply control pin is set to be at a high level; in the shutdown process, when the power supply control module monitors that the shutdown of the host is completed, the power supply control pin is set to be at a low level.
Further, in the shutdown process, the power supply control module monitors whether the shutdown of the host is completed, specifically: the power supply control module monitors whether a pin connected with the host changes from a high level to a low level, if so, the shutdown is completed, and if so, the shutdown is not completed.
The invention relates to a startup and shutdown management terminal device of a portable device, which comprises a memory, a processor and a computer program which is stored in the memory and can run on the processor, wherein the processor realizes the steps of the startup and shutdown management method of the portable device when executing the computer program.
The present invention is a computer readable storage medium storing a computer program which, when executed by a processor, implements the steps of a power on/off management method of a portable device.
The invention has the beneficial effects that:
the power supply control module is used for monitoring the completion state of the startup and shutdown of the host to control the on and off of the startup state indicator lamp and the shutdown state indicator lamp, so that an operator can visually perform correct startup and shutdown operations on the portable device, the operation is convenient, the operating system of the portable device is prevented from being crashed and the like, and the data is prevented from being damaged and lost.
Detailed Description
The invention will now be further described with reference to specific embodiments.
The first embodiment is as follows:
the invention provides a startup and shutdown management method of portable equipment, which comprises the following specific processes:
the starting process comprises the following steps:
a. pressing a starting button of the portable equipment for 3 seconds, sending a starting signal by the starting button, setting an electrifying control pin to be a high level to send a starting instruction to a host machine as the starting button is connected with a power supply control module and an MCU processor of the power supply control module receives the starting signal at the moment, and after the time counter counts for 3 seconds, considering the starting signal to be a starting signal rather than an error signal, and controlling a starting state indicator lamp to flash by the MCU processor to indicate that the whole machine is in the starting process and then a battery starts to supply power; b. a whole machine core X86 host (in this embodiment, the host is an X86 host, but is not limited thereto, and any host of a portable device may be used, and is not described herein again), automatically starts up, starts up an operating system, then a system application program and a system database start up, and after all start-up processes are completed, the X86 host informs a power supply control module through a communication interface connected with the power supply control module; c. the power supply control module sets the control pin of the power-on state indicator lamp high so that the power-on state indicator lamp is normally on and the whole machine is powered on; because the complete machine does not have the display module, so the start state pilot lamp is in the scintillation state all the time at the start-up in-process, and the suggestion start-up is incomplete, does not do other operations.
Shutdown process:
a. pressing down a shutdown key for 3 seconds, sending a shutdown signal by the shutdown key, and receiving the shutdown signal by the power supply control module; b. a communication interface of the power supply control module connected with the X86 host computer sends a shutdown instruction to the X86 host computer; c. after receiving the shutdown instruction, the monitoring software of the X86 host sends a shutdown response to the power supply control module to respond, and meanwhile, the X86 host automatically shuts down; d. if the power supply control module receives the response, the power-off state indicator lamp is controlled to flicker, the power supply control module MCU processor monitors whether a monitoring signal connected with the X86 host is in a high level all the time, and if so, the power-off state indicator lamp continuously flickers; e. when the pin connected with the host computer is monitored to be changed into low level, the X86 host computer is indicated to shut down the database normally, and the operating system is exited; f. and the power supply control module is used for lowering the power-on control pin and cutting off the power supply output of the battery, so that the system is normally powered off and shut down.
Example two:
the present invention further provides a power on/off management terminal device of a portable device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the steps in the above method embodiments of the present invention are implemented.
Further, as an executable solution, the power on/off management terminal device of the portable device may be a computing device such as a desktop computer, a notebook, a palm computer, and a cloud server. The power on/off management terminal device of the portable device can include, but is not limited to, a processor and a memory. It is understood by those skilled in the art that the above-mentioned composition structure of the switching management terminal device of the portable device is only an example of the switching management terminal device of the portable device, and does not constitute a limitation to the switching management terminal device of the portable device, and may include more or less components than the above, or combine some components, or different components, for example, the switching management terminal device of the portable device may further include an input/output device, a network access device, a bus, etc., which is not limited in this embodiment of the present invention.
Further, as an executable solution, the Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, a discrete hardware component, and the like. The general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like, the processor is a control center of the switching management terminal device of the portable device, and various interfaces and lines are used to connect various parts of the switching management terminal device of the entire portable device.
The memory can be used for storing the computer program and/or the module, and the processor can realize various functions of the on/off management terminal device of the portable device by running or executing the computer program and/or the module stored in the memory and calling the data stored in the memory. The memory can mainly comprise a program storage area and a data storage area, wherein the program storage area can store an operating system and an application program required by at least one function; the storage data area may store data created according to the use of the mobile phone, and the like. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
The invention also provides a computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, carries out the steps of the above-mentioned method of an embodiment of the invention.
The module/unit integrated with the power on/off management terminal device of the portable device may be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as a separate product. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
According to the startup and shutdown management method of the portable equipment, the terminal equipment and the storage medium, the power supply control module is adopted to monitor the completion state of startup and shutdown of the host, so that the startup state indicator lamp and the shutdown state indicator lamp are controlled to be on or off, further, an operator can intuitively perform correct startup and shutdown operations on the portable equipment, the operation is convenient, the abnormalities such as breakdown of an operating system of the portable equipment and the like are avoided, and data damage and data loss are avoided.
While the invention has been particularly shown and described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (3)

1. A startup and shutdown management method of portable equipment is characterized by comprising the following steps: the method comprises the following steps:
the starting process comprises the following steps:
pressing a starting button of the portable equipment for 3 seconds, sending a starting signal by the starting button, receiving the starting signal by a power supply control module MCU processor, setting a power-on control pin to be a high level to send a starting instruction to an X86 host computer if the starting signal is regarded as the starting signal but not an error signal after a time counter counts for 3 seconds, and simultaneously controlling a starting state indicator lamp to flash by the MCU processor to indicate that the whole machine is in the starting process and then a battery starts to supply power; the X86 host computer is automatically started, starts the operating system, then the system application program and the system database start the starting work, after all starting processes are finished, the X86 host computer informs the power supply control module through the communication interface connected with the power supply control module; the power supply control module sets the control pin of the power-on state indicator lamp to be high so that the power-on state indicator lamp is normally on, and the X86 host computer is powered on;
shutdown process:
pressing a shutdown key of the portable device for 3 seconds, sending a shutdown signal by the shutdown key, and receiving the shutdown signal by the power supply control module; a communication interface of the power supply control module connected with the X86 host computer sends a shutdown instruction to the X86 host computer; after receiving the shutdown instruction, the monitoring software of the X86 host sends a shutdown response to the power supply control module to respond, and meanwhile, the X86 host automatically shuts down; if the power supply control module receives the response, the power-off state indicator lamp is controlled to flicker, the power supply control module MCU processor monitors whether a monitoring signal connected with the X86 host is always at a high level, and if so, the X86 power-off state indicator lamp continuously flickers; when the pin connected with the X86 host is monitored to be changed to low level, the database is indicated to be normally closed by the X86 host, and the operating system is exited; the power supply control module sets the power-on control pin to be low, cuts off the power supply output of the battery, and then the system is normally powered off and shut down.
2. A power on/off management terminal device of a portable device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: the processor, when executing the computer program, realizes the steps of the method as claimed in claim 1.
3. A computer-readable storage medium storing a computer program, characterized in that: which computer program, when being executed by a processor, carries out the steps of the method as claimed in claim 1.
CN201810200100.7A 2018-03-12 2018-03-12 Startup and shutdown management method of portable device, terminal device and storage medium Active CN108469891B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810200100.7A CN108469891B (en) 2018-03-12 2018-03-12 Startup and shutdown management method of portable device, terminal device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810200100.7A CN108469891B (en) 2018-03-12 2018-03-12 Startup and shutdown management method of portable device, terminal device and storage medium

Publications (2)

Publication Number Publication Date
CN108469891A CN108469891A (en) 2018-08-31
CN108469891B true CN108469891B (en) 2021-07-30

Family

ID=63265145

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810200100.7A Active CN108469891B (en) 2018-03-12 2018-03-12 Startup and shutdown management method of portable device, terminal device and storage medium

Country Status (1)

Country Link
CN (1) CN108469891B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109799743A (en) * 2018-12-12 2019-05-24 深圳市天视通电子科技有限公司 A kind of display control circuit and method of power supply status and communications status
CN111090472B (en) * 2019-12-26 2023-04-11 厦门市美亚柏科信息股份有限公司 Intelligent on-off management system and method for portable equipment
CN111813037A (en) * 2020-06-11 2020-10-23 中国长城科技集团股份有限公司 Starting-up control method, starting-up control device and electronic equipment
CN111796991B (en) * 2020-07-03 2024-01-26 上海闻泰电子科技有限公司 System status indication method, apparatus, computer device, and readable storage medium
CN112040150A (en) * 2020-08-11 2020-12-04 深圳市宝润科技有限公司 Method and system for turning on and turning off mobile digital imaging system and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001195277A (en) * 2000-01-17 2001-07-19 Internatl Business Mach Corp <Ibm> Method and device for controlling power source of computer and computer
US6330069B1 (en) * 1997-08-27 2001-12-11 Samsung Electronics Co., Ltd. Power supply controlling method and printer adopting the power supply controlling method
CN101043144A (en) * 2007-04-06 2007-09-26 炬力集成电路设计有限公司 Electrical source managing method of portable electronic products and apparatus thereof
CN101089912A (en) * 2006-06-16 2007-12-19 王筱果 Waiting electric saving method for remote controlled domestic electric equipment and use device
CN101256392A (en) * 2007-11-14 2008-09-03 深圳创维-Rgb电子有限公司 Method, apparatus and equipment for controlling complete closedown of electrical installation
KR20150104695A (en) * 2014-03-06 2015-09-16 삼성전자주식회사 display apparatus and method for controling thereof

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794797A (en) * 2005-12-20 2006-06-28 海信集团有限公司 Switching method of projection TV set
CN100489648C (en) * 2005-12-30 2009-05-20 联想(北京)有限公司 Method for displaying on-off state of electronic equipment and on-off interactive device
CN102905027A (en) * 2012-10-12 2013-01-30 中兴通讯股份有限公司 Terminal starting method and terminal
CN104850021B (en) * 2015-04-22 2018-01-19 惠州Tcl移动通信有限公司 A kind of power on/off system
CN205103947U (en) * 2015-11-17 2016-03-23 智慧方舟科技有限公司 Status indicator lamp control circuit
CN106501177B (en) * 2016-10-19 2019-10-18 山东罗伯特能源装备有限公司 The instruction device and its display methods and indicating means of a kind of Portable combustible gas detector

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6330069B1 (en) * 1997-08-27 2001-12-11 Samsung Electronics Co., Ltd. Power supply controlling method and printer adopting the power supply controlling method
JP2001195277A (en) * 2000-01-17 2001-07-19 Internatl Business Mach Corp <Ibm> Method and device for controlling power source of computer and computer
CN101089912A (en) * 2006-06-16 2007-12-19 王筱果 Waiting electric saving method for remote controlled domestic electric equipment and use device
CN101043144A (en) * 2007-04-06 2007-09-26 炬力集成电路设计有限公司 Electrical source managing method of portable electronic products and apparatus thereof
CN101256392A (en) * 2007-11-14 2008-09-03 深圳创维-Rgb电子有限公司 Method, apparatus and equipment for controlling complete closedown of electrical installation
KR20150104695A (en) * 2014-03-06 2015-09-16 삼성전자주식회사 display apparatus and method for controling thereof

Also Published As

Publication number Publication date
CN108469891A (en) 2018-08-31

Similar Documents

Publication Publication Date Title
CN108469891B (en) Startup and shutdown management method of portable device, terminal device and storage medium
AU2019101720A4 (en) Non-autonomous electric garden tool and method for controlling operation of non-autonomous electric garden tool
CN108447454B (en) Display screen time sequence control method and device, terminal equipment and storage medium
EP2629173A2 (en) Method and system for powering usb device
US10869176B1 (en) Near field communication (NFC) enhanced computing systems
WO2024169300A1 (en) Server startup item adjusting method and apparatus, non-volatile readable storage medium, and electronic apparatus
CN104915306A (en) Data operation control method and device manager
CN103853383A (en) Method of realizing touch screen driver in Uboot (Universal Bootloader Loader)
CN111142900A (en) Program updating method and device and terminal equipment
CN109257652B (en) Configuration information switching method and device, electronic device, system and storage medium
JP6609471B2 (en) Electronic device, method and program
US10819256B2 (en) Motor driving method, mobile terminal, and computer-readable storage medium
CN110134546B (en) Batch restarting windows system method, electronic device and storage medium
US11086371B2 (en) Heat suppression in an information processing device in an initial setting mode
JP6064635B2 (en) Information processing apparatus, control method for information processing apparatus, and control program
CN104394023A (en) Failure collecting method and system for network access terminal
CN113038439B (en) Data transmission method and device for electric tool, electric tool and storage medium
CN110213432B (en) Method for setting chip working frequency, mobile terminal and storage medium
TWI317072B (en)
CN107220053B (en) BIOS management method and electronic equipment
WO2021221602A1 (en) Firmware functions triggered by external devices
JP2010140191A (en) Information processing apparatus, information processing method, and program
KR100499424B1 (en) A method to safely remove the removable storage device
CN105404467A (en) Portable electronic device and user data access method therefor
CN108390425B (en) Mobile terminal external charging chip switching method, mobile terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant