Search Images Maps Play YouTube News Gmail Drive More »
Sign in
Screen reader users: click this link for accessible mode. Accessible mode has the same essential features but works better with your reader.

Patents

  1. Advanced Patent Search
Publication numberCN100389407 C
Publication typeGrant
Application numberCN 02125340
Publication date21 May 2008
Filing date25 Jul 2002
Priority date25 Jul 2002
Also published asCN1470995A
Publication number02125340.4, CN 02125340, CN 100389407 C, CN 100389407C, CN-C-100389407, CN02125340, CN02125340.4, CN100389407 C, CN100389407C
Inventors吴志桥, 李建邺, 堃 肖
Applicant联想(北京)有限公司
Export CitationBiBTeX, EndNote, RefMan
External Links: SIPO, Espacenet
Method for storing system and application rpogramme in hand-held information device
CN 100389407 C
Abstract  translated from Chinese
本发明公开了一种在手持信息设备上存储系统及应用程序的方法,其预先将闪存(Flash)的存储空间划分为自举程序区和文件存储区,所述自举程序区用于存储具有格式化闪存(Flash)、下载系统程序和应用程序文件以及引导系统功能的自举程序;将文件存储区格式化为标准文件格式;对系统程序和应用程序进行编译,所生成的系统文件和应用文件以标准文件格式存放于闪存(Flash)的文件存储区中。 The present invention discloses a device for storing information on the handheld systems and applications approach, which previously would flash (Flash) memory space is divided into the bootloader area and file storage area, the bootstrap program area is used to store Format Flash (Flash), download system and application files and boot the system functions bootstrap program; the file storage format as a standard file format; for systems and applications to be compiled, the resulting system files and applications file in a standard file format stored in flash memory (Flash) file storage area. 该方法使手持设备中的系统或应用文件能够单独更新,使得系统及应用软件的操作更简单、方便、灵活,效率更高,进而为用户提供更便利的使用环境。 This method enables handheld system or application files can be updated separately, so that the system and application software more simple, convenient, flexible, higher efficiency, and provide users with more convenient use of the environment.
Claims(8)  translated from Chinese
1、一种在手持信息设备上存储系统及应用程序的方法,其特征在于: 预先将闪存Flash的存储空间划分为自举程序区和文件存储区,所述自举程序区用于存储具有格式化闪存Flash、下载系统程序和应用程序文件以及引导系统功能的自举程序; 该方法还包括:将文件存储区格式化为标准文件格式;对系统程序和应用程序进行编译,将编译生成的每个系统文件和应用文件以标准文件格式分别存放于闪存Flash的文件存储区中。 1. A handheld information devices and applications storage system, characterized in that: the pre-flash memory Flash memory space is divided into the bootloader area and file storage area, the bootstrap program area is used to store format Flash memory Flash, downloads the system program and application files and boot the system functions bootstrap program; the method further comprising: a file storage format as the standard file format; for systems and applications to be compiled, will be compiled for each a system file and application files are stored in a standard file format Flash files in the flash memory area.
2、 根据权利要求1所述的方法,其特征在于该方法进一步包括:将自举程序以二进制格式,操作系统程序和应用程序以标准文件格式顺序存储于同一片或一片以上或非闪存NOR Flash中。 2. The method according to claim 1, characterized in that the method further comprises: the bootstrap program in binary format, operating systems, and applications in a standard file format stored sequentially in the same piece or more than one piece or Flash NOR Flash in.
3、 根据权利要求1所述的方法,其特征在于该方法进一步包括:将自举程序以二进制格式存储于或非闪存NOR Flash中,同时将操作系统程序和应用程序以标准文件方式存储于与非闪存NAND Flash中。 3. The method according to claim 1, characterized in that the method further comprises: the bootstrap program stored in binary format in the NOR Flash NOR flash memory while the operating system and applications stored in a standard file and NAND flash memory NAND Flash in.
4、 根据权利要求1至3任意一项所述的方法,其特征在于:所述的标准文件格式为FAT16格式., 4. The method according to any one of claims 1-3, characterized in that: said standard format of FAT16 file format.
5、 根据权利要求1所述的方法,其特征在于:操作系统程序和每个应用程序分别以一个文件或一个以上文件形式连续的或不连续的存放。 5. The method of claim 1 or claim 2, wherein: each of the operating system and application programs, respectively a file or more files in the form of a continuous or discontinuous storage.
6、 根据权利要求1所述的方法,其特征在于该方法进一步包括:设置一资源管理器,将与搡作系统OS相关的系统文件隐藏。 6. The method according to claim 1 or claim 2, wherein the method further comprises: providing a resource manager, will push for the system OS-related system files hidden.
7、 根据权利要求1所述的方法,其特征在于该方法进一步包括:设置一资源管理器,当程序进行更新时,将相同名的文件拷贝至原文件的地址, 覆盖原文件。 7. The method according to claim 1 or claim 2, wherein the method further comprises: providing a resource manager, when the program is updated, the copies of the same file name to the address of the original file, overwriting the original file.
8、 根据权利要求1所述的方法,其特征在于该方法进一步包括:通过进入自举程序选择对闪存Flash进行格式化。 8. The method according to claim 1 or claim 2, wherein the method further comprises: bootstrap program by entering the selection of Flash Flash formatted.
Description  translated from Chinese

