A local translation method for BIOS Option Rom Setup options

By translation and packaging PCIE UEFI Option ROM's language packs, and setting dynamic translation parts in BIOS, the problem of lack of Chinese PCIE cards for commercial PCIE cards has been solved. Essence

CN114880054BActive Publication Date: 2025-01-28KUNLUN TECH (BEIJING) TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111671417.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-31
Publication Date
2025-01-28
Estimated Expiration
2041-12-31

AI Technical Summary

Technical Problem

Commercial PCIE cards usually do not have a Chinese package, which makes them unfriendly to domestic platform users and cannot provide support language options in the BIOS interface.

Method used

By exporting the language package of PCIe UEFI Option ROM, translated into a supporting language, and encapsulated the translated language pack with PCIE UEFI Option ROM language package into a control format storage. Set up dynamic translation components in BIOS, including external matching modules , Local language loading module and local translation font module, judging the Formguid of the peripherals to load the corresponding support language.

Benefits of technology

The option to display the Option ROM support language on the BIOS interface, improve the configuration efficiency of commercial peripheral cards, and provide support for domestic platform users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114880054B_ABST
    Figure CN114880054B_ABST
Patent Text Reader

Abstract

The present invention provides a BIOS Option Rom Setup option local translation method, including local character library construction: exporting the language package of the PCIE UEFI Option Rom that the connected peripheral needs to translate; translating the language package of the PCIE UEFI Option Rom into the required supported language, and extracting the peripheral FORMGUID as the label of the translated language package; recompiling the BIOS after importing the translated language package; local translation: BIOS loads the peripheral, and based on the FORMGUID of the loaded peripheral, determines whether the current peripheral has a translated support language; if so, BIOS loads the corresponding support language and displays it in the BIOS configuration interface, if not, displays the original language option. The present invention can solve the problem of translating commercial PCIE peripherals into supported languages ​​for the convenience of staff operation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of computer firmware, and in particular relates to a BIOS Option Rom Setup option local translation method. Background Art

[0002] BIOS is used to initialize the computer processor platform and load the operating system. Its basic functions include obtaining system control after the hardware platform is powered on, initializing key components such as the processor, memory, and chipset, enumerating peripherals and allocating resources to them, initializing necessary peripherals such as graphics cards, hard drives, and network cards, establishing a running environment for the operating system, and then handing control over to the operating system.

[0003] Since BIOS needs to shield the differences of various types of peripherals, in order to meet the compatibility of BIOS with various peripherals, the Option ROM is generally used to provide device drivers. The UEFI Option ROM in most PCIE cards provides option configurations for BIOS interface options. During the BIOS startup process, only the language package that comes with the PCIE card is supported. However, most commercial PCIE cards do not come with Chinese packages, which is not friendly to users of domestic platforms. Summary of the invention

[0004] In view of this, the present invention provides a BIOS Option Rom Setup option local translation method, which can solve the problem of translating commercial PCIE peripherals into a supported language to facilitate the operation of staff.

[0005] The technical solution for implementing the present invention is as follows:

[0006] A method for local translation of BIOS Option Rom Setup options, including local font library construction and local translation:

[0007] Construction of local font library:

[0008] Export the language pack of the PCIE UEFI Option Rom that needs to be translated for the connected peripherals; translate the language pack of the PCIE UEFI Option Rom into the required supported language, and extract the peripheral FORMGUID as the label of the translated language pack; import the translated language pack and recompile the BIOS;

[0009] Local translation:

[0010] The BIOS loads the peripherals and determines whether the current peripherals have a translated supported language based on the FORMGUID of the loaded peripherals; if so, the BIOS loads the corresponding supported language and displays it in the BIOS configuration interface; if not, the original language option is displayed.

[0011] Furthermore, the present invention encapsulates the translated supporting language and the PCIE UEFI Option Rom language package into a contrasting format for storage.

[0012] Furthermore, the BIOS judgment process of the present invention is: first extract the FORMGUID of the current peripheral device, and use it as an index to search in the local translation font module whether there is a translation package matching the current peripheral device FORMGUID.

[0013] Furthermore, the local supported language of the present invention is Chinese, and the language pack of PCIE UEFI Option Rom is translated into Chinese.

[0014] Furthermore, the translated supporting language of the present invention is stored in binary form.

[0015] Furthermore, the present invention sets a dynamic translation component in the BIOS, and the dynamic translation component includes a peripheral matching module, a local language loading module and a local translation character library module;

[0016] The translated language package is stored in the local translation font module. The peripheral matching module detects the FORMGUID of the loaded peripheral and determines in the local translation font module whether the current peripheral has a translated supporting language. When there is a translated supporting language in the local translation font module, the local language loading module loads the corresponding supporting language.

[0017] Beneficial effects:

