CN105959429A - Method for ensuring network card MAC address uniqueness in computer complete machine system mass production - Google Patents

Method for ensuring network card MAC address uniqueness in computer complete machine system mass production Download PDF

Info

Publication number
CN105959429A
CN105959429A CN201610274313.5A CN201610274313A CN105959429A CN 105959429 A CN105959429 A CN 105959429A CN 201610274313 A CN201610274313 A CN 201610274313A CN 105959429 A CN105959429 A CN 105959429A
Authority
CN
China
Prior art keywords
mac address
computer
test
machine system
server
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
CN201610274313.5A
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.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry 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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201610274313.5A priority Critical patent/CN105959429A/en
Publication of CN105959429A publication Critical patent/CN105959429A/en
Priority to PCT/CN2017/075917 priority patent/WO2017185881A1/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5046Resolving address allocation conflicts; Testing of addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method for ensuring network card MAC address uniqueness in computer complete machine system mass production, and the method comprises the following steps: step 1, an MAC address pool database server is prepared, and an automatic testing software is written according to the need; step 2, a test computer and the MAC address pool server are connected with the same sub-network; step 3, a to-be-tested computer operating system is started, and the automatic testing software written according to the need is operated; step 4, a test result is observed; and step 5, a test record is uploaded. According to the invention, the beneficial effects of the invention comprises: the software is adopted to realize the automatic test, a user can conveniently and quickly ensure the effectiveness of the computer complete machine system network card MAC address, the complete machine test and human test cost can be greatly saved, the product shipment defective rate can be effectively reduced, and the product repairing cost can be reduced.

Description

