WO2022037686A1 - 智能终端的程序下载方法和智能终端 - Google Patents

智能终端的程序下载方法和智能终端 Download PDF

Info

Publication number
WO2022037686A1
WO2022037686A1 PCT/CN2021/113843 CN2021113843W WO2022037686A1 WO 2022037686 A1 WO2022037686 A1 WO 2022037686A1 CN 2021113843 W CN2021113843 W CN 2021113843W WO 2022037686 A1 WO2022037686 A1 WO 2022037686A1
Authority
WO
WIPO (PCT)
Prior art keywords
type
memory card
intelligent terminal
configuration file
dip switch
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2021/113843
Other languages
English (en)
French (fr)
Inventor
陈乐乐
郑建华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Spreadtrum Communications Shanghai Co Ltd
Original Assignee
Spreadtrum Communications Shanghai Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Spreadtrum Communications Shanghai Co Ltd filed Critical Spreadtrum Communications Shanghai Co Ltd
Priority to US18/021,870 priority Critical patent/US12008171B2/en
Publication of WO2022037686A1 publication Critical patent/WO2022037686A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/102Program control for peripheral devices where the program performs an interfacing function, e.g. device driver
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • the present invention provides a program downloading method for an intelligent terminal, comprising the following steps:
  • Identify the memory card identifier of the smart terminal and the memory card identifier is used to characterize the type of the memory card of the smart terminal;
  • the smart terminal has a DIP switch, when the DIP switch is in the first position, the type of the memory card representing the smart terminal is the first type, and when the DIP switch is in the second position, the type of the memory card representing the smart terminal is the first type.
  • Type two when the DIP switch is in the first position, the type of the memory card representing the smart terminal is the first type, and when the DIP switch is in the second position, the type of the memory card representing the smart terminal is the first type.
  • Type two
  • the configuration file corresponding to the first type is used as the target configuration file; if the DIP switch is in the second position, the configuration file corresponding to the second type is used as the target configuration file.
  • the DIP switch is electrically connected to the target GPIO pin of the CPU of the smart terminal, when the DIP switch is in the first position, it outputs a high level to the target GPIO pin, and when the DIP switch is in the second position, it leads to the target GPIO pin. pin output low level;
  • the CPU obtains the level of the target GPIO pin and obtains the position of the DIP switch according to the level.
  • the configuration file is the target configuration file.
  • the program downloading method for the smart terminal further includes the following steps:
  • the source program is a single file, and after compilation, a plurality of configuration files corresponding to the type of each memory card are generated. Based on a single source program file, source program maintenance can be facilitated.
  • the present invention also provides an intelligent terminal.
  • the intelligent terminal is provided with a dial switch, and the position of the dial switch is used to characterize the type of the memory card of the intelligent terminal for identification.
  • the technical solution can facilitate the program downloading device to identify the type of the memory card set by the intelligent terminal, so as to download the corresponding configuration file, so that the intelligent terminal can initialize the memory card and perform read and write access.
  • the type of the memory card representing the smart terminal is the first type when the dial switch is in the first position, and the type of the memory card representing the smart terminal is the second type when the dial switch is in the second position.
  • the DIP switch is electrically connected to the target GPIO pin of the CPU of the smart terminal, when the DIP switch is in the first position, it outputs a high level to the target GPIO pin, and when the DIP switch is in the second position, it leads to the target GPIO pin. pin output low level.
  • the positive improvement effect of the present invention is that: the present invention can automatically identify the type of the memory card of the smart terminal, so as to automatically obtain the corresponding target configuration file according to the type of the memory card, and configure the smart terminal so that the smart terminal can operate normally. access the memory card.
  • the scheme realizes efficient and accurate download configuration and improves efficiency.
  • FIG. 2 is a schematic structural diagram of an intelligent terminal according to Embodiment 2 of the present invention.
  • This embodiment provides a program downloading method for an intelligent terminal.
  • the program downloading method of the smart terminal is used for downloading programs to the smart terminal, so as to make the smart terminal run.
  • the program downloading method of the intelligent terminal includes the following steps:
  • Step S1 compiling the source program to generate a configuration file corresponding to the type of each memory card.
  • the source program contains configuration information for compatibility with various required types of memory cards.
  • the source program includes configuration information for making the smart terminal compatible with eMMC cards (type 1), and the source program also includes configuration information for making the smart terminal compatible with UFS cards (type 2).
  • the intelligent terminal on the production line is initially bare metal, without software, and the software needs to be downloaded to the intelligent terminal before the intelligent terminal can run normally.
  • the program download device may be a PC (personal computer), and the program download tool software is installed on the PC.
  • the FDL1 program is downloaded first, and the FDL1 program is downloaded to the IRAM (instruction memory).
  • the FDL1 program is a program for initializing a DDR (Double Rate Synchronous Dynamic Random Access Memory) memory.
  • the CPU central processing unit
  • the intelligent terminal executes the FDL1 program and initializes the DDR memory.
  • the CPU runs the FDL2 program in the DDR memory to execute step S2.
  • the level of the corresponding pin output to the CPU is different (for example, if the DIP switch is in the first position, the level of the corresponding pin output to the CPU is high level, dial the If the code switch is in the second position, the level of the corresponding pin output to the CPU is a low level), and the CPU obtains the position of the DIP switch according to the level of the corresponding pin. If the DIP switch is in the first position, the type of the memory card representing the smart terminal is the first type; if the DIP switch is in the second position, the type of the memory card representing the smart terminal is the second type.
  • step S3 is performed.
  • Step S3 acquiring a target configuration file.
  • the target configuration file is the configuration file corresponding to the ID of the memory card. Both the first configuration file corresponding to the first type and the second configuration file corresponding to the second type are stored in the PC.
  • the target profile can be determined based on the profile's file name and the memory card ID. If the file name of the configuration file includes a keyword corresponding to the identification of the memory card, the configuration file is taken as the target configuration file.
  • step S4 is performed.
  • the memory card of the smart terminal can be automatically identified, so that the corresponding target configuration file can be automatically obtained according to the type of the memory card, and the smart terminal can be configured so that the smart terminal can operate normally. access the memory card.
  • the scheme realizes efficient and accurate download configuration and improves efficiency.
  • the source program is a single file, and after compilation, multiple configuration files corresponding to the type of each memory card are generated. Based on a single source program file, source program maintenance can be facilitated.
  • the smart terminal has a DIP switch SW, and the position of the DIP switch is used to represent the type of the memory card of the smart terminal for identification.
  • the DIP switch SW is electrically connected to a target GPIO pin of the CPU of the smart terminal.
  • a high level is output to the target GPIO pin (the target GPIO pin is connected to the power supply VDD), indicating that the type of the memory card of the smart terminal is the first type;
  • the DIP switch is in the second position, the The target GPIO pin outputs a low level (the target GPIO pin is grounded), and the type of the memory card representing the smart terminal is the second type.
  • the first type is an eMMC card
  • the second type is a UFS card.
  • the program downloading device to identify the type of the memory card set by the smart terminal, so as to download the corresponding configuration file, so that the smart terminal can initialize the memory card and perform read and write access.
  • the program downloading device may be a PC, and the program downloading tool software is installed on the PC.
  • the program downloading device may be a PC, and the program downloading tool software is installed on the PC.
  • the FDL1 program is downloaded first, and the FDL1 program is downloaded to the IRAM (instruction memory).
  • the FDL1 program is a program for initializing the DDR memory. After downloading the FDL1 program, the CPU executes the FDL1 program and initializes the DDR memory. Then download the FDL2 program into the DDR memory.
  • the CPU runs the FDL2 program in the DDR memory to identify the memory card identifier of the smart terminal.
  • the memory card identifier is used to characterize the type of the memory card of the smart terminal.
  • the DIP switch SW When the DIP switch SW is in the first position, the level of the corresponding target GPIO pin output to the CPU is a high level, and the CPU can obtain the position of the DIP switch according to the level of the target GPIO pin, and also That is, the type of memory card. If the DIP switch is in the first position, the type of the memory card representing the smart terminal is the first type; if the DIP switch is in the second position, the type of the memory card representing the smart terminal is the second type.
  • the CPU transmits the memory card identifier corresponding to the type of the memory card of the smart terminal to the PC through a data cable (eg, a USB data cable).
  • a data cable eg, a USB data cable
  • the program download tool software on the PC side downloads the target configuration file to the program storage area (for example, flash (flash memory)) of the intelligent terminal.
  • the program storage area for example, flash (flash memory)
  • the smart terminal After the target configuration file is downloaded, the smart terminal can be powered on. After booting, the CPU of the intelligent terminal initializes the memory card according to the target configuration file, and then the memory card can be accessed normally.

