WO2014183497A1 - Dispositif, procédé de lancement dudit dispositif et support d'enregistrement informatique - Google Patents

Dispositif, procédé de lancement dudit dispositif et support d'enregistrement informatique Download PDF

Info

Publication number
WO2014183497A1
WO2014183497A1 PCT/CN2014/073325 CN2014073325W WO2014183497A1 WO 2014183497 A1 WO2014183497 A1 WO 2014183497A1 CN 2014073325 W CN2014073325 W CN 2014073325W WO 2014183497 A1 WO2014183497 A1 WO 2014183497A1
Authority
WO
WIPO (PCT)
Prior art keywords
ddr
system file
flash memory
host device
file
Prior art date
Application number
PCT/CN2014/073325
Other languages
English (en)
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 WO2014183497A1 publication Critical patent/WO2014183497A1/fr

Links

Classifications

    • 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/4416Network booting; Remote initial program loading [RIPL]

Definitions

  • the present invention relates to the field of communications, and in particular, to a device, a device startup method, and a computer storage medium. Background technique
  • the embodiments of the present invention provide a device, a device startup method, and a computer storage medium, to solve the problem of no permanent storage medium startup in the device in the related art.
  • an apparatus including:
  • CPU central processing unit
  • DDR Double Data Rate
  • the interface is configured to be connected to the host device, obtain a system file from the host device that enables the device to run, and send the system file to the DDR;
  • the DDR is configured to store the system file.
  • the interface is further configured to: after the device enumerates the removable flash memory as the removable flash memory on the host device and format the removable flash memory, receive the sending by the host device System files into the DDR.
  • the CPU is further configured to: when the pop-up command of the flash memory of the host device is recognized, turn off the flash memory function, mount the system file in the DDR, and identify the system file; Describe a system file in the DDR to a specified location of the DDR; wherein the specified location is a real running address of the system file; performing a jump instruction according to the specified location of the DDR, and jumping to the system file
  • the system file is executed to complete the startup process of the device.
  • the CPU is further configured to delete the system file after reading a system file in the DDR to a specified location of the DDR.
  • the interface is a Universal Serial Bus (USB) interface.
  • USB Universal Serial Bus
  • a device startup method is further provided, which is applied to a device, where the device includes: an interface and a DDR; the method includes:
  • the device copies the system file from the host device to the DDR through the interface; the device runs the system through a system file in the DDR.
  • the interface is a USB interface.
  • the device copies the system file from the host device into the DDR through the interface, including:
  • the device After the device enumerates the removable flash memory as the removable flash memory on the host device and formats the removable flash memory, the system file sent by the host device is received into the DDR.
  • the device running the system through the system file in the DDR comprises: when the device recognizes a pop-up command of the flash memory of the host device, turning off the flash memory function, mounting the system file in the DDR, and identifying Out of the system file;
  • the device reads the system file in the DDR to a specified location of the DDR; wherein the specified location is a real running address of the system file; And executing a jump instruction according to the specified position of the DDR, jumping to the system file to execute the system file, and completing a startup process of the device.
  • the method further includes: the device deleting the system file.
  • a computer storage medium in which the computer program is stored, and the computer program is used to execute the device startup method according to the embodiment of the present invention.
  • a device startup method is further provided, which is applied to a host device, where the method includes:
  • the host device enumerates the accessed device as a removable flash memory and formats the removable flash memory
  • the host device copies the system files into the removable flash memory.
  • the copying, by the host device, the system file to the removable flash memory comprises: the host device automatically copying the system file to the removable flash memory; or the host device copying the system file to the removable flash memory according to a user triggering operation Memory. .
  • the method further includes:
  • the host device generates a pop-up command to pop the removable flash memory according to the pop-up command.
  • a computer storage medium in which the computer program is stored, and the computer program is used to execute the device startup method according to the embodiment of the present invention.
  • the device can not use the permanent storage medium, thereby reducing the product cost. At the same time, serious equipment failure due to destruction of system files in the storage medium is also avoided. Under this startup method, system files can be updated in real time. Can be used during startup The software auxiliary device starts automatically or can be started manually by the user.
  • the technical solution provided by this embodiment is particularly applicable to a mobile device, a detachable device, or an external module.
  • a data card as a mobile communication device generally connects a data card to a personal computer via USB, which can effectively reduce the cost of the data card and the area of the motherboard.
  • FIG. 1 is a schematic structural diagram of a device of an embodiment of the present invention.
  • FIG. 2 is a schematic structural view of a general device
  • FIG. 3 is a schematic flowchart of a device startup method according to Embodiment 1 of the present invention.
  • FIG. 4 is a schematic flowchart of a device startup method according to Embodiment 2 of the present invention.
  • FIG. 5 is a schematic flowchart of a device startup method according to Embodiment 3 of the present invention. detailed description
  • FIG. 1 is a schematic structural diagram of a device according to an embodiment of the present invention.
  • the device provided by the embodiment of the present invention includes: a CPU 11 , further comprising: an interface 12 and a DDR 13 , wherein the interface 12 is configured to be connected to the host device 14 , and the device 14 can be obtained from the host device 14 . Having the device run the booted system file, and sending the system file to the DDR 13; the DDR 13 is configured to store the system file;
  • the CPU 11 is configured to run the system through the system file stored in the DDR 13.
  • the interface 12 can be a USB interface.
  • the system file is a DDR image file.
  • the interface 12 is further configured to enumerate the removable flash memory and format the removable flash storage on the host device when the device functions as a removable flash memory. After receiving the system file sent by the host device to the DDR 13.
  • the CPU 11 is further configured to: when the pop-up command of the flash memory of the host device is recognized, turn off the flash memory function, mount the system file in the DDR 13, and identify the system file; a system file in the DDR 13 to a specified location of the DDR 13; wherein the specified location is a real running address of the system file; according to the specified location of the DDR 13, a jump instruction is executed, and the jump is performed to The system file is executed at the system file, and the startup process of the device is completed.
  • the CPU 11 is further configured to delete the system file after reading a system file in the DDR 13 to a specified location of the DDR 13.
  • Figure 2 is a schematic diagram showing the structure of a general device.
  • the device includes: a CPU 21, a ROM 22, a NAND flash memory (FLASH) 23, a DDR 24, and an interface 25.
  • NAND FLASH is used as a permanent storage medium in the device shown in Fig. 2, and the NAND FLASH is configured to store system files.
  • the device provided by the embodiment of the present invention does not need to permanently store the media storage system file, which reduces the cost and makes the device lighter or more thin.
  • the embodiment of the present invention further provides a device startup method.
  • the device startup method includes: after the device is powered on, the device is started from the internal ROM 15 to execute a ROM program; : System initialization configuration program, USB enumeration U disk program, file system program, etc.
  • the device executes the system initialization configuration program, initializes the device, initializes the system clock, and DDR 13 to complete the basic configuration of the system operating environment.
  • the device uses DDR 13 as a storage medium, and enumerates the U disk device on the host device 14 through the USB enumeration U disk program.
  • the U disk device is implemented according to a standard USB communication protocol, and the actual physical storage medium is the DDR 13 in the device.
  • the access to the U disk device is to access the DDR 13.
  • the DDR 13 is referred to as a DDR image in the embodiment of the present invention; wherein, the host device 14 may be a personal computer (PC), or other host device that matches the interface 12 in the device;
  • the system file of the device is stored in the host device 14, so that the device can be connected to the host device 14 through the interface 12, and the system file is obtained from the host device 14.
  • the host device 14 After the device enumerates the U disk device on the host device 14, the host device 14 begins to format the U disk device (ie, DDR 13 in the device), and copies the system file of the device to In the U disk device.
  • the copy of the system file may be automatically performed by the software or manually by the user; the system file copied to the U disk device (ie, DDR 13 in the device) is a DDR image file.
  • the host device 14 pops up the USB flash drive.
  • the pop-up of the U disk device can be automatically triggered by software or manually triggered by the user.
  • the USB flash drive is ejected, the device detects a pop-up event and automatically turns off the USB flash drive.
  • the device is capable of detecting a U disk device popup event of the host device 14 and can mount a file system for identifying the U disk device.
  • the file system of the USB flash drive device is also not limited to the following file system formats: FAT (File Allocation Table), New Technology File System (NTFS, New Technology File System), or EXT.
  • the device turns off the USB flash drive function
  • the file structure of the system file in the DDR 13 can be retained without being destroyed. Further, the device starts to mount and identify the system file. After the system file is mounted, the device can identify the system file.
  • the device reads the system file to a specified location of the DDR 13 in the device through a file system.
  • the specified location is the real running address of the system file.
  • the device may delete the system file.
  • the device executes a jump instruction according to the location of the final system file, and jumps to the final system file to start execution. Subsequent execution processes will be forwarded to the final system file. Thereby completing the power-on startup process of the device.
  • the host device stores system files, and the device obtains system files in the host device through its own interface. When the interface between the host device and the device is disconnected, the device starts running the system file.
  • FIG. 3 is a schematic flowchart of a device startup method according to Embodiment 1 of the present invention; the device includes: an interface and a DDR; as shown in FIG. 3, the method includes:
  • Step 31 The device is powered on.
  • Step 32 The device copies the system file from the host device into the DDR through the interface.
  • the device copies the system file from the host device into the DDR through the interface, including:
  • the device After the device enumerates the removable flash memory as the removable flash memory on the host device and formats the removable flash memory, the system file sent by the host device is received into the DDR.
  • the interface is a USB interface.
  • Step 33 The device runs the system through a system file in the DDR.
  • the device running the system through the system file in the DDR includes:
  • the flash memory function When the device recognizes the pop-up command of the flash memory of the host device, the flash memory function is turned off, the system file in the DDR is mounted, and the system file is identified;
  • the device reads the system file in the DDR to a specified location of the DDR; wherein the specified location is a real running address of the system file;
  • the device reads the system file in the DDR to a specified location of the DDR, The device deletes the system file.
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores a computer program, and the computer program is used to execute the device startup method described in FIG.
  • the device startup process in this embodiment includes the following steps:
  • Step S301 After the device is powered on, the ROM program starts booting.
  • Step S302 The ROM program initializes the device, initializes the system clock, and completes basic configuration of the system running environment, and the basic configuration is configured as a DDR.
  • Step S303 After the device is initialized, the USB disk is used as the default configuration of the USB, and the USB connection is initiated.
  • the USB disk is the DDR in the device; the USB is the interface of the device.
  • Step S304 The host device receives the connection request of the device, initiates a USB enumeration, and enumerates the USB disk.
  • Step S305 The host device formats the USB disk with an agreed file system, and the file system is identifiable on the device.
  • Step S306 The host device copies the system file of the device to a specified directory of the USB disk.
  • the system file can contain multiple files, but at least one file needs to be agreed with the device.
  • the convention boot.img is used as the launcher for the system files, and other related files can be customized.
  • the subsequent process of booting the device is completely implemented by the boot.img program.
  • Step S307 After the host device copies all the system files to the specified directory, the U disk is ejected.
  • Step S308 The device receives a pop-up command of the host device.
  • Step S309 The device turns off the U disk function.
  • Step S310 The device identifies the DDR image of the U disk according to the pre-configuration, and takes the initiative. Detecting the file system format of the DDR image. If a matching file system is detected, the device mounts the file system onto the DDR image.
  • Step S311 After the device mounts the file system, the device starts to search for a specified file in the specified directory in the file system, and detects the legality of the file. For example, look for the boot.img file mentioned above.
  • Step S312 The device finds a system startup file, and reads the file to a specified location in the DDR.
  • This specified location can be either the contracted address or the version file itself.
  • the boot.img read is copied to the DDR specified location.
  • Step S313 After the device copies the startup file, the device jumps to a specified position of the startup file to start execution.
  • Step S314 The device executes the startup file and enters a normal startup process.
  • the system program of the device is started in sequence. In the above example, the device starts executing the boot.img program.
  • the final system file is started, it is completely controlled by the startup file, and all startup processes are completed.
  • Bay 1 is the boot.img program to complete the subsequent startup process.
  • the startup process will be executed in strict order. If an exception occurs during execution, the startup is considered to have failed.
  • the device handles the startup failure, which can power off the system and restart the system. Then, repeat the enumeration of the U disk device to start.
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores a computer program, and the computer program is used to execute the device startup method described in FIG.
  • FIG. 5 is a schematic flowchart of a device startup method according to Embodiment 3 of the present invention; the device startup method is applied to a host device, as shown in FIG. 5, the method includes:
  • Step S402 The host device enumerates the accessed device as a flash memory, and formats the flash memory.
  • Step S404 The host device copies the system file into the removable flash memory.
  • the host device copies the system file to the removable flash memory.
  • the memory includes: the host device automatically copies the system file to the removable flash memory; or the host device copies the system file to the removable flash memory according to a user trigger operation.
  • the method further includes:
  • the host device generates a pop-up command to pop the removable flash memory according to the pop-up command.
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores a computer program, and the computer program is used to execute the device startup method described in FIG.
  • embodiments of the present invention can be provided as a method, apparatus, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware aspects. Moreover, the invention can take the form of a computer program product embodied on one or more computer usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the device is implemented in a flow chart A function specified in a block or blocks of a process or multiple processes and/or block diagrams.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • the system file in the host device is obtained through the interface of the device, and the system file is stored in the DDR of the device itself.
  • the interface between the host device and the device is disconnected, the device is disconnected.
  • the system file is started to run, thus implementing a device startup method without a permanent storage medium, which reduces product cost and avoids serious equipment failure due to destruction of system files in the storage medium.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

