CN1455343A - Method of preventing overwrite of MAC address of peripheral terminal in DMI data - Google Patents

Method of preventing overwrite of MAC address of peripheral terminal in DMI data Download PDF

Info

Publication number
CN1455343A
CN1455343A CN 03138049 CN03138049A CN1455343A CN 1455343 A CN1455343 A CN 1455343A CN 03138049 CN03138049 CN 03138049 CN 03138049 A CN03138049 A CN 03138049A CN 1455343 A CN1455343 A CN 1455343A
Authority
CN
China
Prior art keywords
mac address
dmi
peripheral terminal
management system
desktop management
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
CN 03138049
Other languages
Chinese (zh)
Other versions
CN1228718C (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.)
Via Technologies Inc
Original Assignee
Via Technologies Inc
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 Via Technologies Inc filed Critical Via Technologies Inc
Priority to CN 03138049 priority Critical patent/CN1228718C/en
Publication of CN1455343A publication Critical patent/CN1455343A/en
Application granted granted Critical
Publication of CN1228718C publication Critical patent/CN1228718C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Abstract

In the invention, using a utility provided by the BIOS disables the function for erasing the MAC address in DMI. The utilities not allowing for users to change the data of the MAC address and storing the original data of the MAC address in advance are added to the BIOS, in order to solve the problem happens when BIOS being updated, the MAC address is erased.

Description