[0018] Through this method, localized translation can be performed locally for some adapter peripheral cards, encapsulated in BIOS, and the peripherals to be adapted can be parsed during the BIOS power-on process. Once the local translation language package is matched, it will be parsed and added to the corresponding UEFI Option ROM. At this time, BIOS automatically matches all supported languages ​​for display. Through this method, the language options supported by Option Rom can be displayed on the BIOS interface, which improves the configuration efficiency of commercial peripheral boards. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 The figure is a general framework diagram of a BIOS Option Rom Setup option local translation method.

[0020] Figure 2 A local translation flowchart for a BIOS Option Rom Setup option.

[0021] Figure 3Build a flowchart for a BIOS Option Rom Setup local font library. DETAILED DESCRIPTION

[0022] The present invention is described in detail below with reference to the accompanying drawings and embodiments.

[0023] It should be noted that the following embodiments and features in the embodiments may be combined with each other in the absence of conflict; and, based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in the field without making any creative work are within the scope of protection of the present disclosure.

[0024] It should be noted that various aspects of the embodiments within the scope of the appended claims are described below. It should be apparent that the aspects described herein may be embodied in a wide variety of forms, and any specific structure and / or function described herein is merely illustrative. Based on the present disclosure, it should be understood by those skilled in the art that an aspect described herein may be implemented independently of any other aspect, and two or more of these aspects may be combined in various ways. For example, any number of aspects described herein may be used to implement the device and / or practice the method. In addition, other structures and / or functionalities other than one or more of the aspects described herein may be used to implement this device and / or practice this method.

[0025] The design idea of ​​the present invention is to translate the PCIE UEFI Option Rom language package of the peripheral in advance, translate it into a supported language and store it. When loading a new peripheral, it is determined whether its PCIE UEFI Option Rom has been translated. If translated, the translated language is directly called for display to facilitate the operation of the operator.

[0026] The present invention discloses a method for local translation of BIOS Option Rom Setup options, comprising two parts: local character library construction and local translation:

[0027] Construction of local font library:

[0028] Export the language pack of the PCIE UEFI Option Rom that needs to be translated for the connected peripherals; translate the language pack of the PCIE UEFI Option Rom into the required supported language, and extract the peripheral FORMGUID as the label of the translated language pack; import the translated language pack and recompile the BIOS;

[0029] Local translation:

[0030] The BIOS loads the peripherals and determines whether the current peripherals have a translated supported language based on the FORMGUID of the loaded peripherals; if so, the BIOS loads the corresponding supported language and displays it in the BIOS configuration interface; if not, the original language option is displayed.

[0031] In one embodiment of the present application, the translated supported language and the PCIE UEFI Option Rom language package are packaged into a contrasting format for storage. This storage format can facilitate the search for supported languages ​​during local translation.

[0032] In one embodiment of the present application, the BIOS judgment process is: first extract the FORMGUID of the current peripheral, and use it as an index to search in the local translation font module whether there is a translation package that matches the current peripheral FORMGUID.

[0033] In one embodiment of the present application, the local supported language is Chinese, and the language package of the PCIE UEFI Option Rom is translated into Chinese.

[0034] In an embodiment of the present application, the translated supporting language is stored in binary form.

[0035] In the embodiment of the present application, a local translation device for Option Rom Setup is provided, such as Figure 1 As shown, it includes three levels:

[0036] (1) Hardware level: The hardware level includes the processor platform, memory and other key computer components, as well as peripherals such as RAID cards and graphics cards.

[0037] (2) BIOS level: The BIOS level includes the BIOS core framework and dynamic translation components.

[0038] a) The BIOS core framework is used to establish the system service table in UEFI, including boot service and runtime service, and to manage all modules and various resources in the firmware. The dynamic translation module component can be loaded and run through the BIOS core framework.

[0039] b) The dynamic translation component is used to perform local translation of the Option Rom Setup options of the peripheral board during BIOS operation. It mainly includes the following three modules: peripheral matching module, local language loading module and local translation font module;

[0040] The peripheral matching module is used to detect the type of the peripheral board and to detect whether there is translatable content in the local translation font module;

[0041] The local language loading module is used to replace the English letters of the board Option Rom Setup options with Chinese characters in the local translation font library during the process of loading the peripheral board;

[0042] The local translation character library module is used to provide Chinese characters for translation during the operation of BIOS, including the correspondence between common English and Chinese characters.

[0043] The following describes in detail the process of the BIOS Option Rom Setup option local translation method of the present invention by taking the 9361RAID card as a peripheral:

[0044] The embodiment of the present application provides a method for local translation of BIOS Option Rom Setup options, the method comprising two parts: local character library construction and local translation;

[0045] like Figure 2 As shown in the figure, the process of building the local font library for the BIOS Option Rom Setup option of the 9361RAID card includes:

[0046] Step 1: Power on the computer and enter the shell terminal during the BIOS startup process;

