WO2017173798A1 - 一种移动终端的系统安装方法、装置和电子设备 - Google Patents

一种移动终端的系统安装方法、装置和电子设备 Download PDF

Info

Publication number
WO2017173798A1
WO2017173798A1 PCT/CN2016/101879 CN2016101879W WO2017173798A1 WO 2017173798 A1 WO2017173798 A1 WO 2017173798A1 CN 2016101879 W CN2016101879 W CN 2016101879W WO 2017173798 A1 WO2017173798 A1 WO 2017173798A1
Authority
WO
WIPO (PCT)
Prior art keywords
image file
identification code
hardware identification
mobile terminal
list
Prior art date
Application number
PCT/CN2016/101879
Other languages
English (en)
French (fr)
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 WO2017173798A1 publication Critical patent/WO2017173798A1/zh

Links

Images

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/445Program loading or initiating
    • 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/4406Loading of operating system

Definitions

  • the present application relates to the field of system installation technologies, and in particular, to a system installation method, apparatus, and electronic device for a mobile terminal.
  • Mobile phones and tablets are important mobile terminals in people's daily lives, and they have a large user base.
  • Most mobile terminal users may use the mobile terminal to brush the mobile terminal to reinstall the system or repair the patch.
  • the user Since the hardware of each mobile terminal is different, when the mobile terminal is brushed, the user needs to actively search for the img image file corresponding to the hardware of the mobile terminal, and the brushing machine is inconvenient to use. At the same time, if the user selects an img image file that does not correspond to the hardware of the current mobile terminal, and the brushing is performed, the brushing machine fails, and the mobile terminal cannot be turned on and the like occurs.
  • a system installation method for a mobile terminal includes the following steps:
  • the system installation method of the mobile terminal further includes the step of: issuing a message that the loading fails when the hardware identification code does not belong to the hardware identification code list.
  • the hardware identification code of the mobile terminal is solidified in the non-volatile memory NV.
  • the image file stored in the image file package is integrated into the image module.
  • the mirroring module can be detached to add or delete an image file.
  • a system installation device for a mobile terminal comprising:
  • Obtaining a hardware identification code module configured to obtain a hardware identification code of the mobile terminal
  • Obtaining a hardware identification code list module configured to obtain a hardware identification code list corresponding to each image file in the image file package;
  • And loading an image file module configured to: when the hardware identification code belongs to the hardware identification code list, load an image file corresponding to the hardware identification code in the image file package.
  • the system installation apparatus of the mobile terminal further includes: a prompt loading failure module, configured to issue a loading failure when the hardware identification code does not belong to the hardware identification code list Message.
  • a prompt loading failure module configured to issue a loading failure when the hardware identification code does not belong to the hardware identification code list Message.
  • the hardware identification code of the mobile terminal is solidified in the non-volatile memory NV.
  • the image file stored in the image file package is integrated into the image module.
  • the mirroring module can be detached to add or delete an image file.
  • An embodiment of the present application further provides an electronic device including at least one processor; and a memory communicably coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor The instruction is executed by the at least one processor to enable the at least one processor to acquire a hardware identification code of the mobile terminal; obtain a hardware identification code list corresponding to each image file in the image file package; When the identification code belongs to the hardware identification code list, the image file corresponding to the hardware identification code in the image file package is loaded.
  • the at least one processor is further configured to: issue a message that the loading fails.
  • the hardware identification code of the mobile terminal is solidified in the non-volatile memory NV.
  • the image file stored in the image file package is integrated into the image module.
  • the mirror module can be disassembled and then added. Add or remove image files.
  • Embodiments of the present application also provide a non-volatile computer storage medium storing the computer-executable instructions of computer-executable instructions that, when executed by an electronic device, enable an electronic device to acquire hardware of the mobile terminal An identifier of the hardware identification code corresponding to each image file in the image file package; when the hardware identification code belongs to the hardware identification code list, loading the image corresponding to the hardware identification code in the image file package file.
  • the at least one processor is further configured to: issue a message that the loading fails.
  • the hardware identification code of the mobile terminal is solidified in the non-volatile memory NV.
  • the image file stored in the image file package is integrated into the image module.
  • the mirroring module may be detached to add or delete an image file.
  • the embodiment of the present application further provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer
  • the computer is caused to perform the method of any of the above.
  • the system installation method and device for the mobile terminal obtaineds the hardware identification code of the mobile terminal; obtains the hardware identification code list corresponding to each image file in the image file package; and the hardware identification code of the mobile terminal belongs to the hardware identification code. In the list, the image file corresponding to the hardware identification code in the image file package is loaded.
  • the method and device realize automatic searching and loading of an image file matching the current hardware, which is convenient for the user to self-brush.
  • the system installation method and device for the mobile terminal integrates the image file stored in the image file package into the mirror module; at the same time, the mirror module can be opened and added or deleted, so that the image file package can be stored and managed conveniently.
  • the image file in .
  • FIG. 1 is a flowchart of a specific example of a system installation method of a mobile terminal in Embodiment 1 of the present application;
  • FIG. 2 is a flowchart of another specific example of a system installation method of a mobile terminal in Embodiment 1 of the present application;
  • FIG. 3 is a flowchart of a specific example of a system installation apparatus of a mobile terminal according to Embodiment 2 of the present application;
  • FIG. 4 is a schematic structural diagram of hardware of an electronic device according to Embodiment 3 of the present application.
  • connection or integral connection; may be mechanical connection or electrical connection; may be directly connected, may also be indirectly connected through an intermediate medium, or may be internal communication of two components, may be wireless connection, or may be wired connection.
  • connection or integral connection; may be mechanical connection or electrical connection; may be directly connected, may also be indirectly connected through an intermediate medium, or may be internal communication of two components, may be wireless connection, or may be wired connection.
  • this embodiment provides a system installation method for a mobile terminal, including the following steps:
  • the hardware identification code may be a rom variable
  • the firmware is stored in the non-volatile memory NV.
  • S2 Obtain a hardware identification code list corresponding to each image file in the image file package, that is, the image file package can store multiple image files, and each image file has a hardware identification code, and obtains the image file in the image file package.
  • Corresponding hardware identification code forms a hardware identification code list.
  • the image file stored in the image file package can be integrated into the mirror module. The mirror module can be added to remove or delete the image file. This is convenient for storing and managing the image file in the image file package.
  • step S3 determining whether the hardware identification code of the mobile terminal belongs to the hardware identification code list, if yes, proceeding to step S4; if not, proceeding to step S4 / ;
  • the method may further include:
  • S4 / Issue a message that the load failed.
  • the loading failure there are various ways to prompt the loading failure, such as: displaying on the screen of the mobile terminal, etc., and the flexible setting may be performed according to requirements. This setting makes it easy for the user to know that the flashing machine has failed for subsequent operations.
  • the system installation apparatus of the mobile terminal may include:
  • the hardware identification code may be a rom variable
  • the firmware is stored in the non-volatile memory NV.
  • Obtaining a hardware identification code list module 2 which is used to obtain a hardware identification code list corresponding to each image file in the image file package, that is, the image file package may have multiple image files, and each image file is suitable for having different hardware identifiers.
  • Code mobile terminal At the same time, the image file stored in the image file package can be integrated into the mirror module. The mirror module can be added to remove or delete the image file. This is convenient for storing and managing the image file in the image file package.
  • the image file module 3 is loaded, and when the hardware identification code belongs to the hardware identification code list, the image file corresponding to the hardware identification code in the image file package is loaded.
  • the system installation device of the mobile terminal provided in this embodiment automatically searches for and loads an image file that matches the current hardware, and is convenient for the user to self-brush.
  • the system installation apparatus of the mobile terminal may further include: a prompt loading failure module, configured to send a message that the loading fails when the hardware identification code does not belong to the hardware identification code list. So set up, it is easy for the user to know that the brush machine failed, to enter Follow-up actions.
  • the present application also provides an electronic device including at least one processor 810; and a memory 800 communicably coupled to the at least one processor 810; wherein the memory 800 is stored with the An instruction executed by the at least one processor 810, the instruction being executed by the at least one processor 810, to enable the at least one processor 810 to acquire a hardware identification code of the mobile terminal; and obtaining an image file corresponding to each image file in the image file package a hardware identification code list; when the hardware identification code belongs to the hardware identification code list, loading an image file corresponding to the hardware identification code in the image file package.
  • the at least one processor is further configured to: issue a message that the loading fails.
  • the hardware identification code of the mobile terminal is solidified in the non-volatile memory NV.
  • the image file stored in the image file package is integrated into the image module.
  • the mirroring module may be detached to add or delete an image file.
  • the embodiment of the present application further provides a non-volatile computer storage medium, the storage medium
  • the computer executable instructions storing the computer executable instructions, when executed by the electronic device, enable the electronic device to acquire the hardware identification code of the mobile terminal; obtain a hardware identification code list corresponding to each image file in the image file package; When the hardware identification code belongs to the hardware identification code list, the image file corresponding to the hardware identification code in the image file package is loaded.
  • the at least one processor is further configured to: issue a message that the loading fails.
  • the hardware identification code of the mobile terminal is solidified in the non-volatile memory NV.
  • the image file stored in the image file package is integrated into the image module.
  • the mirroring module may be detached to add or delete an image file.
  • the embodiment of the present application further provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer
  • the computer is caused to perform the method described in the above embodiments.
  • embodiments of the present application can be provided as a method, system, or computer program product.
  • the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware.
  • this application The form of a computer program product embodied on one or more computer usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer usable program code may be employed.
  • 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 apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • 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.

Landscapes

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

Abstract

一种移动终端的系统安装方法、装置和电子设备。获取移动终端的硬件标识码(S1);获取镜像文件包中各镜像文件所对应的硬件标识码清单(S2);判断移动终端的硬件标识码是否属于硬件标识码清单(S3),当移动终端的硬件标识码属于硬件标识码清单中时,加载镜像文件包中与该硬件标识码对应的镜像文件(S4)。该方法和装置实现了自动寻找和加载与当前硬件匹配的镜像文件,便于用户自主的自行刷机。

Description

一种移动终端的系统安装方法、装置和电子设备
交叉引用
本申请要求在2016年04月07日提交中国专利局、申请号为201610213676.8、发明名称为“一种移动终端的系统安装方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及系统安装技术领域,具体涉及一种移动终端的系统安装方法、装置和电子设备。
背景技术
随着移动通信技术的发展和人们生活水平的不断提高,各种移动终端已经成为人们生活中不可缺少的通信工具。手机和平板电脑作为人们日常生活中重要的移动终端,其拥有庞大的用户群体。大多数移动终端的使用者在使用移动终端的过程中,都可能会对移动终端进行刷机,以重装系统或者修复补丁。
由于每个移动终端的硬件不同,则对移动终端进行刷机时,需要用户主动寻找和该移动终端的硬件对应的img镜像文件,进行刷机,不方便使用。同时,若用户选择了与当前移动终端的硬件不对应的img镜像文件,进行刷机,则会导致刷机失败,移动终端不能开机等问题发生。
发明内容
为此,本申请的技术方案如下:
一种移动终端的系统安装方法,包括如下步骤:
获取移动终端的硬件标识码;
获取镜像文件包中各镜像文件所对应的硬件标识码清单;
当所述硬件标识码属于所述硬件标识码清单中时,加载所述镜像文件包中与该硬件标识码对应的镜像文件。
优选地,所述移动终端的系统安装方法还包括如下步骤:当所述硬件标识码不属于所述硬件标识码清单中时,发出加载失败的消息。
优选地,所述移动终端的硬件标识码固化存于非易失性存储器NV中。
优选地,所述镜像文件包中存储的镜像文件集成于镜像模块中。
优选地,所述镜像模块可以拆开后添加或者删除镜像文件。
一种移动终端的系统安装装置,包括:
获取硬件标识码模块,用于获取移动终端的硬件标识码;
获取硬件标识码清单模块,用于获取镜像文件包中各镜像文件所对应的硬件标识码清单;
加载镜像文件模块,用于当所述硬件标识码属于所述硬件标识码清单中时,加载所述镜像文件包中与该硬件标识码对应的镜像文件。
优选地,所述移动终端的系统安装装置还包括:提示加载失败模块,用于当所述硬件标识码不属于所述硬件标识码清单中时,发出加载失败的 消息。
优选地,所述移动终端的硬件标识码固化存于非易失性存储器NV中。
优选地,所述镜像文件包中存储的镜像文件集成于镜像模块中。
优选地,所述镜像模块可以拆开后添加或者删除镜像文件。
本申请实施例还提供了一种电子设备,包括至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够获取移动终端的硬件标识码;获取镜像文件包中各镜像文件所对应的硬件标识码清单;当所述硬件标识码属于所述硬件标识码清单中时,加载所述镜像文件包中与该硬件标识码对应的镜像文件。
本申请实施例所述的电子设备,优选地,当所述硬件标识码不属于所述硬件标识码清单中时,使所述至少一个处理器还能够:发出加载失败的消息。
本申请实施例所述的电子设备,优选地,所述移动终端的硬件标识码固化存于非易失性存储器NV中。
本申请实施例所述的电子设备,优选地,所述镜像文件包中存储的镜像文件集成于镜像模块中。
本申请实施例所述的电子设备,优选地,所述镜像模块可以拆开后添 加或者删除镜像文件。
本申请实施例还提供了一种非易失性计算机存储介质,所述存储介质存储有计算机可执行指令的所述计算机可执行指令,当由电子设备执行时使得电子设备能够获取移动终端的硬件标识码;获取镜像文件包中各镜像文件所对应的硬件标识码清单;当所述硬件标识码属于所述硬件标识码清单中时,加载所述镜像文件包中与该硬件标识码对应的镜像文件。
本申请实施例所述的存储介质,优选地,当所述硬件标识码不属于所述硬件标识码清单中时,使所述至少一个处理器还能够:发出加载失败的消息。
本申请实施例所述的存储介质,优选地,所述移动终端的硬件标识码固化存于非易失性存储器NV中。
本申请实施例所述的存储介质,优选地,所述镜像文件包中存储的镜像文件集成于镜像模块中。
本申请实施例所述的存储介质,优选地,所述镜像模块可以拆开后添加或者删除镜像文件。
本申请实施例还提出了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述任一所述的方法。
本申请技术方案,具有如下优点:
1.本申请提供的移动终端的系统安装方法及装置,获取移动终端的硬件标识码;获取镜像文件包中各镜像文件所对应的硬件标识码清单;当移动终端的硬件标识码属于硬件标识码清单中时,加载镜像文件包中与该硬件标识码对应的镜像文件。该方法和装置实现了自动寻找和加载与当前硬件匹配的镜像文件,便于用户自主的自行刷机。
2.本申请提供的移动终端的系统安装方法及装置,将镜像文件包中存储的镜像文件集成于镜像模块;同时,镜像模块可以拆开后添加或者删除镜像文件,便于存储和管理镜像文件包中的镜像文件。
附图说明
为了更清楚地说明本申请具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本申请实施例1中移动终端的系统安装方法的一个具体示例的流程图;
图2为本申请实施例1中移动终端的系统安装方法的另一个具体示例的流程图;
图3为本申请实施例2中移动终端的系统安装装置的一个具体示例的流程图;
图4为本申请实施例3中电子设备的硬件结构示意图。
附图标记:1-获取硬件标识码模块;2-获取硬件标识码清单模块;3-加载镜像文件模块;800-存储器;810-处理器;830-输入装置;840-输出装置。
具体实施方式
下面将结合附图对本申请的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
在本申请的描述中,需要说明的是,术语“中心”、“上”、“下”、“左”、“右”、“竖直”、“水平”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本申请和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本申请的限制。此外,术语“第一”、“第二”、“第三”仅用于描述目的,而不能理解为指示或暗示相对重要性。
在本申请的描述中,需要说明的是,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,还可以是两个元件内部的连通,可以是无线连接,也可以是有线连接。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本申请中的具体含义。
此外,下面所描述的本申请不同实施方式中所涉及的技术特征只要彼 此之间未构成冲突就可以相互结合。
实施例1
如图1所示,本实施例提供一种移动终端的系统安装方法,包括如下步骤:
S1:获取移动终端的硬件标识码。作为一种具体实现方式,该硬件标识码可以是一种rom变量,固化存于非易失性存储器NV中。
S2:获取镜像文件包中各镜像文件所对应的硬件标识码清单,即:镜像文件包可以存有多个镜像文件,每个镜像文件具有一个硬件标识码,获取镜像文件包中各镜像文件所对应的硬件标识码,形成硬件标识码清单。同时,镜像文件包中存储的镜像文件可以集成于镜像模块中,镜像模块可以拆开后添加或者删除镜像文件,如此设置,便于存储和管理镜像文件包中的镜像文件。
S3:判断移动终端的硬件标识码是否属于硬件标识码清单,如为是,则转入步骤S4;如为否,则转入步骤S4/
S4:加载镜像文件包中与该硬件标识码对应的镜像文件。
通过步骤S1-S4实现了自动寻找和加载与当前硬件匹配的镜像文件,便于用户自主的自行刷机。
在上述方案的基础上,如图2所示,还可以包括:
S4/:发出加载失败的消息。作为一种具体实现方式,提示加载失败的 方式有多种,如:在移动终端的屏幕上显示等等,具体根据需要进行灵活设置即可。如此设置,便于用户知道刷机失败,以进行后续的操作。
实施例2
如图3所示,本实施例通过一种移动终端的系统安装装置,可以包括:
获取硬件标识码模块1,用于获取移动终端的硬件标识码。作为一种具体实现方式,该硬件标识码可以是一种rom变量,固化存于非易失性存储器NV中。
获取硬件标识码清单模块2,用于获取镜像文件包中各镜像文件所对应的硬件标识码清单,即:镜像文件包可以存有多个镜像文件,每个镜像文件适用于具有不同的硬件标识码的移动终端。同时,镜像文件包中存储的镜像文件可以集成于镜像模块中,镜像模块可以拆开后添加或者删除镜像文件,如此设置,便于存储和管理镜像文件包中的镜像文件。
加载镜像文件模块3,用于当硬件标识码属于硬件标识码清单中时,加载镜像文件包中与该硬件标识码对应的镜像文件。
本实施例提供的移动终端的系统安装装置,实现了自动寻找和加载与当前硬件匹配的镜像文件,便于用户自主的自行刷机。
在上述方案的基础上,本实施例提供的移动终端的系统安装装置还可以包括:提示加载失败模块,用于当硬件标识码不属于所述硬件标识码清单中时,发出加载失败的消息。如此设置,便于用户知道刷机失败,以进 行后续的操作。
实施例3
如图所示,本申请还提供了一种电子设备,包括至少一个处理器810;以及,与所述至少一个处理器810通信连接的存储器800;其中,所述存储器800存储有可被所述至少一个处理器810执行的指令,所述指令被所述至少一个处理器810执行,以使所述至少一个处理器810能够获取移动终端的硬件标识码;获取镜像文件包中各镜像文件所对应的硬件标识码清单;当所述硬件标识码属于所述硬件标识码清单中时,加载所述镜像文件包中与该硬件标识码对应的镜像文件。
本申请实施例所述的电子设备,优选地,当所述硬件标识码不属于所述硬件标识码清单中时,使所述至少一个处理器还能够:发出加载失败的消息。
本申请实施例所述的电子设备,优选地,所述移动终端的硬件标识码固化存于非易失性存储器NV中。
本申请实施例所述的电子设备,优选地,所述镜像文件包中存储的镜像文件集成于镜像模块中。
本申请实施例所述的电子设备,优选地,所述镜像模块可以拆开后添加或者删除镜像文件。
实施例4
本申请实施例还提供了一种非易失性计算机存储介质,所述存储介质 存储有计算机可执行指令的所述计算机可执行指令,当由电子设备执行时使得电子设备能够获取移动终端的硬件标识码;获取镜像文件包中各镜像文件所对应的硬件标识码清单;当所述硬件标识码属于所述硬件标识码清单中时,加载所述镜像文件包中与该硬件标识码对应的镜像文件。
本申请实施例所述的存储介质,优选地,当所述硬件标识码不属于所述硬件标识码清单中时,使所述至少一个处理器还能够:发出加载失败的消息。
本申请实施例所述的存储介质,优选地,所述移动终端的硬件标识码固化存于非易失性存储器NV中。
本申请实施例所述的存储介质,优选地,所述镜像文件包中存储的镜像文件集成于镜像模块中。
本申请实施例所述的存储介质,优选地,所述镜像模块可以拆开后添加或者删除镜像文件。
实施例5
本申请实施例还提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述实施例所述的方法。本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请 可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
显然,上述实施例仅仅是为清楚地说明所作的举例,而并非对实施方 式的限定。对于所属领域的普通技术人员来说,在上述说明的基础上还可以做出其它不同形式的变化或变动。这里无需也无法对所有的实施方式予以穷举。而由此所引伸出的显而易见的变化或变动仍处于本申请创造的保护范围之中。

