WO2014107940A1 - 嵌入式存储器的管理方法、嵌入式存储器及电子设备 - Google Patents

嵌入式存储器的管理方法、嵌入式存储器及电子设备 Download PDF

Info

Publication number
WO2014107940A1
WO2014107940A1 PCT/CN2013/075386 CN2013075386W WO2014107940A1 WO 2014107940 A1 WO2014107940 A1 WO 2014107940A1 CN 2013075386 W CN2013075386 W CN 2013075386W WO 2014107940 A1 WO2014107940 A1 WO 2014107940A1
Authority
WO
WIPO (PCT)
Prior art keywords
embedded memory
data
written
module
file system
Prior art date
Application number
PCT/CN2013/075386
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 WO2014107940A1 publication Critical patent/WO2014107940A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/654Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories

Definitions

  • the present invention relates to the field of flash memory, and in particular, to a method for managing an embedded memory, an embedded memory, and an electronic device using the same.
  • a method for managing an embedded memory includes the following steps:
  • the particular data format is a pre-set command and/or parameter.
  • the pre-set commands and/or parameters are set at the beginning of the data to be written.
  • the method further comprises the steps of:
  • the step of establishing a virtual channel for data transmission comprises:
  • the virtual file system is format data that can be recognized by the host end in a main control module preset in the embedded memory.
  • An embedded memory comprising:
  • a writing module configured to write the data to be written into the embedded memory when the specific data format is not included in the data to be written.
  • the specific data format is a preset command and/or parameter; the preset command and/or parameter is set at the beginning of the data to be written.
  • the embedded memory further includes:
  • a verification module configured to verify, when the embedded memory is powered on, whether the data of the embedded memory itself can be correctly read and written by logic
  • the virtual file system is format data that can be recognized by the host end in a main control module preset in the embedded memory.
  • the management method of the embedded memory, the embedded memory, and the electronic device detect the data to be written.
  • the data to be written is considered to be a firmware update program, which replaces the to-be-written data with the original firmware program in the embedded memory, thereby updating the firmware program of the embedded memory, so when the embedded memory is defective in the firmware program,
  • FIG. 1 is a schematic flow chart of a method for managing an embedded memory in an embodiment
  • FIG. 3 is a schematic diagram of establishing a virtual channel between an embedded memory and a host end
  • FIG. 4 is a schematic diagram showing the internal structure of an embedded memory in an embodiment
  • FIG. 5 is a schematic diagram showing the internal structure of an embedded memory in another embodiment.
  • a method for managing an embedded memory includes the following steps:
  • Step S110 detecting data to be written into the embedded memory, detecting whether the data to be written includes a specific data format, and if so, executing step S120, and if no, executing step S130.
  • the specific data format is a preset command and/or parameter.
  • the preset command and/or parameter is set at the beginning of the data to be written, so as to directly detect whether a specific data format is included at the beginning when the data to be written is detected, thereby saving time for data detection.
  • the data to be written is considered to be a firmware update program written in the embedded memory, and the original firmware program in the embedded memory is replaced by the data to be written.
  • the firmware program update to the embedded memory if the data to be written is detected to not contain a specific data format, the data to be written is considered to be normal data, and the data to be written is directly written into the embedded memory.
  • Step S120 replacing the to-be-written data with the original firmware program in the embedded memory to implement updating of the original firmware program in the embedded memory.
  • the firmware program refers to the software program that is the most basic and lowest level of the system.
  • Step S130 writing data to be written into the embedded memory.
  • the above-mentioned management method of the embedded memory detects the data to be written.
  • the embedded memory detects that the data to be written includes a special data format
  • the method for managing the embedded memory further includes the following steps:
  • step S102 when the embedded memory is powered on, it is verified whether the data of the embedded memory itself can be correctly logically read and written. If yes, the process goes to step S110, and if no, step S104 is performed.
  • Step S104 establishing a virtual channel for data transmission, and repairing the file system of the embedded memory through the virtual channel, and then proceeding to step S110.
  • the step of establishing a virtual channel for data transmission comprises: reporting a virtual file system pre-stored in the main control module of the embedded memory to the host end.
  • the virtual file system is format data that can be recognized by the host end in a main control module preset in the embedded memory.
  • a virtual channel is established between the embedded memory 10 mounted on the structure of the electronic device 20 and the host terminal 30.
  • the embedded memory 10 actively checks whether the data of itself is valid and can be correctly read and written by logic. If the data cannot be read and written by the correct logic, the file system of the embedded memory 10 is considered to be damaged and embedded.
  • the memory 10 uploads the pre-stored format data to the host terminal 30. After the host terminal 30 recognizes the format data, the embedded memory 10 is considered to be a device capable of correctly reading and writing logically, thereby being on the host side 30 and the embedded memory.
  • a virtual channel for data transfer is established between 10.
  • the host terminal 30 writes new file system data, commands, and parameters into the embedded memory, and repairs the file system of the embedded memory.
  • the management method of the embedded memory is configured to preset format data of a predetermined rule in the main control module of the embedded memory, and when the embedded memory is powered on, actively verify whether the data of the self is valid and can be correctly logically read. Write, if not, automatically report the above format data to the host. After the host recognizes the format data, the embedded memory is considered to be a device that can correctly read and write logically, that is, in the embedded memory. A virtual channel for data transmission is established between the host and the host, so that new file system data and commands and parameters can be written into the embedded memory to implement repair of the embedded memory file system.
  • the embedded memory can be changed from a non-readable and writable device to a readable and writable device, so that the firmware program can be updated or filed without being detached from the applied electronic device. System repair and other operations.
  • an embedded memory 10 includes a detection module 110, an update module 120, and a write module 130. among them:
  • the detecting module 110 is configured to detect data to be written into the embedded memory, and detect whether the data to be written includes a specific data format.
  • the specific data format is a preset command and/or parameter.
  • the preset command and/or parameter is set at the beginning of the data to be written, so as to directly detect whether a specific data format is included at the beginning when the data to be written is detected, thereby saving time for data detection.
  • the update module 120 is configured to: when the specific data is included in the data to be written, consider that the data to be written is a firmware update program written in the embedded memory, and replace the data to be written in the embedded memory.
  • the firmware program to implement an update to the original firmware program in the embedded memory.
  • the detecting module 110 detects the data to be written.
  • the update module 120 considers that the data to be written is a firmware update program, and then The to-be-written data replaces the original firmware program in the embedded memory, thereby updating the firmware program of the embedded memory, so when the firmware program needs to be updated when the firmware program is in need of updating, the embedded terminal can be directly connected to the host for updating. It does not need to be detached from the applied electronic device, and the external card reader is connected to the host terminal for firmware program update, which is convenient to operate and does not damage the electronic device.
  • the embedded memory further includes a verification module 140, a channel establishment module 150, and a repair module 160. among them:
  • the verification module 140 is configured to verify whether the data of the embedded memory itself is correctly logically read and written when the embedded memory is powered on.
  • the channel establishment module 150 is configured to establish a virtual channel for data transmission. Specifically, the channel establishing module 150 is further configured to report the virtual file system pre-stored in the main control module of the embedded memory to the host end.
  • the virtual file system is format data that is pre-set in the main control module of the embedded memory and can be recognized by the host.
  • a virtual channel is established between the embedded memory 10 mounted on the structure of the electronic device 20 and the host terminal 30.
  • the embedded memory 10 actively checks whether the data of itself is valid and can be correctly read and written by logic. If the data cannot be read and written by logic, the file system of the embedded memory 10 is considered to be damaged.
  • the memory 10 uploads the pre-stored format data to the host terminal 30. After the host terminal 30 recognizes the format data, the embedded memory 10 is considered to be a device that can correctly read and write logically, so that the host terminal 30 and the embedded memory 10 are A virtual channel for data transfer is established between them.
  • the repair module 160 is configured to repair the file system of the embedded memory through the virtual channel. According to the virtual channel, the host side writes new file system data, commands, and parameters into the embedded memory, and the repair module 160 repairs the file system of the embedded memory.
  • the detecting module 110 is further configured to detect data to be written into the embedded memory when verifying that the data of the embedded memory itself can be correctly read and written by the logic or when repairing the file system of the embedded memory.
  • the embedded memory can be EMMC or TSD.
  • the present invention also provides an electronic device.
  • the electronic device includes an embedded memory as described above.
  • Electronic devices can be mobile phones, digital cameras, learning machines, tablets, and the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