Landscapes

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

Abstract

本发明公开了智能终端的程序下载方法和智能终端,其中智能终端的程序下载方法包括以下步骤:识别智能终端的存储卡标识,存储卡标识用于表征智能终端的存储卡的类型;获取目标配置文件,目标配置文件为与存储卡标识对应的配置文件;将目标配置文件下载至智能终端。本发明可以自动识别该智能终端的存储卡的类型,从而根据该存储卡的类型自动获取对应的目标配置文件,对智能终端进行配置,以使该智能终端能够正常访问该存储卡。该方案实现了高效、准确的下载配置,提高了效率。

Description

智能终端的程序下载方法和智能终端
本申请要求申请日为2020/8/20的中国专利申请202010844023.6的优先权。本申请引用上述中国专利申请的全文。
技术领域
本发明属于智能终端的程序下载技术领域,尤其涉及一种智能终端的程序下载方法和智能终端。
背景技术
手机等智能终端使用的存储卡包括eMMC(Embedded Multi Media Card,嵌入式多媒体卡)卡、UFS(Universal Flash Storage,通用闪存存储)卡。通常,一款智能终端量产时要么支持eMMC卡,要么支持UFS卡。针对UFS和eMMC单独出软件版本维护,非常不方便。另外,针对智能终端所支持的存储卡为智能终端下载专门的软件版本,效率也比较低下。
发明内容
本发明要解决的技术问题是为了克服现有技术中针对智能终端所支持的存储卡为智能终端下载专门的软件版本,效率也比较低下的缺陷,提供一种智能终端的程序下载方法和智能终端。
本发明是通过下述技术方案来解决上述技术问题:
本发明提供一种智能终端的程序下载方法,包括以下步骤:
识别智能终端的存储卡标识,存储卡标识用于表征智能终端的存储卡的类型;
获取目标配置文件,目标配置文件为与存储卡标识对应的配置文件;
将目标配置文件下载至智能终端。
根据该技术方案,可以自动识别该智能终端的存储卡的类型,从而根据该存储卡的 类型自动获取对应的目标配置文件,对智能终端进行配置,以使该智能终端能够正常访问该存储卡。该方案实现了高效、准确的下载配置,提高了效率。
较佳地,智能终端有拨码开关,拨码开关处于第一位置时表征智能终端的存储卡的类型为第一类型,拨码开关处于第二位置时表征智能终端的存储卡的类型为第二类型;
识别智能终端的存储卡标识的步骤包括:
识别拨码开关所处的位置;
则获取目标配置文件的步骤包括:
如果拨码开关处于第一位置,则以第一类型对应的配置文件为目标配置文件;如果拨码开关处于第二位置,则以第二类型对应的配置文件为目标配置文件。
该技术方案通过拨码开关实现存储卡标识的表征,结构简单易行,电路成本较低。
较佳地,拨码开关与智能终端的CPU的目标GPIO引脚电连接,拨码开关处于第一位置时向目标GPIO引脚输出高电平,拨码开关处于第二位置时向目标GPIO引脚输出低电平;
则识别拨码开关所处的位置的步骤包括:
CPU获取目标GPIO引脚的电平并根据电平得到拨码开关所处的位置。
较佳地,第一类型为eMMC卡,第二类型为UFS卡。
较佳地,获取目标配置文件的步骤包括:
如果配置文件的文件名中包括与存储卡标识对应的关键词,则以配置文件为目标配置文件。
该技术方案中,根据配置文件的文件名和存储卡标识查询目标配置文件,提高了查询的效率和准确率。
较佳地,在识别智能终端的存储卡标识的步骤之前,智能终端的程序下载方法还包括以下步骤:
编译源程序以生成分别与每一个存储卡的类型对应的配置文件,源程序为单个文件。
该技术方案中,源程序为单个文件,经过编译,生成多个分别与每一个存储卡的类型对应的配置文件。基于单个源程序文件,可以便于源程序维护。
本发明还提供一种智能终端,智能终端设置有拨码开关,拨码开关的位置用于表征智能终端的存储卡的类型以供识别。
该技术方案可以便于程序下载设备识别该智能终端设置的存储卡的类型,以便下载对应的配置文件,使得该智能终端能够对该存储卡进行初始化,并进行读写访问。
较佳地,拨码开关处于第一位置时表征智能终端的存储卡的类型为第一类型,拨码开关处于第二位置时表征智能终端的存储卡的类型为第二类型。
较佳地,第一类型为eMMC卡,第二类型为UFS卡。
较佳地,拨码开关与智能终端的CPU的目标GPIO引脚电连接,拨码开关处于第一位置时向目标GPIO引脚输出高电平,拨码开关处于第二位置时向目标GPIO引脚输出低电平。
本发明的积极进步效果在于:本发明可以自动识别该智能终端的存储卡的类型,从而根据该存储卡的类型自动获取对应的目标配置文件,对智能终端进行配置,以使该智能终端能够正常访问该存储卡。该方案实现了高效、准确的下载配置,提高了效率。
附图说明
图1为本发明的实施例1的智能终端的程序下载方法的流程图。
图2为本发明的实施例2的智能终端的结构示意图。
具体实施方式
下面通过实施例的方式进一步说明本发明,但并不因此将本发明限制在所述的实施例范围之中。
实施例1
本实施例提供一种智能终端的程序下载方法。该智能终端的程序下载方法用于对智能终端进行程序下载,以使该智能终端运行。参照图1,该智能终端的程序下载方法包括以下步骤:
步骤S1、编译源程序以生成分别与每一个存储卡的类型对应的配置文件。为了兼容 该智能终端可能设置的存储卡的类型,源程序包含用于兼容各种所需的存储卡的类型的配置信息。在一种可选的实施方式中,源程序包含使得该智能终端兼容eMMC卡(第一类型)的配置信息,源程序还包含使得该智能终端兼容UFS卡(第二类型)的配置信息。对该源程序进行编译之后,生成与第一类型对应的第一配置文件和与第二类型对应的第二配置文件。
在产线上的智能终端初始为裸机,没有软件,需要将软件下载到智能终端,该智能终端才能正常运行。下载时,将该智能终端与程序下载设备连接。程序下载设备可以为PC(个人电脑),该PC上安装有程序下载工具软件。下载过程中,首先将智能终端设置为下载模式。在一种可选的实施方式中,首先下载FDL1程序,将FDL1程序下载到IRAM(指令存储器)。FDL1程序是用于初始化DDR(双倍速率同步动态随机存储器)存储器的程序。下载完FDL1程序之后,智能终端的CPU(中央处理器)执行FDL1程序,并对DDR存储器进行初始化。然后将FDL2程序下载到DDR存储器中。CPU运行DDR存储器中的FDL2程序以执行步骤S2。
步骤S2、识别智能终端的存储卡标识。存储卡标识用于表征智能终端的存储卡的类型。在一种可选的实施方式中,智能终端有拨码开关,拨码开关处于第一位置时表征智能终端的存储卡的类型为第一类型,拨码开关处于第二位置时表征智能终端的存储卡的类型为第二类型。则在步骤S2中,CPU执行FDL2程序,识别拨码开关所处的位置。拨码开关处于不同的位置,则输出至CPU的对应的引脚的电平不同(例如,拨码开关处于第一位置,则输出至CPU的对应的引脚的电平为高电平,拨码开关处于第二位置,则输出至CPU的对应的引脚的电平为低电平),CPU根据该对应引脚的电平获取拨码开关所处的位置。如果拨码开关处于第一位置,则表征智能终端的存储卡的类型为第一类型;如果拨码开关处于第二位置,则表征智能终端的存储卡的类型为第二类型。
然后,CPU将智能终端的存储卡的类型对应的存储卡标识通过数据线(如USB数据线)传输至该PC。接下来,执行步骤S3。
步骤S3、获取目标配置文件。目标配置文件为与存储卡标识对应的配置文件。与第一类型对应的第一配置文件和与第二类型对应的第二配置文件均存储在该PC中。根据 配置文件的文件名以及存储卡标识,可以确定目标配置文件。如果配置文件的文件名中包括与存储卡标识对应的关键词,则以该配置文件为目标配置文件。接下来,执行步骤S4。
步骤S4、将目标配置文件下载至智能终端。PC端的程序下载工具软件将目标配置文件下载至该智能终端的程序存储区(例如,flash(闪存))。
目标配置文件下载完成后,智能终端可以开机。开机后,智能终端的CPU根据目标配置文件对存储卡进行初始化,然后即可正常访问该存储卡。
基于本实施例的智能终端的程序下载方法,可以自动识别该智能终端的存储卡,从而根据该存储卡的类型自动获取对应的目标配置文件,对智能终端进行配置,以使该智能终端能够正常访问该存储卡。该方案实现了高效、准确的下载配置,提高了效率。
在一种可选的实施方式中,源程序为单个文件,经过编译,生成多个分别与每一个存储卡的类型对应的配置文件。基于单个源程序文件,可以便于源程序维护。
实施例2
本实施例提供一种智能终端。参照图2,该智能终端有拨码开关SW,拨码开关的位置用于表征智能终端的存储卡的类型以供识别。
拨码开关SW与该智能终端的CPU的一个目标GPIO引脚电连接。拨码开关处于第一位置时向目标GPIO引脚输出高电平(目标GPIO引脚与电源VDD连接),表征智能终端的存储卡的类型为第一类型;拨码开关处于第二位置时向目标GPIO引脚输出低电平(目标GPIO引脚接地),表征智能终端的存储卡的类型为第二类型。作为一种可选的实施方式,第一类型为eMMC卡,第二类型为UFS卡。
基于本实施例的智能终端,可以便于程序下载设备识别该智能终端设置的存储卡的类型,以便下载对应的配置文件,使得该智能终端能够对该存储卡进行初始化,并进行读写访问。
在一种可选的实施方式中,如果该智能终端设置的存储卡为eMMC卡,则将拨码开关SW拨至第一位置,以表征该智能终端设置的存储卡为eMMC卡。
然后,将该智能终端与程序下载设备连接。程序下载设备可以为PC,该PC上安装 有程序下载工具软件。下载过程中,首先将智能终端设置为下载模式。在一种可选的实施方式中,首先下载FDL1程序,将FDL1程序下载到IRAM(指令存储器)。FDL1程序是用于初始化DDR存储器的程序。下载完FDL1程序之后,CPU执行FDL1程序,并对DDR存储器进行初始化。然后将FDL2程序下载到DDR存储器中。
CPU运行DDR存储器中的FDL2程序以识别智能终端的存储卡标识。存储卡标识用于表征智能终端的存储卡的类型。拨码开关SW处于第一位置,则输出至CPU的对应的目标GPIO引脚的电平为高电平,CPU根据该目标GPIO引脚的电平即可得到拨码开关所处的位置,也即存储卡的类型。如果拨码开关处于第一位置,则表征智能终端的存储卡的类型为第一类型;如果拨码开关处于第二位置,则表征智能终端的存储卡的类型为第二类型。
然后,CPU将智能终端的存储卡的类型对应的存储卡标识通过数据线(如USB数据线)传输至该PC。
接下来,根据存储卡标识获取目标配置文件。目标配置文件为与存储卡标识对应的配置文件。与第一类型对应的第一配置文件和与第二类型对应的第二配置文件均存储在该PC中。根据配置文件的文件名以及存储卡标识,可以确定目标配置文件。如果配置文件的文件名中包括与存储卡标识对应的关键词,则以该配置文件为目标配置文件。
接下来,将目标配置文件下载至智能终端。PC端的程序下载工具软件将目标配置文件下载至该智能终端的程序存储区(例如,flash(闪存))。
目标配置文件下载完成后,智能终端可以开机。开机后,智能终端的CPU根据目标配置文件对存储卡进行初始化,然后即可正常访问该存储卡。
虽然以上描述了本发明的具体实施方式,但是本领域的技术人员应当理解,这仅是举例说明,本发明的保护范围是由所附权利要求书限定的。本领域的技术人员在不背离本发明的原理和实质的前提下,可以对这些实施方式做出多种变更或修改,但这些变更和修改均落入本发明的保护范围。

