CN109165031A - A kind of method that the capsule file of nested type is updated to BIOS - Google Patents

A kind of method that the capsule file of nested type is updated to BIOS Download PDF

Info

Publication number
CN109165031A
CN109165031A CN201810650444.8A CN201810650444A CN109165031A CN 109165031 A CN109165031 A CN 109165031A CN 201810650444 A CN201810650444 A CN 201810650444A CN 109165031 A CN109165031 A CN 109165031A
Authority
CN
China
Prior art keywords
capsule
file
bios
capsule file
updated
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.)
Pending
Application number
CN201810650444.8A
Other languages
Chinese (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.)
Jiangsu Zhuoyi Information Technology Co Ltd
Kunshan One Hundred Ao Electronic Technology Co Ltd
NANJING BYOSOFT CO Ltd
Original Assignee
Jiangsu Zhuoyi Information Technology Co Ltd
Kunshan One Hundred Ao Electronic Technology Co Ltd
NANJING BYOSOFT 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 Jiangsu Zhuoyi Information Technology Co Ltd, Kunshan One Hundred Ao Electronic Technology Co Ltd, NANJING BYOSOFT CO Ltd filed Critical Jiangsu Zhuoyi Information Technology Co Ltd
Priority to CN201810650444.8A priority Critical patent/CN109165031A/en
Publication of CN109165031A publication Critical patent/CN109165031A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Storage Device Security (AREA)

Abstract

The invention discloses the methods that a kind of capsule file of nested type is updated to BIOS, comprising the following steps: step 1: carrying out nested integration to multiple capsule files;Step 2: when brushing into BIOS, SMI further parses capsule document analysis if discovery capsule file is that format is nested, after all having parsed, the file that parsing obtains is summarized and keeps in unified memory region, and is uniformly brushed in BIOS ROM.

Description

