Media access control address burning and labeling method and device and storage medium

By obtaining and combining the circuit board test serial number and pseudo-MAC address, using the address resolution protocol and production execution system to generate labeled MAC addresses, and directly burn them into the product, solving the cumbersome problem of MAC address burning in the existing technology, improving the Efficiency.

CN119226156APending Publication Date: 2024-12-31JIAXING BOYEI SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411260055.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-10
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

In the production process of Netcom products, the existing technology requires scanning the label sticker to obtain the MAC address for burning, resulting in a cumbersome process and affecting efficiency.

Method used

By obtaining the circuit board test serial number and pseudo MAC address, combining the MAC address to generate the MAC address, and using the address resolution protocol system and the production execution system to generate the labeled MAC address, which is directly burned into the product, eliminating the scanning step.

Benefits of technology

It realizes fast and effective MAC address burning, saves batch burning time, improves testing efficiency, and does not increase equipment investment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119226156A_ABST
    Figure CN119226156A_ABST
Patent Text Reader

Abstract

The invention relates to a media access control address burning and labeling method and device and a storage medium. The method comprises the following steps: acquiring a first circuit board test serial number; acquiring a pseudo media access control address; generating a media access control address according to the circuit board test serial number and the pseudo media access control address; generating a second circuit board test serial number according to the media access control address; generating a label media access control address according to the second circuit board test serial number; and burning the labeled media access control address. According to the media access control address burning and labeling method and device and the storage medium provided by the invention, the original assembly and labeling process is not changed, the equipment investment is not increased, and the code scanning action can be omitted, so that the batch burning time is saved, and the test efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of network communication products, and in particular to a method, a device and a storage medium for burning a media access control address label. Background Art

[0002] The MAC address (Media Access Control Address) in Netcom products is a unique identifier used to identify a network interface. The technical background of MAC address writing mainly includes the following aspects:

[0003] (1) Network hierarchy: MAC address is located at the data link layer (the second layer of the OSI model) and is used for device identification and data frame transmission within the local area network. Each network device is assigned a unique MAC address when it leaves the factory, so that developers and network administrators can accurately identify and manage devices on the network.

[0004] (2) Address format: A MAC address is usually 6 bytes (48 bits) long and is often expressed in hexadecimal format, such as "00:1A:2B:3C:4D:5E". The first 3 bytes usually consist of the Organizationally Unique Identifier (OUI) assigned by IEEE, and the last 3 bytes are the serial number assigned by the manufacturer.

[0005] (3) Writing method: In Netcom products, MAC addresses can be written in the following different ways:

[0006] A. Firmware burning: During the device production process, the MAC address is usually burned into the device's non-volatile memory (such as Flash memory);

[0007] B. Software configuration: Some devices allow users or network administrators to modify the MAC address in the device's operation interface to facilitate network testing or other special needs.

[0008] (4) Firmware burning process: Before the equipment is produced, the MES system (manufacturing information management system) automatically assigns the MAC address and prints it on a label and sticks it on the bottom shell of the equipment. The factory scans the label with a barcode scanner to burn the MAC address into the device flash.

[0009] In the current production test system for firmware burning, it is necessary to scan the label with a barcode scanner to obtain the MAC address for burning. How to quickly and effectively burn the MAC address has become a problem that every network communication equipment manufacturer must solve. Summary of the invention

[0010] In view of this, the present invention provides a method, device and storage medium for burning a media access control address label.

[0011] Specifically, the present invention is achieved through the following technical solutions:

[0012] According to a first aspect of the present invention, a method for burning a media access control address label is provided, the method comprising the steps of:

[0013] Obtaining a first circuit board test serial number;

[0014] Get the pseudo media access control address;

[0015] Generate a media access control address according to the circuit board test serial number and the pseudo media access control address;

[0016] Generate a second circuit board test serial number according to the media access control address;

[0017] Generate a label media access control address according to the second circuit board test serial number;

[0018] The label media access control address is burned.

[0019] Optionally, the step of obtaining the first circuit board test serial number comprises the following steps:

[0020] Get circuit board testing tools;

[0021] The first circuit board test serial number is retrieved on the circuit board test tool.

[0022] Optionally, the step of obtaining the pseudo media access control address comprises the following steps:

[0023] Set a pseudo media access control address;

[0024] Gets the preset pseudo media access control address.

[0025] Optionally, the step of generating a media access control address according to the circuit board test serial number and the pseudo media access control address comprises the following steps:

[0026] Selecting a first quantity number from the circuit board test serial number;

[0027] Selecting a second quantity number in the pseudo media access control address;

[0028] Merge the first quantity number before the second quantity number;

[0029] The combined number is used as the media access control address.

[0030] Optionally, the step of generating a second circuit board test serial number according to the media access control address comprises the following steps:

[0031] Retrieve the preset address resolution protocol system;

[0032] inputting the media access control address into the address resolution protocol system;

[0033] Obtaining an output number output by the address resolution protocol system;

[0034] The output number is used as the second circuit board test serial number.

[0035] Optionally, generating a label media access control address according to the second circuit board test serial number comprises the steps of:

[0036] Retrieve the pre-set production execution system;

[0037] inputting the second circuit board test serial number into the production execution system;

[0038] Obtaining an output address output by the production execution system;

[0039] The output address is used as the label media access control address.

[0040] Optionally, the step of burning the label media access control address comprises the following steps:

[0041] Get the product to be burned;

[0042] The label media access control address is burned into the product to be burned.

[0043] According to a second aspect of the present invention, there is provided a device for burning a media access control address label, comprising:

[0044] A serial number acquisition module, used to acquire a first circuit board test serial number;

[0045] An address acquisition module, used to acquire a pseudo media access control address;

[0046] An address generation module, used for generating a media access control address according to the circuit board test serial number and the pseudo media access control address;

[0047] A serial number generating module, used for generating a second circuit board test serial number according to the media access control address;

[0048] A control address generation module, used for generating a label media access control address according to the second circuit board test serial number;

[0049] The address burning module is used to burn the media access control address of the label.

[0050] According to a third aspect of the present invention, there is provided an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of any of the aforementioned methods when executing the program.

[0051] According to a fourth aspect of the present invention, there is provided a storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the steps of any one of the aforementioned methods.

[0052] The technical solution provided by the present invention brings at least the following beneficial effects:

[0053] The present application provides a method, device and storage medium for burning a media access control address label without changing the original label assembly process, without increasing equipment investment, and can save the code scanning action, thereby saving batch burning time and improving test efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0055] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0056] Figure 1 A schematic diagram of a flow chart of a method for burning a media access control address label provided by an embodiment of the present invention;

[0057] Figure 2 A structural schematic diagram of a media access control address burning label device provided by an embodiment of the present invention;

[0058] Figure 3 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention;

[0059] Figure 4 A schematic diagram of the structure of a storage medium provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0060] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0061] Figure 1 The flowchart of a method for burning a media access control address label applicable to an embodiment of the present invention is schematically shown.

[0062] See also Figure 1 The embodiment of the present invention provides a method for burning a media access control address label. The method can be applied to electronic devices, such as PCs, servers, terminals, etc. The method may include the following steps:

[0063] S1: Obtain the first circuit board test serial number;

[0064] Exemplarily, the step of obtaining the first circuit board test serial number includes the following steps:

[0065] Get circuit board testing tools;

[0066] The first circuit board test serial number is retrieved on the circuit board test tool.

[0067] In the embodiment of the present application, a product serial number is pre-set on the circuit board test tool, and the product serial number is the first circuit board test serial number, and the first circuit board test serial number can be directly retrieved on the circuit board test tool. In this way, the product serial number can be scanned by a barcode scanner and the serial number can be recorded in the test log.

[0068] S2: Get a fake media access control address;

[0069] Exemplarily, the step of obtaining the pseudo media access control address includes the following steps:

[0070] Set a pseudo media access control address;

[0071] Gets the preset pseudo media access control address.

[0072] In the embodiment of the present application, the pseudo media access control address is pre-set, and the pre-set pseudo media access control address can be directly obtained. The pseudo media access control address can be generated by the circuit board serial number, and after the pseudo media access control address is written into the product, it is prepared for capturing the pseudo media access control address after assembly.

[0073] S3: Generate a media access control address according to the circuit board test serial number and the pseudo media access control address;

[0074] Exemplarily, the step of generating a media access control address according to the circuit board test serial number and the pseudo media access control address comprises the following steps:

[0075] Selecting a first quantity number from the circuit board test serial number;

[0076] Selecting a second quantity number in the pseudo media access control address;

[0077] Merge the first quantity number before the second quantity number;

[0078] The combined number is used as the media access control address.

[0079] In the embodiment of the present application, a preset number of numbers is selected from the circuit board test serial number as the first number A, a preset number of numbers is selected from the pseudo media access control address as the second number B, and then the first number A is merged before the second number B to obtain a merged number AB, which is the media access control address. The first 4 digits of the circuit board test serial number are fixed letters PCBA, and the last 9 digits are hexadecimal numbers from 0 to F. The media access control address rule is hexadecimal letters from 0 to F. A compliant media access control address can be generated by merging AB.

[0080] S4: Generate a second circuit board test serial number according to the media access control address;

[0081] Exemplarily, the step of generating a second circuit board test serial number according to the media access control address comprises the following steps:

[0082] Retrieve the preset address resolution protocol system;

[0083] inputting the media access control address into the address resolution protocol system;

[0084] Obtaining an output number output by the address resolution protocol system;

[0085] The output number is used as the second circuit board test serial number.

[0086] In the embodiment of the present application, the address resolution protocol system arp is pre-set with a media access control address and a circuit board test serial number that form a one-to-one mapping relationship with each other. After the media access control address is input into the address resolution protocol system arp, the address resolution protocol system arp will feedback an output number, which is the second circuit board test serial number. The second circuit board test serial number is still a pseudo media access control address, which is captured by the address resolution protocol system arp.

[0087] S5: Generate a label media access control address according to the second circuit board test serial number;

[0088] Exemplarily, the step of generating a label media access control address according to the second circuit board test serial number comprises the following steps:

[0089] Retrieve the pre-set production execution system;

[0090] inputting the second circuit board test serial number into the production execution system;

[0091] Obtaining an output address output by the production execution system;

[0092] The output address is used as the label media access control address.

[0093] In the embodiment of the present application, the second circuit board test serial number and address that form a one-to-one mapping relationship with each other are pre-set in the production execution system MES. The second circuit board test serial number is input into the production execution system, and the production execution system will feedback an output address, which is the label media access control address. After the address resolution protocol system arp captures the second circuit board test serial number, the first circuit board test serial number is reversely deduced, and then the label media access address is obtained through the binding relationship between the first circuit board test serial number and the label media access address in the production execution system MES, so that the label media access address can be obtained without scanning the label with a barcode scanner.

[0094] S6: Burn the media access control address of the label.

[0095] Exemplarily, the step of burning the label media access control address comprises the following steps:

[0096] Get the product to be burned;

[0097] The label media access control address is burned into the product to be burned.

[0098] In the embodiment of the present application, after the label media access control address is obtained, the label media access control address is burned into the product to be burned.

[0099] like Figure 2 The present application provides a media access control address burning label device, comprising:

[0100] A serial number acquisition module 10, used to acquire a first circuit board test serial number;

[0101] An address acquisition module 20, used to acquire a pseudo media access control address;

[0102] An address generation module 30, configured to generate a media access control address according to the circuit board test serial number and the pseudo media access control address;

[0103] A serial number generating module 40, configured to generate a second circuit board test serial number according to the media access control address;

[0104] A control address generation module 50, used to generate a label media access control address according to the second circuit board test serial number;

[0105] The address burning module 60 is used to burn the label media access control address.

[0106] The media access control address label burning device provided in the present application can execute the media access control address label burning method provided in the above steps.

[0107] It should be understood that the above specific embodiments of the present invention are only used to illustrate or explain the principles of the present invention, and do not constitute a limitation of the present invention. Therefore, any modifications, equivalent substitutions, improvements, etc. made without departing from the spirit and scope of the present invention should be included in the protection scope of the present invention. In addition, the appended claims of the present invention are intended to cover all changes and modifications that fall within the scope and boundaries of the appended claims, or the equivalent forms of such scope and boundaries.

[0108] Reference below Figure 3 , which shows a schematic diagram of the structure of an electronic device 100 suitable for implementing the embodiment of the present disclosure. The electronic device in the embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle terminals (such as vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 3 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0109] like Figure 3As shown, the electronic device 100 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 101, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 102 or a program loaded from a storage device 108 to a random access memory (RAM) 103. In the RAM 103, various programs and data required for the operation of the electronic device 100 are also stored. The processing device 101, the ROM 102, and the RAM 103 are connected to each other via a bus 104. An input / output (I / O) interface 105 is also connected to the bus 104.

[0110] Typically, the following devices may be connected to the I / O interface 105: an input device 106 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 107 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 108 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 109. The communication device 109 may allow the electronic device 100 to communicate with other devices wirelessly or by wire to exchange data. Although the electronic device 100 having various devices is shown in the figure, it should be understood that it is not required to implement or have all the devices shown. More or fewer devices may be implemented or have alternatively.

[0111] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 109, or installed from the storage device 108, or installed from the ROM 102. When the computer program is executed by the processing device 101, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0112] Reference below Figure 4 , which shows a structural schematic diagram of a computer-readable storage medium suitable for implementing an embodiment of the present disclosure, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, it can implement the media access control address burning label method as described in any of the above.

[0113] The present application also provides a computer program product, including a computer program / computer executable instructions, which, when executed by a processor of an electronic device, can implement the steps of any of the above-mentioned methods for burning a media access control address label.

[0114] The present application provides a method, device and storage medium for burning a media access control address label without changing the original label assembly process, without increasing equipment investment, and can save the code scanning action, thereby saving batch burning time and improving test efficiency.

[0115] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0116] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A method for burning a media access control address label, characterized in that: The method comprises the steps of: Obtaining a first circuit board test serial number; Get the pseudo media access control address; Generate a media access control address according to the circuit board test serial number and the pseudo media access control address; Generate a second circuit board test serial number according to the media access control address; Generate a label media access control address according to the second circuit board test serial number; The label media access control address is burned.

2. The method for burning a media access control address label according to claim 1, characterized in that: The method of obtaining the first circuit board test serial number comprises the steps of: Get circuit board testing tools; The first circuit board test serial number is retrieved on the circuit board test tool.

3. The method for burning a media access control address label according to claim 1, characterized in that: The method of obtaining the pseudo media access control address comprises the steps of: Set a pseudo media access control address; Gets the preset pseudo media access control address.

4. The method for burning a media access control address label according to claim 1, characterized in that: The generating of the media access control address according to the circuit board test serial number and the pseudo media access control address comprises the steps of: Selecting a first quantity number from the circuit board test serial number; Selecting a second quantity number in the pseudo media access control address; Merge the first quantity number before the second quantity number; The combined number is used as the media access control address.

5. The method for burning a media access control address label according to claim 1, characterized in that: The step of generating a second circuit board test serial number according to the media access control address comprises the following steps: Retrieve the preset address resolution protocol system; inputting the media access control address into the address resolution protocol system; Obtaining an output number output by the address resolution protocol system; The output number is used as the second circuit board test serial number.

6. The method for burning a media access control address label according to claim 1, characterized in that: The step of generating a label media access control address according to the second circuit board test serial number comprises the following steps: Retrieve the pre-set production execution system; inputting the second circuit board test serial number into the production execution system; Obtaining an output address output by the production execution system; The output address is used as the label media access control address.

7. The method for burning a media access control address label according to claim 1, characterized in that: The step of burning the label media access control address comprises the following steps: Get the product to be burned; The label media access control address is burned into the product to be burned.

8. A device for burning a media access control address label, characterized in that: include: A serial number acquisition module, used to acquire a first circuit board test serial number; An address acquisition module, used to acquire a pseudo media access control address; An address generation module, used for generating a media access control address according to the circuit board test serial number and the pseudo media access control address; A serial number generating module, used for generating a second circuit board test serial number according to the media access control address; A control address generation module, used for generating a label media access control address according to the second circuit board test serial number; The address burning module is used to burn the media access control address of the label.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.