一种在手持信息设备上存储系统及应用程序的方法技术领域 A handheld device that stores information systems and applications FIELD

本发明涉及文件存储技术,尤指一种在手持信息设备上存储系统及应用程序的方法。 The present invention relates to a document storage technology, especially a handheld information devices in the storage system and application procedures.

发明背景 Background of the Invention

随着信息技术的迅猛发展,各种各样的信息设备应运而生,为了进一 With the rapid development of information technology, all kinds of information equipment came into being, in order to enter a

步方便用户的使用,出现了众多诸如掌上电脑、个人数字助理(PDA)、 多功能移动电话等手持信息设备,人们可以直接通过手持信息设备,随时随地的获取信息和记录信息。 Step user-friendly use, there have been numerous such as handheld computers, personal digital assistants (PDA), multi-function mobile phones and other handheld information devices, people can, anytime, anywhere access to information and records information directly through the handheld information devices.

通常,手持信息设备采用半导体存储器:闪存(Flash)、动态随机存储器(DRAM)来存储系统信息、应用程序和用户数据,但在实际使用时采用的结构有所不同。 Typically, handheld information devices using a semiconductor memory: Flash (Flash), dynamic random access memory (DRAM) to store system information, applications, and user data, but the actual use of structures used is different.

传统掌上电脑设备中Flash的存储结构如图1所示,包括存储区域】0 和存储区域11两部分,其中,存储区域10用于存放自举程序(Boot Loader), 该自举程序的主要功能是作为操作系统(OS)升级时的工具。 Traditional storage structure handheld device as shown in Flash, the main features include a storage area and a storage area 11] 0 in two parts, wherein the storage area 10 for storing the bootstrap program (Boot Loader), the bootstrap program 1 It is a tool as an operating system (OS) upgrade. 当设备重新复位时,系统从复位(Reset)陷阱进入自举程序,即:复位后CPU直接从这里取指令执行。 When the device is reset, the system from the reset (Reset) the trap into the bootstrap program, namely: direct access after a reset CPU instruction execution from here. 如图2所示,CPU首先判断是否需要更新OS?如杲需要, 则转入自举程序的更新OS功能,否则直接跳转到OS起始地址处。 2, CPU first determines whether to update the OS? As Gao necessary, update the OS functions into bootloader, OS or jump directly to the start address. 存储区域11则用于存储操作系统(OS)软件及应用(AP)软件,在传统的掌上电脑设备中,内置于只读存储器(ROM)的系统软件和应用软件是通过一次性编译连接成一个大的代码块,然后以二进制机器码格式连续存放于 Storage area 11 for storing an operating system (OS) and application software (AP) software, in a traditional handheld devices, built-in read-only memory (ROM) system software and application software is connected to a single-pass compiler Large blocks of code, and then stored in binary machine code format continuous