Prevent to override the method for the MAC Address of peripheral terminal in the DMI data
Technical field
A kind of method that prevents to override the MAC Address of peripheral terminal in the DMI data, the method that prevents to override the MAC Address of peripheral terminal in the DMI data of generation systems mistake when particularly a kind of BIOS of preventing upgrades.
Background technology
Flourish along with the progress of the growth of enterprise, infotech and the Internet, the use of computing machine is more and more general.Though popularizing of computer operation and network brings the computerized performance of operation, relatively also fund, the human and material resources of enterprise are caused very big burden.Personal computer that office grows with each passing day and various terminal device bring a lot of managerial problems to enterprise, therefore DMTF work group (Desktop Management Task Force) has formulated Desktop Management Interface DMI (Desktop Management Interface) standard jointly, be used for each assembly and incident on the supervising the network, the system standard of the system of DMTF is formulated team (System Standard Groups Definition) and has been defined for example processor (processor) at present, BIOS, cache memory (cache), LAN, the management information format MIF (Management InformationFormat) of peripheral assemblies such as IEEE1394 peripheral unit has wherein also comprised the medium access control address (Media Access Control address is a MAC Address) of each peripheral terminal in the management information.
Fig. 1 is the local system Organization Chart on the motherboard, and it is provided with a CPU (central processing unit) 10, and is connected to north bridge chips 11, on the CPU (central processing unit) 10 and is connected to South Bridge chip 12, a LAN interface 120, an electric erasable formula ROM (read-only memory) (EEPROM) 121 on the north bridge chips 11 on a motherboard 1; Above-mentioned medium access control address (MAC Address) generally is stored in its electric erasable formula ROM (read-only memory) (EEPROM), but the cost of internal memory is about 10 yuan of New Taiwan Currencies, and cost relative for mass-produced manufacturer is higher.Another has used mode shown in Fig. 2,3, at first please consult Fig. 2 earlier, on a motherboard 20, be connected with the system schematic of a Local Area Network 21, IEEE1394 peripheral unit 22 and other peripheral terminal 23, wherein, include a South Bridge chip 200, a north bridge chips 201, a BIOS internal memory 202 in motherboard 20, reach a central processing unit 203 (CPU), above-mentioned DMI(Desktop Management Interface) data storing is in BIOS internal memory 202.
Fig. 3 is the storage area chart of this BIOS internal memory, and its Desktop Management Interface data comprise the DMI data 30 of LAN (Local Area Network) among Fig. 4, the DMI data 31 of IEEE1394 peripheral unit and the DMI data 32 of other device; Each DMI data all comprises a MAC Address 33 and slot identification code (SLOT ID) 34.
But the problem that the mode of DMI data storing in the BIOS internal memory also had of above-mentioned usefulness exists, one can be by downloading an executive routine (for example FLASH.EXE) for the user, by carrying out this executive routine with DMI data erase (ERASE) or modification, therefore when new data more, MAC Address is override sometimes, cause the situation of system's confusion to take place; For example carry out a DMICFG executable program and also MAC Address can be wiped, thereby former MAC Address is written when occurring in more new data, and then cause the situation of system's confusion to take place.
Former MAC Address is wiped free of when upgrading for solving traditional B IOS, and then the generation systems mistake problem, the present invention proposes a kind of method that prevents to override the MAC Address of peripheral terminal in the DMI data and reaches the purpose that the MAC Address that can prevent peripheral terminal in the DMI information is written.
Summary of the invention
The present invention is the method that prevents to override the MAC Address of peripheral terminal in the DMI data, is primarily characterized in that the function of utilizing BIOS to provide can't be carried out the executive routine that upgrades BIOS; The BIOS ROMPaq that provides a DMI setting executive routine and that can't change the MAC Address data can prestore former MAC Address data again.
For achieving the above object, the present invention prevents that the method that overrides the MAC Address of peripheral terminal in the DMI data from comprising: at first, enter the program forbidden energy that BIOS can wipe this MAC Address; Then, carry out a DMI that can't change the MAC Address data and set executive routine; And the final BIOS ROMPaq that can prestore former MAC Address data of carrying out.
Relevant detailed content of the present invention and technology, accompanying drawings is as follows:
Description of drawings
Fig. 1 is the local system Organization Chart on the mainboard;
Figure two is for being connected with the system schematic of peripherals on a mainboard;
Figure three is the storage area chart of BIOS internal memory;
Figure four prevents to override the method flow synoptic diagram of a preferable embodiment of the MAC Address of peripheral terminal in the DMI data for the present invention;
Figure five is the detailed process synoptic diagram of figure three in step 40; And
Figure six prevents to override the method flow synoptic diagram of another preferable embodiment of the MAC Address of peripheral terminal in the DMI data for the present invention.
Symbol description
1................................................. mainboard;
10................................................ CPU (central processing unit);
11................................................ north bridge chips;
12................................................ South Bridge chip;
120............................................... LAN (Local Area Network) interface;
121...............................................EEPROM;
20................................................ mainboard;
21................................................ Local Area Network;
22................................................IEEE13 94 peripheral units;
23................................................ other peripheral terminal;
200............................................... South Bridge chip;
201............................................... north bridge chips;
202...............................................BIOS internal memory;
203............................................... central processing unit;
30................................................ the DMI data of LAN (Local Area Network);
31................................................IEEE13 the DMI data of 94 peripheral units;
32................................................DMI data;
33................................................MAC address;
34................................................ slot identification code (ID);
Embodiment
Figure four is the method flow synoptic diagram that prevents to override the MAC Address one preferable embodiment of peripheral terminal in the DMI information of the present invention, is wiped free of and provides a function that can prestore former MAC data in order to prevent the MAC Address data, comprises the following steps:
At first carry out step 40, enter the program forbidden energy (Disable) that BIOS can wipe this MAC Address; Then, in step 41, provide a DMI that can't change the MAC Address data to set executive routine, its make the executive routine that can change BIOS can't write memory in; And a program that can prestore former MAC Address data is provided in step 42 at last, and program backs up MAC Address thus, even former MAC Address is wiped free of, function of finding former MAC Address thus also can prestore; Promptly finish the flow process of the present embodiment by above-mentioned steps.
Fig. 5 is the detailed process synoptic diagram of Fig. 4 in step 40, comprises the following steps:
At first in step 400, provide the function of a restriction AWDFLASH.EXE program execution; Then being written into one in step 401 can limit the function that the DMICFGEXE program writes.
More than prevent to override the detailed description of the method for the MAC Address of peripheral terminal in the DMI data for the present invention, utilization provides a DMI that can't change the MAC Address data to set can the prestore BIOS ROMPaq of former MAC Address data of executive routine and, can reach to prevent that MAC Address is written and causes the effect of system mistake.
Fig. 6 is the schematic flow sheet of another preferable embodiment of the present invention, and this embodiment is start detection process (Power On Self Test; POST) implementation step, it comprises the following steps:
At first in step 50, the flow process of a subroutine of beginning one start detection process checks whether the chksum value that is stored in the MAC Address (DMI MAC) in the desktop management system is correct; Exist the chksum value of the MAC Address (CMOS MAC) among the CMOS whether correct if correctly then enter further inspection of step 51; If existing the chksum value of its MAC Address among the CMOS correctly then to enter step 53 will be stored in MAC Address in the desktop management system (DMI MAC) and be replicated in one and be called as in shade (shadow) buffer of Lancard, enter the set-up function that step 54 is hidden MAC Address then, i.e. the set-up function of CMOS MAC Address in display update (setup) picture not.If exist the incorrect step 52 that then enters of MAC Address among the CMOS will be stored in MAC Address (DMI MAC) in the desktop management system and be copied on the MAC Address (CMOS MAC) among the CMOS, proceed the step of step 53 to 54 then, address owing to preceding, do not repeat them here.
In step 50, whether equal B1h if be stored in the incorrect chksum value of judging its MAC Address (DMIMAC) in the desktop management system in the step 55 that then enters of chksum value of the MAC Address (DMI MAC) in the desktop management system; Then enter the Q-character (flag) that step 56 is set the desktop management system MAC Address of upgrading if equal the words of B1h, continue the operation of step 52 then to step 54.If the chksum value of its MAC Address (DMI MAC) is not equal to B1h and then enters step 57 judgement whether be stored in the Chksum value of MAC among the CMOS correct in the desktop management system, duplicate MAC Address among the CMOS to the MAC Address of desktop management system if correctly then enter step 58, and proceed the operation to 54 of step 56 and step 52.
If be stored in the incorrect flow process that then finishes this embodiment of chksum value of MAC Address among the CMOS.
In sum, former MAC Address is wiped free of in the time of can solving traditional B IOS renewal by the present invention, and then the generation systems mistake problem, fill part and demonstrate method that the present invention prevents to override the MAC Address of peripheral terminal in the DMI data all has enforcement on purpose and effect progressive, has the value on the industry, and be present new invention not seen before on the market, meet the important document of patent of invention fully, file an application in accordance with the law.
The above only is a preferable embodiment of the present invention, can not be as limiting the scope that the present invention implemented.Promptly the equalization of doing according to claim of the present invention generally changes and revises, and all should still belong in the scope that patent of the present invention contains.