L'invention porte sur un dispositif, un procédé de lancement dudit dispositif et un support d'enregistrement informatique. Le dispositif comprend une unité centrale (CPU), une interface et une mémoire RAM dynamique synchrone à double débit de données (DDR). L'interface est conçue pour, d'une part, se connecter à un dispositif hôte afin d'y acquérir un fichier système capable de démarrer et de faire fonctionner un dispositif et, d'autre part, transmettre ce fichier système à la DDR. La DDR est conçue pour stocker le fichier système et l'unité centrale (CPU), pour faire fonctionner un système via le fichier système stocké dans la DDR.
PCT/CN2014/073325 2013-11-29 2014-03-12 Dispositif, procédé de lancement dudit dispositif et support d'enregistrement informatique WO2014183497A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310632763.3A CN104679545A (zh) 2013-11-29 2013-11-29 一种设备及设备启动方法
CN201310632763.3 2013-11-29

Publications (1)

Publication Number Publication Date
WO2014183497A1 true WO2014183497A1 (fr) 2014-11-20

Family

ID=51897659

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/073325 WO2014183497A1 (fr) 2013-11-29 2014-03-12 Dispositif, procédé de lancement dudit dispositif et support d'enregistrement informatique

Country Status (2)

Country Link
CN (1) CN104679545A (fr)
WO (1) WO2014183497A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110825421A (zh) * 2019-11-29 2020-02-21 湖南国科微电子股份有限公司 一种固件升级方法、系统及可读存储介质

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105975291A (zh) * 2015-11-06 2016-09-28 乐视移动智能信息技术(北京)有限公司 一种对移动终端的存储器进行格式化的方法和装置

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1405684A (zh) * 2001-08-22 2003-03-26 华神技术公司 一种x86系列兼容机及其操作系统的生成方法
US20090287902A1 (en) * 2008-05-15 2009-11-19 Smooth-Stone, Inc. C/O Barry Evans Distributed computing system with universal address system and method
CN102043638A (zh) * 2009-10-21 2011-05-04 华硕电脑股份有限公司 计算机系统以及计算机启动设定方法
CN102930212A (zh) * 2011-01-18 2013-02-13 苏州国芯科技有限公司 用于办公系统的防数据泄密方法
CN102968323A (zh) * 2012-11-30 2013-03-13 北京奇虎科技有限公司 计算机终端和实现计算机系统开机加速的方法
CN103106091A (zh) * 2013-01-31 2013-05-15 深圳市开立科技有限公司 一种基于可移动存储介质的操作系统的启动系统和方法

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100458699C (zh) * 2007-04-10 2009-02-04 北京中星微电子有限公司 一种实现固件更新的方法和系统
US8505003B2 (en) * 2010-04-28 2013-08-06 Novell, Inc. System and method for upgrading kernels in cloud computing environments

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1405684A (zh) * 2001-08-22 2003-03-26 华神技术公司 一种x86系列兼容机及其操作系统的生成方法
US20090287902A1 (en) * 2008-05-15 2009-11-19 Smooth-Stone, Inc. C/O Barry Evans Distributed computing system with universal address system and method
CN102043638A (zh) * 2009-10-21 2011-05-04 华硕电脑股份有限公司 计算机系统以及计算机启动设定方法
CN102930212A (zh) * 2011-01-18 2013-02-13 苏州国芯科技有限公司 用于办公系统的防数据泄密方法
CN102968323A (zh) * 2012-11-30 2013-03-13 北京奇虎科技有限公司 计算机终端和实现计算机系统开机加速的方法
CN103106091A (zh) * 2013-01-31 2013-05-15 深圳市开立科技有限公司 一种基于可移动存储介质的操作系统的启动系统和方法

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110825421A (zh) * 2019-11-29 2020-02-21 湖南国科微电子股份有限公司 一种固件升级方法、系统及可读存储介质
CN110825421B (zh) * 2019-11-29 2023-08-22 湖南国科微电子股份有限公司 一种固件升级方法、系统及可读存储介质

