WO2019080321A1 - Power-on method and apparatus for terminal device, device, and storage medium - Google Patents

Power-on method and apparatus for terminal device, device, and storage medium

Info

Publication number
WO2019080321A1
WO2019080321A1 PCT/CN2017/116786 CN2017116786W WO2019080321A1 WO 2019080321 A1 WO2019080321 A1 WO 2019080321A1 CN 2017116786 W CN2017116786 W CN 2017116786W WO 2019080321 A1 WO2019080321 A1 WO 2019080321A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal device
usb
request signal
main chip
interface
Prior art date
Application number
PCT/CN2017/116786
Other languages
French (fr)
Chinese (zh)
Inventor
刘伟
Original Assignee
广州视源电子科技股份有限公司
广州视睿电子科技有限公司
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 广州视源电子科技股份有限公司, 广州视睿电子科技有限公司 filed Critical 广州视源电子科技股份有限公司
Publication of WO2019080321A1 publication Critical patent/WO2019080321A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/34User authentication involving the use of external additional devices, e.g. dongles or smart cards
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Definitions

  • the present invention relates to the field of computers, and in particular, to a booting method, apparatus, device, and storage medium for a terminal device.
  • the identity verification is usually performed during the booting process.
  • the existing verification methods usually include fingerprint recognition, face recognition or input password recognition.
  • the embodiment of the invention provides a booting method, device, device and storage medium for a terminal device, which realizes booting of a terminal device by detecting a USB device inserted into a USB interface in a standby state, and the operation is simple and safe. High sex.
  • an embodiment of the present invention provides a booting method for a terminal device, where the method includes:
  • the interface chip that controls the USB interface sends a request signal
  • the terminal device When the main chip detects that the USB device stores the set file, the terminal device is controlled to be powered on.
  • the embodiment of the present invention further provides a booting device for a terminal device, where the device includes:
  • a request signal sending module configured to, when in the standby state, detect that the USB interface is inserted by the USB interface, the interface chip that controls the USB interface sends a request signal;
  • a main chip startup module configured to start a main chip of the terminal device according to the request signal
  • a detecting module configured to control, when the main chip detects that the USB device stores the set file, to start the terminal device to boot.
  • an embodiment of the present invention further provides a computer device, including a memory, a processor, and a computer program stored on the memory and operable on the processor, where the processor implements the program, such as the present invention
  • a computer device including a memory, a processor, and a computer program stored on the memory and operable on the processor, where the processor implements the program, such as the present invention
  • the embodiment of the present invention further provides a computer readable storage medium, where the computer program is stored, and when the program is executed by the processor, the terminal device is implemented according to any one of the embodiments of the present invention. Boot method.
  • the interface chip that controls the USB interface sends a request signal, and then starts the main chip of the terminal device according to the request signal, and passes the
  • the main chip detects that the USB device stores the set file
  • the main device controls the terminal device to be powered on.
  • the terminal device is booted by detecting the USB device inserted into the USB interface, and the operation is simple and the security is high.
  • FIG. 1 is a flowchart of a booting method for a terminal device according to Embodiment 1 of the present invention
  • FIG. 2a is a flowchart of a method for booting a terminal device according to Embodiment 2 of the present invention
  • FIG. 2b is a schematic diagram of a correspondence between each hardware and each power control module in a terminal device according to Embodiment 2 of the present invention
  • FIG. 3 is a schematic structural diagram of a booting device for a terminal device according to Embodiment 3 of the present invention.
  • Embodiment 4 is a schematic structural diagram of a computer device in Embodiment 4 of the present invention.
  • FIG. 1 is a flowchart of a method for booting a terminal device according to a first embodiment of the present invention.
  • the embodiment is applicable to a situation in which a terminal device controls a booting operation by using a USB device during standby, and the method can be implemented by the present invention.
  • the boot device for the terminal device is provided for execution, and the device can be implemented by software and/or hardware. Referring to FIG. 1, the method may specifically include the following steps:
  • the USB device when the terminal device needs to be powered on in the standby state, the USB device is inserted into the USB interface.
  • the terminal device may be a computer, a smart TV, and other terminal devices with a USB interface. It should be noted that the terminal device needs to be turned on before the USB device is turned on.
  • the function can be set to remain on in the standby state.
  • the terminal device has a power source for powering it in the standby state, and the power source can represent the VCC_STB power source.
  • the interface chip that controls the USB interface issues a request signal.
  • the USB device may be a U disk and other devices that can store and transmit files
  • the request signal may be a terminal request signal, which is represented by an IRQ.
  • the terminal device After receiving the request signal, the terminal device starts the main chip of the terminal device in combination with the request signal.
  • the main chip is the abbreviation of the motherboard chipset.
  • the motherboard chipset is the core component of the motherboard, which determines the type of CPU (Central Processing Unit), the system bus frequency of the motherboard, the memory type, capacity and performance.
  • CPU Central Processing Unit
  • U-BOOT is the abbreviation of Universal Boot Loader, meaning an open source project.
  • the set file can be written to the USB device by writing the set file to the USB device for the boot function, and the developer can set the system software or application.
  • the corresponding functions are set in the software to achieve. For example, if the developer uses the application software A as the set software, in the normal power-on state, after the user inserts the USB device with the boot function into the USB interface, the user opens the application software A, and then passes through the related display interface of the application software A. Perform corresponding operations on it to write the set file to the USB device.
  • the file in the USB device is matched with the file reserved in the terminal device to implement detection of whether the USB device stores the set file. It is also possible to perform detection according to a preset detection rule. If a keyword or key information that satisfies a preset detection rule is detected in the set file, it is considered that the file stored in the USB device is detected.
  • the preset detection rule may be set by the developer according to the specific content of the file when storing the set file.
  • the interface chip that controls the USB interface sends a request signal, and then starts the main chip of the terminal device according to the request signal, and passes the
  • the main chip detects that the USB device stores the set file
  • the main device controls the terminal device to be powered on.
  • the terminal device is booted by detecting the USB device inserted into the USB interface, and the operation is simple and the security is high.
  • the microcontroller of the terminal device is in an active state.
  • microcontroller of the terminal device in the standby state, the microcontroller of the terminal device is in an active state.
  • Microcontrollers are also known as microcontrollers that integrate functions such as memory, counters, and USB.
  • control method for the terminal device further includes: controlling, by the microcontroller of the terminal device, to supply power to the interface chip, so that the interface chip detects that the USB device inserts and sends a request signal.
  • the microcontroller of the terminal device supplies power to the USB interface chip by controlling the power supply.
  • the control power source can be represented by VDD_STB_EN. After the interface chip is powered, it detects the insertion status of the USB device and issues a request signal.
  • the initiating the main chip of the terminal device according to the request signal may be: starting the power of the whole device by the microcontroller that receives the request signal to start a main chip of the terminal device .
  • the microcontroller After receiving the request signal, the microcontroller turns on the power supply through the level switch signal.
  • the level switch signal can be represented by PSON.
  • the PSON is the abbreviation of POWER Supply-ON, and its function can be provided separately through the corresponding pin. Power on, as the power supply of the whole machine to supply the main chip, as a boot trigger.
  • the phased opening of the components of the terminal device is realized by triggering different power sources in stages.
  • FIG. 2 is a flowchart of a method for booting a terminal device according to Embodiment 2 of the present invention.
  • the set file includes user information and a physical address of the terminal device, It is optimized to "control the terminal device to boot when the main chip detects that the USB device stores a set file".
  • the method may specifically include the following steps:
  • the setting file in the detected USB device includes user information and a physical address of the terminal device.
  • the user information includes: the user's name, gender, mobile phone number, and ID card number.
  • the physical address of the terminal device may be represented by a MAC (Media Access Control), which is used to locate the location of the network device. The address refers to the physical address of the network interface. Each terminal device will have a MAC address. The MAC is determined by the network card and is fixed.
  • the interface encrypts the user information and the physical address of the terminal device and writes the USB device to the USB device.
  • the USB device can be used as the USB device for booting function, and is used as the main chip to detect the USB device described in the embodiment of the present invention. use.
  • the terminal device when the main chip detects that the USB device stores the user information and the physical address of the terminal device, the terminal device is controlled to be powered on. After the user information of the terminal device and the physical address of the terminal device are detected, the terminal device is powered on, and the identity recognition of the USB device holder is realized, which is safe and reliable.
  • the booting method for the terminal device further includes: when the main chip detects that the USB device does not store the set file, the whole device power of the terminal device is turned off to make the terminal The device is turned off.
  • the main chip when detecting, by the main chip, that the set file is not stored in the USB device, it indicates that the USB device is not pre-written into the set file, that is, the USB device cannot be used to implement the pair of terminal devices.
  • the power is turned on, the power of the terminal device is turned off to turn off the terminal device. The safety problem caused by the wrong startup of the terminal device is avoided.
  • FIG. 2b shows a correspondence between each hardware in the terminal device and each power control module.
  • 240 denotes a USB interface for inserting a USB device;
  • 241 and 242 denote a USB interface, a USB interface chip and a main chip are connected by USB;
  • 243 denotes a power supply required for starting the whole machine; 243 is indicated by a broken line for distinguishing
  • the power supply for the machine is powered by other components in the terminal device;
  • 244 indicates that the MCU turns on the power supply through the PSIN to control the main power board;
  • 245 indicates that the VCC_STB power supply keeps the MCU in the standby state;
  • 246 Indicates that the main chip and the MCU transmit signals through the communication interface;
  • 247 indicates that the MCU receives the IRQ signal from the interface chip;
  • 248 and 249 indicate that the MCU is controlled by VDD_STB_EN VDD_STB (USB interface chip power supply) to supply power to the USB interface chip.
  • FIG. 3 is a schematic structural diagram of a booting device for a terminal device according to a third embodiment of the present invention.
  • the device is adapted to perform a booting method for a terminal device according to an embodiment of the present invention.
  • the device may specifically include:
  • the request signal sending module 310 is configured to: when the USB device is inserted into the USB interface in the standby state, the interface chip that controls the USB interface sends a request signal;
  • the main chip startup module 320 is configured to start a main chip of the terminal device according to the request signal
  • the detecting module 330 is configured to control the terminal device to be powered on when the main chip detects that the USB device stores the set file.
  • the microcontroller of the terminal device is in an active state
  • the device also includes:
  • a first control module configured to supply power to the interface chip by using a microcontroller of the terminal device, so that the interface chip detects that the USB device inserts and sends a request signal.
  • main chip startup module is specifically configured to:
  • the microcontroller is turned on by the microcontroller receiving the request signal to activate the main chip of the terminal device.
  • the set file includes user information and a physical address of the terminal device
  • the detecting module is specifically configured to:
  • the terminal device When the main chip detects that the USB device stores the user information and the physical address of the terminal device, the terminal device is controlled to be powered on.
  • a second control module configured to: when the main chip detects that the USB device does not store the set file, control the power of the terminal device to be turned off to disable the terminal device.
  • the booting device for the terminal device provided by the embodiment of the present invention can be used for the booting method for the terminal device provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the executing method.
  • FIG. 4 is a schematic structural diagram of a computer device according to Embodiment 4 of the present invention.
  • FIG. 4 illustrates a block diagram of an exemplary computer device 12 suitable for use in implementing embodiments of the present invention.
  • the computer device 12 shown in FIG. 4 is merely an example and should not impose any limitation on the function and scope of use of the embodiments of the present invention.
  • computer device 12 is embodied in the form of a general purpose computing device.
  • Components of computer device 12 may include, but are not limited to, one or more processors or processing units 16, system memory 28, and bus 18 that connects different system components, including system memory 28 and processing unit 16.
  • Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of a variety of bus structures.
  • these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA Bus, a Video Electronics Standards Association (VESA) local bus, and peripheral component interconnects ( PCI) bus.
  • ISA Industry Standard Architecture
  • MAC Micro Channel Architecture
  • VESA Video Electronics Standards Association
  • PCI peripheral component interconnects
  • Computer device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by computer device 12, including both volatile and nonvolatile media, removable and non-removable media.
  • System memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and/or cache memory 32.
  • Computer device 12 may further include other removable/non-removable, volatile/non-volatile computer system storage media.
  • storage system 34 may be used to read and write non-removable, non-volatile magnetic media (not shown in Figure 4, commonly referred to as a "hard disk drive”).
  • a disk drive for reading and writing to a removable non-volatile disk (such as a "floppy disk"), and a removable non-volatile disk (such as a CD-ROM, DVD-ROM) may be provided.
  • each drive can be coupled to bus 18 via one or more data medium interfaces.
  • Memory 28 can include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of various embodiments of the present invention.
  • a program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more applications, other programs Modules and program data, each of these examples or some combination may include an implementation of a network environment.
  • Program module 42 typically performs the functions and/or methods of the described embodiments of the present invention.
  • Computer device 12 may also be in communication with one or more external devices 14 (eg, a keyboard, pointing device, display 24, etc.), and may also be in communication with one or more devices that enable a user to interact with the computer device 12, and/or Any device (eg, a network card, modem, etc.) that enables the computer device 12 to communicate with one or more other computing devices. This communication can take place via an input/output (I/O) interface 22. Also, computer device 12 can communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) via network adapter 20. As shown, network adapter 20 communicates with computer device 12 via bus 18. It communicates with the module.
  • network adapter 20 communicates with computer device 12 via bus 18. It communicates with the module.
  • the processing unit 16 performs various function applications and data processing by running a program stored in the system memory 28, for example, implementing the booting method for the terminal device provided by the embodiment of the present invention:
  • the processing unit executes the program
  • the interface chip that controls the USB interface sends a request signal; and the terminal is activated according to the request signal.
  • the main chip of the device when the main chip detects that the USB device stores the set file, the terminal device is controlled to be powered on.
  • the fifth embodiment of the present invention provides a computer readable storage medium, where the computer program is stored, and the program is executed by the processor to implement the booting method for the terminal device provided by all the embodiments of the present invention:
  • the interface chip that controls the USB interface sends a request signal; and the terminal device is activated according to the request signal.
  • a master chip when the master chip detects that the USB device stores a set file, controlling the terminal device to boot.
  • the computer readable medium can be a computer readable signal medium or a computer readable storage medium.
  • the computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of computer readable storage media (non-exhaustive List) includes: electrical connections with one or more wires, portable computer disk, hard disk, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash), fiber Portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing.
  • a computer readable storage medium can be any tangible medium that can contain or store a program, which can be used by or in connection with an instruction execution system, apparatus or device.
  • a computer readable signal medium may include a data signal that is propagated in the baseband or as part of a carrier, carrying computer readable program code. Such propagated data signals can take a variety of forms including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the computer readable signal medium can also be any computer readable medium other than a computer readable storage medium, which can transmit, propagate, or transport a program for use by or in connection with the instruction execution system, apparatus, or device. .
  • Program code embodied on a computer readable medium can be transmitted by any suitable medium, including but not limited to wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
  • Computer program code for performing the operations of the present invention may be written in one or more programming languages, or a combination thereof, including an object oriented programming language - such as Java, Smalltalk, C++, and also conventional. Procedural programming language - such as the "C" language or a similar programming language.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer, partly on the remote computer, or entirely on the remote computer or server.
  • the remote computer can be connected to the user's computer via any kind of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (eg, using an Internet service) Businesses are connected via the Internet).
  • LAN local area network
  • WAN wide area network
  • an external computer e.g, using an Internet service
  • Businesses are connected via the Internet.