One guarantees MAC Address of Network Card uniqueness in computer machine system is produced in batches Method
Technical field
The present invention relates to computer testing field, specifically one guarantee in computer machine system is produced in batches The method of MAC Address of Network Card uniqueness.
Background technology
MAC (Media Access Control or Medium Access Control) address, free translation is media interviews Control, or referred to as physical address, hardware address, it is used for defining the position of the network equipment.In osi model, third layer Internet Being responsible for IP address, second layer data link layer is then responsible for MAC Address.Therefore a main frame has a MAC Address, and each Network site has an IP address being specific to it.Figuratively, MAC Address is just as the identification card number on our identity card Code, has global uniqueness..Ethernet address administrative organization (IEEE) (IEEE: Institute of Electrical and Electric Engineers) is by ether Net address, is divided into some independent continuation address groups, and the producer producing ethernet nic just buys one of which, specifically produces Time, give Ethernet card by unique address one by one.
In current computer systems, MAC Address of Network Card must be, globally unique, during for guaranteeing machine system shipment The global uniqueness of MAC Address, machine system must test MAC Address before shipment.
In system assembles test process before, waste time and energy, and guarantee that the global uniqueness of MAC Address is the most tired Difficulty, often occurs that the machine system MAC Address of Network Card of shipment repeats, thus causes complete machine to return goods, company pays high generation Valency.
Summary of the invention
The technical assignment of the present invention is to provide one and guarantees that MAC Address of Network Card is only in computer machine system is produced in batches The method of one property.
The technical assignment of the present invention realizes in the following manner, specifically comprises the following steps that the first step: get out MAC Address Pool database server and write automatic testing software as required;Second step: by measuring and calculation machine and MAC Address pool server It is connected to same subnet;3rd step: start computer operating system to be tested, runs the test automatically write as required soft Part;4th step: observe test result;5th step: upload test record.
Preferably, the building method of described MAC Address pool database server is: frame in machine system test network If a station server, create the data base that can deposit a large amount of MAC Address on the server, can be used as MAC Address pool database Server.
More specifically implementing step is:
The first step: build MAC Address pool database server, write automatic testing software as required;
Second step: connect described server and computer to be measured in same subnet;
3rd step: start operating system, read the MAC Address of all computers to be measured, if read MAC Address quantity with The MAC Address quantity of computer burning certain MAC Address that is different or that read has repetition, directly reports mac address error;
4th step: the MAC ground allowing to use that the MAC Address of the computer all to be measured read is applied for IEEE with our company Location scope compares, if there being any one MAC Address not in our company allows the mac address range used, directly reports MAC Address error;
5th step: all MAC Address of machine to be measured read one by one with the MAC comparison in MAC Address pool database, without Repeating, report MAC Address to be successfully tested, if there being repetition, reporting test crash;
6th step: upload test result, if be successfully tested, joins address pool data base all MAC Address, if surveyed Try the most then to delete in MAC Address pool database all MAC Address.
Preferably, ipconfig or ifconfig order is used to read all MAC Address of computer to be measured.
The a kind of of the present invention guarantees that in computer machine system is produced in batches the method for MAC Address of Network Card uniqueness is with existing Having technology to compare, realize automatic test with software, we can conveniently guarantee computer machine system network interface card MAC Address validity, is greatly saved system test and manpower testing cost, effectively reduces product turnout fraction defective, reduces product and reprocesses Cost.
Accompanying drawing explanation
Accompanying drawing 1 is the survey of a kind of method guaranteeing MAC Address of Network Card uniqueness in computer machine system is produced in batches Examination flow chart.
Detailed description of the invention
IPConfig utility program and it graphic user interface of equal value--the WinIPCfg in Windows 95/98 can use In what the TCP/IP that display is current configured, value is set.These information are generally used to check the TCP/IP of human configuration the most just arranging Really.
Ifconfig is for showing or configure the order of the network equipment (NIC) in linux, and English full name is network interfaces configuring。
Concrete principle is to build MAC Address pool database server, reads all MAC Address on computer to be tested, really Protect read address character normally, and with MAC Address pool database server comparison, so that it is guaranteed that computer MAC to be tested ground Location shipment is without repeating.
Embodiment 1:
The first step: build MAC Address pool database server, carries out writing test software as required;
Second step: connect described server and computer to be measured in same subnet;
3rd step: start the Windows operating system of computer to be tested, uses ipconfig order to read all calculating to be measured The MAC Address of machine, if read MAC Address quantity different from the MAC Address quantity of computer burning or reading certain MAC Address has repetition, directly reports mac address error;
4th step: the MAC ground allowing to use that the MAC Address of the computer all to be measured read is applied for IEEE with our company Location scope compares, if there being any one MAC Address not in our company allows the mac address range used, directly reports MAC Address error;
5th step: all MAC Address of machine to be measured read one by one with the MAC comparison in MAC Address pool database, without Repeating, report MAC Address to be successfully tested, if there being repetition, reporting test crash;
6th step: upload test result, if be successfully tested, joins address pool data base all MAC Address, if surveyed Try the most then to delete in MAC Address pool database all MAC Address.
Test software, every detecting step and detection demand according to the present invention are write;Then test software is performed, The every detecting step being automatically performed in present invention, may insure that the whole world of MAC Address in machine system is unique completely Property.
Embodiment 2:
The first step: build MAC Address pool database server, carries out writing test software as required;
Second step: connect described server and computer to be measured in same subnet;
3rd step: start the (SuSE) Linux OS of computer to be tested, uses ifconfig order to read all computers to be measured MAC Address, if read MAC Address quantity different from the MAC Address quantity of computer burning or reading certain MAC Address has repetition, directly reports mac address error;
4th step: the MAC ground allowing to use that the MAC Address of the computer all to be measured read is applied for IEEE with our company Location scope compares, if there being any one MAC Address not in our company allows the mac address range used, directly reports MAC Address error;
5th step: all MAC Address of machine to be measured read one by one with the MAC comparison in MAC Address pool database, without Repeating, report MAC Address to be successfully tested, if there being repetition, reporting test crash;
6th step: upload test result, if be successfully tested, joins address pool data base all MAC Address, if surveyed Try the most then to delete in MAC Address pool database all MAC Address.
Wherein, machine system test network sets up a station server, creates on the server and can deposit a large amount of MAC ground The data base of location, can be used as MAC Address pool database server.
Test software, every detecting step and detection demand according to the present invention are write;Then test software is performed, The every detecting step being automatically performed in present invention, may insure that the whole world of MAC Address in machine system is unique completely Property.
By detailed description of the invention above, described those skilled in the art can readily realize the present invention.But should Working as understanding, the present invention is not limited to above-mentioned several detailed description of the invention.On the basis of disclosed embodiment, described technology The technical staff in field can the different technical characteristic of combination in any, thus realize different technical schemes.

Claims (4)