Claims (10)

  1. 一种智能终端的程序下载方法,其特征在于,包括以下步骤:
    识别所述智能终端的存储卡标识,所述存储卡标识用于表征所述智能终端的存储卡的类型;
    获取目标配置文件,所述目标配置文件为与所述存储卡标识对应的配置文件;
    将所述目标配置文件下载至所述智能终端。
  2. 如权利要求1所述的智能终端的程序下载方法,其特征在于,所述智能终端有拨码开关,所述拨码开关处于第一位置时表征所述智能终端的存储卡的类型为第一类型,所述拨码开关处于第二位置时表征所述智能终端的存储卡的类型为第二类型;
    所述识别所述智能终端的存储卡标识的步骤包括:
    识别所述拨码开关所处的位置;
    则获取目标配置文件的步骤包括:
    如果所述拨码开关处于第一位置,则以所述第一类型对应的所述配置文件为所述目标配置文件;如果所述拨码开关处于第二位置,则以所述第二类型对应的所述配置文件为所述目标配置文件。
  3. 如权利要求2所述的智能终端的程序下载方法,其特征在于,所述拨码开关与所述智能终端的CPU的目标GPIO引脚电连接,所述拨码开关处于所述第一位置时向所述目标GPIO引脚输出高电平,所述拨码开关处于所述第二位置时向所述目标GPIO引脚输出低电平;
    则识别所述拨码开关所处的位置的步骤包括:
    所述CPU获取所述目标GPIO引脚的电平并根据所述电平得到所述拨码开关所处的位置。
  4. 如权利要求2所述的智能终端的程序下载方法,其特征在于,所述第一类型为eMMC卡,所述第二类型为UFS卡。
  5. 如权利要求1所述的智能终端的程序下载方法,其特征在于,所述获取目标配置文 件的步骤包括:
    如果所述配置文件的文件名中包括与所述存储卡标识对应的关键词,则以所述配置文件为所述目标配置文件。
  6. 如权利要求1所述的智能终端的程序下载方法,其特征在于,在识别所述智能终端的存储卡标识的步骤之前,所述智能终端的程序下载方法还包括以下步骤:
    编译源程序以生成分别与每一个所述存储卡的类型对应的所述配置文件,所述源程序为单个文件。
  7. 一种智能终端,其特征在于,所述智能终端设置有拨码开关,所述拨码开关的位置用于表征所述智能终端的存储卡的类型以供识别。
  8. 如权利要求7所述的智能终端,其特征在于,所述拨码开关处于第一位置时表征所述智能终端的存储卡的类型为第一类型,所述拨码开关处于第二位置时表征所述智能终端的存储卡的类型为第二类型。
  9. 如权利要求8所述的智能终端,其特征在于,所述第一类型为eMMC卡,所述第二类型为UFS卡。
  10. 如权利要求8所述的智能终端,其特征在于,所述拨码开关与所述智能终端的CPU的目标GPIO引脚电连接,所述拨码开关处于所述第一位置时向所述目标GPIO引脚输出高电平,所述拨码开关处于所述第二位置时向所述目标GPIO引脚输出低电平。