Flash中的,即存放于存储区域ll中。 Flash, that is stored in the storage area of the ll.

另外一些手持信息设备,如使用掩膜只读存储器(MaskROM)作为OS 存储器的PDA设备,由于其代码不可能更新,不需要自举程序,而直接将OS的起始代码放在CPU的复位陷阱处,如图3所示。 Other handheld information devices, such as using a mask read only memory (MaskROM) as OS PDA device memory, the code can not be updated because it does not require bootstrap program, will start code directly on the OS of the CPU reset trap place, as shown in Fig. 该PDA中的系统软件和应用软件同样是通过一次性编译连接成一个大的代码块后,以二进制格式连续存放在MaskROM中。 After the PDA in the system software and application software is also connected to a large block of code via a one-compiled binary format stored in MaskROM in continuous.

由于上述手持信息设备对系统及应用软件的处理都是:先编译为一个代码块,再连续存储于存储介质,如Flash中。 Since the above handheld information devices on the system and application software processing is: first compiled as a block, and then continuously stored in a storage medium, such as Flash. 如此,使得文件注册表在编译连接时就固定了,且不可更改。 So, make the registry file when compiling the connection is fixed, and can not be changed. 如果其中某个应用程序或某个驱动程序被发现有错误(BUG)需要更新,或是某些程序需要升级时,就必须将整个系统加应用软件重新编译连接,形成新的代码块,然后还要将Flash中的内容全部擦除,重新写入。 If one application or a driver is found to have an error (BUG) need to be updated, or some programs need to be upgraded, it must be added to the system to connect to recompile the application to form a new block of code, then also To erase all the content in Flash, re-written. 这样不仅缺乏灵活性、增加操作复杂度、降低工作效率,而且该过程一般须由专业人员和专门工具才能完成,给用户的使用带来很多不便。 Not only does the lack of flexibility, increase operational complexity and reduced efficiency, and the process is generally qualified personnel and specialized tools to complete, to the user's caused much inconvenience.

发明内容 DISCLOSURE

有鉴于此,本发明的主要目的在于提供一种在手持信息设备上存储系统及应用程序的方法,使手持设备中的系统或应用文件能够单独更新,使得系统及应用软件的操作更简单、方便、灵活,效率更高,进而为用户提供更便利的使用环境。 In view of this, the main object of the present invention is to provide a device for storing information on the handheld system and application method, so handheld system or application files can be updated independently, making the operating system and application software simpler, more convenient flexibility, higher efficiency, and provide users with more convenient use of the environment.

为达到上述目的,本发明的技术方案是这样实现的: To achieve the above object, the present invention is implemented as follows:

一种在手持信息设备上存储系统及应用程序的方法,预先将闪存Flash 的存储空间划分为自举程序区和文件存储区,所述自举程序区用于存储具有格式化闪存Flash、下载系统程序和应用程序文件以及引导系统功能的自举程序;该方法还包括:将文件存储区格式化为标准文件格式;对系统程序和应用程序进行编-泽,将编译生成的每个系统文件和应用文件以标准文 A handheld device that stores information systems and applications approach, in advance of the flash Flash memory space is divided into the bootloader area and file storage area, the bootstrap program area for storing a format the flash Flash, downloads system and application files and boot the system functions bootstrap program; the method further comprising: a file storage area formatted for standard file format; for systems and applications to encode - Ze, each system will compile the generated files and Application of the standard text file

件格式分别存放于闪存Flash的文件存储区中。 Formats are stored in the flash Flash file storage area.

该方法进一步包括:操作系统程序或每个应用程序可分为一个以上文 The method further comprising: an operating system program or each application can be divided into more than one file

件存放。 Parts storage. 而且,所有系统文件和应用文件的文件代码存放位置是连续的或不连续的。 Also, file code storage location for all system files and application files is continuous or discontinuous.

该方法进一步包括:将自举程序以二进制格式,操作系统程序和应用程序以标准文件格式顺序存储于同一片或一片以上或非闪存NOR Flash中。 The method further includes: the bootstrap program in binary format, operating systems, and applications in a standard file format stored sequentially in the same one or more than one piece or in NOR Flash memory. 或者,将自举程序以二进制格式存储于或非闪存NOR Flash中,同时将操 Alternatively, the bootstrap program stored in binary format in the NOR Flash NOR flash memory while the operation