Claims (21)

  1. 一种移动终端的系统安装方法,其特征在于,包括如下步骤:
    获取移动终端的硬件标识码;
    获取镜像文件包中各镜像文件所对应的硬件标识码清单;
    当所述硬件标识码属于所述硬件标识码清单中时,加载所述镜像文件包中与该硬件标识码对应的镜像文件。
  2. 根据权利要求1所述的方法,其特征在于,还包括如下步骤:当所述硬件标识码不属于所述硬件标识码清单中时,发出加载失败的消息。
  3. 根据权利要求1或2所述的方法,其特征在于,所述移动终端的硬件标识码固化存于非易失性存储器NV中。
  4. 根据权利要求1-3所述的方法,其特征在于,所述镜像文件包中存储的镜像文件集成于镜像模块中。
  5. 根据权利要求4所述的方法,其特征在于,所述镜像模块可以拆开后添加或者删除镜像文件。
  6. 一种移动终端的系统安装装置,其特征在于,包括:
    获取硬件标识码模块,用于获取移动终端的硬件标识码;
    获取硬件标识码清单模块,用于获取镜像文件包中各镜像文件所对应 的硬件标识码清单;
    加载镜像文件模块,用于当所述硬件标识码属于所述硬件标识码清单中时,加载所述镜像文件包中与该硬件标识码对应的镜像文件。
  7. 根据权利要求6所述的装置,其特征在于,还包括:提示加载失败模块,用于当所述硬件标识码不属于所述硬件标识码清单中时,发出加载失败的消息。
  8. 根据权利要求6或7所述的装置,其特征在于,所述移动终端的硬件标识码固化存于非易失性存储器NV中。
  9. 根据权利要求6-8所述的装置,其特征在于,所述镜像文件包中存储的镜像文件集成于镜像模块中。
  10. 根据权利要求9所述的装置,其特征在于,所述镜像模块可以拆开后添加或者删除镜像文件。
  11. 一种电子设备,其特征在于包括至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够
    获取移动终端的硬件标识码;
    获取镜像文件包中各镜像文件所对应的硬件标识码清单;
    当所述硬件标识码属于所述硬件标识码清单中时,加载所述镜像文件 包中与该硬件标识码对应的镜像文件。
  12. 根据权利要求11所述的电子设备,其特征在于,当所述硬件标识码不属于所述硬件标识码清单中时,使所述至少一个处理器还能够:发出加载失败的消息。
  13. 根据权利要求11或12所述的电子设备,其特征在于,所述移动终端的硬件标识码固化存于非易失性存储器NV中。
  14. 根据权利要求11-13所述的电子设备,其特征在于,所述镜像文件包中存储的镜像文件集成于镜像模块中。
  15. 根据权利要求14所述的电子设备,其特征在于,所述镜像模块可以拆开后添加或者删除镜像文件。
  16. 一种非易失性计算机存储介质,其特征在于:所述存储介质存储有计算机可执行指令的所述计算机可执行指令,当由电子设备执行时使得电子设备能够:
    获取移动终端的硬件标识码;
    获取镜像文件包中各镜像文件所对应的硬件标识码清单;
    当所述硬件标识码属于所述硬件标识码清单中时,加载所述镜像文件包中与该硬件标识码对应的镜像文件。
  17. 根据权利要求16所述的存储介质,其特征在于,当所述硬件标识码不属于所述硬件标识码清单中时,使所述至少一个处理器还能够:发出加载失败的消息。
  18. 根据权利要求16或17所述的存储介质,其特征在于,所述移动终端的硬件标识码固化存于非易失性存储器NV中。
  19. 根据权利要求16-18所述的存储介质,其特征在于,所述镜像文件包中存储的镜像文件集成于镜像模块中。
  20. 根据权利要求19所述的存储介质,其特征在于,所述镜像模块可以拆开后添加或者删除镜像文件。
  21. 一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,其特征在于,当所述程序指令被计算机执行时,使所述计算机执行上述任一权利要求所述的方法。