Claims (11)

1. method that prevents to override the MAC Address of peripheral terminal in the DMI data, wherein said DMI data storing is in an internal memory, and it comprises:
Provide a function with so that the program that can wipe described MAC Address by forbidden energy;
Provide one to carry out function in order to make its DMI that can't change MAC Address data setting; And
Provide a BIOS upgrade function, the address date of the former MAC that can prestore.
2. the method that prevents to override the MAC Address of peripheral terminal in the DMI data as claimed in claim 1 wherein provides a function, makes the step that can wipe the program forbidden energy of described MAC Address to be comprised:
The function that provides a restriction AWDFLASH program to carry out; And
The restriction function that one DMI form executive routine writes is provided.
3. the method that prevents to override the MAC Address of peripheral terminal in the DMI data as claimed in claim 1, wherein, described peripheral terminal is a LAN (Local Area Network).
4. the method that prevents to override the MAC Address of peripheral terminal in the DMI data as claimed in claim 1, wherein, described peripheral terminal is the IEEE1394 device.
5. method that prevents to override the MAC Address of peripheral terminal in the DMI data, it comprises:
Whether the identification code that inspection is stored in the MAC Address in the desktop management system is correct;
If the MAC Address that is stored in the desktop management system is correct, check whether the MAC Address that is present among the CMOS is correct;
If the MAC Address that is present among the CMOS is correct, the MAC Address that is stored in the desktop management system is replicated in the buffer of setting; And
Hide the set-up function of MAC Address.
6. whether correct the method that prevents to override the MAC Address of peripheral terminal in the DMI data as claimed in claim 5 wherein be stored in the identification code of the MAC Address in the desktop management system the step in inspection, also comprises:
Be stored in the identification code mistake of the MAC Address in the desktop management system;
Judge the identification code of its MAC Address in the desktop management system;
If the identification code of MAC Address was modified in the desktop management system, set the desktop management system MAC Address Q-character that upgrades;
MAC Address is replicated in the buffer of setting in the desktop management system with being stored in; And
Hide the set-up function of MAC Address.
7. the method that prevents to override the MAC Address of peripheral terminal in the DMI data as claimed in claim 6 wherein in the step that whether identification code of MAC Address has been modified in judging the desktop management system, also comprises:
The identification code (chksum) of its MAC Address in the desktop management system (DMI MAC) is not more corrected one's mistakes as yet;
Judge the identification code that is stored among the CMOS;
If the identification code that is stored among the CMOS is correct, duplicate MAC Address among the CMOS to the MAC Address of desktop management system;
Set the desktop management system MAC Address Q-character that upgrades;
MAC Address is replicated in the buffer of setting in the desktop management system with being stored in; And
Hide the set-up function of MAC Address.
8. method that the BIOS that upgrades mainboard sets, wherein said mainboard comprises one first internal memory (CMOS MAC storer) in order to store the medium access control address (MAC Address) of a peripheral terminal, and one second internal memory (DMI flash memory) back up the medium access control address of described peripheral terminal, with a peripherals of the surrounding terminals of control linkage mainboard, described method comprises:
Upgrade the MAC Address of DMI storer by the MAC Address of CMOS, the MAC Address of wherein said DMI storer is set for read-only, is updated the method (common program) that DMI sets with the MAC Address that prevents peripheral terminal in the DMI data and is override (overwrite);
The MAC Address that reads among the described DMI memory is upgraded the BIOS setting.
9. the method that the BIOS of renewal mainboard as claimed in claim 8 sets also further comprises in its step:
When the MAC Address in described first internal memory is incorrect, then utilize mac address information in described second internal memory to back up.
10. the method for setting as the BIOS of renewal mainboard as described in the claim 8 also further comprises in its step:
When the MAC Address in described second internal memory is incorrect, then utilize the mac address information in described first internal memory to back up.
11. the method that prevents to override the MAC Address of peripheral terminal in the DMI data as claimed in claim 8, wherein, described peripheral terminal is the IEEE1394 device.
CN 03138049 2003-05-30 2003-05-30 Method of preventing overwrite of MAC address of peripheral terminal in DMI data Expired - Lifetime CN1228718C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 03138049 CN1228718C (en) 2003-05-30 2003-05-30 Method of preventing overwrite of MAC address of peripheral terminal in DMI data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 03138049 CN1228718C (en) 2003-05-30 2003-05-30 Method of preventing overwrite of MAC address of peripheral terminal in DMI data

