CN107066277A - A kind of method that general unique identifier is updated based on serial ports - Google Patents

A kind of method that general unique identifier is updated based on serial ports Download PDF

Info

Publication number
CN107066277A
CN107066277A CN201710260253.6A CN201710260253A CN107066277A CN 107066277 A CN107066277 A CN 107066277A CN 201710260253 A CN201710260253 A CN 201710260253A CN 107066277 A CN107066277 A CN 107066277A
Authority
CN
China
Prior art keywords
serial ports
uuid
firmware
motherboard
unique identifier
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
CN201710260253.6A
Other languages
Chinese (zh)
Other versions
CN107066277B (en
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.)
Kunshan One Hundred Ao Electronic Technology Co Ltd
Original Assignee
Kunshan One Hundred Ao Electronic Technology 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 Kunshan One Hundred Ao Electronic Technology Co Ltd filed Critical Kunshan One Hundred Ao Electronic Technology Co Ltd
Priority to CN201710260253.6A priority Critical patent/CN107066277B/en
Publication of CN107066277A publication Critical patent/CN107066277A/en
Application granted granted Critical
Publication of CN107066277B publication Critical patent/CN107066277B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0002Serial 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)
  • Computer And Data Communications (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of method that general unique identifier is updated based on serial ports, comprise the following steps:(1) control platform is connected with motherboard by Serial Port Line;(2) the corresponding serial ports of the firmware configuration of motherboard;(3) control platform, which is opened, updates software, and the firmware requests of motherboard are responded by serial ports, general unique identifier UUID is automatically updated.Beneficial effects of the present invention are:The present invention can effectively reduce hardware cost, save the available machine time, improve production efficiency, reduce labour cost.

Description

A kind of method that general unique identifier is updated based on serial ports
Technical field
The present invention relates to computer production technical field, especially a kind of side that general unique identifier is updated based on serial ports Method.
Background technology
With the development of technology, the correlation technique of computer is being constantly updated, and production technology is being improved constantly.But at present in work When producing motherboard in factory, the general unique identifier (UUID) above every a piece of motherboard still will be to hand below DOS Dynamic is write with a brush dipped in Chinese ink with autoexec, and a little bigger manufacturer is also intended to start shooting to below DOS to be write with a brush dipped in Chinese ink with barcode scanning machine.Use batch processing To write with a brush dipped in Chinese ink, to start shooting to DOS, also to write, lose time and manpower manually;Write with a brush dipped in Chinese ink with barcode scanning machine, with high costs, efficiency is low Under.
The content of the invention
The technical problems to be solved by the invention are that there is provided a kind of side that general unique identifier is updated based on serial ports Method, can effectively reduce hardware cost, improve production efficiency.
In order to solve the above technical problems, the present invention provides a kind of method that general unique identifier is updated based on serial ports, bag Include following steps:
(1) control platform is connected with motherboard by Serial Port Line;
(2) the corresponding serial ports of the firmware configuration of motherboard;
(3) control platform, which is opened, updates software, and the firmware requests of motherboard are responded by serial ports, automatically updates general unique Identification code UUID.
It is preferred that, in step (2), the corresponding serial ports of firmware configuration is specially:
(21) designated program is arrived in start, has initialized serial ports Boot to UpDateUUID functions, BYOUS is sent by serial ports Instruct to control platform, request write-in UUID;
(22) motherboard is received after UUID by serial ports, after the completion of UUID refreshes, and what UUID was stored in that firmware specifies consolidates In a module FV in part, firmware sends END instruction by serial ports;
(23) machine is established by cable on next time, firmware calls designated program UpDateUUID by updating SMBIOS table UUID It is written to inside TYPE1;
(24) if 16 Byte positions are full 00 or full FF behind Offset 08h, by updating SMBIOS table UUID in FV is updated into TYPE1;If it is not, then without updating, directly returning.
It is preferred that, in step (3), control platform receives the order that serial ports is sent, and judges whether order is BYOUS;Such as Fruit is BYOUS, then captures and be arranged in order inside UUID to the Buffer that computer is stored above, and send out first group of UUID toward serial ports; If BYOUE, then terminate to send, Buffer pointers jump to next group of UUID address, the life for waiting serial ports to be received to send Order.
Beneficial effects of the present invention are:The present invention can effectively reduce hardware cost, save the available machine time, improve production Efficiency, reduces labour cost.
Brief description of the drawings
Fig. 1 is the method flow schematic diagram of the present invention.
Fig. 2 is the system structure diagram of the present invention.
Fig. 3 is the TYPE1 structural representations in the SMBIOS specifications of the present invention.
Embodiment
As illustrated in fig. 1 and 2, a kind of method that general unique identifier is updated based on serial ports, is comprised the following steps:
(1) control platform is connected with motherboard by Serial Port Line;
(2) the corresponding serial ports of the firmware configuration of motherboard;
(3) control platform, which is opened, updates software, and the firmware requests of motherboard are responded by serial ports, automatically updates general unique Identification code UUID.
Motherboard sends request command, and control platform receives order, sends UUID to motherboard.Motherboard receives UUID Content is present in FV afterwards.
As shown in figure 3, in step (2), the corresponding serial ports of firmware configuration is specially:
(21) designated program is arrived in start, has initialized serial ports Boot to UpDateUUID functions, BYOUS is sent by serial ports Instruct to control platform, request write-in UUID;
(22) motherboard is received after UUID by serial ports, after the completion of UUID refreshes, and what UUID was stored in that firmware specifies consolidates In a module FV in part, firmware sends END instruction by serial ports;
(23) machine is established by cable on next time, firmware calls designated program UpDateUUID by updating SMBIOS table, SMBIOS table are specially System Management BIOS systems management BIOS, are by system firmware transmission management letter A total of 127 Type inside the standard of breath, SMBIOS table, UUID are written to inside TYPE1;
(24) if 16 Byte positions are full 00 or full FF behind Offset 08h, by updating SMBIOS table UUID in FV is updated into TYPE1;If it is not, then without updating, directly returning.
In step (3), control platform receives the order that serial ports is sent, and judges whether order is BYOUS;If BYOUS, then capture and be arranged in order inside UUID to the Buffer that computer is stored above, and send out first group of UUID toward serial ports;If It is BYOUE, then terminates to send, Buffer pointers jump to next group of UUID address, the order for waiting serial ports to be received to send.
The present invention saves hardware cost, saves the available machine time, improves production efficiency, reduces labour cost.
Although the present invention is illustrated and described with regard to preferred embodiment, it is understood by those skilled in the art that Without departing from scope defined by the claims of the present invention, variations and modifications can be carried out to the present invention.

Claims (3)

1. a kind of method that general unique identifier is updated based on serial ports, it is characterised in that comprise the following steps:
(1) control platform is connected with motherboard by Serial Port Line;
(2) the corresponding serial ports of the firmware configuration of motherboard;
(3) control platform, which is opened, updates software, and the firmware requests of motherboard are responded by serial ports, general unique identification is automatically updated Code UUID.
2. the method as claimed in claim 1 that general unique identifier is updated based on serial ports, it is characterised in that in step (2), The corresponding serial ports of firmware configuration is specially:
(21) designated program is arrived in start, has initialized serial ports Boot to UpDateUUID functions, and BYOUS instructions are sent by serial ports To control platform, request write-in UUID;
(22) motherboard is received after UUID by serial ports, and after the completion of UUID refreshes, UUID is stored in the firmware that firmware is specified A module FV in, firmware sends END instruction by serial ports;
(23) machine is established by cable on next time, firmware calls designated program UpDateUUID that UUID is write by updating SMBIOS table Inside to TYPE1;
(24) if 16 Byte positions are full 00 or full FF behind Offset 08h, by updating SMBIOS table FV In UUID update into TYPE1;If it is not, then without updating, directly returning.
3. the method as claimed in claim 1 that general unique identifier is updated based on serial ports, it is characterised in that in step (3), Control platform receives the order that serial ports is sent, and judges whether order is BYOUS;If BYOUS, then capture and deposited above computer It is arranged in order inside UUID to the Buffer of storage, and first group of UUID is sent out toward serial ports;If BYOUE, then terminate to send, Buffer pointers jump to next group of UUID address, the order for waiting serial ports to be received to send.
CN201710260253.6A 2017-04-20 2017-04-20 Method for updating universal unique identification code based on serial port Active CN107066277B (en)

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 true CN107066277A (en) 2017-08-18
CN107066277B 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 (4)

* Cited by examiner, † Cited by third party
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
US20140229602A1 (en) * 2013-02-08 2014-08-14 International Business Machines Corporation Management of node membership in a distributed system

Patent Citations (4)

* Cited by examiner, † Cited by third party
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
US20140229602A1 (en) * 2013-02-08 2014-08-14 International Business Machines Corporation Management of node membership in a distributed system

Also Published As

Publication number Publication date
CN107066277B (en) 2020-07-24

Similar Documents

Publication Publication Date Title
CN103164244A (en) Firmware system long-distance updating methods based on unified extensible firmware interface
CN113347225B (en) OTA (over the air) upgrading method and server for terminal equipment of Internet of things
CN108536452B (en) Embedded device, system software upgrading method, system and terminal thereof
CN104331312A (en) Firmware updating method and embedded device
CN109213462B (en) Android horizontal and vertical screen data synchronization method and device, terminal and readable medium
CN105743948A (en) Network version upgrading method and apparatus
WO2021120960A1 (en) Usb serial port realization method for linux system console, and related product
CN102591671A (en) Method for starting application program in virtual environment
CN102323888A (en) A kind of diskless computer starts accelerated method
CN108196929B (en) Intelligent loading system, method, storage medium and equipment
CN109032635A (en) Method for upgrading software, device and the network equipment
CN108572847B (en) Method for upgrading single chip microcomputer software version through USB port
CN106487524B (en) The method of remote opening
CN107066277A (en) A kind of method that general unique identifier is updated based on serial ports
CN112416521A (en) Serial port virtualization implementation method based on linux tty subsystem
CN106357454B (en) Log system control device and control method thereof
CN102890661A (en) Host-slave communication protocol
CN109445698A (en) Inquire the method, apparatus and computer readable storage medium of multi-disc flash state
CN107682212B (en) Multi-user network communication exception handling method for embedded equipment
CN114201458B (en) Information updating method, micro-service system and computer readable storage medium
CN1294506C (en) Remote operation device for controlling several remote computer units via network
CN107145345A (en) A kind of method that media access control address is updated based on serial ports
CN202267950U (en) Remote upgrading device of embedded devices
CN109960564B (en) Virtual machine migration method
CN100371917C (en) Installation method of driving program built in hardware device

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