面所述的标准文件格式为FAT16格式。 Surface of the standard file format for FAT16 format.

该方法进一步包括:设置一资源管理器,将与操作系统OS相关的系统文件隐藏;或是在程序进行更新时,将相同名的文件拷贝至原文件的地址, 覆盖原文件。 The method further comprises: providing a resource manager, system files associated with the operating system OS hidden; or when the program is updated, the copies of the same file name to the address of the original file, overwriting the original file. 本发明的方法还可进一步通过进入自举程序选择对闪存Flash 进行格式化。 The method of the present invention may further choice by entering the bootstrap program to format the flash memory Flash.

因此,本发明所提供的在手持信息设备上存储系统及应用程序的方法, 预先将存放OS和AP的Flash区域格式化为标准的FAT16格式,为以文件方式存储提供了条件,进而使得OS程序和每个AP程序能够分别单独编译成不同的文件,并以FAT16文件格式存放于指定的区域,如此,在某些软件需要更新或升级时,只需将相应的文件重新编译成标准格式,并以相同文件名存放在原有地址,替换原文件即可。 Accordingly, the present invention provides a device for storing information on the handheld systems and applications methods, Flash storage area previously formatted OS and AP is the standard FAT16 format, as stored in files provided the conditions, thus making the OS program and each of the AP program can be compiled separately into different files, respectively, and FAT16 file format stored in the designated area, so, in some software need to update or upgrade, simply recompile the appropriate files into a standard format, and In the same file name stored in the original address, replacing the original file. 这样可避免大量的编译、擦除和更新过程,筒化了存储操作,而且使系统及应用文件的操作更灵活,更符合用户的使用习惯。 This avoids a lot of compilation, erase and update process, the cartridge of the storage operation, and make the operating system and application files more flexible and more in line with the user's habits.

附图说明 Brief Description

图1为现有技术中一种系统及应用软件的存储结构示意图; Figure 1 is a schematic view of the prior art storage structure to a system and application software;

图2为现有技术中自举程序的执行流程示意图; Figure 2 is a prior art bootstrap program execution flow schematic;

图3为现有技术中另一种系统及应用软件的存储结构示意图; Figure 3 is a schematic view of the prior art storage architecture Another system and application software;

图4为本发明中系统及应用软件的存储结构示意图; 图5为本发明一应用实例的硬件环境示意图; 图6为本发明另一应用实例的硬件环境示意图。 Figure 4 is a schematic view of the storage structure of the system and application software invention; Figure 5 is a schematic diagram of the hardware environment, an application example of the invention; Figure 6 is a schematic diagram of another application of the invention hardware environment instance.

具体实施方式 DETAILED DESCRIPTION

下面结合附图及具体实施例对本发明再作进一步详细的说明。 Below in conjunction with the accompanying drawings and the specific embodiments of the present invention is further described in further detail.

如图4所示,为了能以文件方式存储系统程序和应用程序,本发明在存放结构上,将Flash分为自举程序区40和文件存储区41两部分,自举程序区40仍然用于以二进制格式存储自举程序,而文件存储区41则预先格式化为标准的文件格式,用来以文件方式存储编译好的OS文件和每个应用程序文件。 4, in order to be stored in the file system and applications, the present invention is in the storage configuration, the Flash into the bootloader region 40 and file storage area 41 into two parts, the bootstrap program area 40 is still used stored in binary format bootstrap program, and file storage area 41 is preformatted as a standard file format for storing in files compiled OS file and each application file. 图4中的DRAM区用于临时存放当前执行的OS文件或应用文件,比如:启动时,自举程序通过文件读取方式访问文件存储区41,将特定的OS文件拷贝到DRAM中执行;或是,当要运行某个应用程序时,OS 将该应用程序文件拷贝到DRAM中执行,以提高运行速度。 Figure 4 DRAM area for temporary storage of OS file or application files in the current implementation, such as: When activated, the bootstrap program to read through the file access to the file storage area 41, copy the files to a specific OS DRAM performed; or It is that when you want to run an application, OS the application files are copied to the DRAM performed to improve the operating speed.

本发明在编译时就将OS程序和每个应用程序分开编译,形成不同的文件,其中特定的OS文件可定义一个特殊的名称,比如NK.bin等。 The present invention will be OS program at compile time and compiled separately for each application form different files, which define a specific OS file special name, such NK.bin like. 该OS 程序可分成若干个文件单独存放,每个应用程序也可以分成若干个文件存放。 The OS program can be divided into several files stored separately, each application can be divided into several files are stored. 之后,将OS文件以及应用程序文件写入文件存储区41中,由于是采用文件方式存放,代码的存放位置可以是连续的或不连续的,由文件分配表决定。 After the file is written to OS and application files file storage area 41, as is the way of the use of file storage, storage location code may be continuous or discontinuous, it is determined by the file allocation table.

所提到的文件分配表(FAT, File Allocation Table )是用来记录文件所在位置的表格,是一个记录》兹盘上头文件大小及其所对应簇的数据库,它对每一个簇都有一个相对的记录点(Entry Point)。 Mentioned in the file allocation table (FAT, File Allocation Table) file is used to record the location where the table is a record "magnetic disk on top of the file size and the corresponding database clusters, each cluster has a relatively record points (Entry Point). 如果文件分配表丢失, 硬盘上的数据将因无法定位而不能使用。 If the file allocation table is lost, the data on the hard disk will not be due to inability to locate and use. 文件分配表的构成与所采用的文件系统有关,在实际应用中,可采用的文件系统有很多,比如:FAT16、 FAT32、 NTFS等等。 Constituting the file allocation table and file system related adopted, in practical application, the file system may be many, such as: FAT16, FAT32, NTFS and so on. 结合手持信息设备的特点,本发明目前采用FAT16 Handheld information devices combining the characteristics of the present invention is currently used FAT16

文件系统,其是用16位比特的空间来表示每个扇区(Sector)配置文件的情况,该扇区就是指一块512字节的区域,FAT文件系统将数个扇区合并 File system, which is 16-bit space of each sector is represented (Sector) profile, the sector refers to a 512-byte area, FAT file system will merge several sectors

成一个簇(Cluster),作为文件分配存储空间时的基本配置羊位,每个簇中 Into one cluster (Cluster), the basic configuration as a file allocation sheep bits of storage space, each cluster

的扇区数目必须是2的次方,每个文件存储于硬盘中时必须配置足够数量的簇。 The number of sectors must be a power of 2, you must configure a sufficient number of clusters of each file is stored in the hard disk.

在本发明的文件存储方式下,当某个程序需要修改或升级时,可将与该程序相关的文件单独编译,然后象拷贝文件一样简单地以同名覆盖方式完成相应文件的更新,然后重新启动即可。 In the file storage of the present invention, when a program needs to be modified or upgraded, it can be associated with the program files compiled separately, and then copy the file as the same name as simply cover the complete update the file, and then restart can.

本发明中还进一步提供有一个资源管理器,在资源管理器中用户看到的文件存储区显示为一个文件夹。 The present invention further provides a resource manager, in Explorer users see the file storage area is displayed as a folder. 另外,该资源管理器将与os有关的系统文件隐藏,以免被用户误删。 In addition, the system resource manager of the hidden files os avoid accidental deletion by the user.

在本发明中,自举程序的功能发生了变化,包括三个部分:格式化Flash、 下载OS和AP文件、引导系统。 In the present invention, since the function of the bootloader has changed, it consists of three parts: format Flash, downloads OS and AP files, boot the system. 在正常启动时,自举程序的功能就是引导系统,其实现过程是这样的:自举程序初始化系统,在文件存储区中找到OS中涉及启动的相应文件,将其拷贝到预定地址的DRAM中连续存放; 然后跳转到DRAM中OS启动文件的开始地址,执行OS启动代码;OS启动后,存放OS和AP的文件存储区相当于一个内置的石兹盘。 During normal start, since the function is to guide the system bootstrap program, its implementation is this: bootstrap program to initialize the system, find the appropriate OS involved in the startup file in the file store, copy it to a predetermined address of the DRAM stored in a row; then jump to the start address of the DRAM in the OS startup files, execute OS boot code; after OS boot, storage OS and AP file storage area equivalent to a built-in stone magnetic disk.