PCT/CN2021/113843 2020-08-20 2021-08-20 智能终端的程序下载方法和智能终端 Ceased WO2022037686A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US18/021,870 US12008171B2 (en) 2020-08-20 2021-08-20 Program download method for intelligent terminal with memory card identifier and intelligent terminal with memory card identifier

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010844023.6 2020-08-20
CN202010844023.6A CN111930395B (zh) 2020-08-20 2020-08-20 智能终端的程序下载方法和智能终端

Publications (1)

Publication Number Publication Date
WO2022037686A1 true WO2022037686A1 (zh) 2022-02-24

Family

ID=73304865

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/113843 Ceased WO2022037686A1 (zh) 2020-08-20 2021-08-20 智能终端的程序下载方法和智能终端

Country Status (3)

Country Link
US (1) US12008171B2 (zh)
CN (1) CN111930395B (zh)
WO (1) WO2022037686A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111930395B (zh) * 2020-08-20 2023-03-07 展讯通信(上海)有限公司 智能终端的程序下载方法和智能终端
CN113110869B (zh) * 2021-04-13 2024-07-19 深圳市合信自动化技术有限公司 一种远程下载程序同时写入代理商标识的管理系统
CN116737641B (zh) * 2023-06-26 2024-07-09 合芯科技有限公司 连接装置、四路服务器、四路服务器的初始化方法及装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130282959A1 (en) * 2012-04-23 2013-10-24 Phison Electronics Corp. System operation method and memory controller and memory storage device using the same
CN109426625A (zh) * 2017-08-30 2019-03-05 深圳市道通科技股份有限公司 一种多驱动兼容的控制装置和实现方法
CN111177068A (zh) * 2019-12-26 2020-05-19 苏州浪潮智能科技有限公司 一种高度可配硬件加速方法和装置
CN111930395A (zh) * 2020-08-20 2020-11-13 展讯通信(上海)有限公司 智能终端的程序下载方法和智能终端

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020069353A1 (en) * 2000-12-01 2002-06-06 Smith R. Doug Automated device driver installation
JP2005242691A (ja) * 2004-02-26 2005-09-08 Fujitsu Ltd プログラムダウンロード及び切替え方法及びその装置
TWI271659B (en) * 2004-05-05 2007-01-21 Prolific Technology Inc Memory card equipped with a multi-interface function and method for choosing a compatible transmission mode
US20080126628A1 (en) * 2006-11-29 2008-05-29 Sony Ericsson Mobile Communications Ab Methods, devices and computer program products for automatically providing an alternate usb configuration of a usb compliant peripheral device for exposure to a host computer
CN101344907A (zh) * 2007-07-12 2009-01-14 芯邦科技(深圳)有限公司 存储卡的量产方法和装置
US8301822B2 (en) * 2009-09-23 2012-10-30 Sandisk Il Ltd. Multi-protocol storage device bridge
CN101937349B (zh) * 2010-08-28 2015-05-13 中兴通讯股份有限公司 一种无线通信终端及其软件升级方法
CN102736859A (zh) * 2011-04-08 2012-10-17 深圳富泰宏精密工业有限公司 双存储卡控制系统及方法
US9367447B2 (en) * 2013-11-15 2016-06-14 Qualcomm Incorporated Removable memory card discrimination systems and methods
US9552318B2 (en) * 2014-06-04 2017-01-24 Qualcomm Incorporated Removable memory card type detection systems and methods
KR102371557B1 (ko) * 2015-03-20 2022-03-07 삼성전자주식회사 호스트 장치, 그것과 복수의 장치들을 갖는 호스트 시스템 및 그것의 인터페이스 링크 레이어 구성 방법
KR102528557B1 (ko) * 2016-01-12 2023-05-04 삼성전자주식회사 다중 연결 포트를 갖는 반도체 장치, 메모리 시스템의 동작 방법 및 스토리지 시스템의 통신 방법
KR102656189B1 (ko) * 2016-07-19 2024-04-11 삼성전자주식회사 직렬로 연결되는 스토리지 장치들 중 직접 연결되지 않은 스토리지 장치를 제어하도록 구성되는 전자 장치, 그것에 포함되는 스토리지 장치, 그것을 포함하는 컴퓨팅 시스템, 및 스토리지 장치의 컨트롤러의 동작 방법
WO2019094986A1 (en) * 2017-11-13 2019-05-16 Data I/O Corporation Device programming system with protocol emulation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130282959A1 (en) * 2012-04-23 2013-10-24 Phison Electronics Corp. System operation method and memory controller and memory storage device using the same
CN109426625A (zh) * 2017-08-30 2019-03-05 深圳市道通科技股份有限公司 一种多驱动兼容的控制装置和实现方法
CN111177068A (zh) * 2019-12-26 2020-05-19 苏州浪潮智能科技有限公司 一种高度可配硬件加速方法和装置
CN111930395A (zh) * 2020-08-20 2020-11-13 展讯通信(上海)有限公司 智能终端的程序下载方法和智能终端