PCT/CN2016/101879 2016-04-07 2016-10-12 一种移动终端的系统安装方法、装置和电子设备 WO2017173798A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610213676.8A CN105843652A (zh) 2016-04-07 2016-04-07 一种移动终端的系统安装方法及装置
CN201610213676.8 2016-04-07

Publications (1)

Publication Number Publication Date
WO2017173798A1 true WO2017173798A1 (zh) 2017-10-12

Family

ID=56597024

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/101879 WO2017173798A1 (zh) 2016-04-07 2016-10-12 一种移动终端的系统安装方法、装置和电子设备

Country Status (2)

Country Link
CN (1) CN105843652A (zh)
WO (1) WO2017173798A1 (zh)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111782227A (zh) * 2020-06-30 2020-10-16 普联技术有限公司 一种组件的数据处理方法、装置、设备及存储介质
CN112217885A (zh) * 2020-09-27 2021-01-12 普联国际有限公司 一种组件动态管理方法、装置、设备及存储介质
CN112749137A (zh) * 2019-10-31 2021-05-04 阿里巴巴集团控股有限公司 数据处理方法、装置、设备及存储介质
CN113407308A (zh) * 2021-06-24 2021-09-17 龙芯中科(合肥)技术有限公司 容器镜像获取方法及设备
CN113821226A (zh) * 2021-09-17 2021-12-21 锐捷网络股份有限公司 一种onie系统安装方法、装置、设备及介质

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105843652A (zh) * 2016-04-07 2016-08-10 乐视控股(北京)有限公司 一种移动终端的系统安装方法及装置
CN110362427A (zh) * 2019-06-26 2019-10-22 苏州浪潮智能科技有限公司 一种镜像文件的处理方法、系统、bmc及可读存储介质
CN117667236A (zh) * 2023-12-19 2024-03-08 合芯科技有限公司 一种混合内核镜像的加载方法、系统、服务器及存储介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1991777A (zh) * 2005-12-27 2007-07-04 英业达股份有限公司 镜像文件的数据预装系统及方法
US20070169112A1 (en) * 2005-10-31 2007-07-19 Inventec Corporation Operating program installation method appended with driver program and related structure
CN103246527A (zh) * 2012-02-07 2013-08-14 腾讯科技(深圳)有限公司 更新移动终端操作系统的方法和系统以及计算机
CN103885802A (zh) * 2014-03-17 2014-06-25 广州金山网络科技有限公司 驱动程序的安装方法、装置和客户端
CN104881314A (zh) * 2015-06-29 2015-09-02 北京金山安全软件有限公司 一种安装驱动程序的方法及驱动程序安装装置
CN105700918A (zh) * 2016-01-05 2016-06-22 青岛海信移动通信技术股份有限公司 一种系统升级方法及装置
CN105843652A (zh) * 2016-04-07 2016-08-10 乐视控股(北京)有限公司 一种移动终端的系统安装方法及装置

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070169112A1 (en) * 2005-10-31 2007-07-19 Inventec Corporation Operating program installation method appended with driver program and related structure
CN1991777A (zh) * 2005-12-27 2007-07-04 英业达股份有限公司 镜像文件的数据预装系统及方法
CN103246527A (zh) * 2012-02-07 2013-08-14 腾讯科技(深圳)有限公司 更新移动终端操作系统的方法和系统以及计算机
CN103885802A (zh) * 2014-03-17 2014-06-25 广州金山网络科技有限公司 驱动程序的安装方法、装置和客户端
CN104881314A (zh) * 2015-06-29 2015-09-02 北京金山安全软件有限公司 一种安装驱动程序的方法及驱动程序安装装置
CN105700918A (zh) * 2016-01-05 2016-06-22 青岛海信移动通信技术股份有限公司 一种系统升级方法及装置
CN105843652A (zh) * 2016-04-07 2016-08-10 乐视控股(北京)有限公司 一种移动终端的系统安装方法及装置

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112749137A (zh) * 2019-10-31 2021-05-04 阿里巴巴集团控股有限公司 数据处理方法、装置、设备及存储介质
CN112749137B (zh) * 2019-10-31 2024-05-24 阿里巴巴集团控股有限公司 数据处理方法、装置、设备及存储介质
CN111782227A (zh) * 2020-06-30 2020-10-16 普联技术有限公司 一种组件的数据处理方法、装置、设备及存储介质
CN112217885A (zh) * 2020-09-27 2021-01-12 普联国际有限公司 一种组件动态管理方法、装置、设备及存储介质
CN112217885B (zh) * 2020-09-27 2024-06-04 普联国际有限公司 一种组件动态管理方法、装置、设备及存储介质
CN113407308A (zh) * 2021-06-24 2021-09-17 龙芯中科(合肥)技术有限公司 容器镜像获取方法及设备
CN113821226A (zh) * 2021-09-17 2021-12-21 锐捷网络股份有限公司 一种onie系统安装方法、装置、设备及介质