对于Flash中文件存储区的格式化,有两种情况: 一种是在生产时,采用专用工具,比如Ghost 6.0将Flash格式化为FAT16文件格式,并将编译好的OS和AP文件拷贝到该文件存储区中;另一种是用户可在任意时刻对其进行格式化,用于对文件存储区损坏后的重建。 For formatted files in Flash storage area, there are two cases: one is in the production, the use of special tools, such as Ghost 6.0 will be formatted to FAT16 file format Flash and compiled OS and files are copied to the AP file storage area; the other is to format the user can at any time, for the reconstruction of the damaged file storage area. 具体实现是:用户通过按组合功能键的方式进入自举程序界面,该界面会显示三个选项: Implementation are: the user by pressing a combination of function keys to enter bootloader mode interface that displays three options:

a. 拷贝文件到Flash; . a copy of the file to Flash;

b. 格式化Flash; . b Format Flash;

c. 清除DRAM并重新启动。 c. Remove the DRAM and restart.

当选择第2项后,自举程序便会进入格式化流程:首先将Flash中的文件存储区全部擦写一次,标记出坏块;然后自动调用预先设置于自举程序启动代码中的标准格式化函数将该文件存储区格式化为标准FAT16格式。 When you select item 2, the bootstrap program will enter the formatting process: First, the files in the Flash memory erase all the time, mark the bad block; then automatically call a preset to the bootloader startup code in a standard format Functions of the file storage area formatted for standard FAT16 format.

本发明以文件方式存储OS和AP的方法可应用于不同的硬件环境中, 图5、图6分别给出了两种硬件应用环境。 The present invention is stored in files OS and AP methods can be applied to different hardware environment, Figs. 5 and 6 show two hardware applications. 通常,手持信息设备采用或非(NOR) Flash或者与非(NAND ) Flash作为存储器,NOR Flash是线性寻址的,即:可以寻址到每个字节,其可以直接连接在系统的某段地址空间上,由CPU直接读出指令来执行,实现就地执行(XIP),如图5所示。 Typically, handheld information devices using or (NOR) Flash or with non-(NAND) Flash as memory, NOR Flash is linear addressing, namely: can address each byte, it can be directly connected to a certain system the address space is read directly from the CPU to execute instructions, to achieve local execution (XIP), shown in Figure 5. 而NAND Flash是页面寻址方式,每个存储单元不能直接映射为系统地址空间的某个单元,CPU也不能通过直接取指令的方式来读取NAND Flash中的数据,必须经过接口逻辑完成页地址转换后才能读出NAND Flash中的内容,即:CPU通过接口逻辑将NAND Flash连接到自身的系统空间上,映射为IO端口,然后通过访问设备的方式对NAND Flash操作,如图6所示, NAND Flash无法实现XIP。 The NAND Flash is a page addressing mode, each memory cell can not be directly mapped to a unit system address space, CPU can not fetch instructions through direct way to read the data in the NAND Flash, you must complete interface logic page address NAND Flash can be read after converting the content, namely: CPU via the NAND Flash interface logic on its own system space, mapped to IO port, then access to the device by way of the NAND Flash operation, as shown in Figure 6, NAND Flash can not be achieved XIP. 而且,NOR Flash的成本比NAND Flash的成本高很多。 Moreover, NOR Flash's cost is much higher than the cost of NAND Flash.