A kind of method that the capsule file of nested type is updated to BIOS
Technical field
The present invention relates to computer hardware field, in particular to the capsule file of a kind of nested type is updated to BIOS Method.
Background technique
Existing platform updates BIOS by SMM using capsule mode, and binary block of the safety with respect to legacy is write Entering has revolutionary raising, but its elastic relative deficiency, and capsule is brushed can only be with the data of one or more continuums into mode It is written, to rewrite these regions again, it is necessary to it is executed again after exiting application, it cannot can be with such as binary block writing mode It is rewritten in or else environment that application is exited in the region of original write-in.
Summary of the invention
To solve defect existing in the prior art, the purpose of the present invention is design a kind of capsule file of nested type To the method that BIOS updates, elastic writing mode is increased on the basis of not breach security.
The invention discloses the methods that a kind of capsule file of nested type is updated to BIOS, comprising the following steps:
Step 1: nested integration is carried out to multiple capsule files;
Step 2: when brushing into BIOS, SMI is to capsule document analysis, if discovery capsule file is that format is nested, Further parse, after all parse, obtained file will be parsed summarize and keep in unified memory region, and uniformly brush into In BIOS ROM.
Multiple capsule files are integrated, Integration Mode uses same type or different types of Safe Format.
Multiple capsule file nesting numbers of plies can be one or more layers.
After capsule document analysis, overlapping, the insertion in region can be done.
The utility model has the advantages that compared with prior art, the present invention the present invention passes through the capsule file format of nested type and writes with a brush dipped in Chinese ink Method, substantially increase file cracks difficulty, increases the elasticity of ROM modifier area, reduces ROM and writes with a brush dipped in Chinese ink repeat region The number corresponding time for reducing ROM and writing with a brush dipped in Chinese ink is written.
Detailed description of the invention
Fig. 1 is flow chart of the invention;
Fig. 2 is capsule integrating documents schematic diagram of the invention;
Fig. 3 is the mapping relations figure of the present invention with reason list capsule file;
After Fig. 4 is capsule document analysis, overlapping, the insertion schematic diagram in region are done.
Specific embodiment
The present invention is further explained with reference to the accompanying drawings and examples.
Use the BIOS capsule file of certain Safe Format, it is preferred that can be based on Microsoft's PE file format Capsule file format is integrated multiple capsule files, Integration Mode with reaching the universal of file format The Safe Format of same type can be used.It is reproduction one big in short, be exactly the polymerization of multiple small capsule files The Safe Format of capsule file, these capsule files can be identical, can not also be identical, and the nested number of plies can be one layer Or limited multilayer, it is specific as shown in Figure 2.
When brushing into BIOS, SMI first parses big capsule file, is the discovery that format nesting, then parse each small Capsule after all having parsed, then unifies to brush in BIOS ROM, mapping relations such as Fig. 3 with reason list capsule file It is shown.
Former capsule file can only multiple continuums in Mapping B IOS ROM, and present capsule 1, capsule 2 after parsing, overlapping, the insertion in region can be done, specifically as shown in figure 4, capsule file, parses capsule file 1 ~capsule file 6, wherein capsule file 1, capsule file 2 write with a brush dipped in Chinese ink corresponding position, can inside ROM complete phase Together, capsule file 3, capsule file 4 can overlap, and be easy to understand, down the position of capsule file 4 Point is moved, capsule file 5, capsule file 6 belong to insertion, and capsule file 6 is in the region of capsule file 5 's.In the case where ensuring safe and reliable environment, the convenience of more new data is substantially increased.
Due to being that first each capsule is first unlocked to be merged into memory afterwards, it is possible to check that needs are overlapped and are embedded in Region, write-once BIOS ROM from memory, and do not have to separate as the write-in of binary block or multiple capsule Write-in like that, is first written legacy data, then new data is written after wiping.
Capsule file generated: by taking each nesting uses PE file format as an example, specifically includes the following steps:
Step 1: generating the BIOS capsule file of multiple PE formats;
Step 2: the capsule file secondary in step 1 being packaged, the capsule file of a PE format is made into.
If there is the data of overlapping and insertion, then the successive integration order of capsule file is extremely important, by taking Fig. 4 as an example, Capsule file 1 is first brushed, then brushes capsule file 2, then what is retained is capsule file 2.Capsule file 3 is first brushed, Capsule file 4 is brushed again, then lap is the data of capsule file 4.First brush capsule file 5 brushes capsule again File 6 first brushes capsule file 6 and brushes capsule again then capsule file 6 is present between capsule file 5 File 5, then capsule file 5 is just capped.
BIOS unlocks capsule file and writes with a brush dipped in Chinese ink ROM, specifically includes the following steps:
Step 1, the capsule file for reading in a PE format;
Step 2, the BIOS capsule file that BIOS SMI solution is former multiple PE formats;
Step 3 continues to unlock each capsule file, these files are summarized and keep in unified memory region;
Step 4, BIOS check whether each writing area finally mapped has overlapping and insertion, and lap covering is summarized It completes;
Step 5: once brushing into corresponding ROM block.
Overlapping, nesting, are completed when capsule file unzips to memory, and do not brush really into BIOS core Piece.When capsule file 1~6 all unzips to inside memory, after the covering and insertion work that complete simulation in memory, It just disposably brushes into BIOS chip.

Claims (4)

1. the method that a kind of capsule file of nested type is updated to BIOS, it is characterised in that: the following steps are included:
Step 1: nested integration is carried out to multiple capsule files;
Step 2: when brushing into BIOS, SMI is to capsule document analysis, if discovery capsule file is format nesting, then into The parsing of one step after all having parsed, the file that parsing obtains is summarized and keeps in unified memory region, and is uniformly brushed into BIOS In ROM.
2. the method that a kind of capsule file of nested type according to claim 1 is updated to BIOS, feature exist In: multiple capsule files are integrated, Integration Mode uses same type or different types of Safe Format.
3. the method that a kind of capsule file of nested type according to claim 1 is updated to BIOS, feature exist In: multiple capsule file nesting numbers of plies can be one or more layers.
4. the method that a kind of capsule file of nested type according to claim 1 is updated to BIOS, feature exist In: after capsule document analysis, overlapping, the insertion in region can be done.
CN201810650444.8A 2018-06-22 2018-06-22 A kind of method that the capsule file of nested type is updated to BIOS Pending CN109165031A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810650444.8A CN109165031A (en) 2018-06-22 2018-06-22 A kind of method that the capsule file of nested type is updated to BIOS

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810650444.8A CN109165031A (en) 2018-06-22 2018-06-22 A kind of method that the capsule file of nested type is updated to BIOS