Abstract

A power-on method and apparatus for a terminal device, a device, and a storage medium. The method comprises: in the case of a standby state, controlling an interface chip of a USB interface to send out a request signal when detecting that a USB device is inserted into the USB interface (S110); enabling a main chip of a terminal device according to the request signal (S120); and controlling the terminal device to be powered on when detecting, by means of the main chip, that a set file is stored in the USB device (S130). In a standby state, a terminal device is powered on by detecting a USB device inserted into a USB interface. The operation is simple and the security is high.

Description

一种用于终端设备的开机方法、装置、设备和存储介质Booting method, device, device and storage medium for terminal device 技术领域Technical field
本发明涉及计算机领域,尤其涉及一种用于终端设备的开机方法、装置、设备和存储介质。The present invention relates to the field of computers, and in particular, to a booting method, apparatus, device, and storage medium for a terminal device.
背景技术Background technique
为了保证终端设备中的信息或资料的安全性,通常在开机过程中进行身份验证,现有的验证方法通常有指纹识别、人脸识别或输入密码识别等。In order to ensure the security of the information or data in the terminal device, the identity verification is usually performed during the booting process. The existing verification methods usually include fingerprint recognition, face recognition or input password recognition.
但是,上述身份识别方法均有相应的弊端,例如,指纹识别在使用次数过多后,可能会变的不灵敏;人脸识别要需要的数据处理量大;密码识别中,可能存在用户忘记密码的情况。However, the above identification methods have corresponding drawbacks. For example, fingerprint recognition may become insensitive after being used too much; face recognition requires a large amount of data processing; in password recognition, there may be a user forgetting password Case.
发明内容Summary of the invention
本发明实施例提供一种用于终端设备的开机方法、装置、设备和存储介质,实现了在待机状态下,通过对插入USB接口的USB设备进行检测来对终端设备进行开机,操作简单,安全性高。The embodiment of the invention provides a booting method, device, device and storage medium for a terminal device, which realizes booting of a terminal device by detecting a USB device inserted into a USB interface in a standby state, and the operation is simple and safe. High sex.
第一方面,本发明实施例提供了一种用于终端设备的开机方法,所述方法包括:In a first aspect, an embodiment of the present invention provides a booting method for a terminal device, where the method includes:
在待机状态下,检测到USB接口有USB设备插入时,控制所述USB接口的接口芯片发出请求信号;In the standby state, when it is detected that the USB interface is inserted into the USB interface, the interface chip that controls the USB interface sends a request signal;
根据所述请求信号启动所述终端设备的主芯片; Activating a main chip of the terminal device according to the request signal;
通过所述主芯片检测到所述USB设备存储有设定的文件时,控制所述终端设备开机。When the main chip detects that the USB device stores the set file, the terminal device is controlled to be powered on.
第二方面,本发明实施例还提供了一种用于终端设备的开机装置,所述装置包括:In a second aspect, the embodiment of the present invention further provides a booting device for a terminal device, where the device includes:
请求信号发送模块,用于在待机状态下,检测到USB接口有USB设备插入时,控制所述USB接口的接口芯片发出请求信号;a request signal sending module, configured to, when in the standby state, detect that the USB interface is inserted by the USB interface, the interface chip that controls the USB interface sends a request signal;
主芯片启动模块,用于根据所述请求信号启动所述终端设备的主芯片;a main chip startup module, configured to start a main chip of the terminal device according to the request signal;
检测模块,用于通过所述主芯片检测到所述USB设备存储有设定的文件时,控制所述终端设备开机。And a detecting module, configured to control, when the main chip detects that the USB device stores the set file, to start the terminal device to boot.
第三方面,本发明实施例还提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如本发明实施例中任一所述的用于终端设备的开机方法。In a third aspect, an embodiment of the present invention further provides a computer device, including a memory, a processor, and a computer program stored on the memory and operable on the processor, where the processor implements the program, such as the present invention A booting method for a terminal device according to any of the embodiments.
第四方面,本发明实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本发明实施例中任一所述的用于终端设备的开机方法。In a fourth aspect, the embodiment of the present invention further provides a computer readable storage medium, where the computer program is stored, and when the program is executed by the processor, the terminal device is implemented according to any one of the embodiments of the present invention. Boot method.
本发明实施例中,通过在待机状态下,检测到USB接口有USB设备插入时,控制所述USB接口的接口芯片发出请求信号,然后根据所述请求信号启动所述终端设备的主芯片,通过所述主芯片检测到所述USB设备存储有设定的文件时,控制所述终端设备开机。实现了在待机状态下,通过对插入USB接口的USB设备进行检测来对终端设备进行开机,操作简单,安全性高。In the embodiment of the present invention, when the USB device is inserted into the USB interface in the standby state, the interface chip that controls the USB interface sends a request signal, and then starts the main chip of the terminal device according to the request signal, and passes the When the main chip detects that the USB device stores the set file, the main device controls the terminal device to be powered on. In the standby state, the terminal device is booted by detecting the USB device inserted into the USB interface, and the operation is simple and the security is high.
附图说明 DRAWINGS
图1是本发明实施例一中的一种用于终端设备的开机方法的流程图;1 is a flowchart of a booting method for a terminal device according to Embodiment 1 of the present invention;
图2a是本发明实施例二中的一种用于终端设备的开机方法的流程图;2a is a flowchart of a method for booting a terminal device according to Embodiment 2 of the present invention;
图2b是本发明实施例二中所适用的一种终端设备中各硬件与各电源控制模块之间的对应关系的示意图;2b is a schematic diagram of a correspondence between each hardware and each power control module in a terminal device according to Embodiment 2 of the present invention;
图3是本发明实施例三中的一种用于终端设备的开机装置的结构示意图;3 is a schematic structural diagram of a booting device for a terminal device according to Embodiment 3 of the present invention;
图4是本发明实施例四中的一种计算机设备的结构示意图。4 is a schematic structural diagram of a computer device in Embodiment 4 of the present invention.
具体实施方式Detailed ways
下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. It should also be noted that, for ease of description, only some, but not all, of the structures related to the present invention are shown in the drawings.
实施例一Embodiment 1
图1为本发明实施例一提供的一种用于终端设备的开机方法的流程图,本实施例可适用于终端设备在待机时利用USB设备控制其开机的情况,该方法可以由本发明是实施例提供的用于终端设备的开机装置来执行,该装置可采用软件和/或硬件的方式实现。参考图1,该方法具体可以包括如下步骤:FIG. 1 is a flowchart of a method for booting a terminal device according to a first embodiment of the present invention. The embodiment is applicable to a situation in which a terminal device controls a booting operation by using a USB device during standby, and the method can be implemented by the present invention. The boot device for the terminal device is provided for execution, and the device can be implemented by software and/or hardware. Referring to FIG. 1, the method may specifically include the following steps:
S110、在待机状态下,检测到USB接口有USB设备插入时,控制所述USB接口的接口芯片发出请求信号。S110. In the standby state, when detecting that the USB interface is inserted into the USB interface, the interface chip that controls the USB interface sends a request signal.
具体的,终端设备在待机状态下,需要对其进行开机时,将USB设备插入USB接口。示例性的,终端设备可以是电脑、智能电视以及其他带USB接口的终端设备,需要说明的是,终端设备需要预先开启通过USB设备开机的功能。 可选的,可以将该功能设置为在待机状态下保持开启状态。终端设备在待机状态下有电源为其供电,可以将该电源表示VCC_STB电源。Specifically, when the terminal device needs to be powered on in the standby state, the USB device is inserted into the USB interface. Exemplarily, the terminal device may be a computer, a smart TV, and other terminal devices with a USB interface. It should be noted that the terminal device needs to be turned on before the USB device is turned on. Optionally, the function can be set to remain on in the standby state. The terminal device has a power source for powering it in the standby state, and the power source can represent the VCC_STB power source.
检测到USB接口有USB设备插入时,控制USB接口的接口芯片发出请求信号。可选的,USB设备可以是U盘等其他可以进行文件存储与传输的设备,请求信号可以是终端请求信号,用IRQ表示。When the USB interface is detected to have a USB device inserted, the interface chip that controls the USB interface issues a request signal. Optionally, the USB device may be a U disk and other devices that can store and transmit files, and the request signal may be a terminal request signal, which is represented by an IRQ.
S120、根据所述请求信号启动所述终端设备的主芯片。S120. Start a main chip of the terminal device according to the request signal.
具体的,终端设备在接收到请求信号后,结合所述请求信号启动终端设备的主芯片。其中,主芯片是主板芯片组的简称,主板芯片组是主板的核心组成部分,决定着CPU(Central Processing Unit,中央处理器)的类型、主板的系统总线频率、内存类型、容量和性能等。Specifically, after receiving the request signal, the terminal device starts the main chip of the terminal device in combination with the request signal. The main chip is the abbreviation of the motherboard chipset. The motherboard chipset is the core component of the motherboard, which determines the type of CPU (Central Processing Unit), the system bus frequency of the motherboard, the memory type, capacity and performance.
S130、通过所述主芯片检测到所述USB设备存储有设定的文件时,控制所述终端设备开机。S130. When the main chip detects that the USB device stores the set file, the terminal device is controlled to be powered on.
具体的,在主芯片启动后,通过在U-BOOT启动内核的过程中,检测USB设置是否存储有设定为文件,若是,则控制所述终端设备开机。其中,U-BOOT是Universal Boot Loader的简称,含义为一个开放源码项目。Specifically, after the main chip is started, it is detected whether the USB setting is stored as a file during the startup of the kernel by the U-BOOT, and if so, the terminal device is controlled to be powered on. Among them, U-BOOT is the abbreviation of Universal Boot Loader, meaning an open source project.
在一个具体的例子中,可以通过如下方式将设定的文件写入USB设备:在对用于开机功能的USB设备写入设定的文件时,可以通过开发人员在设定的系统软件或应用软件中设定相应的功能来实现。例如,开发人员将应用软件A作为设定的软件,则在正常开机状态下,用户将具有开机功能的USB设备插入USB接口后,用户打开应用软件A,则通过在应用软件A的相关显示界面上进行相应操作,以实现将设定的文件写入USB设备。In a specific example, the set file can be written to the USB device by writing the set file to the USB device for the boot function, and the developer can set the system software or application. The corresponding functions are set in the software to achieve. For example, if the developer uses the application software A as the set software, in the normal power-on state, after the user inserts the USB device with the boot function into the USB interface, the user opens the application software A, and then passes through the related display interface of the application software A. Perform corresponding operations on it to write the set file to the USB device.
此外,可以通过在终端设备中预留一份与写入USB设备相同的文件,将所 述USB设备中的文件和终端设备中预留的文件进行匹配来实现对USB设备是否存储设定的文件的检测。也可以根据预设的检测规则进行检测,若在设定的文件中检测出满足预设的检测规则的关键词或关键信息,则认为是检测到USB设备中存储有设定的文件。可选的,预设的检测规则可以是开发人员根据在存储设定的文件时,根据文件的具体内容设定。In addition, you can reserve a copy of the same file as the USB device in the terminal device. The file in the USB device is matched with the file reserved in the terminal device to implement detection of whether the USB device stores the set file. It is also possible to perform detection according to a preset detection rule. If a keyword or key information that satisfies a preset detection rule is detected in the set file, it is considered that the file stored in the USB device is detected. Optionally, the preset detection rule may be set by the developer according to the specific content of the file when storing the set file.
本发明实施例中,通过在待机状态下,检测到USB接口有USB设备插入时,控制所述USB接口的接口芯片发出请求信号,然后根据所述请求信号启动所述终端设备的主芯片,通过所述主芯片检测到所述USB设备存储有设定的文件时,控制所述终端设备开机。实现了在待机状态下,通过对插入USB接口的USB设备进行检测来对终端设备进行开机,操作简单,安全性高。In the embodiment of the present invention, when the USB device is inserted into the USB interface in the standby state, the interface chip that controls the USB interface sends a request signal, and then starts the main chip of the terminal device according to the request signal, and passes the When the main chip detects that the USB device stores the set file, the main device controls the terminal device to be powered on. In the standby state, the terminal device is booted by detecting the USB device inserted into the USB interface, and the operation is simple and the security is high.
可选的,待机状态下,所述终端设备的微控制器处于工作状态。Optionally, in the standby state, the microcontroller of the terminal device is in an active state.
其中,在待机状态下,终端设备的微控制器处于工作状态。微控制器又称为集成了内存、计数器、USB等功能的单片机。Wherein, in the standby state, the microcontroller of the terminal device is in an active state. Microcontrollers are also known as microcontrollers that integrate functions such as memory, counters, and USB.
在上述技术方案的基础上,用于终端设备的控制方法还包括:通过所述终端设备的微控制器控制向所述接口芯片供电,以使所述接口芯片检测USB设备插入和发出请求信号。Based on the foregoing technical solution, the control method for the terminal device further includes: controlling, by the microcontroller of the terminal device, to supply power to the interface chip, so that the interface chip detects that the USB device inserts and sends a request signal.
具体的,终端设备的微控制器通过控制电源给USB接口芯片供电,可选的,控制电源可以用VDD_STB_EN表示。接口芯片被供电后,检测USB设备的插入状态和发出请求信号。Specifically, the microcontroller of the terminal device supplies power to the USB interface chip by controlling the power supply. Alternatively, the control power source can be represented by VDD_STB_EN. After the interface chip is powered, it detects the insertion status of the USB device and issues a request signal.
可选的,所述根据所述请求信号启动所述终端设备的主芯片,具体可以是:通过接收到所述请求信号的所述微控制器开启整机电源以启动所述终端设备的主芯片。 Optionally, the initiating the main chip of the terminal device according to the request signal may be: starting the power of the whole device by the microcontroller that receives the request signal to start a main chip of the terminal device .
其中,微控制器接收到请求信号后,通过电平开关信号开启整机电源,电平开关信号可以用PSON表示,PSON为POWER Supply-ON的简称,其功能是可以通过对应的引脚单独提供开机电源,作为整机电源以供给主芯片,以作为开机触发。通过对不同电源分阶段触发实现了对终端设备各部件的分阶段开启。After receiving the request signal, the microcontroller turns on the power supply through the level switch signal. The level switch signal can be represented by PSON. The PSON is the abbreviation of POWER Supply-ON, and its function can be provided separately through the corresponding pin. Power on, as the power supply of the whole machine to supply the main chip, as a boot trigger. The phased opening of the components of the terminal device is realized by triggering different power sources in stages.
实施例二Embodiment 2
图2a为本发明实施例二提供的一种用于终端设备的开机方法的流程图,本实施例在上述实施例的基础上,在设定的文件包括用户信息以及终端设备的物理地址时,对“通过所述主芯片检测到所述USB设备存储有设定的文件时,控制所述终端设备开机”进行了优化。参考图2a,该方法具体可以包括如下步骤:FIG. 2 is a flowchart of a method for booting a terminal device according to Embodiment 2 of the present invention. On the basis of the foregoing embodiment, when the set file includes user information and a physical address of the terminal device, It is optimized to "control the terminal device to boot when the main chip detects that the USB device stores a set file". Referring to FIG. 2a, the method may specifically include the following steps:
S210、在待机状态下,检测到USB接口有USB设备插入时,控制所述USB接口的接口芯片发出请求信号。S210. In the standby state, when detecting that the USB interface is inserted into the USB interface, the interface chip that controls the USB interface sends a request signal.
S220、根据所述请求信号启动所述终端设备的主芯片。S220. Start a main chip of the terminal device according to the request signal.
S230、通过所述主芯片检测到所述USB设备存储有用户信息以及终端设备的物理地址时,控制所述终端设备开机。S230. When the main chip detects that the USB device stores the user information and the physical address of the terminal device, the terminal device is controlled to be powered on.
具体的,检测的USB设备中的设定文件包括用户信息以及终端设备的物理地址。可选的,用户信息包括:用户的姓名、性别、手机号和身份证号码等,终端设备的物理地址可以用MAC(Media Access Control)表示,用来定位网络设备的位置,通常情况下,物理地址是指网络接口的物理地址,每个终端设备都会有一个MAC地址,MAC是网卡决定的,是固定的。Specifically, the setting file in the detected USB device includes user information and a physical address of the terminal device. Optionally, the user information includes: the user's name, gender, mobile phone number, and ID card number. The physical address of the terminal device may be represented by a MAC (Media Access Control), which is used to locate the location of the network device. The address refers to the physical address of the network interface. Each terminal device will have a MAC address. The MAC is determined by the network card and is fixed.
预先在终端设备正常开机使用时,将用于开机功能的USB设备插在USB 接口,将用户信息以及终端设备的物理地址进行加密后写入到USB设备中,该USB设备即可作为开机功能的USB设备,用来作为执行本发明实施例中描述的主芯片检测USB设备来使用。Insert the USB device for the boot function into the USB when the terminal device is normally turned on. The interface encrypts the user information and the physical address of the terminal device and writes the USB device to the USB device. The USB device can be used as the USB device for booting function, and is used as the main chip to detect the USB device described in the embodiment of the present invention. use.
本发明实施例中,通过所述主芯片检测到所述USB设备存储有用户信息以及终端设备的物理地址时,控制所述终端设备开机。实现了对终端设备的用户信息以及终端设备的物理地址的检测后控制终端设备开机,实现了对USB设备持有者的身份识别,安全可靠。In the embodiment of the present invention, when the main chip detects that the USB device stores the user information and the physical address of the terminal device, the terminal device is controlled to be powered on. After the user information of the terminal device and the physical address of the terminal device are detected, the terminal device is powered on, and the identity recognition of the USB device holder is realized, which is safe and reliable.
在上述技术方案的基础上,用于终端设备的开机方法还包括:通过所述主芯片检测到所述USB设备未存储设定的文件时,控制终端设备的整机电源关闭以使所述终端设备关闭。On the basis of the above technical solution, the booting method for the terminal device further includes: when the main chip detects that the USB device does not store the set file, the whole device power of the terminal device is turned off to make the terminal The device is turned off.
可选的,当通过主芯片检测到USB设备中未存储设定的文件时,表明过海USB设备未被预先写入设定的文件,也即,该USB设备不能被用开实现对终端设备进行开机,则控制终端设备的整机电源关闭以使终端设备关闭。避免了对终端设备的误开机而造成的安全问题。Optionally, when detecting, by the main chip, that the set file is not stored in the USB device, it indicates that the USB device is not pre-written into the set file, that is, the USB device cannot be used to implement the pair of terminal devices. When the power is turned on, the power of the terminal device is turned off to turn off the terminal device. The safety problem caused by the wrong startup of the terminal device is avoided.
在一个具体的例子中,图2b示出了一种终端设备中各硬件与各电源控制模块之间的对应关系。其中,240表示USB接口,用于插入USB设备;241和242表示USB接口、USB接口芯片以及主芯片之间是通过USB连接;243表示整机开机所需电源;243用虚线表示是为了区分整机开机所需电源除了为主芯片供电外还为终端设备中的其他部件供电;244表示MCU通过PSIN开启整机电源以控制主电源板;245表示待机下有VCC_STB电源保持MCU为工作状态;246表示主芯片与MCU之间通过通讯接口传输信号;247表示MCU接收来自接口芯片的IRQ信号;248和249表示MCU通过VDD_STB_EN来控制 VDD_STB(USB接口芯片电源)来给USB接口芯片供电。In a specific example, FIG. 2b shows a correspondence between each hardware in the terminal device and each power control module. 240 denotes a USB interface for inserting a USB device; 241 and 242 denote a USB interface, a USB interface chip and a main chip are connected by USB; 243 denotes a power supply required for starting the whole machine; 243 is indicated by a broken line for distinguishing In addition to powering the main chip, the power supply for the machine is powered by other components in the terminal device; 244 indicates that the MCU turns on the power supply through the PSIN to control the main power board; 245 indicates that the VCC_STB power supply keeps the MCU in the standby state; 246 Indicates that the main chip and the MCU transmit signals through the communication interface; 247 indicates that the MCU receives the IRQ signal from the interface chip; 248 and 249 indicate that the MCU is controlled by VDD_STB_EN VDD_STB (USB interface chip power supply) to supply power to the USB interface chip.
实施例三Embodiment 3
图3是本发明是实施例三提供的一种用于终端设备的开机装置的结构示意图,该装置适用于执行本发明实施例提供给的一种用于终端设备的开机方法。如图3所示,该装置具体可以包括:FIG. 3 is a schematic structural diagram of a booting device for a terminal device according to a third embodiment of the present invention. The device is adapted to perform a booting method for a terminal device according to an embodiment of the present invention. As shown in FIG. 3, the device may specifically include:
请求信号发送模块310,用于在待机状态下,检测到USB接口有USB设备插入时,控制所述USB接口的接口芯片发出请求信号;The request signal sending module 310 is configured to: when the USB device is inserted into the USB interface in the standby state, the interface chip that controls the USB interface sends a request signal;
主芯片启动模块320,用于根据所述请求信号启动所述终端设备的主芯片;The main chip startup module 320 is configured to start a main chip of the terminal device according to the request signal;
检测模块330,用于通过所述主芯片检测到所述USB设备存储有设定的文件时,控制所述终端设备开机。The detecting module 330 is configured to control the terminal device to be powered on when the main chip detects that the USB device stores the set file.
进一步的,待机状态下,所述终端设备的微控制器处于工作状态;Further, in the standby state, the microcontroller of the terminal device is in an active state;
所述装置还包括:The device also includes:
第一控制模块,用于通过所述终端设备的微控制器控制向所述接口芯片供电,以使所述接口芯片检测USB设备插入和发出请求信号。And a first control module, configured to supply power to the interface chip by using a microcontroller of the terminal device, so that the interface chip detects that the USB device inserts and sends a request signal.
进一步的,所述主芯片启动模块具体用于:Further, the main chip startup module is specifically configured to:
通过接收到所述请求信号的所述微控制器开启整机电源以启动所述终端设备的主芯片。The microcontroller is turned on by the microcontroller receiving the request signal to activate the main chip of the terminal device.
进一步的,所述设定的文件包括用户信息以及终端设备的物理地址;Further, the set file includes user information and a physical address of the terminal device;
相应的,所述检测模块具体用于:Correspondingly, the detecting module is specifically configured to:
通过所述主芯片检测到所述USB设备存储有用户信息以及终端设备的物理地址时,控制所述终端设备开机。 When the main chip detects that the USB device stores the user information and the physical address of the terminal device, the terminal device is controlled to be powered on.
进一步的,还包括:Further, it also includes:
第二控制模块,用于通过所述主芯片检测到所述USB设备未存储设定的文件时,控制终端设备的整机电源关闭以使所述终端设备关闭。And a second control module, configured to: when the main chip detects that the USB device does not store the set file, control the power of the terminal device to be turned off to disable the terminal device.
本发明实施例提供的用于终端设备的开机装置可执行本发明任意实施例提供的用于终端设备的开机方法,具备执行方法相应的功能模块和有益效果。The booting device for the terminal device provided by the embodiment of the present invention can be used for the booting method for the terminal device provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the executing method.
实施例四Embodiment 4
图4为本发明实施例四提供的一种计算机设备的结构示意图。图4示出了适于用来实现本发明实施方式的示例性计算机设备12的框图。图4显示的计算机设备12仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。FIG. 4 is a schematic structural diagram of a computer device according to Embodiment 4 of the present invention. FIG. 4 illustrates a block diagram of an exemplary computer device 12 suitable for use in implementing embodiments of the present invention. The computer device 12 shown in FIG. 4 is merely an example and should not impose any limitation on the function and scope of use of the embodiments of the present invention.
如图4所示,计算机设备12以通用计算设备的形式表现。计算机设备12的组件可以包括但不限于:一个或者多个处理器或者处理单元16,系统存储器28,连接不同系统组件(包括系统存储器28和处理单元16)的总线18。As shown in Figure 4, computer device 12 is embodied in the form of a general purpose computing device. Components of computer device 12 may include, but are not limited to, one or more processors or processing units 16, system memory 28, and bus 18 that connects different system components, including system memory 28 and processing unit 16.
总线18表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,外围总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(ISA)总线,微通道体系结构(MAC)总线,增强型ISA总线、视频电子标准协会(VESA)局域总线以及外围组件互连(PCI)总线。 Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of a variety of bus structures. For example, these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA Bus, a Video Electronics Standards Association (VESA) local bus, and peripheral component interconnects ( PCI) bus.
计算机设备12典型地包括多种计算机系统可读介质。这些介质可以是任何能够被计算机设备12访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。 Computer device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by computer device 12, including both volatile and nonvolatile media, removable and non-removable media.
系统存储器28可以包括易失性存储器形式的计算机系统可读介质,例如随机存取存储器(RAM)30和/或高速缓存存储器32。计算机设备12可以进一步包括其它可移动/不可移动的、易失性/非易失性计算机系统存储介质。仅作为举例,存储系统34可以用于读写不可移动的、非易失性磁介质(图4未显示,通常称为“硬盘驱动器”)。尽管图4中未示出,可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(例如CD-ROM,DVD-ROM或者其它光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与总线18相连。存储器28可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本发明各实施例的功能。 System memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and/or cache memory 32. Computer device 12 may further include other removable/non-removable, volatile/non-volatile computer system storage media. By way of example only, storage system 34 may be used to read and write non-removable, non-volatile magnetic media (not shown in Figure 4, commonly referred to as a "hard disk drive"). Although not shown in FIG. 4, a disk drive for reading and writing to a removable non-volatile disk (such as a "floppy disk"), and a removable non-volatile disk (such as a CD-ROM, DVD-ROM) may be provided. Or other optical media) read and write optical drive. In these cases, each drive can be coupled to bus 18 via one or more data medium interfaces. Memory 28 can include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of various embodiments of the present invention.
具有一组(至少一个)程序模块42的程序/实用工具40,可以存储在例如存储器28中,这样的程序模块42包括——但不限于——操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块42通常执行本发明所描述的实施例中的功能和/或方法。A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more applications, other programs Modules and program data, each of these examples or some combination may include an implementation of a network environment. Program module 42 typically performs the functions and/or methods of the described embodiments of the present invention.
计算机设备12也可以与一个或多个外部设备14(例如键盘、指向设备、显示器24等)通信,还可与一个或者多个使得用户能与该计算机设备12交互的设备通信,和/或与使得该计算机设备12能与一个或多个其它计算设备进行通信的任何设备(例如网卡,调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口22进行。并且,计算机设备12还可以通过网络适配器20与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器20通过总线18与计算机设备12的其 它模块通信。应当明白,尽管图4中未示出,可以结合计算机设备12使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。 Computer device 12 may also be in communication with one or more external devices 14 (eg, a keyboard, pointing device, display 24, etc.), and may also be in communication with one or more devices that enable a user to interact with the computer device 12, and/or Any device (eg, a network card, modem, etc.) that enables the computer device 12 to communicate with one or more other computing devices. This communication can take place via an input/output (I/O) interface 22. Also, computer device 12 can communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) via network adapter 20. As shown, network adapter 20 communicates with computer device 12 via bus 18. It communicates with the module. It should be understood that although not shown in FIG. 4, other hardware and/or software modules may be utilized in conjunction with computer device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tapes. Drives and data backup storage systems, etc.
处理单元16通过运行存储在系统存储器28中的程序,从而执行各种功能应用以及数据处理,例如实现本发明实施例所提供的用于终端设备的开机方法:The processing unit 16 performs various function applications and data processing by running a program stored in the system memory 28, for example, implementing the booting method for the terminal device provided by the embodiment of the present invention:
也即,所述处理单元执行所述程序时实现:在待机状态下,检测到USB接口有USB设备插入时,控制所述USB接口的接口芯片发出请求信号;根据所述请求信号启动所述终端设备的主芯片;通过所述主芯片检测到所述USB设备存储有设定的文件时,控制所述终端设备开机。That is, when the processing unit executes the program, when the USB device is inserted into the USB interface, the interface chip that controls the USB interface sends a request signal; and the terminal is activated according to the request signal. The main chip of the device; when the main chip detects that the USB device stores the set file, the terminal device is controlled to be powered on.
实施例五Embodiment 5
本发明实施例五提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本申请所有发明实施例提供的用于终端设备的开机方法:The fifth embodiment of the present invention provides a computer readable storage medium, where the computer program is stored, and the program is executed by the processor to implement the booting method for the terminal device provided by all the embodiments of the present invention:
也即,该程序被处理器执行时实现:在待机状态下,检测到USB接口有USB设备插入时,控制所述USB接口的接口芯片发出请求信号;根据所述请求信号启动所述终端设备的主芯片;通过所述主芯片检测到所述USB设备存储有设定的文件时,控制所述终端设备开机。That is, when the program is executed by the processor, when the USB device is inserted into the USB interface, the interface chip that controls the USB interface sends a request signal; and the terminal device is activated according to the request signal. a master chip; when the master chip detects that the USB device stores a set file, controlling the terminal device to boot.
可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的 列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。Any combination of one or more computer readable media can be utilized. The computer readable medium can be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of computer readable storage media (non-exhaustive List) includes: electrical connections with one or more wires, portable computer disk, hard disk, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash), fiber Portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium can be any tangible medium that can contain or store a program, which can be used by or in connection with an instruction execution system, apparatus or device.
计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括——但不限于——电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A computer readable signal medium may include a data signal that is propagated in the baseband or as part of a carrier, carrying computer readable program code. Such propagated data signals can take a variety of forms including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing. The computer readable signal medium can also be any computer readable medium other than a computer readable storage medium, which can transmit, propagate, or transport a program for use by or in connection with the instruction execution system, apparatus, or device. .
计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括——但不限于——无线、电线、光缆、RF等等,或者上述的任意合适的组合。Program code embodied on a computer readable medium can be transmitted by any suitable medium, including but not limited to wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
可以以一种或多种程序设计语言或其组合来编写用于执行本发明操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言-诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言-诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)-连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供 商来通过因特网连接)。Computer program code for performing the operations of the present invention may be written in one or more programming languages, or a combination thereof, including an object oriented programming language - such as Java, Smalltalk, C++, and also conventional. Procedural programming language - such as the "C" language or a similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer, partly on the remote computer, or entirely on the remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer via any kind of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (eg, using an Internet service) Businesses are connected via the Internet).
注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。 Note that the above are only the preferred embodiments of the present invention and the technical principles applied thereto. Those skilled in the art will appreciate that the present invention is not limited to the specific embodiments described herein, and that various modifications, changes and substitutions may be made without departing from the scope of the invention. Therefore, the present invention has been described in detail by the above embodiments, but the present invention is not limited to the above embodiments, and other equivalent embodiments may be included without departing from the inventive concept. The scope is determined by the scope of the appended claims.

Claims (10)

  1. 一种用于终端设备的开机方法,其特征在于,包括:A booting method for a terminal device, comprising:
    在待机状态下,检测到USB接口有USB设备插入时,控制所述USB接口的接口芯片发出请求信号;In the standby state, when it is detected that the USB interface is inserted into the USB interface, the interface chip that controls the USB interface sends a request signal;
    根据所述请求信号启动所述终端设备的主芯片;Activating a main chip of the terminal device according to the request signal;
    通过所述主芯片检测到所述USB设备存储有设定的文件时,控制所述终端设备开机。When the main chip detects that the USB device stores the set file, the terminal device is controlled to be powered on.
  2. 根据权利要求1所述的方法,其特征在于,待机状态下,所述终端设备的微控制器处于工作状态;The method according to claim 1, wherein in the standby state, the microcontroller of the terminal device is in an active state;
    所述方法,还包括:The method further includes:
    通过所述终端设备的微控制器控制向所述接口芯片供电,以使所述接口芯片检测USB设备插入和发出请求信号。The interface chip is powered by the microcontroller of the terminal device to cause the interface chip to detect the insertion and issue of the request signal by the USB device.
  3. 根据权利要求2所述的方法,其特征在于,所述根据所述请求信号启动所述终端设备的主芯片,包括:The method according to claim 2, wherein the initiating the main chip of the terminal device according to the request signal comprises:
    通过接收到所述请求信号的所述微控制器开启整机电源以启动所述终端设备的主芯片。The microcontroller is turned on by the microcontroller receiving the request signal to activate the main chip of the terminal device.
  4. 根据权利要求1所述的方法,其特征在于,所述设定的文件包括用户信息以及终端设备的物理地址;The method according to claim 1, wherein the set file includes user information and a physical address of the terminal device;
    相应的,所述通过所述主芯片检测到所述USB设备存储有设定的文件时,控制所述终端设备开机,包括:Correspondingly, when detecting, by the main chip, that the USB device stores the set file, controlling the terminal device to boot, the method includes:
    通过所述主芯片检测到所述USB设备存储有用户信息以及终端设备的物理地址时,控制所述终端设备开机。When the main chip detects that the USB device stores the user information and the physical address of the terminal device, the terminal device is controlled to be powered on.
  5. 根据权利要求1所述的方法,其特征在于,还包括: The method of claim 1 further comprising:
    通过所述主芯片检测到所述USB设备未存储设定的文件时,控制终端设备的整机电源关闭以使所述终端设备关闭。When the main chip detects that the USB device does not store the set file, the whole device power of the control terminal device is turned off to turn off the terminal device.
  6. 一种用于终端设备的开机装置,其特征在于,包括:A booting device for a terminal device, comprising:
    请求信号发送模块,用于在待机状态下,检测到USB接口有USB设备插入时,控制所述USB接口的接口芯片发出请求信号;a request signal sending module, configured to, when in the standby state, detect that the USB interface is inserted by the USB interface, the interface chip that controls the USB interface sends a request signal;
    主芯片启动模块,用于根据所述请求信号启动所述终端设备的主芯片;a main chip startup module, configured to start a main chip of the terminal device according to the request signal;
    检测模块,用于通过所述主芯片检测到所述USB设备存储有设定的文件时,控制所述终端设备开机。And a detecting module, configured to control, when the main chip detects that the USB device stores the set file, to start the terminal device to boot.
  7. 根据权利要求6所述的装置,其特征在于,待机状态下,所述终端设备的微控制器处于工作状态;The device according to claim 6, wherein in the standby state, the microcontroller of the terminal device is in an active state;
    所述装置还包括:The device also includes:
    第一控制模块,用于通过所述终端设备的微控制器控制向所述接口芯片供电,以使所述接口芯片检测USB设备插入和发出请求信号。And a first control module, configured to supply power to the interface chip by using a microcontroller of the terminal device, so that the interface chip detects that the USB device inserts and sends a request signal.
  8. 根据权利要求7所述的装置,其特征在于,所述主芯片启动模块具体用于:The device according to claim 7, wherein the main chip booting module is specifically configured to:
    通过接收到所述请求信号的所述微控制器开启整机电源以启动所述终端设备的主芯片。The microcontroller is turned on by the microcontroller receiving the request signal to activate the main chip of the terminal device.
  9. 一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现如权利要求1-5中任一所述的方法。A computer device comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the processor executes the program as claimed in any one of claims 1-5 The method described.
  10. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1-5中任一所述的方法。 A computer readable storage medium having stored thereon a computer program, wherein the program, when executed by a processor, implements the method of any of claims 1-5.