当采用NORFlash为OS和AP的存储介质时,如图5所示,可将NOR Flash的存储空间分为两部分: 一部分是从CPU复位陷阱的地址开始约几百K的空间,用于以二进制连续存放自举程序(Boot Loader),系统复位后, CPU直接从这里取指令执行;另一部分是该NOR Flash其余的空间用于存储OS和AP,对该部分进行格式化形成文件存储区,该存储结构如图4所示。 When the OS and AP NORFlash storage medium, as shown in Figure 5, the NOR Flash memory space is divided into two parts: one is the beginning of about a few hundred K of space from the CPU to reset the trap of address used in binary Continuous storage bootstrap program (Boot Loader), system reset, CPU instruction execution direct access from here; the other is the rest of the NOR Flash memory to store OS and AP, the formatted form part of the file storage area, the storage structure shown in Figure 4.

当采用NAND Flash作为OS和AP的存储介质时,如图6所示,该硬件环境是同时采用NOR Flash和NAND Flash作为存储器,但NOR Flash 只用于存储自举程序,如此可选用容量小的NOR Flash,从而既降低产品成本,又可保证自举程序的就地执行。 When NAND Flash as the storage medium OS and AP, as shown in Figure 6, the hardware environment while using as NOR Flash and NAND Flash memory, but only for NOR Flash memory bootstrap program, such a small capacity can be used NOR Flash, which not only reduce production costs, but also to ensure the implementation of the bootstrap program in place. 对于OS、 AP和用户数据,可选用容量较大的NAND Flash来存储,并且在格式化时,直接将整块NAND Flash 格式化为标准的FAT16文件存储格式,OS和每个AP被分别编译为一个或多个文件单独存放。 For OS, AP and user data, the choice of larger capacity NAND Flash to store, and when formatting directly block NAND Flash format as a standard FAT16 file storage format, OS, and are individually compiled for each AP one or more files stored separately.

在图6所示的硬件环境下,当系统初次启动时,CPU的指针指向复位陷阱,开始执行NOR Flash中的自举程序;自举程序通过访问设备的方式将存放于NAND Flash中的OS文件拷贝到DRAM中,然后将CPU的指针指向DRAM中的OS入口,开始执行OS代码,启动OS。 In the hardware environment shown in Figure 6, when the initial system startup, CPU pointer reset the trap, started in NOR Flash bootloader; bootloader mode by accessing the device will be stored in the NAND Flash in the OS file copied to DRAM, and then the CPU DRAM pointer entry in the OS, OS code to begin execution, start OS. 当要运行某个应用程序时,OS将NAND Flash中的应用程序代码拷贝到DRAM中执行。 When you want to run an application, OS in the NAND Flash application code copied to DRAM for execution.

以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。 The above is only a preferred embodiment of the present invention only, not intended to limit the scope of the present invention.

Patent Citations
Cited PatentFiling datePublication dateApplicantTitle
CN1196521A13 Feb 199821 Oct 1998三星电子株式会社Method for replacing program in portable information terminal equipment
CN1273397A21 May 199915 Nov 2000深圳市中兴通讯股份有限公司Method for storing program and data to flash memory chip
CN1308337A27 Nov 200015 Aug 2001英业达集团(南京)电子技术有限公司Simultaneous program code and data storing method in flash memory
CN1324025A11 May 200028 Nov 2001英业达集团(南京)电子技术有限公司Method of saving resource and running several downloaded application programs simultaneously
US623691721 Dec 199922 May 2001Spx CorporationOpen architecture diagnostic tool
Classifications
International ClassificationG06F12/06
Legal Events
DateCodeEventDescription
28 Jan 2004C06Publication
7 Apr 2004C10Request of examination as to substance
21 May 2008C14Granted
6 Aug 2008C41Transfer of the right of patent application or the patent right
6 Aug 2008ASSSuccession or assignment of patent right
Owner name: LIANXIANG (BEIJING) CO. LTD.; HUMANTEC INDUSTRIAL
Free format text: FORMER OWNER: LIANXIANG (BEIJING) CO. LTD.
Effective date: 20080627
22 Jul 2009C41Transfer of the right of patent application or the patent right
22 Jul 2009ASSSuccession or assignment of patent right
Owner name: HUMANTEC INDUSTRIAL SYSTEMS CO., LTD.
Free format text: FORMER OWNER: LIANXIANG (BEIJING) CO. LTD.
Effective date: 20090612