CN107066277B - Method for updating universal unique identification code based on serial port - Google Patents
Method for updating universal unique identification code based on serial port Download PDFInfo
- Publication number
- CN107066277B CN107066277B CN201710260253.6A CN201710260253A CN107066277B CN 107066277 B CN107066277 B CN 107066277B CN 201710260253 A CN201710260253 A CN 201710260253A CN 107066277 B CN107066277 B CN 107066277B
- Authority
- CN
- China
- Prior art keywords
- serial port
- updating
- firmware
- uuid
- mainboard
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0002—Serial port, e.g. RS232C
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention discloses a method for updating a universal unique identification code based on a serial port, which comprises the following steps: (1) the control platform is connected with the mainboard through a serial port line; (2) the firmware of the mainboard is configured with a corresponding serial port; (3) the control platform opens the update software, responds to the firmware request of the mainboard through the serial port, and automatically updates the universal unique identifier UUID. The invention has the beneficial effects that: the invention can effectively reduce hardware cost, save startup time, improve production efficiency and reduce labor cost.
Description
Technical Field
The invention relates to the technical field of computer production, in particular to a method for updating a universal unique identification code based on a serial port.
Background
With the development of technology, the related technology of computers is continuously updated, and the production process is continuously improved. However, when the motherboards are produced in a factory at present, the universal unique identification code (UUID) on each motherboard still needs to be manually written under the DOS by using batch files, and a manufacturer in large spots also needs to start the motherboard to be written under the DOS by using a code scanner. The flash is performed by batch processing, the flash is started to DOS, and the flash is manually performed, so that the time and the labor are wasted; the code scanner is used for writing, so that the cost is high and the efficiency is low.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a method for updating a universal unique identification code based on a serial port, which can effectively reduce hardware cost and improve production efficiency.
In order to solve the technical problem, the invention provides a method for updating a universal unique identification code based on a serial port, which comprises the following steps:
(1) the control platform is connected with the mainboard through a serial port line;
(2) the firmware of the mainboard is configured with a corresponding serial port;
(3) the control platform opens the update software, responds to the firmware request of the mainboard through the serial port, and automatically updates the universal unique identifier UUID.
Preferably, in the step (2), the configuration of the corresponding serial port by the firmware specifically includes:
(21) starting up to a designated program, initializing a function from a serial port to UpDateUUID, sending a BYOUS instruction to the control platform through the serial port, and requesting to write in the UUID;
(22) after the host board receives the UUID through the serial port and the UUID is refreshed, the UUID is stored in a module FV in firmware appointed by the firmware, and the firmware sends an ending instruction through the serial port;
(23) the next time the computer is powered on and started, the firmware calls a designated program UpdateUUID to write the UUID into TYPE1 by updating an SMBIOS table;
(24) if 16 Byte positions behind Offset 08h are all 00 or all FF, updating the UUID in the FV to TYPE1 by updating the SMBIOS table; if not, the updating is not needed, and the operation is directly returned.
Preferably, in the step (3), the control platform receives a command sent by the serial port, and judges whether the command is a BYOUS; if the serial port is BYOUS, capturing UUIDs stored on the computer, arranging the UUIDs in the Buffer in sequence, and sending a first group of UUIDs to the serial port; if the command is BYOUE, the sending is finished, the Buffer pointer jumps to the address of the next group of UUIDs, and the command sent by the serial port is waited to be received.
The invention has the beneficial effects that: the invention can effectively reduce hardware cost, save startup time, improve production efficiency and reduce labor cost.
Drawings
FIG. 1 is a schematic flow diagram of the process of the present invention.
Fig. 2 is a schematic diagram of the system architecture of the present invention.
Fig. 3 is a schematic diagram of TYPE1 structure in the SMBIOS specification of the present invention.
Detailed Description
As shown in fig. 1 and 2, a method for updating a universal unique identification code based on a serial port includes the following steps:
(1) the control platform is connected with the mainboard through a serial port line;
(2) the firmware of the mainboard is configured with a corresponding serial port;
(3) the control platform opens the update software, responds to the firmware request of the mainboard through the serial port, and automatically updates the universal unique identifier UUID.
The mainboard sends a request command, the control platform receives the command and sends the UUID to the mainboard. The motherboard receives the UUID and stores the content in FV.
As shown in fig. 3, in step (2), the configuration of the serial port corresponding to the firmware specifically includes:
(21) starting up to a designated program, initializing a function from a serial port to UpDateUUID, sending a BYOUS instruction to the control platform through the serial port, and requesting to write in the UUID;
(22) after the host board receives the UUID through the serial port and the UUID is refreshed, the UUID is stored in a module FV in firmware appointed by the firmware, and the firmware sends an ending instruction through the serial port;
(23) the next time of power-on and startup, firmware calls a designated program UpdateUUID, and an SMBIOS table is updated, wherein the SMBIOS table is specifically a System Management BIOS System Management BIOS, is a standard for transmitting Management information through System firmware, 127 TYPEs are totally arranged in the SMBIOS table, and the UUID is written into TYPE 1;
(24) if 16 Byte positions behind Offset 08h are all 00 or all FF, updating the UUID in the FV to TYPE1 by updating the SMBIOS table; if not, the updating is not needed, and the operation is directly returned.
In the step (3), the control platform receives a command sent by the serial port and judges whether the command is a BYOUS; if the serial port is BYOUS, capturing UUIDs stored on the computer, arranging the UUIDs in the Buffer in sequence, and sending a first group of UUIDs to the serial port; if the command is BYOUE, the sending is finished, the Buffer pointer jumps to the address of the next group of UUIDs, and the command sent by the serial port is waited to be received.
The invention saves hardware cost, saves startup time, improves production efficiency and reduces labor cost.
While the invention has been shown and described with respect to the preferred embodiments, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the scope of the invention as defined in the following claims.
Claims (2)
1. A method for updating a universal unique identification code based on a serial port is characterized by comprising the following steps:
(1) the control platform is connected with the mainboard through a serial port line;
(2) the firmware of the mainboard is configured with a corresponding serial port; the firmware configuration corresponding serial port specifically comprises the following steps:
(21) starting up to a designated program, initializing a function from a serial port to UpDateUUID, sending a BYOUS instruction to the control platform through the serial port, and requesting to write in the UUID;
(22) after the host board receives the UUID through the serial port and the UUID is refreshed, the UUID is stored in a module FV in firmware appointed by the firmware, and the firmware sends an ending instruction through the serial port;
(23) the next time the computer is powered on and started, the firmware calls a designated program UpdateUUID to write the UUID into TYPE1 by updating an SMBIOS table;
(24) if 16 Byte positions behind Offset 08h are all 00 or all FF, updating the UUID in the FV to TYPE1 by updating the SMBIOS table; if not, directly returning without updating;
(3) the control platform opens the update software, responds to the firmware request of the mainboard through the serial port, and automatically updates the universal unique identifier UUID.
2. The method for updating the universal unique identification code based on the serial port as claimed in claim 1, wherein in the step (3), the control platform receives a command sent by the serial port, and judges whether the command is BYOUS; if the serial port is BYOUS, capturing UUIDs stored on the computer, arranging the UUIDs in the Buffer in sequence, and sending a first group of UUIDs to the serial port; if the command is BYOUE, the sending is finished, the Buffer pointer jumps to the address of the next group of UUIDs, and the command sent by the serial port is waited to be received.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710260253.6A CN107066277B (en) | 2017-04-20 | 2017-04-20 | Method for updating universal unique identification code based on serial port |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710260253.6A CN107066277B (en) | 2017-04-20 | 2017-04-20 | Method for updating universal unique identification code based on serial port |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107066277A CN107066277A (en) | 2017-08-18 |
CN107066277B true CN107066277B (en) | 2020-07-24 |
Family
ID=59600105
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710260253.6A Active CN107066277B (en) | 2017-04-20 | 2017-04-20 | Method for updating universal unique identification code based on serial port |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107066277B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201867793U (en) * | 2010-07-06 | 2011-06-15 | 北京研华兴业电子科技有限公司 | Debugging system of basic input/output system |
CN102830987A (en) * | 2011-06-14 | 2012-12-19 | 英业达股份有限公司 | Burning method |
CN103914324A (en) * | 2013-01-08 | 2014-07-09 | 海尔集团公司 | Method for automatically burning firmware of embedded equipment, and system thereof |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140229602A1 (en) * | 2013-02-08 | 2014-08-14 | International Business Machines Corporation | Management of node membership in a distributed system |
-
2017
- 2017-04-20 CN CN201710260253.6A patent/CN107066277B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201867793U (en) * | 2010-07-06 | 2011-06-15 | 北京研华兴业电子科技有限公司 | Debugging system of basic input/output system |
CN102830987A (en) * | 2011-06-14 | 2012-12-19 | 英业达股份有限公司 | Burning method |
CN103914324A (en) * | 2013-01-08 | 2014-07-09 | 海尔集团公司 | Method for automatically burning firmware of embedded equipment, and system thereof |
Also Published As
Publication number | Publication date |
---|---|
CN107066277A (en) | 2017-08-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9301164B2 (en) | Method, system, and terminal for performing system update between mobile communication terminals | |
US10019253B2 (en) | Systems and methods of updating hot-pluggable devices | |
US9563442B2 (en) | Baseboard management controller and method of loading firmware | |
CN106201563B (en) | Configuration method and device of starting parameters and method and device for starting mainboard | |
CN103412769A (en) | External card parameter configuration method, equipment and system | |
US20160132315A1 (en) | Method, Apparatus, and Communication Device for Updating Firmware | |
US20140122860A1 (en) | Cloud system and boot deployment method for the cloud system | |
US20130007289A1 (en) | Remote control system and remote control method of the same | |
EP3399408B1 (en) | Information processing apparatus and computer readable storage medium | |
CN107463388B (en) | UEFI diskless starting method | |
US10656676B2 (en) | Docking device, electrical device, and MAC address cloning method | |
WO2021136200A1 (en) | Bootloader loading method, storage medium, and embedded terminal | |
CN111831309A (en) | Upgrading method, device, equipment and medium for multiple MCUs (micro control units) in Wifi (wireless fidelity) of Internet of things | |
WO2016062146A1 (en) | Serial number information update method, device and terminal | |
CN109828774B (en) | Server system and starting method thereof | |
US20190205109A1 (en) | Computer system, baseboard management controller, and os installation method | |
WO2016033941A1 (en) | Boot on-line upgrading apparatus and method | |
CN108153548A (en) | A kind of EMMC firmware upgrade methods and device | |
CN113448598A (en) | Component upgrading method and device and server | |
CN108108314B (en) | Exchanger system | |
CN107066277B (en) | Method for updating universal unique identification code based on serial port | |
JP4482044B2 (en) | Information processing apparatus and device controller drive control method | |
CN109697077B (en) | Method, device and equipment for starting hard disk firmware | |
CN102455919A (en) | Automatic optimization setting method for basic input output system(BIOS) | |
CN107145345B (en) | Method for updating media access control address based on serial port |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 210032 Building 501-505, Dongchuang Science and Technology Center, No. 1 Hongfeng Road, Jinqian East Road Enterprise Science and Technology Park, Kunshan City, Suzhou City, Jiangsu Province Applicant after: Kunshan one hundred Ao Electronic Technology Co., Ltd. Address before: Room 1602, Qianqiandong Road Science and Technology Plaza, Kunshan City, Suzhou City, Jiangsu Province Applicant before: Kunshan one hundred Ao Electronic Technology Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |