CN114063913A - Emmc分区存储方法及结构 - Google Patents

Emmc分区存储方法及结构 Download PDF

Info

Publication number
CN114063913A
CN114063913A CN202111294318.1A CN202111294318A CN114063913A CN 114063913 A CN114063913 A CN 114063913A CN 202111294318 A CN202111294318 A CN 202111294318A CN 114063913 A CN114063913 A CN 114063913A
Authority
CN
China
Prior art keywords
emmc
resources
mirror image
boot
starting
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.)
Granted
Application number
CN202111294318.1A
Other languages
English (en)
Other versions
CN114063913B (zh
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.)
Dongfeng Motor Group Co Ltd
Original Assignee
Dongfeng Motor Group 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 Dongfeng Motor Group Co Ltd filed Critical Dongfeng Motor Group Co Ltd
Priority to CN202111294318.1A priority Critical patent/CN114063913B/zh
Publication of CN114063913A publication Critical patent/CN114063913A/zh
Application granted granted Critical
Publication of CN114063913B publication Critical patent/CN114063913B/zh
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0614Improving the reliability of storage systems
    • G06F3/0617Improving the reliability of storage systems in relation to availability
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/0644Management of space entities, e.g. partitions, extents, pools
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0662Virtualisation aspects
    • G06F3/0665Virtualisation aspects at area level, e.g. provisioning of virtual or logical volumes

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

本发明提供了一种EMMC分区存储方法及结构,使用第一EMMC和第二EMMC;其中:第一EMMC用于存储车机系统的非启动相关的镜像资源;第二EMMC用于存储车机系统的启动引导相关的GPT分区表和启动镜像、仪表系统的镜像资源、以及与虚拟化和系统引导相关资源。本发明将涉及启动、安全相关的重要镜像单独存储在一片EMMC上,增加了两个系统系统运行的可靠性;同时仪表系统和启动引导镜像独立存储,可减少仪表系统运行故障率,进一步提高了仪表系统的可靠性。

Description

EMMC分区存储方法及结构
技术领域
本发明属于存储介质技术领域,具体涉及一种EMMC分区存储方法及结构。
背景技术
现有的车载域控制器方案,主要分为硬隔离和虚拟化两种方案;这两种方案都是在一片SOC(片上系统)上同时运行两个系统,分别为车机系统IVI和仪表系统CLU。前者是以芯片厂家NXP/TELECHIPS为代表的硬件方案,在SOC硬件设计之初,就将资源分配给做好了,其中EMMC(Embedded Multi Media Card,嵌入式多媒体卡)存储介质资源在这个阶段也分好了,EMMC0与EMMC1分别独立运行一个操作系统,在逻辑上,这两个操作系统的物理资源是完全独立的,互不干扰。而后者是以几个开源的方案为代表的软件虚拟化方案,通过软件设计,在系统启动之初,将硬件资源做虚拟化处理;其中EMMC存储介质的虚拟化处理方式,一般都是在一片EMMC0的基础上,虚拟化映射出来一片“EMMC1”,EMMC0来存储主操作系统以及引导分区镜像,“EMMC1”用来存储第二个操作系统;其分区方式也与硬隔离方案类似,两个操作系统的相关镜像,都分别存储于这两个EMMC0和“EMMC1”上,物理上其实是存储在一片EMMC上。
前者方案为芯片厂家独有的方案,依赖芯片的物理架构,无法通过客制化的软件来灵活适配;启动分区放在EMMC0上,此EMMC0存储的是IVI系统,其中的data分区为用户数据存储分区。而后者方案的系统镜像资源全部存储在一片物理的EMMC上,中控系统是Android的操作系统,其数据分区作为用户存储区域。由于用户数据存储区域需要频繁读写操作,故无论前者还是后者,一旦出现读写异常,即EMMC的扇区损坏,EMMC0将不可用,且启动分区异常后,两个操作系统运行都将异常。
发明内容
本发明的目的在于,提供一种EMMC分区存储方法及结构,基于虚拟化方案,使用双EMMC硬件架构,增加系统启动的可靠性。
为实现上述目的,本发明提供了一种EMMC分区存储方法,包括第一EMMC和第二EMMC;其中:
第一EMMC用于存储车机系统的非启动相关的镜像资源;
第二EMMC用于存储车机系统的启动引导相关的GPT分区表和启动镜像、仪表系统的镜像资源、以及与虚拟化和系统引导相关资源。
本发明还提供一种EMMC分区存储结构,包括第一EMMC和第二EMMC;其中:
第一EMMC存储车机系统的非启动相关的镜像资源;
第二EMMC存储车机系统的启动引导相关的GPT分区表和启动镜像、仪表系统的镜像资源、以及与虚拟化和系统引导相关资源。
本发明与现有技术相比,具有以下优点及有益效果:
本发明将涉及启动、安全相关的重要镜像单独存储在一片EMMC上,增加了两个系统系统运行的可靠性;同时仪表系统和启动引导镜像独立存储,可减少仪表系统运行故障率,进一步提高了仪表系统的可靠性。
附图说明
图1为EMMC分区存储示意图。
具体实施方式
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。此外,下面所描述的本发明各个实施方式中所涉及到的技术特征只要彼此之间未构成冲突就可以相互组合。
本发明基于虚拟化方案,增加一片EMMC存储介质,将仪表系统和启动引导镜像独立存储,可减少仪表系统运行故障率,同时提升两个系统的启动可靠性。该方案为优化方案,主要优化了虚拟化方案中的系统存储分配方式,从现有的按系统不同划分存储介质区域,改为按重要性划分存储介质区域。
本发明基于虚拟化的方案,使用双EMMC硬件架构,将两个系统的镜像资源分开存储,可分别增加两个系统启动的可靠性。具体地,如图1所示,EMMC0用来存储车机系统的镜像资源,EMMC1用来存储仪表系统的镜像资源,以及车机系统的启动引导相关的GPT分区表和bootloader镜像,同时将虚拟化(Hypervisor)相关的分区表,如Pri-GPT,Misc分区,Bootloader引导镜像都放置于EMMC1。
EMMC1存储三个部分镜像:
第一部分:虚拟化与系统引导相关,如Pri-GPT主分区表,主要来标识EMMC0/EMMC1的分区信息,Bootloader镜像用来引导Hypervisor,Hypervisor镜像用来创建虚拟化的环境,Misc镜像用来存储启动的状态信息。本发明将启动引导相关的重要镜像,存储在EMMC1,其读写数据频率不高,仅在上电启动时才会有读写操作,增加了仪表系统的启动可靠性。
第二部分是仪表系统,包含仪表系统的分区表GPT(GUID Partition Table,全局唯一标识分区表,简称分区表),仪表系统自己的启动镜像Bootloader,设备树DTB,内核kernel,系统system等等镜像;
第三部分是车机系统的部分镜像,包含启动镜像Bootloader,以及分区表GPT。
EMMC0存储的是车机系统的非启动相关的镜像资源,包含内核boot,系统system,用户数据data,导航Inand,多媒体media,图库资源gallery等等。
由于仪表系统,对EMMC1的读写操作较少,将两个系统所有跟启动引导相关的镜像均放置在EMMC1,可很好的提升两个系统的启动可靠性;另外一方面,车机系统的用户数据交互频繁,EMMC0存储区域的读写频率高,读写异常引发的扇区损坏会导致中控系统运行异常,但是由于本发明的仪表系统是在EMMC1,仪表系统是不受影响的,也进一步提高了仪表系统的可靠性。
本领域的技术人员容易理解,以上仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。