PCT/CN2017/116786 2017-10-23 2017-12-17 Power-on method and apparatus for terminal device, device, and storage medium WO2019080321A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710993174.6A CN107784218A (en) 2017-10-23 2017-10-23 It is a kind of for the starting-up method of terminal device, device, equipment and storage medium
CN201710993174.6 2017-10-23

Publications (1)

Publication Number Publication Date
WO2019080321A1 true WO2019080321A1 (en) 2019-05-02

Family

ID=61434977

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/116786 WO2019080321A1 (en) 2017-10-23 2017-12-17 Power-on method and apparatus for terminal device, device, and storage medium

Country Status (2)

Country Link
CN (1) CN107784218A (en)
WO (1) WO2019080321A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108932139A (en) * 2018-06-21 2018-12-04 Tcl通力电子(惠州)有限公司 Automatic boot circuit and electronic equipment
CN108710794A (en) * 2018-07-19 2018-10-26 合肥联宝信息技术有限公司 A kind of safety device and safe electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101633337A (en) * 2008-07-21 2010-01-27 阿尔派株式会社 Vehicle audible device
CN101673174A (en) * 2009-08-18 2010-03-17 宇龙计算机通信科技(深圳)有限公司 Method, system and mobile terminal for providing user interface
CN202771419U (en) * 2012-09-13 2013-03-06 孙奇钰 Safe universal serial bus (USB) disk
CN107087164A (en) * 2017-04-20 2017-08-22 广州视源电子科技股份有限公司 A kind of method and apparatus of device power-up

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201387547Y (en) * 2009-04-17 2010-01-20 青岛海信电器股份有限公司 Low-power-consumption standby circuit and television having same
CN101751533A (en) * 2009-12-16 2010-06-23 中兴通讯股份有限公司 Data card with USB Key function and realization method thereof
US10983040B2 (en) * 2013-03-15 2021-04-20 Particles Plus, Inc. Particle counter with integrated bootloader
CN104484629A (en) * 2014-12-03 2015-04-01 合肥联宝信息技术有限公司 Computer starting method and device
CN105516686B (en) * 2016-01-14 2019-04-16 深圳市华海技术有限公司 Power saving photographic device, intelligent peephole and IP Camera

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101633337A (en) * 2008-07-21 2010-01-27 阿尔派株式会社 Vehicle audible device
CN101673174A (en) * 2009-08-18 2010-03-17 宇龙计算机通信科技(深圳)有限公司 Method, system and mobile terminal for providing user interface
CN202771419U (en) * 2012-09-13 2013-03-06 孙奇钰 Safe universal serial bus (USB) disk
CN107087164A (en) * 2017-04-20 2017-08-22 广州视源电子科技股份有限公司 A kind of method and apparatus of device power-up