Publications (2)

Publication Number Publication Date
CN1455343A true CN1455343A (en) 2003-11-12
CN1228718C CN1228718C (en) 2005-11-23

Family

ID=29260573

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 03138049 Expired - Lifetime CN1228718C (en) 2003-05-30 2003-05-30 Method of preventing overwrite of MAC address of peripheral terminal in DMI data

Country Status (1)

Country Link
CN (1) CN1228718C (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100367200C (en) * 2004-08-26 2008-02-06 微星科技股份有限公司 Data storing method for basic inputting and outputting system
CN100592262C (en) * 2005-08-05 2010-02-24 鸿富锦精密工业(深圳)有限公司 System and method for retaining dynamic information in desktop management interface
CN101907994A (en) * 2009-06-08 2010-12-08 鸿富锦精密工业(深圳)有限公司 Method for loading display card BIOS
CN101770396B (en) * 2008-12-29 2012-12-19 鸿富锦精密工业(深圳)有限公司 Method and device for erasing DMI data under Linux system
CN104412237A (en) * 2012-12-27 2015-03-11 日本电产三协株式会社 Peripheral device, peripheral device control method, firmware download system, and program
CN105988937A (en) * 2015-05-12 2016-10-05 乐视移动智能信息技术(北京)有限公司 Processing method and device of MAC (Media Access Control) address
CN107463412A (en) * 2017-08-17 2017-12-12 郑州云海信息技术有限公司 A kind of method and device of upgrading BIOS
CN107621938A (en) * 2017-09-13 2018-01-23 郑州云海信息技术有限公司 A kind of PHY network adapter upgrade method and system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100367200C (en) * 2004-08-26 2008-02-06 微星科技股份有限公司 Data storing method for basic inputting and outputting system
CN100592262C (en) * 2005-08-05 2010-02-24 鸿富锦精密工业(深圳)有限公司 System and method for retaining dynamic information in desktop management interface
CN101770396B (en) * 2008-12-29 2012-12-19 鸿富锦精密工业(深圳)有限公司 Method and device for erasing DMI data under Linux system
CN101907994A (en) * 2009-06-08 2010-12-08 鸿富锦精密工业(深圳)有限公司 Method for loading display card BIOS
CN104412237A (en) * 2012-12-27 2015-03-11 日本电产三协株式会社 Peripheral device, peripheral device control method, firmware download system, and program
CN104412237B (en) * 2012-12-27 2017-05-10 日本电产三协株式会社 Peripheral device, peripheral device control method, and firmware download system
CN105988937A (en) * 2015-05-12 2016-10-05 乐视移动智能信息技术(北京)有限公司 Processing method and device of MAC (Media Access Control) address
CN107463412A (en) * 2017-08-17 2017-12-12 郑州云海信息技术有限公司 A kind of method and device of upgrading BIOS
CN107621938A (en) * 2017-09-13 2018-01-23 郑州云海信息技术有限公司 A kind of PHY network adapter upgrade method and system

Also Published As

Publication number Publication date
CN1228718C (en) 2005-11-23

Similar Documents

Publication Publication Date Title
US8037292B2 (en) Method for accelerating BIOS running
CN1295623C (en) Non-volatile cache
US8073673B2 (en) Emulated memory management
CN1313941C (en) Method for data exchange between data handling equipment and operating system
US7512777B2 (en) Method and system for maintaining system management BIOS
CN1652080A (en) Apparatus and method for updating firmware
EP3314514B1 (en) Protecting basic input/output (bios) code
US20050223186A1 (en) Device-level address translation within a programmable non-volatile memory device
CN1959638A (en) Method and apparatus for memory initializing in a computer system
KR20080007430A (en) Nand flash memory system architecture
JP2013137771A (en) Mount-time reconciliation of data availability
CN1932778A (en) Method for conducting virtual space management to NAND FLASH memory
CN1825283A (en) Method for implementing hardware image starting optimizing of embedded operating system
CN1707432A (en) Locating environment variables in non-volatile memory
CN1228718C (en) Method of preventing overwrite of MAC address of peripheral terminal in DMI data
US20080195854A1 (en) Electronic Systems Using Flash Memory Modules as Main Storage and Related System Booting Methods
KR20040051322A (en) Data retouching method for executing file on real time and virus elimination method using the data retouching method thereof
CN1501252A (en) Automatic restoring method and system for basic input and output system
CN111338562B (en) Data storage device and data processing method
CN109324929B (en) Snapshot creating method, device and equipment and readable storage medium
CN1178130C (en) Control method and electronic device thereof
US7234039B1 (en) Method, system, and apparatus for determining the physical memory address of an allocated and locked memory buffer
CN111651124B (en) Parallel reconstruction method, device, equipment and medium for SSD mapping table multi-core partition
CN1248094C (en) Mouse device capable of storing data
US7401195B2 (en) Portable data storage device and method of accessing data thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C14 Grant of patent or utility model
GR01 Patent grant
CX01 Expiry of patent term
CX01 Expiry of patent term

Granted publication date: 20051123