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

Method for ensuring network card MAC address uniqueness in computer complete machine system batch 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
server
network card
machine system
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 the uniqueness of a network card MAC address in the batch production of a computer complete system, which comprises the following steps: preparing a MAC address pool database server and compiling automatic test software according to the requirement; the second step is that: connecting a test computer and an MAC address pool server to the same subnet; the third step: starting a computer operating system to be tested, and running automatic test software compiled according to needs; the fourth step: observing a test result; the fifth step: and uploading a test record. The beneficial effects are as follows: the software is used for realizing automatic testing, the validity of the network card MAC address of the whole computer system can be conveniently and quickly ensured, the cost of whole computer testing and manpower testing is greatly saved, the product delivery reject ratio is effectively reduced, and the product repair cost is 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 batch 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 batch 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 batch 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 batch 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 (3)

* 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
CN114816998A (en) * 2022-03-29 2022-07-29 深圳市华迅光通信有限公司 Automatic testing method for testing reliability of optical modem
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 batch 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 batch production
CN102169846B (en) Method for writing multi-dimensional variable password in parallel in process of testing integrated circuit wafer
CN103559856B (en) The recognition system of the factory source of display panel and display panel and method
CN104317618A (en) Firmware partitioning method and device
CN109376093A (en) The test method and device of insurance products, storage medium and electronic equipment
CN108073146A (en) The automatic business processing control hardware engineering of the requirement represented using framework is planned
CN106886003A (en) Batteries of electric automobile monitoring module Auto-Test System and method
CN104331570A (en) System and method for simulating power transformation equipment for inspection
CN115952762B (en) Method, device and system for detecting coverage rate of chip simulation function
CN103955429B (en) Determine the method and device of regression test scope
CN107451058A (en) A kind of software development methodology and device
CN106407118A (en) Method and device for testing user terminal
CN113253708A (en) Method and device for automatically generating simulation tool configuration file for signal system test
CN104199743B (en) Consistency checking method for historical data service interface of power distribution network
CN107977201A (en) A kind of comprehensively monitoring HMI automatic generation methods
CN113987102B (en) Interactive power data visualization method and system
CN107329873A (en) A kind of ICT test control systems
CN103165405A (en) Mutli-dimensional variable code real-time generation method through general purpose interface bus (GPIB) interface
CN109684138A (en) A kind of visualization hard disk automatic test approach, device, terminal and storage medium
CN106649501B (en) Consistency checking system and method for access model of substation monitoring database and SCD
CN105447251B (en) A kind of verification method based on transaction types excitation
CN104166623A (en) Test method for detecting ME states of intel platforms
CN107610738A (en) A kind of efficient out of memory analysis method
CN107992317A (en) A kind of method of the burning verification of the managing electric quantity and current monitoring IC of battery core
CN211209936U (en) Internet of things testing system

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160921