Publications (1)

Publication Number Publication Date
CN109165031A true CN109165031A (en) 2019-01-08

Family

ID=64897195

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810650444.8A Pending CN109165031A (en) 2018-06-22 2018-06-22 A kind of method that the capsule file of nested type is updated to BIOS

Country Status (1)

Country Link
CN (1) CN109165031A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040193865A1 (en) * 2003-03-24 2004-09-30 Nguyen Tom Long Secure online BIOS update schemes
CN102541606A (en) * 2011-12-31 2012-07-04 曙光信息产业股份有限公司 Method and device for remote management of BIOS (basic input/output system) configuration based on UEFI (unified extensible firmware interface
CN107180168A (en) * 2016-03-10 2017-09-19 阿里巴巴集团控股有限公司 File loading, generation method and device, and intelligent terminal
CN107506217A (en) * 2017-09-14 2017-12-22 南京百敖软件有限公司 Capsule is updated by BIOS to update the method that user inputs SMBIOS information

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040193865A1 (en) * 2003-03-24 2004-09-30 Nguyen Tom Long Secure online BIOS update schemes
CN102541606A (en) * 2011-12-31 2012-07-04 曙光信息产业股份有限公司 Method and device for remote management of BIOS (basic input/output system) configuration based on UEFI (unified extensible firmware interface
CN107180168A (en) * 2016-03-10 2017-09-19 阿里巴巴集团控股有限公司 File loading, generation method and device, and intelligent terminal
CN107506217A (en) * 2017-09-14 2017-12-22 南京百敖软件有限公司 Capsule is updated by BIOS to update the method that user inputs SMBIOS information

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杜振龙等: "基于UEFI的胶囊式固件定制更新研究", 《计算机工程》 *

Similar Documents

Publication Publication Date Title
US8495570B2 (en) Resource deployment based on conditions
CN101097551A (en) Electronic data flash memory card with flash memory controller
CN103699337B (en) Writing control method and system based on independent redundant array of independent disks (RAID)
CN109343841B (en) Semantic conflict resolution method under real-time collaborative programming environment
TW201243590A (en) Data writing and reading method, memory controller and memory storage apparatus
CN105786411A (en) Method of operating a non-volatile memory device
CN109117383B (en) Method for managing flash memory module and flash memory controller
KR101770292B1 (en) Computer-executable model reverse engineering method and apparatus performing the same
CN113377579B (en) Solid state disk data recovery method and system based on mapping table
CN106201640A (en) A kind of method and device of BootLoader program of upgrading
CN103761095B (en) Method for generating universal upgrade file head data information
CN105844210A (en) Hardware efficient fingerprinting
CN104573514B (en) The detection method and device of compressed file
CN107807844A (en) Generation method, device and the computer-readable recording medium of traffic test scene
CN109165031A (en) A kind of method that the capsule file of nested type is updated to BIOS
JP2000242672A (en) Device and method for formal logic verification
CN106557350A (en) JAVA byte code conversion method, device and equipment in application program installation package
CN101154447A (en) Flash memory and its control method
TWI446170B (en) Data writing method, memory controller and memory storage apparatus
TWI428743B (en) Data writing method, memory controller and memory storage apparatus
CN103246793B (en) A kind of method of drawing tire ground connection cloud atlas based on ABAQUS analysis result
CN105787214A (en) Method and device for model verification
CN103617210B (en) A kind of dynamic routing system and its working method of Multi-target Data service layer
CN103020199A (en) Virtual file system suitable for different operating system platforms and application thereof
CN105739919A (en) Data access system and method

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190108

RJ01 Rejection of invention patent application after publication