Claims (2)

1.一种EMMC分区存储方法,其特征在于,包括第一EMMC和第二EMMC;其中:
第一EMMC用于存储车机系统的非启动相关的镜像资源;
第二EMMC用于存储车机系统的启动引导相关的GPT分区表和启动镜像、仪表系统的镜像资源、以及与虚拟化和系统引导相关资源。
2.一种EMMC分区存储结构,其特征在于,包括第一EMMC和第二EMMC;其中:
第一EMMC存储车机系统的非启动相关的镜像资源;
第二EMMC存储车机系统的启动引导相关的GPT分区表和启动镜像、仪表系统的镜像资源、以及与虚拟化和系统引导相关资源。
CN202111294318.1A 2021-11-03 2021-11-03 Emmc分区存储方法及结构 Active CN114063913B (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111294318.1A CN114063913B (zh) 2021-11-03 2021-11-03 Emmc分区存储方法及结构

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111294318.1A CN114063913B (zh) 2021-11-03 2021-11-03 Emmc分区存储方法及结构

Publications (2)

Publication Number Publication Date
CN114063913A true CN114063913A (zh) 2022-02-18
CN114063913B CN114063913B (zh) 2024-07-12

Family

ID=80273620

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111294318.1A Active CN114063913B (zh) 2021-11-03 2021-11-03 Emmc分区存储方法及结构

Country Status (1)

Country Link
CN (1) CN114063913B (zh)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040215952A1 (en) * 2003-04-24 2004-10-28 Fujitsu Limited Apparatus, method and recording medium for starting up data processing system
US20090113423A1 (en) * 2007-10-31 2009-04-30 Vmware, Inc. Interchangeable Guest and Host Execution Environments
US20140281450A1 (en) * 2013-03-14 2014-09-18 International Business Machines Corporation Live initialization of a boot device
CN104615387A (zh) * 2015-03-10 2015-05-13 株洲南车时代电气股份有限公司 基于xpe系统的车载设备及其设计方法
CN104751062A (zh) * 2013-12-31 2015-07-01 研祥智能科技股份有限公司 一种提高操作系统可靠性的方法及装置
US20180046399A1 (en) * 2015-04-03 2018-02-15 Huawei Technologies Co., Ltd. Storage Partitioning Method and Terminal
CN110413230A (zh) * 2019-07-12 2019-11-05 湖南建工集团有限公司 一种嵌入式系统构建方法及存储介质
CN210327791U (zh) * 2019-09-17 2020-04-14 上海势航网络科技有限公司 车载中控系统主板及车载中控终端
CN111143131A (zh) * 2019-12-26 2020-05-12 中国电子科技集团公司第五十八研究所 对操作系统进行备份热启动的系统
CN111258666A (zh) * 2020-01-22 2020-06-09 奇安信科技集团股份有限公司 计算机文件的读取方法、装置、计算机系统及存储介质
US20210064386A1 (en) * 2018-01-05 2021-03-04 Wayne Inc. Booting disc supporting file storage function
CN112732522A (zh) * 2020-12-31 2021-04-30 东风汽车集团有限公司 一种车载mcu可配置日志存储解析方法和系统
CN112988248A (zh) * 2021-03-09 2021-06-18 南昌黑鲨科技有限公司 计算机可读存储介质及从多种该存储介质中启动智能终端操作系统的方法

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040215952A1 (en) * 2003-04-24 2004-10-28 Fujitsu Limited Apparatus, method and recording medium for starting up data processing system
US20090113423A1 (en) * 2007-10-31 2009-04-30 Vmware, Inc. Interchangeable Guest and Host Execution Environments
US20140281450A1 (en) * 2013-03-14 2014-09-18 International Business Machines Corporation Live initialization of a boot device
CN104751062A (zh) * 2013-12-31 2015-07-01 研祥智能科技股份有限公司 一种提高操作系统可靠性的方法及装置
CN104615387A (zh) * 2015-03-10 2015-05-13 株洲南车时代电气股份有限公司 基于xpe系统的车载设备及其设计方法
US20180046399A1 (en) * 2015-04-03 2018-02-15 Huawei Technologies Co., Ltd. Storage Partitioning Method and Terminal
US20210064386A1 (en) * 2018-01-05 2021-03-04 Wayne Inc. Booting disc supporting file storage function
CN110413230A (zh) * 2019-07-12 2019-11-05 湖南建工集团有限公司 一种嵌入式系统构建方法及存储介质
CN210327791U (zh) * 2019-09-17 2020-04-14 上海势航网络科技有限公司 车载中控系统主板及车载中控终端
CN111143131A (zh) * 2019-12-26 2020-05-12 中国电子科技集团公司第五十八研究所 对操作系统进行备份热启动的系统
CN111258666A (zh) * 2020-01-22 2020-06-09 奇安信科技集团股份有限公司 计算机文件的读取方法、装置、计算机系统及存储介质
CN112732522A (zh) * 2020-12-31 2021-04-30 东风汽车集团有限公司 一种车载mcu可配置日志存储解析方法和系统
CN112988248A (zh) * 2021-03-09 2021-06-18 南昌黑鲨科技有限公司 计算机可读存储介质及从多种该存储介质中启动智能终端操作系统的方法

Also Published As

Publication number Publication date
CN114063913B (zh) 2024-07-12

Similar Documents

Publication Publication Date Title
EP4418129A2 (en) Faster access of virtual machine memory backed by a host computing device's virtual memory
US8261267B2 (en) Virtual machine monitor having mapping data generator for mapping virtual page of the virtual memory to a physical memory
US9152573B2 (en) Sharing memory pages having regular expressions within a virtual machine
US9384007B2 (en) Memory virtualization-based snapshot boot apparatus and method
CN101770384B (zh) 一种车载音响系统的软件升级方法
US10289564B2 (en) Computer and memory region management method
CN107209681A (zh) 一种存储设备访问方法、装置和系统
US20240330199A1 (en) Secure memory access in a virtualized computing environment
US10824460B2 (en) Information processing apparatus, information processing method for reducing network traffic, and storage medium
US9489211B2 (en) Exposing memory-mapped IO devices to drivers through firmware
US20150205729A1 (en) Controlling direct memory access page mappings
US20170277632A1 (en) Virtual computer system control method and virtual computer system
US8806146B2 (en) Method and system to accelerate address translation
US9946479B2 (en) Direct hinting for a memory device
US9535796B2 (en) Method, apparatus and computer for data operation
CN114063913B (zh) Emmc分区存储方法及结构
US8566512B2 (en) Automatic alignment of write requests in virtualization systems
US10592425B2 (en) Virtualizing NVDIMM WPQ flushing with minimal overhead
CN114490449B (zh) 一种内存访问方法、装置及处理器
CN105760776A (zh) 一种数据处理方法及电子设备
KR20090131142A (ko) 메모리 관리 장치 및 방법
US20120124574A1 (en) Virtual computer system and method of installing virtual computer system
KR102636910B1 (ko) 가상 머신을 이용한 엣지 디바이스 및 이를 이용한 데이터 처리 방법
US11928510B2 (en) Increasing page sharing on non-uniform memory access (NUMA)-enabled host systems
US11741021B2 (en) Trust domains for peripheral devices

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant