CN105791044A - Testing method for physical address of network card - Google Patents

Testing method for physical address of network card Download PDF

Info

Publication number
CN105791044A
CN105791044A CN201410828405.4A CN201410828405A CN105791044A CN 105791044 A CN105791044 A CN 105791044A CN 201410828405 A CN201410828405 A CN 201410828405A CN 105791044 A CN105791044 A CN 105791044A
Authority
CN
China
Prior art keywords
testing
physical address
program
barcode scanner
mac address
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
CN201410828405.4A
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.)
Mitac Computer Kunshan Co Ltd
Original Assignee
Mitac Computer Kunshan 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 Mitac Computer Kunshan Co Ltd filed Critical Mitac Computer Kunshan Co Ltd
Priority to CN201410828405.4A priority Critical patent/CN105791044A/en
Publication of CN105791044A publication Critical patent/CN105791044A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a testing method for a physical address of a network card. The method comprises the following steps of (1) providing a bar-code scanner and a flow card; (2) connecting the bar-code scanner and a to-be-tested board; (3) setting a program and opening a program testing interface; (4) scanning a bar code on the flow card by utilizing the bar-code scanner and displaying the scanned correct physical address in an edit box of the testing interface; (5) obtaining the actual burning physical address in the network card of the to-be-tested board through the program; (6) judging whether the obtained actual physical address is the same as the scanned correct physical address, if yes, executing the step (7), otherwise executing the step (8); (7) displaying the testing interface successfully, closing the program and recording a testing result; and (8) failing to display the testing interface, closing the program and recording a testing result. According to the testing method for the physical address of the network card, the testing method is not only unified, but the result after testing is stored to facilitate subsequent tracing inquiry.

Description

The method of testing of mac address of nic
[technical field]
The present invention relates to a kind of measuring technology, be specifically related to the method for testing of a kind of mac address of nic.
[background technology]
Physical address (MediaAccessControlAddress, Media Access Control address) is the mark identifying LAN (LAN) node.The physical address of network interface card is usually by EPROM (a kind of flash chip of the burned network interface card of network interface card manufacturer, generally can pass through program erasable) in, mark of really relying when what it stored is transmission data sends the computer of data and the address of the main frame receiving data.It is to say, in the physical transfer process of network bottom layer, identify main frame by physical address, it is typically also globally unique.
In prior art, when testing the physical address of burning in standby board network interface card, it is batch processed in DOS system (disc operating system), the burning data of network interface card manufacturer is analyzed, extracts, and comparison whether success or failure.
But, owing to the physical address of each machine or each network interface card manufacturer all has different acquisition modes, therefore, above-mentioned test mode disunity;And, batch processed operation in DOS system, it is impossible to test result is uploaded in SFSC (production link system), it has not been convenient to follow-up tracking process.
In view of this, it is necessary to develop the method for testing of a kind of mac address of nic in fact, to solve above-mentioned method of testing disunity and the problem of inconvenient follow-up tracking process.
[summary of the invention]
Therefore, it is an object of the invention to provide the method for testing of a kind of mac address of nic, the method for testing of this mac address of nic is applicable to the physical address of each machine or each network interface card manufacturer, and facilitates follow-up tracking process.
In order to achieve the above object, the method for testing of the mac address of nic of the present invention, it comprises the following steps:
(1) barcode scanner and a traveler are provided, described traveler posts the bar code of the correct physical address of board network interface card to be measured;
(2) barcode scanner is connected with board to be measured;
(3) program is set, opens program test interface;
(4) scan the bar code on described traveler with barcode scanner, and the correct physical address of scanning is shown in the edit box of test interface;
(5) physical address of actual burn in board network interface card to be measured is obtained by described program;
(6) judge that whether the actual physical address obtained is identical with the correct physical address scanned, if identical, performing step (7), if differing, performing step (8);
(7) described test interface shows successfully, bolt down procedure, and record test result is also uploaded in SFSC system;
(8) described test interface shows unsuccessfully, bolt down procedure, and record test result is also uploaded in SFSC system.
Especially, after described step (3), before step (7), further comprise the steps of: illegal bolt down procedure test interface, then perform step (8).
Especially, described barcode scanner is barcode scanner, and described barcode scanner is with USB interface.
Especially, the USB interface of barcode scanner is inserted on the interface of board to be measured by described step (2).
Especially, in described step (5), in board network interface card to be measured, the physical address of actual burn is to be obtained by the Win32_Network instruction in WMI (WindowsManagementInstrumentation, window management specification) by program.
Especially, test interface described in described step (7) shows after successfully, and described program returns 0.
Especially, test interface described in described step (8) shows after unsuccessfully, and described program returns 1.
Compared to prior art, the method of testing of the mac address of nic of the present invention, by the actual physical address of physical address correct on traveler Yu board network interface card to be measured is compared, judge that with this whether the physical address of board network interface card to be measured is correct, not only method of testing is unified, suitable in the physical address of each machine or each network interface card manufacturer, and undertaken storing and being uploaded in SFSC system by the result after test, facilitate follow-up tracking to inquire about.
[accompanying drawing explanation]
Fig. 1 illustrates the flow chart of the method for testing of mac address of nic of the present invention.
[detailed description of the invention]
Referring to shown in Fig. 1, it depicts the flow chart of method of testing of mac address of nic of the present invention.In the present embodiment, the method for testing of the mac address of nic of the present invention, whether correct for testing the physical address of actual burn in board network interface card to be measured, described board is computer, and the method for testing of described mac address of nic comprises the following steps:
S101: provide a barcode scanner and a traveler, described barcode scanner is the barcode scanner with USB interface, and described traveler posts the bar code of the correct physical address describing board network interface card to be measured;
S102: the USB interface of barcode scanner is inserted on the interface of board to be measured, makes barcode scanner be connected with board to be measured;
S103: arrange a program, opens program test interface;
S104: scan the bar code on described traveler with barcode scanner, and the correct physical address scanned is shown in the edit box of test interface;
S105: obtained the physical address of actual burn in board network interface card to be measured by described program, described program passes through WMI (WindowsManagementInstrumentation, window management specification) in Win32_Network instruction obtain board network configuration information, IPenabled field in information is judged, network whether is had to connect, connect if any network, obtain the physical address information that this network connects, such as, when the first six bit of display is 002220, then it is represented as physical address;
S106: judge that whether the actual physical address obtained is identical with the correct physical address scanned, if identical, performs step S107, if differing, performs step S108;
S107: described test interface shows successfully, described program returns 0, bolt down procedure, records test result, and test result is uploaded in SFSC system;
S108: described test interface shows unsuccessfully, described program returns 1, bolt down procedure, records test result, and test result is uploaded in SFSC system.
Wherein, in order to avoid staff carries out illegal operation when test, if after described step S103, further comprising the steps of: before step S107 by Alt+F4 or the direct bolt down procedure of other approach, it is illegal bolt down procedure test interface, then directly performs step S108.
Compared to prior art, the method of testing of the mac address of nic of the present invention, by the actual physical address of physical address correct on traveler Yu board network interface card to be measured is compared, judge that with this whether the physical address of board network interface card to be measured is correct, not only method of testing is unified, suitable in the physical address of each machine or each network interface card manufacturer, and undertaken storing and being uploaded in SFSC system by the result after test, facilitate follow-up tracking to inquire about.

Claims (7)

1. the method for testing of a mac address of nic, it is characterised in that comprise the following steps:
(1) barcode scanner and a traveler are provided, described traveler posts the bar code of the correct physical address of board network interface card to be measured;
(2) barcode scanner is connected with board to be measured;
(3) program is set, opens program test interface;
(4) scan the bar code on described traveler with barcode scanner, and the correct physical address of scanning is shown in the edit box of test interface;
(5) physical address of actual burn in board network interface card to be measured is obtained by described program;
(6) judge that whether the actual physical address obtained is identical with the correct physical address scanned, if identical, performing step (7), if differing, performing step (8);
(7) described test interface shows successfully, bolt down procedure, and record test result is also uploaded in SFSC system;
(8) described test interface shows unsuccessfully, bolt down procedure, and record test result is also uploaded in SFSC system.
2. the method for testing of mac address of nic according to claim 1, it is characterised in that after described step (3), further comprise the steps of: illegal bolt down procedure test interface before step (7), then perform step (8).
3. the method for testing of mac address of nic according to claim 1, it is characterised in that described barcode scanner is barcode scanner, and described barcode scanner is with USB interface.
4. the method for testing of mac address of nic according to claim 3, it is characterised in that in described step (2), the USB interface of barcode scanner is inserted on the interface of board to be measured.
5. the method for testing of mac address of nic according to claim 1, it is characterised in that in described step (5), in board network interface card to be measured, the physical address of actual burn is to be obtained by the Win32_Network instruction in WMI by program.
6. the method for testing of mac address of nic according to claim 1, it is characterised in that test interface described in described step (7) shows after successfully, described program returns 0.
7. the method for testing of mac address of nic according to claim 1, it is characterised in that test interface described in described step (8) shows after unsuccessfully, described program returns 1.
CN201410828405.4A 2014-12-26 2014-12-26 Testing method for physical address of network card Pending CN105791044A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410828405.4A CN105791044A (en) 2014-12-26 2014-12-26 Testing method for physical address of network card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410828405.4A CN105791044A (en) 2014-12-26 2014-12-26 Testing method for physical address of network card

Publications (1)

Publication Number Publication Date
CN105791044A true CN105791044A (en) 2016-07-20

Family

ID=56388582

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410828405.4A Pending CN105791044A (en) 2014-12-26 2014-12-26 Testing method for physical address of network card

Country Status (1)

Country Link
CN (1) CN105791044A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114338485A (en) * 2020-09-28 2022-04-12 神讯电脑(昆山)有限公司 Network card serial number checking system and method

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1635480A (en) * 2003-12-30 2005-07-06 鸿富锦精密工业(深圳)有限公司 MAC address burning method
US20080298313A1 (en) * 2004-03-10 2008-12-04 Ab Seesta Oy Heterogeneous Network System, Network Node And Mobile Host
CN102045591A (en) * 2009-10-10 2011-05-04 上海广联电子有限公司 Method for recording media access control (MAC) address and K code of set top box of disposable recorder
CN202455371U (en) * 2011-09-30 2012-09-26 深圳市共进电子股份有限公司 Multi-machine testing system
CN102831933A (en) * 2012-08-23 2012-12-19 广东长虹电子有限公司 Method for automatically burning MAC address through USB
CN103036698A (en) * 2011-10-09 2013-04-10 上海共联通信信息发展有限公司 Method and device for repairing multi-access computer (Mac) address of asymmetric digital subscriber line (ADSL) terminal device
CN202870851U (en) * 2012-10-17 2013-04-10 国电南瑞科技股份有限公司 Automatic detection system suitable for electric device
CN202948076U (en) * 2012-08-03 2013-05-22 厦门富士电气化学有限公司 Automatic liquid crystal signal PCB board testing apparatus
CN104142873A (en) * 2014-07-29 2014-11-12 广州视源电子科技股份有限公司 File burning method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1635480A (en) * 2003-12-30 2005-07-06 鸿富锦精密工业(深圳)有限公司 MAC address burning method
US20080298313A1 (en) * 2004-03-10 2008-12-04 Ab Seesta Oy Heterogeneous Network System, Network Node And Mobile Host
CN102045591A (en) * 2009-10-10 2011-05-04 上海广联电子有限公司 Method for recording media access control (MAC) address and K code of set top box of disposable recorder
CN202455371U (en) * 2011-09-30 2012-09-26 深圳市共进电子股份有限公司 Multi-machine testing system
CN103036698A (en) * 2011-10-09 2013-04-10 上海共联通信信息发展有限公司 Method and device for repairing multi-access computer (Mac) address of asymmetric digital subscriber line (ADSL) terminal device
CN202948076U (en) * 2012-08-03 2013-05-22 厦门富士电气化学有限公司 Automatic liquid crystal signal PCB board testing apparatus
CN102831933A (en) * 2012-08-23 2012-12-19 广东长虹电子有限公司 Method for automatically burning MAC address through USB
CN202870851U (en) * 2012-10-17 2013-04-10 国电南瑞科技股份有限公司 Automatic detection system suitable for electric device
CN104142873A (en) * 2014-07-29 2014-11-12 广州视源电子科技股份有限公司 File burning method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114338485A (en) * 2020-09-28 2022-04-12 神讯电脑(昆山)有限公司 Network card serial number checking system and method

Similar Documents

Publication Publication Date Title
US10216840B2 (en) Asset tag template creation from readable elements
CN108170447A (en) The on-line automatic method for burn-recording of chip and system
CN105652183A (en) Vehicle-mounted system PCB mainboard automated testing method
CN102684927B (en) A kind of method and apparatus of patrolling and examining the network equipment
CN109861880B (en) Production detection method and device of wireless communication module
CN103164237B (en) Firmware upgrade method and system
CN105516388B (en) A kind of Wireless Communication Equipment MAC Address test method and system
CN104204972B (en) For the method for the radio operation of field apparatus
CN103809499A (en) Remote monitoring system and method
CN104866421A (en) Testing method and testing system of POS terminal
CN107368394A (en) The method of testing and test system of a kind of terminal
CN106412576A (en) Test method and device
CN102045211A (en) Power supply circulating pressure testing method
CN105117316A (en) Automatic check and maintenance method and system for server
CN104699516B (en) Automatic identification Android mobile phone and the method and apparatus for installing driving under Windows
US20060195748A1 (en) Electronic product testing procedure supervising method and system
CN105791044A (en) Testing method for physical address of network card
CN102053571B (en) Data acquisition method of information acquisition terminal
CN115374490A (en) Device and method for writing equipment identifier, storage medium and terminal
CN113538725B (en) Method for testing hardware products and related equipment
CN104992136A (en) Bar code identifying method and apparatus
CN105718222B (en) A kind of self-reacting device and method updating DRAM configuration
CN109754093A (en) A kind of smooth cat maintenance system and management method
CN106469074B (en) Updating system and application method thereof
WO2015184750A1 (en) Data maintenance method and device of network element device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160720