本发明涉及一种嵌入式存储器的管理方法、嵌入式存储器和电子设备。所述嵌入式存储器的管理方法包括:对待写入嵌入式存储器的数据进行检测,检测待写入数据是否包含特定的数据格式;若是,将所述待写入数据替换所述嵌入式存储器中原有的固件程序,以实现对所述嵌入式存储器中原有的固件程序的更新;若否,将待写入数据写入所述嵌入式存储器。上述嵌入式存储器的管理方法、嵌入式存储器和电子设备,对待写入数据进行检测,当嵌入式存储器在固件程序存在缺陷需要更新时可以直接进行更新,而不需要从电子设备上拆卸下来,外接读卡器,再连接到主机端进行固件程序更新,操作简单,且不会损坏电子设备。

Description

嵌入式存储器的管理方法、嵌入式存储器及电子设备
【技术领域】
本发明涉及闪存领域,特别是涉及一种嵌入式存储器的管理方法、嵌入式存储器及其采用该嵌入式存储器的电子设备。
【背景技术】
传统的嵌入式存储器,如EMMC(Embedded MultiMedia Card,嵌入式多媒体卡)或TSD(TSOP Secure Digital Memory Card,TSOP封装SD卡)等,在使用时都内嵌在如手机、数码相机、学习机等电子设备的内部结构上,当该嵌入式存储器的固件程序或者文件系统程序存在缺陷需要升级或者该嵌入式存储器的固件程序或者文件系统损坏时,由于该嵌入式存储器所应用的电子设备识别不到该嵌入式存储器,无法传输命令,进行数据读写,因此必须把该嵌入式存储器从该电子设备的内部结构上拆解下来,通过读卡器连接到主机端进行固件程序的升级或者重新量产修复文件系统之后,该嵌入式存储器才能够继续使用,这个过程十分繁琐,且从该电子设备的内部结构上将该嵌入式存储器拆解下来,这必将对该嵌入式存储器所应用的电子设备造成硬件上的损坏。
【发明内容】
基于此,有必要针对传统的已嵌入在电子设备上使用的嵌入式存储设备使用时固件升级操作困难或文件系统或固件程序损坏时修复操作困难的问题,提供一种操作简单的嵌入式存储器的管理方法。
此外,还有必要提供一种操作简单的嵌入式存储器。
此外,还有必要提供一种包含上述嵌入式存储器的电子设备。
一种嵌入式存储器的管理方法,包括如下步骤:
对待写入嵌入式存储器的数据进行检测,检测待写入数据是否包含特定的数据格式;
若是,则将所述待写入数据替换所述嵌入式存储器中原有的固件程序,以实现对所述嵌入式存储器中原有的固件程序的更新;
若否,则将待写入数据写入所述嵌入式存储器。
在其中一个实施例中,所述特定的数据格式为预先设置的命令和/或参数。
在其中一个实施例中,所述预先设置的命令和/或参数设置在所述待写入数据的开头。
在其中一个实施例中,所述方法还包括步骤:
在所述嵌入式存储器上电时,校验所述嵌入式存储器自身的数据是否可正确逻辑读写,若是,进入对待写入嵌入式存储器的数据进行检测的步骤;
若否,则建立数据传输的虚拟通道,并通过所述虚拟通道修复所述嵌入式存储器的文件系统,然后再进入对待写入嵌入式存储器的数据进行检测的步骤。
在其中一个实施例中,所述建立数据传输的虚拟通道的步骤包括:
上报预先存储在所述嵌入式存储器的主控模块中的虚拟的文件系统到主机端;
其中,所述虚拟的文件系统为预先设置在嵌入式存储器的主控模块中的可被主机端识别的格式数据。
一种嵌入式存储器,包括:
检测模块,用于对待写入嵌入式存储器的数据进行检测,检测待写入数据是否包含特定的数据格式;
更新模块,用于在所述待写入数据中包含特定的数据格式时,将所述待写入数据替换所述嵌入式存储器中原有的固件程序,以实现对所述嵌入式存储器中原有的固件程序的更新;
写入模块,用于在所述待写入数据中不包含特定的数据格式时,将待写入数据写入所述嵌入式存储器。
在其中一个实施例中,所述特定的数据格式为预先设置的命令和/或参数;所述预先设置的命令和/或参数设置在所述待写入数据的开头。
在其中一个实施例中,所述嵌入式存储器还包括:
校验模块,用于在所述嵌入式存储器上电时,校验所述嵌入式存储器自身的数据是否可正确逻辑读写;
通道建立模块,用于建立数据传输的虚拟通道;
修复模块,用于通过所述虚拟通道修复所述嵌入式存储器的文件系统;
所述检测模块还用于在校验所述嵌入式存储器自身的数据可正确逻辑读写时,或者在修复了所述嵌入式存储器的文件系统时,对待写入嵌入式存储器的数据进行检测。
在其中一个实施例中,所述通道建立模块还用于上报预先存储在所述嵌入式存储器的主控模块中的虚拟的文件系统到主机端,以在主机端与所述嵌入式存储器之间建立数据传输的虚拟通道;
其中,所述虚拟的文件系统为预先设置在嵌入式存储器的主控模块中的可被主机端识别的格式数据。
一种电子设备,包括上述嵌入式存储器。
上述嵌入式存储器的管理方法、嵌入式存储器和电子设备,对待写入数据进行检测,当所述嵌入式存储器检测到待写入数据中包含特殊的数据格式时,认为所述待写入数据为固件更新程序,则将所述待写入数据替换所述嵌入式存储器中原有的固件程序,从而对所述嵌入式存储器的固件程序进行更新,因此当所述嵌入式存储器在固件程序存在缺陷需要更新时可以直接连接主机端进行更新,而不需要从所应用的电子设备上拆卸下来,外接读卡器,再连接到主机端进行固件程序更新,操作简单,且不会损坏电子设备。
【附图说明】
图1为一个实施例中嵌入式存储器的管理方法的流程示意图;
图2为另一个实施例中嵌入式存储器的管理方法的流程示意图;
图3为嵌入式存储器与主机端建立虚拟通道的示意图;
图4为一个实施例中嵌入式存储器的内部结构示意图;
图5为另一个实施例中嵌入式存储器的内部结构示意图。
【具体实施方式】
下面结合具体的实施例及附图对嵌入式存储器的管理方法、嵌入式存储器和电子设备的技术方案进行详细的描述,以使其更加清楚。
如图1所示,在一个实施例中,一种嵌入式存储器的管理方法,包括如下步骤:
步骤S110,对待写入嵌入式存储器的数据进行检测,检测待写入数据是否包含特定的数据格式,若是,执行步骤S120,若否,执行步骤S130。
具体的,特定的数据格式为预先设置的命令和/或参数。该预先设置的命令和/或参数设置在待写入数据的开头,以便于对待写入数据检测时,直接检测开头是否包含特定的数据格式,从而节省数据检测的时间。
若检测待写入数据中包含特定的数据格式,则认为该待写入数据是写入该嵌入式存储器的固件更新程序,则将待写入数据替换该嵌入式存储器中原有的固件程序,实现对嵌入式存储器的固件程序更新;若检测待写入数据中不包含特定的数据格式,则认为该待写入数据是普通数据,直接将待写入数据写入该嵌入式存储器中。
步骤S120,将该待写入数据替换该嵌入式存储器中原有的固件程序,以实现对所述嵌入式存储器中原有的固件程序的更新。
固件程序是指担任系统最基础、最底层工作的软件程序。
步骤S130,将待写入数据写入该嵌入式存储器。
上述嵌入式存储器的管理方法,对待写入数据进行检测,当所述嵌入式存储器检测到待写入数据中包含特殊的数据格式时,认为所述待写入数据为固件更新程序,则将所述待写入数据替换所述嵌入式存储器中原有的固件程序,从而对所述嵌入式存储器的固件程序进行更新,因此当所述嵌入式存储器在固件程序存在缺陷需要更新时可以直接连接主机端进行更新,而不需要从所应用的电子设备上拆卸下来,外接读卡器,再连接到主机端进行固件程序更新,操作方便,且不会损坏电子设备。
如图2所示,在一个实施例中,上述嵌入式存储器的管理方法,在步骤S110之前,还包括步骤:
步骤S102,在嵌入式存储器上电时,校验该嵌入式存储器自身的数据是否可正确逻辑读写,若是,进入步骤S110,若否,执行步骤S104。
步骤S104,建立数据传输的虚拟通道,并通过该虚拟通道修复该嵌入式存储器的文件系统,然后再进入步骤S110。
具体的,建立数据传输的虚拟通道的步骤包括:上报预先存储在所述嵌入式存储器的主控模块中的虚拟的文件系统到主机端。其中,所述虚拟的文件系统为预先设置在嵌入式存储器的主控模块中的可被主机端识别的格式数据。
如图3所示,安装在电子设备20结构上的嵌入式存储器10与主机端30之间建立虚拟通道。当嵌入式存储器10上电时,嵌入式存储器10主动校验自身的数据是否有效且可正确逻辑读写,若自身数据不能被正确逻辑读写,则认为嵌入式存储器10的文件系统损坏,嵌入式存储器10将预先存储的格式数据上传到主机端30,主机端30识别该格式数据后,则认为该嵌入式存储器10是一个可正确逻辑读写的设备,从而在主机端30与嵌入式存储器10之间建立了数据传输的虚拟通道。
根据该虚拟通道,主机端30将新的文件系统数据、命令、参数写入到该嵌入式存储器中,修复了嵌入式存储器的文件系统。
上述嵌入式存储器的管理方法,预先在所述嵌入式存储器的主控模块中设置预定规则的格式数据,在所述嵌入式存储器上电时,主动校验自身的数据是否有效且可以正确逻辑读写的,如果不是,则自动上报上述格式数据给主机端,主机端识别到所述格式数据之后,会认为所述嵌入式存储器是一个可以正确逻辑读写的设备,即在所述嵌入式存储器和主机端之间建立了一条数据传输的虚拟通道,从而能够将新的文件系统数据以及命令和参数写入所述嵌入式存储器,实现对所述嵌入式存储器文件系统的修复。通过上述方法,所述嵌入式存储器能够从一个不可读写的设备变成一个可读写的设备,从而能够在不从所应用的电子设备拆卸下来的情况下,实现自身固件程序的更新或者文件系统的修复等操作。
如图4所示,在一个实施例中,一种嵌入式存储器10,包括检测模块110、更新模块120和写入模块130。其中:
检测模块110,用于对待写入嵌入式存储器的数据进行检测,检测待写入数据是否包含特定的数据格式。
具体的,特定的数据格式为预先设置的命令和/或参数。该预先设置的命令和/或参数设置在待写入数据的开头,以便于对待写入数据检测时,直接检测开头是否包含特定的数据格式,从而节省数据检测的时间。
更新模块120,用于在该待写入数据中包含特定的格式时,认为该待写入数据是写入该嵌入式存储器的固件更新程序,将该待写入数据替换该嵌入式存储器中原有的固件程序,以实现对该嵌入式存储器中原有的固件程序的更新。
写入模块130,用于在该待写入数据中不包含特定的格式时,认为该待写入数据是普通数据,将待写入数据写入该嵌入式存储器。
上述嵌入式存储器,检测模块110对待写入数据进行检测,当该嵌入式存储器检测到待写入数据中包含特殊的数据格式时,更新模块120认为该待写入数据为固件更新程序,则将该待写入数据替换该嵌入式存储器中原有的固件程序,从而对该嵌入式存储器的固件程序进行更新,因此当该嵌入式存储器在固件程序存在缺陷需要更新时可以直接连接主机端进行更新,而不需要从所应用的电子设备上拆卸下来,外接读卡器,再连接到主机端进行固件程序更新,操作方便,且不会损坏电子设备。
如图5所示,在一个实施例中,上述嵌入式存储器还包括校验模块140、通道建立模块150和修复模块160。其中:
校验模块140,用于在该嵌入式存储器上电时,校验该嵌入式存储器自身的数据是否可正确逻辑读写。
通道建立模块150,用于建立数据传输的虚拟通道。具体的,通道建立模块150还用于上报预先存储在该嵌入式存储器的主控模块中的虚拟的文件系统到主机端。其中,该虚拟的文件系统为预先设置在嵌入式存储器的主控模块中的可被主机端识别的格式数据。
如图3所示,安装在电子设备20结构上的嵌入式存储器10与主机端30之间建立虚拟通道。当嵌入式存储器10上电时,嵌入式存储器10主动校验自身的数据是否有效且可正确逻辑读写,若自身数据不能被逻辑读写,则认为嵌入式存储器10的文件系统损坏,嵌入式存储器10将预先存储的格式数据上传到主机端30,主机端30识别该格式数据后,则认为该嵌入式存储器10是一个可正确逻辑读写的设备,从而在主机端30与嵌入式存储器10之间建立了数据传输的虚拟通道。
修复模块160,用于通过该虚拟通道修复该嵌入式存储器的文件系统。根据该虚拟通道,主机端将新的文件系统数据、命令、参数写入到该嵌入式存储器中,修复模块160修复了嵌入式存储器的文件系统。
检测模块110还用于在校验该嵌入式存储器自身的数据可正确逻辑读写时,或者在修复了该嵌入式存储器的文件系统时,对待写入嵌入式存储器的数据进行检测。
嵌入式存储器可为EMMC或TSD。
本发明还提供了一种电子设备。该电子设备包括如上描述的嵌入式存储器。电子设备可为手机、数码相机、学习机、平板电脑等。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或其他存储记忆体等。
以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。

