Method and device for checking MAC addresses

A MAC address and device code technology, applied in the field of intelligent terminals, can solve the problems of network devices not using the network normally, incomplete data backup, writing to different network devices, etc., and achieve the effect of preventing repeated writing to different network devices

Active Publication Date: 2019-05-31
GUANGZHOU SHIYUAN ELECTRONICS CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] If the MAC address is duplicated, the network devices with the same MAC address will not be able to use the network normally, which will bring great troubles to people. Since the MAC address is assigned by the manufacturer, the best way to solve the MAC address duplication is from Fundamentally prevent the occurrence of MAC duplicate writing
[0004] In the production stage of network equipment, it is particularly easy for a MAC address to be written into different network equipment. In the prior art, the method to prevent the MAC address from being repeatedly written into different network equipment is usually to use a computer to write different MAC addresses in the early stage of production. Write the MAC address into different network devices, and back up the MAC addresses that have been written into the network devices. The backed up MAC addresses are no longer used, but due to human error, incomplete data backup when the computer is replaced, or accidental deletion of the Data and other reasons, this method cannot avoid the situation of MAC address allocation error, which may cause the MAC address to be repeatedly written to different network devices, causing network conflicts and network instability during the use of network devices

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for checking MAC addresses
  • Method and device for checking MAC addresses
  • Method and device for checking MAC addresses

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0048] figure 1 It is a flow chart of a MAC address plagiarism checking method provided by Embodiment 1 of the present invention. This embodiment is applicable to the case of terminal device MAC address plagiarism checking, and the method can be executed by the MAC address plagiarism checking device provided in the embodiment of the present invention , the device can be implemented in the form of software and / or hardware, and the device can be integrated in any terminal equipment that requires MAC address checking, such as typically a smart terminal (including mobile terminals and smart homes, mobile terminals such as mobile phones, smart Households such as refrigerators, etc.), such as figure 1 As shown, the method specifically includes the following steps:

[0049] S110. Obtain a device code request carrying the MAC address of the network device.

[0050] Specifically, the MAC address is an identifier used to represent each site on the Internet, represented by a hexadecima...

Embodiment 2

[0059] figure 2 It is a schematic flow chart of a MAC address plagiarism checking method in Embodiment 2 of the present invention. This embodiment is optimized on the basis of the foregoing Embodiment 1, and provides a preferred MAC address plagiarism checking method. Specifically, the acquisition carries Before the device code request of the MAC address of the network device, it also includes: querying the record status of the MAC address and the device code in the network device; A device code request carrying the MAC address of the network device sent by a network device with a MAC address.

[0060] Correspondingly, the method in this embodiment specifically includes the following steps:

[0061] S210. Query the record status of the MAC address and the device code in the network device.

[0062] Network equipment needs to be tested during the production process, and it needs to be connected to the network during the test. When connecting to the network for testing, the M...

Embodiment 3

[0081] In a specific example, such as image 3 As shown, the entire test system includes a cloud server 10 , multiple test terminals 11 and multiple devices 12 . During production, each test terminal 11 can work independently at the same time, and each test terminal 11 can completely test any number of devices 12. In this embodiment, the test of a Bluetooth device is taken as an example for specific description.

[0082] The specific process is as Figure 4 As shown in , after the test terminal is connected to the device via Bluetooth, it queries the Bluetooth MAC address and device code of the device. The test terminal judges whether the device code is saved in the device according to the return value of the device. If the device code has not been saved in the device, the test terminal communicates with the server through the network, reports the MAC address of the device, and applies for a device code. After receiving the application, the server queries the database to de...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a MAC address duplicate checking method and device. The method includes: obtaining a device code request carrying a MAC address of a network device; querying whether the MAC address has an assigned device code; if the MAC address does not have an assigned device code, assigning a device code to the MAC address; The device code is sent to the network device, and the MAC address is stored in association with the device code. Through the technical solution of the present invention, it is possible to prevent the repeated writing of the MAC address.

Description

technical field [0001] The embodiment of the present invention relates to an intelligent terminal technology, in particular to a MAC address plagiarism checking method and device. Background technique [0002] MAC (Media Access Control or Medium Access Control) address, translated as media access control, or called physical address, hardware address, is used to define the location of network devices. The MAC address is determined by the hardware of the network device itself and is fixed. Visually speaking, the MAC address is like the ID number on our ID card, which is globally unique. [0003] If the MAC address is duplicated, the network devices with the same MAC address will not be able to use the network normally, which will bring great troubles to people. Since the MAC address is assigned by the manufacturer, the best way to solve the MAC address duplication is from Fundamentally prevent the occurrence of repeated writing of MAC. [0004] In the production stage of ne...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/12
CPCH04L2101/622
Inventor 宋夏
Owner GUANGZHOU SHIYUAN ELECTRONICS CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products