Also Published As

Publication number Publication date
CN104679545A (zh) 2015-06-03

Similar Documents

Publication Publication Date Title
US9026776B2 (en) Portable desktop device and method of host computer system hardware recognition and configuration
TWI482015B (zh) 於裝置初始化期間備份韌體之技術
US9239725B2 (en) System and method for installing an OS via a network card supporting PXE
JP2004310775A (ja) 同じものをロードするためのポータブルオペレーティングシステムおよび方法
WO2013037261A1 (fr) Procédé, appareil et machine virtuelle pour détecter un programme malveillant
US10802916B2 (en) System and method to enable rapid recovery of an operating system image of an information handling system after a malicious attack
TWI608345B (zh) Operating system recovery method, device and terminal equipment
US20110246983A1 (en) Wireless Network Backup Device and Method
CN102521289A (zh) 一种文件同步方法、装置及系统
US20150277774A1 (en) Hard disk system operation method, storage system, and processor
US9965292B2 (en) Method of bluetooth pairing with UEFI firmware and computer system thereof
US10491736B2 (en) Computer system and method thereof for bluetooth data sharing between UEFI firmware and OS
WO2012097574A1 (fr) Terminal de communication sans fil et son procédé d'auto-démarrage
TWI486874B (zh) 電子裝置及開機方法
CN110688235B (zh) Uefi固件与os间共享无线连接信息的系统及方法
US7849300B2 (en) Method for changing booting sources of a computer system and a related backup/restore method thereof
WO2014183497A1 (fr) Dispositif, procédé de lancement dudit dispositif et support d'enregistrement informatique
WO2017173924A1 (fr) Procédé et dispositif permettant de commuter entre des systèmes de fichier
JP2013513874A (ja) データカードのアップグレーディング方法およびデバイス
WO2013182123A1 (fr) Procédé de commutation de mode de fonctionnement de terminal de données, dispositif et terminal de données
TWI518594B (zh) 計算機系統與計算機系統啓動方法
WO2013097095A1 (fr) Procédé de sauvegarde d'informations de démarrage relatives à un dispositif de mémoire
TWI441077B (zh) 可攜式多平台啟動系統和架構
EP1914628A1 (fr) Procédé de changement des sources de démarrage d'un système informatique et procédé de sauvegarde/restauration associé
WO2016008139A1 (fr) Méthode et dispositif d'installation de système d'équipement utilisateur

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: 14798254

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: 14798254

Country of ref document: EP

Kind code of ref document: A1