Also Published As

Publication number Publication date
CN105843652A (zh) 2016-08-10

Similar Documents

Publication Publication Date Title
WO2017173798A1 (zh) 一种移动终端的系统安装方法、装置和电子设备
US20220286954A1 (en) Roaming network access method and apparatus
WO2017166680A1 (zh) 一种应用程序管理方法、装置和电子设备
KR102400384B1 (ko) 외장 메모리를 구비하는 전자장치 및 그 동작 방법
KR102293660B1 (ko) 전자 장치의 근거리 무선 통신 방법 및 이를 사용하는 전자 장치
WO2017177634A1 (zh) 一种图像处理方法、装置及电子设备
TW201502987A (zh) 應用程式管理系統及方法
CN105578446A (zh) 使用多个订户身份模块的移动通信
WO2017166706A1 (zh) 一种控制移动终端的摄像头的装置、方法、智能手环和电子设备
WO2017166791A1 (zh) 应用程序备份方法及装置
WO2015143701A1 (zh) 漫游入网方法及装置
KR102262218B1 (ko) 이어잭 인식 방법 및 이를 지원하는 전자 장치
WO2017161831A1 (zh) 一种应用处理方法、装置和电子设备
WO2017166704A1 (zh) 一种网络连接方法、装置和电子设备
WO2017185623A1 (zh) 一种计算器的显示管理方法、装置和电子设备
US9971639B2 (en) Method for processing data and electronic device therefor
WO2017166611A1 (zh) 一种媒体文件删除方法、装置和电子设备
US20180175636A1 (en) Method for charging electronic device, electronic device, and storage medium
WO2017166755A1 (zh) 富文本监听方法、装置和电子设备
WO2017166749A1 (zh) 一种屏幕转动方法、装置和电子设备
US10491015B2 (en) Apparatus and method for managing power supplied to an electronic device
WO2016107072A1 (zh) 一种终端及终端选网的方法
US20200068658A1 (en) Communication configuration method of electronic device, and device thereof
JP5996812B2 (ja) ハイレベルオペレーティングシステム(hlos)ブートより前にスマートフォンに接続された周辺デバイスのためのデバイスドライバをプリフェッチするための方法および装置
WO2017166753A1 (zh) 一种手机声音模式自动切换的方法、装置和电子设备

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 16897730

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16897730

Country of ref document: EP

Kind code of ref document: A1