Also Published As

Publication number Publication date
CN111930395A (zh) 2020-11-13
US20230315213A1 (en) 2023-10-05
US12008171B2 (en) 2024-06-11
CN111930395B (zh) 2023-03-07

Similar Documents

Publication Publication Date Title
CN102426531B (zh) 一种智能终端、应用程序更新系统及其更新方法
WO2022037686A1 (zh) 智能终端的程序下载方法和智能终端
US8423991B2 (en) Embedded network device and firmware upgrading method
TWI590044B (zh) 測試系統及其測試方法
CN101894028B (zh) Linux内核镜像数据支持多种CPU的实现方法及装置
CN110297726B (zh) 具有串行存在检测数据的计算机系统及内存模块控制方法
WO2018040270A1 (zh) 在Windows系统中加载Linux系统ELF文件的方法及装置
CN106484719B (zh) 一种扩展手机存储的方法及终端
WO2016078263A1 (zh) 升级控制设备、终端、终端升级方法及系统、存储介质
CN102163158A (zh) 一种系统级芯片利用nand闪存启动的方法
US20060282653A1 (en) Method for updating frimware of memory card
CN102609290B (zh) 电子产品的软件升级方法
CN102073514A (zh) 基本输入输出系统的更新方法
WO2025200577A1 (zh) 互连链路的控制方法及装置、非易失性可读存储介质及电子设备
CN105224057A (zh) 一种移动终端电池id的动态配置方法及系统
CN107220153A (zh) 一种基于uefi的计算机内存转接卡测试方法和装置
CN108052337A (zh) 一种eMMC量产工具的固件升级方法及装置
CN111857785B (zh) 一种mcu的启动方法、装置及终端设备
CN119203112A (zh) 基于多设备树文件的设备识别启动方法、装置及系统
WO2017076034A1 (zh) 一种对移动终端的存储器进行格式化的方法和装置
CN102467522B (zh) 一种基于nand闪存的文件系统的自编程方法及装置
CN114115977B (zh) Bmc镜像构建方法、系统、终端及存储介质
CN101072402A (zh) 无线终端升级的方法、终端及系统
US20060224377A1 (en) ROM emulator
US8904228B2 (en) Methods and systems for repairing memory

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

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

Country of ref document: EP

Kind code of ref document: A1