1. the method guaranteeing MAC Address of Network Card uniqueness in computer machine system is produced in batches, it is characterised in that side Method step is as follows: the first step: gets out MAC Address pool database server and writes automatic testing software as required;Second Step: measuring and calculation machine and MAC Address pool server are connected to same subnet;3rd step: start computer operation system to be tested System, runs the automatic testing software write as required;4th step: observe test result;5th step: upload test record.
One the most according to claim 1 guarantees MAC Address of Network Card uniqueness in computer machine system is produced in batches Method, it is characterised in that the building method of described MAC Address pool database server is: at machine system test network Middle erection one station server, creates the data base that can deposit a large amount of MAC Address on the server, can be used as MAC Address pond number According to storehouse server.
One the most according to claim 1 guarantees MAC Address of Network Card uniqueness in computer machine system is produced in batches Method, it is characterised in that its detailed step is:
The first step: build MAC Address pool database server, write automatic testing software as required;
Second step: connect described server and computer to be measured in same subnet;
3rd step: start operating system, read the MAC Address of all computers to be measured, if read MAC Address quantity with The MAC Address quantity of computer burning certain MAC Address that is different or that read has repetition, directly reports mac address error;
4th step: the MAC ground allowing to use that the MAC Address of the computer all to be measured read is applied for IEEE with our company Location scope compares, if there being any one MAC Address not in our company allows the mac address range used, directly reports MAC Address error;
5th step: all MAC Address of machine to be measured read one by one with the MAC comparison in MAC Address pool database, without Repeating, report MAC Address to be successfully tested, if there being repetition, reporting test crash;
6th step: upload test result, if be successfully tested, joins address pool data base all MAC Address, if surveyed Try the most then to delete in MAC Address pool database all MAC Address.
One the most according to claim 3 guarantees MAC Address of Network Card uniqueness in computer machine system is produced in batches Method, it is characterised in that use ipconfig or ifconfig order reading computer to be measured all MAC Address.
CN201610274313.5A 2016-04-28 2016-04-28 Method for ensuring network card MAC address uniqueness in computer complete machine system mass production Pending CN105959429A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610274313.5A CN105959429A (en) 2016-04-28 2016-04-28 Method for ensuring network card MAC address uniqueness in computer complete machine system mass production
PCT/CN2017/075917 WO2017185881A1 (en) 2016-04-28 2017-03-08 Method for ensuring uniqueness of network card mac addresses in computer complete machine-system mass production

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610274313.5A CN105959429A (en) 2016-04-28 2016-04-28 Method for ensuring network card MAC address uniqueness in computer complete machine system mass production

Publications (1)

Publication Number Publication Date
CN105959429A true CN105959429A (en) 2016-09-21

Family

ID=56915776

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610274313.5A Pending CN105959429A (en) 2016-04-28 2016-04-28 Method for ensuring network card MAC address uniqueness in computer complete machine system mass production

Country Status (2)