Also Published As

Publication number Publication date
CN107784218A (en) 2018-03-09

Similar Documents

Publication Publication Date Title
US9792441B2 (en) Portable desktop device and method of host computer system hardware recognition and configuration
US9501291B2 (en) Method and system for providing hybrid-shutdown and fast startup processes
US9158628B2 (en) Bios failover update with service processor having direct serial peripheral interface (SPI) access
US6457099B1 (en) Programmable dedicated application card
US9563439B2 (en) Caching unified extensible firmware interface (UEFI) and/or other firmware instructions in a non-volatile memory of an information handling system (IHS)
CN102779050A (en) System and method for accelerated boot performance
US9448889B2 (en) BIOS failover update with service processor
JP2013127720A (en) Method for starting computer using biometric device and computer
US7188235B2 (en) Method for booting computer system with memory card
US6237100B1 (en) Power passwords within a data processing system for controlling a supply of system power
KR20200101217A (en) Electronic device and method for managing database
US5634132A (en) Operating system independent support for mixed voltage devices
WO2019080321A1 (en) Power-on method and apparatus for terminal device, device, and storage medium
US11429723B2 (en) Multi-domain boot and runtime status code drift detection
US20040225874A1 (en) Method for reduced BIOS boot time
US7849300B2 (en) Method for changing booting sources of a computer system and a related backup/restore method thereof
US11651077B2 (en) Systems and methods for providing secured boot and scan for devices with limited access
US10599848B1 (en) Use of security key to enable firmware features
US20140245428A1 (en) Computer and control method thereof
US8566575B2 (en) Computer apparatus and method for charging portable electronic device using the computer apparatus
US8756409B2 (en) System, method and computer program product for retrieving data at boot time
JP2005346172A (en) Computer, method for preventing removal of removable device, and program
US20120023598A1 (en) Bios usb write prevent
US11244055B1 (en) Management controller to bios root of trust bypass implant detection and remediation
US10613850B1 (en) Performant and secure storage and retrieval of firmware variables

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17930043

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17930043

Country of ref document: EP

Kind code of ref document: A1