[0047] Step 2: Use the tool to export the language pack of the PCIE UEFI Option Rom that needs to be translated for the connected peripherals.

[0048] The specific export process is: traverse PCIIO to access the configuration space of the 9361RAID card, match the adapter card's manufacturer ID 0x1000 device ID 0x5D to find the adapter card, and export the language pack in Option Rom.

[0049] Step 3: Translate the language package of PCIE UEFI Option Rom into the required supported language. Manual translation can be used. The language package to be supported through manual translation needs to be packaged and combined into a certain format. For example, if English is translated into Chinese manually, it is packaged into a Chinese-English comparison format.

[0050] The translated language package needs to be managed in an organizational structure, specifically: set the SIGNATURE mark, which is used to identify the language package area stored in FLASH; then extract the FORMGUID of the 9361RAID card, mark the FORMGUID and the supported language format and package length followed by the language package content.

[0051] Due to the VFR language format in the BIOS, each PCIE option card that supports UEFI has a unique FORMGUID, so the label FORMGUID is used to represent the peripherals corresponding to the translated language; when used later, by traversing the FORMGUIDs of all installed interface options, the corresponding translation language to be adapted can be matched.

[0052] Step 4: Write the local language loading module and peripheral matching module driver, import the translated language package into the local translation font module, and then recompile the BIOS;

[0053] Step 5: Flash the BIOS to the SPI Flash to complete the construction of the local font library.

[0054] like Figure 3 As shown in the figure, the main steps of BIOS Option Rom Setup local translation include:

[0055] Step 1: Turn on the computer and BIOS will initialize the motherboard hardware;

[0056] Step 2: BIOS loads the dynamic translation component. This process is just loading it into the memory, and calling the corresponding service after the peripheral module is ready;

[0057] Step 3: BIOS loads the peripheral device. In this embodiment, it is assumed that the peripheral device is a 9361RAID card.

[0058] Step 4: BIOS determines through the peripheral matching module that the current 9361RAID card has the corresponding Chinese character configuration data in the translated local translation character library, and then enters step 5.

[0059] BIOS determination process: first extract the 9361RAID card FORMGUID of the current peripheral, and use it as an index to search in the local translation font module whether there is a translation package that matches the current peripheral FORMGUID.

[0060] Step 5. BIOS loads the module through the local language, finds the language pack of the corresponding 9361RAID card in FLASH through SIGNATURE and FORMGUID, loads it into the memory, and updates and loads the corresponding Chinese character configuration data packet, which is displayed in the BIOS configuration interface. Users can click on options through Chinese characters, which is convenient for users to understand and operate.

[0061] Step 6: The process ends.

[0062] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims

1. A BIOS Option Rom Setup option local translation method, characterized in that: It includes two parts: local font building and local translation: Construction of local font library: When the computer is powered on, enter the shell terminal during the BIOS startup process; Export the language pack of the PCIE UEFI Option Rom that needs to be translated for the connected peripherals; The export method includes: traversing the configuration space of the PCIIO access peripheral, matching the manufacturer ID and device ID of the adapter card to find the adapter card, and exporting the language package in the Option Rom; Translate the language pack of PCIE UEFI Option Rom into the required supported language, and extract the peripheral FORMGUID as the label of the translated language pack; Recompile the BIOS after importing the translated language pack; Flash the BIOS to the SPI Flash to complete the construction of the local font library; Local translation: BIOS loads the peripherals and determines whether the current peripheral has a supported language that has been translated based on the FORMGUID of the loaded peripherals. The BIOS determination process is as follows: first extract the FORMGUID of the current peripheral and use it as an index to search the local translation font module to see whether there is a translation package that matches the FORMGUID of the current peripheral. If yes, BIOS loads the corresponding supported language and displays it in the BIOS configuration interface. If no, the original language option is displayed.

2. The method for local translation of BIOS Option Rom Setup options according to claim 1, characterized in that: The translated supported language and the PCIE UEFI Option Rom language pack are packaged and stored in a comparison format.

3. The method for local translation of BIOS Option Rom Setup options according to claim 1, characterized in that: The local supported language is Chinese, and the language pack of PCIE UEFI Option Rom is translated into Chinese.

4. The BIOS Option Rom Setup option local translation method according to claim 1, characterized in that: The translated supported languages ​​are stored in binary form.

5. The BIOS Option Rom Setup option local translation method according to claim 1, characterized in that: A dynamic translation component is set in the BIOS, wherein the dynamic translation component includes a peripheral matching module, a local language loading module and a local translation character library module; The translated language package is stored in the local translation font module. The peripheral matching module detects the FORMGUID of the loaded peripheral and determines in the local translation font module whether the current peripheral has a translated supporting language. When there is a translated supporting language in the local translation font module, the local language loading module loads the corresponding supporting language.

Citation Information

Patent Citations

  • System and method for localizing JAVA GUI application without modifying source code

    CN1885265A