Claims (10)

  1. 一种嵌入式存储器的管理方法,包括如下步骤:
    对待写入嵌入式存储器的数据进行检测,检测待写入数据是否包含特定的数据格式;
    若是,则将所述待写入数据替换所述嵌入式存储器中原有的固件程序,以实现对所述嵌入式存储器中原有的固件程序的更新;
    若否,则将待写入数据写入所述嵌入式存储器。
  2. 根据权利要求1所述的嵌入式存储器的管理方法,其特征在于,所述特定的数据格式为预先设置的命令和/或参数。
  3. 根据权利要求2所述的嵌入式存储器的管理方法,其特征在于,所述预先设置的命令和/或参数设置在所述待写入数据的开头。
  4. 根据权利要求1所述的嵌入式存储器的管理方法,其特征在于,所述方法还包括步骤:
    在所述嵌入式存储器上电时,校验所述嵌入式存储器自身的数据是否可正确逻辑读写,若是,进入对待写入嵌入式存储器的数据进行检测的步骤;
    若否,则建立数据传输的虚拟通道,并通过所述虚拟通道修复所述嵌入式存储器的文件系统,然后再进入对待写入嵌入式存储器的数据进行检测的步骤。
  5. 根据权利要求4所述的嵌入式存储器的管理方法,其特征在于,所述建立数据传输的虚拟通道的步骤包括:
    上报预先存储在所述嵌入式存储器的主控模块中的虚拟的文件系统到主机端;
    其中,所述虚拟的文件系统为预先设置在嵌入式存储器的主控模块中的可被主机端识别的格式数据。
  6. 一种嵌入式存储器,其特征在于,包括:
    检测模块,用于对待写入嵌入式存储器的数据进行检测,检测待写入数据是否包含特定的数据格式;
    更新模块,用于在所述待写入数据中包含特定的数据格式时,将所述待写入数据替换所述嵌入式存储器中原有的固件程序,以实现对所述嵌入式存储器中原有的固件程序的更新;
    写入模块,用于在所述待写入数据中不包含特定的数据格式时,将待写入数据写入所述嵌入式存储器。
  7. 根据权利要求6所述的嵌入式存储器,其特征在于,所述特定的数据格式为预先设置的命令和/或参数;所述预先设置的命令和/或参数设置在所述待写入数据的开头。
  8. 根据权利要求6所述的嵌入式存储器,其特征在于,所述嵌入式存储器还包括:
    校验模块,用于在所述嵌入式存储器上电时,校验所述嵌入式存储器自身的数据是否可正确逻辑读写;
    通道建立模块,用于建立数据传输的虚拟通道;
    修复模块,用于通过所述虚拟通道修复所述嵌入式存储器的文件系统;
    所述检测模块还用于在校验所述嵌入式存储器自身的数据可正确逻辑读写时,或者在修复了所述嵌入式存储器的文件系统时,对待写入嵌入式存储器的数据进行检测。
  9. 根据权利要求8所述的嵌入式存储器,其特征在于,所述通道建立模块还用于上报预先存储在所述嵌入式存储器的主控模块中的虚拟的文件系统到主机端,以在所述主机端与所述嵌入式存储器之间建立数据传输的虚拟通道;
    其中,所述虚拟的文件系统为预先设置在嵌入式存储器的主控模块中的可被主机端识别的格式数据。
  10. 一种电子设备,其特征在于,包括如权利要求6至9中任一项所述的所述嵌入式存储器。