Country Link
CN (1) CN105959429A (en)
WO (1) WO2017185881A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017185881A1 (en) * 2016-04-28 2017-11-02 浪潮电子信息产业股份有限公司 Method for ensuring uniqueness of network card mac addresses in computer complete machine-system mass production
CN109639847A (en) * 2018-12-18 2019-04-16 浪潮电子信息产业股份有限公司 A kind of equipment that writing with a brush dipped in Chinese ink MAC Address, method and system
CN111221540A (en) * 2019-10-18 2020-06-02 惠州高盛达科技有限公司 Server-based multi-jointed board parallel burning method and burning system
CN112003766A (en) * 2020-08-13 2020-11-27 苏州浪潮智能科技有限公司 Network card MAC repeated test exception handling method and device
CN112187966A (en) * 2020-09-17 2021-01-05 浪潮(北京)电子信息产业有限公司 Acceleration card, MAC address generation method and device thereof, and storage medium
CN114124904A (en) * 2022-01-25 2022-03-01 北京智象信息技术有限公司 Method and system for verifying MAC addresses to be burnt into multiple devices by server

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112333008B (en) * 2020-10-22 2023-01-24 济南浪潮数据技术有限公司 Cloud host complete machine backup and restoration method, device, equipment and storage medium
CN115529296B (en) * 2022-08-25 2023-10-03 惠州市德赛西威汽车电子股份有限公司 ID address testing method, system, testing tool and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040141468A1 (en) * 2003-01-21 2004-07-22 Telefonaktiebolaget Lm Ericsson (Publ) Ethernet address management system
CN1767545A (en) * 2004-10-27 2006-05-03 中兴通讯股份有限公司 Method for obtaining device MAC address
CN102983968A (en) * 2011-09-02 2013-03-20 深圳市快播科技有限公司 A method and a server for software backend authentication
CN105430118A (en) * 2015-12-28 2016-03-23 广州慧睿思通信息科技有限公司 MAC address generation method and apparatus

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101951415B (en) * 2010-08-30 2013-10-16 清华大学 Method of increasing safety of address conflict detection process
CN102333013B (en) * 2011-10-17 2014-12-10 中兴通讯股份有限公司 Method, device and system for detecting medium access control (MAC) address conflicts
CN102664766B (en) * 2012-04-12 2016-06-01 Tcl王牌电器(惠州)有限公司 The detecting device of the network port and detection method
CN105959429A (en) * 2016-04-28 2016-09-21 浪潮电子信息产业股份有限公司 Method for ensuring network card MAC address uniqueness in computer complete machine system mass production

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040141468A1 (en) * 2003-01-21 2004-07-22 Telefonaktiebolaget Lm Ericsson (Publ) Ethernet address management system
CN1767545A (en) * 2004-10-27 2006-05-03 中兴通讯股份有限公司 Method for obtaining device MAC address
CN102983968A (en) * 2011-09-02 2013-03-20 深圳市快播科技有限公司 A method and a server for software backend authentication
CN105430118A (en) * 2015-12-28 2016-03-23 广州慧睿思通信息科技有限公司 MAC address generation method and apparatus

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017185881A1 (en) * 2016-04-28 2017-11-02 浪潮电子信息产业股份有限公司 Method for ensuring uniqueness of network card mac addresses in computer complete machine-system mass production
CN109639847A (en) * 2018-12-18 2019-04-16 浪潮电子信息产业股份有限公司 A kind of equipment that writing with a brush dipped in Chinese ink MAC Address, method and system
CN111221540A (en) * 2019-10-18 2020-06-02 惠州高盛达科技有限公司 Server-based multi-jointed board parallel burning method and burning system
CN111221540B (en) * 2019-10-18 2023-09-01 惠州高盛达科技有限公司 Multi-jointed board parallel burning method and burning system based on server
CN112003766A (en) * 2020-08-13 2020-11-27 苏州浪潮智能科技有限公司 Network card MAC repeated test exception handling method and device
CN112003766B (en) * 2020-08-13 2022-04-26 苏州浪潮智能科技有限公司 Network card MAC repeated test exception handling method and device
CN112187966A (en) * 2020-09-17 2021-01-05 浪潮(北京)电子信息产业有限公司 Acceleration card, MAC address generation method and device thereof, and storage medium
CN112187966B (en) * 2020-09-17 2023-04-28 浪潮(北京)电子信息产业有限公司 Acceleration card, MAC address generation method and device thereof and storage medium
CN114124904A (en) * 2022-01-25 2022-03-01 北京智象信息技术有限公司 Method and system for verifying MAC addresses to be burnt into multiple devices by server
CN114124904B (en) * 2022-01-25 2022-05-24 北京智象信息技术有限公司 Method and system for verifying MAC (media Access control) address by server side to be burned into multiple devices

Also Published As

Publication number Publication date
WO2017185881A1 (en) 2017-11-02

Similar Documents

Publication Publication Date Title
CN105959429A (en) Method for ensuring network card MAC address uniqueness in computer complete machine system mass production
CN102169846B (en) Method for writing multi-dimensional variable password in parallel in process of testing integrated circuit wafer
CN106133537A (en) A kind of FPGA function module emulation verification method and system thereof
CN104484274B (en) A kind of internal memory taking turn audit function method of testing based on ITP instruments
CN103439612A (en) Intelligent transformer substation automatic testing system based on SCD
CN105447247A (en) Method and system for checking regulation and control information
CN103559856B (en) The recognition system of the factory source of display panel and display panel and method
CN104317618A (en) Firmware partitioning method and device
CN103631713A (en) ERP software automated testing system and method
CN105760429A (en) Power grid equipment data check method and system thereof
CN105049281A (en) Message parsing method and equipment
CN103678104B (en) Automated testing method and device based on data
CN104978262A (en) Terminal test method and terminal test device
CN104331570A (en) System and method for simulating power transformation equipment for inspection
CN105119770B (en) It is a kind of to prevent the monitoring method and system of cell phone software brush amount
CN108287786A (en) A kind of automated testing method and device and hybrid navigation system based on map
CN104638767A (en) Intelligent substation test oriented spacer layer data source simulation method and device
CN104702463A (en) Method, device and system for bypass testing of multiple machine rooms
CN106407118A (en) Method and device for testing user terminal
CN110187363B (en) Wind measuring method, system, equipment and storage medium suitable for large wind power base
CN109889481B (en) Data acquisition and fusion method and device based on multi-sensor equipment
CN113987102B (en) Interactive power data visualization method and system
CN103165405A (en) Mutli-dimensional variable code real-time generation method through general purpose interface bus (GPIB) interface
CN107329873A (en) A kind of ICT test control systems
CN106649501B (en) Consistency checking system and method for access model of substation monitoring database and SCD

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160921

WD01 Invention patent application deemed withdrawn after publication