PCT/CN2013/075386 2013-01-11 2013-05-09 嵌入式存储器的管理方法、嵌入式存储器及电子设备 WO2014107940A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310010956.5 2013-01-11
CN201310010956.5A CN103135941B (zh) 2013-01-11 2013-01-11 嵌入式存储器的管理方法、嵌入式存储器及电子设备

Publications (1)

Publication Number Publication Date
WO2014107940A1 true WO2014107940A1 (zh) 2014-07-17

Family

ID=48495823

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/075386 WO2014107940A1 (zh) 2013-01-11 2013-05-09 嵌入式存储器的管理方法、嵌入式存储器及电子设备

Country Status (2)

Country Link
CN (1) CN103135941B (zh)
WO (1) WO2014107940A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110597674A (zh) * 2019-08-05 2019-12-20 天津华来科技有限公司 一种存储器检测方法、装置、录像系统及存储介质
CN111930397A (zh) * 2020-07-15 2020-11-13 深圳市瑞驰信息技术有限公司 一种基于eMMC的EXT4文件系统固件升级方法
CN113867630A (zh) * 2021-09-10 2021-12-31 长沙市致存科技有限责任公司 存储器的数据批量写入方法、装置、终端设备及存储介质

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103514054B (zh) * 2013-09-10 2016-05-04 深圳市江波龙电子有限公司 嵌入式存储器的修复方法和系统、电子设备
CN105809229B (zh) * 2014-12-31 2018-08-03 深圳市硅格半导体有限公司 存储卡及存储卡量产系统
CN105988828A (zh) * 2015-01-30 2016-10-05 深圳市硅格半导体有限公司 固件更新系统及方法
CN106970778B (zh) * 2017-03-20 2020-06-12 中国科学院长春光学精密机械与物理研究所 一种基于fpga的嵌入式设备的在线配置方法及系统
CN110289039B (zh) * 2018-03-19 2021-07-27 北京兆易创新科技股份有限公司 一种eMMC的调试方法和装置
CN111159123B (zh) * 2019-12-30 2023-07-14 中国兵器装备集团自动化研究所 一种嵌入式可靠参数储存文件系统及方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1536481A (zh) * 2003-04-09 2004-10-13 英业达股份有限公司 更新闪存存储器内容的装置及方法
JP2009080534A (ja) * 2007-09-25 2009-04-16 Funai Electric Co Ltd 組み込みシステム、組み込みシステムの更新データ更新方法、及び録画再生装置
CN101477471A (zh) * 2009-01-07 2009-07-08 杭州海康威视数字技术股份有限公司 一种嵌入式系统固件在线升级方法
CN102650949A (zh) * 2012-04-24 2012-08-29 深圳创维数字技术股份有限公司 一种存储设备的固件升级的方法及装置

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1328662C (zh) * 2003-09-28 2007-07-25 中兴通讯股份有限公司 嵌入式计算机系统中的嵌入式文件系统的容错处理方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1536481A (zh) * 2003-04-09 2004-10-13 英业达股份有限公司 更新闪存存储器内容的装置及方法
JP2009080534A (ja) * 2007-09-25 2009-04-16 Funai Electric Co Ltd 組み込みシステム、組み込みシステムの更新データ更新方法、及び録画再生装置
CN101477471A (zh) * 2009-01-07 2009-07-08 杭州海康威视数字技术股份有限公司 一种嵌入式系统固件在线升级方法
CN102650949A (zh) * 2012-04-24 2012-08-29 深圳创维数字技术股份有限公司 一种存储设备的固件升级的方法及装置

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110597674A (zh) * 2019-08-05 2019-12-20 天津华来科技有限公司 一种存储器检测方法、装置、录像系统及存储介质
CN110597674B (zh) * 2019-08-05 2023-08-22 天津华来科技股份有限公司 一种存储器检测方法、装置、录像系统及存储介质
CN111930397A (zh) * 2020-07-15 2020-11-13 深圳市瑞驰信息技术有限公司 一种基于eMMC的EXT4文件系统固件升级方法
CN113867630A (zh) * 2021-09-10 2021-12-31 长沙市致存科技有限责任公司 存储器的数据批量写入方法、装置、终端设备及存储介质

Also Published As

Publication number Publication date
CN103135941B (zh) 2016-08-17
CN103135941A (zh) 2013-06-05

Similar Documents

Publication Publication Date Title
WO2014107940A1 (zh) 嵌入式存储器的管理方法、嵌入式存储器及电子设备
WO2013149460A1 (zh) 一种Android手持设备连续增量的空中升级方法
TWI406290B (zh) 一種字元線缺陷之偵測裝置與方法
WO2017177769A1 (zh) Ogg 版本部署方法、系统、服务器和存储介质
WO2013174169A1 (zh) 一种Android移动终端的电容屏固件升级的方法
WO2013133530A1 (en) Electronic device to restore mbr, method thereof, and computer-readable medium
WO2013048023A2 (ko) 플래시 메모리에 기반한 ssd에서의 전원-손실 복구 방법 및 장치
CN1834915A (zh) 在计算机服务器系统中更新固件的方法
WO2012119446A1 (zh) 一种内存监控方法及装置
TW201308080A (zh) 記憶體儲存裝置、記憶體控制器與資料寫入方法
WO2018090759A1 (zh) 一种系统启动文件的校验及编译方法
TW201508748A (zh) 資料寫入方法、記憶體控制電路單元與記憶體儲存裝置
WO2020093538A1 (zh) 显示面板中存储器的保护电路及显示装置
TW201734793A (zh) 記憶體管理方法、記憶體控制電路單元與記憶體儲存裝置
WO2020093529A1 (zh) 显示面板中存储器的保护电路及显示面板
WO2013189212A1 (zh) 一种控制存储设备内非最低有效位页使用的方法及装置
WO2015152648A1 (ko) 영상 사고 기록 장치의 저장 공간에 버퍼를 이용하여 파일을 관리하는 장치 및 방법
WO2018171570A1 (zh) 一种终端开机过程的驱动程序加载方法及终端设备
TW202006535A (zh) 韌體更新方法
WO2014139204A1 (zh) 一种闪存存储设备中数据管理的方法及装置
WO2005111809A1 (ja) ファイル管理装置、ファイル管理方法、ファイル管理プログラム及びファイル管理プログラムを記録したコンピュータ読み取り可能な記録媒体
JP2014006772A (ja) 故障監視型通信機器、通信機器用故障監視記録方法、及びそのプログラム
CN106775590A (zh) 一种bmc更新主板bios固件的方法
TW201710898A (zh) 內部資料搬移方法以及使用該方法的裝置
WO2013042972A2 (ko) 바이패스 경로를 이용하여 신뢰성 검증을 할 수 있는 플래시 메모리 저장 장치, 및 이를 이용한 플래시 메모리 저장 장치의 신뢰성 검증 시스템 및 방법

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 17/09/2015)

122 Ep: pct application non-entry in european phase

Ref document number: 13871166

Country of ref document: EP

Kind code of ref document: A1