CN112114823A - Burning reading system based on MAC address modification - Google Patents

Burning reading system based on MAC address modification Download PDF

Info

Publication number
CN112114823A
CN112114823A CN202010910003.4A CN202010910003A CN112114823A CN 112114823 A CN112114823 A CN 112114823A CN 202010910003 A CN202010910003 A CN 202010910003A CN 112114823 A CN112114823 A CN 112114823A
Authority
CN
China
Prior art keywords
burning
mac address
flash memory
address
preset
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.)
Granted
Application number
CN202010910003.4A
Other languages
Chinese (zh)
Other versions
CN112114823B (en
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.)
Shenzhen Yonghui Electronic Technology Co ltd
Original Assignee
Shenzhen Yonghui Electronic Technology 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 Shenzhen Yonghui Electronic Technology Co ltd filed Critical Shenzhen Yonghui Electronic Technology Co ltd
Priority to CN202010910003.4A priority Critical patent/CN112114823B/en
Publication of CN112114823A publication Critical patent/CN112114823A/en
Application granted granted Critical
Publication of CN112114823B publication Critical patent/CN112114823B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/71Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information
    • G06F21/73Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information by creating or determining hardware identification, e.g. serial numbers
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Mathematical Physics (AREA)
  • Computer Security & Cryptography (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application relates to a burn record reading system based on modification MAC address, which comprises an advertisement player and a host, wherein the advertisement player and the host are in communication connection based on a preset protocol, the advertisement player comprises a ROM for storing an original Mac address and a flash memory for burning record Mac addresses to be burned, the host comprises a burning record module, a reading module and a database, and the burning record reading method of the host applied to the advertisement player comprises the following steps: acquiring burning judgment information of a flash memory; judging whether the flash memory accords with a burning rule or not according to the burning judgment information, if so, acquiring a Mac address to be burnt by a burning module, and burning the Mac address to be burnt into a preset address recording position of the flash memory; if not, the burning module sends out the prompt information of the burning failure; and the reading module reads the original Mac address of the ROM and the Mac address recorded on the flash memory according to a preset reading rule. The method and the device have the effect of enabling management to be more convenient due to the fact that the Mac address of the advertising player is customized.

Description

Burning reading system based on MAC address modification
Technical Field
The application relates to the field of computer hardware, in particular to a system for checking and correcting an MAC address.
Background
At present, when manufacturers produce advertisement machines, unique Mac addresses given by Ethernet address management mechanisms are burned on main boards of the advertisement machines to transmit and receive data, and the Mac addresses cannot be changed.
After a client purchases the advertising machine from a manufacturer, the advertising machine manufacturer randomly sells the advertising machine, so that Mac addresses burnt on a main board in the advertising machine are disordered, and the advertising machine is inconvenient to manage.
Disclosure of Invention
In order to solve the technical problems that Mac addresses burnt by advertising machines are disordered and users are inconvenient to manage, the burning reading system based on the modified MAC addresses is provided.
The application provides a burn record reading system based on modify MAC address, adopts the following technical scheme:
the utility model provides a burn and read system based on modify MAC address, includes advertisement machine and host computer, advertisement machine and host computer are based on presetting agreement communication connection, and the advertisement machine includes the ROM that is used for saving original Mac address and is used for burning the flash memory of waiting to burn and burn Mac address, and the host computer includes burns and burns record module, reading module and database, and wherein, the burn and read method that the host computer was applied to the advertisement machine includes:
step S10: acquiring burning judgment information of a flash memory;
step S20: judging whether the flash memory meets the burning rule or not according to the burning judgment information, if so, executing step S40, and if not, executing step S30;
step S30: the burning module sends out the prompt information of the burning failure;
step S40: the burning module acquires a Mac address to be burnt;
step S50: burning the Mac address to be burned into a preset address recording position of the flash memory;
step S60: and the reading module reads the original Mac address on the ROM and the Mac address recorded on the flash memory according to a preset reading rule.
By adopting the technical scheme, the advertising machine and the host machine form an advertising machine Mac address modification system, a flash memory for storing the burning Mac address is added on the basis that the advertising machine has a ROM, when the burning reading system is applied, whether the flash memory meets the burning rules or not is judged, if yes, the burning module acquires the Mac address to be burned, the Mac address to be burned is burnt into the flash memory, the reading module reads the Mac address of the preset address recording position in the flash memory according to the preset reading rules to serve as the Mac address for managing the advertising machine, and therefore the advertising machine management is facilitated for a user.
Preferably, step S10 includes:
step S101: inquiring the burning times of a preset time recording position in the flash memory, and acquiring the burning times of the flash memory;
step S20 includes:
step S201: judging whether the burning times reach a preset burning time threshold value or not;
step S2021: if yes, judging that the flash memory does not conform to a burning rule;
step S2022: if not, the flash memory is judged to accord with the burning rule.
By adopting the technical scheme, the burning times recorded in the preset times recording position in the flash memory are inquired, and whether the flash memory reaches the preset burning times threshold value is determined, so that whether the flash memory meets the burning rule or not is judged, and the Mac address of the flash memory is prevented from being maliciously tampered to cause excessive burning.
Preferably, after step S50, the method includes:
step S601: the recording module acquires a serial number of a current advertising player;
step S601: inquiring whether a preset number recording position has a burning record corresponding to the serial number;
step S021: if yes, accumulating the burning times on the burning record;
step S022: if not, establishing the burning record of the current advertising player in a preset number recording position, and recording the burning times of the serial number as 1.
By adopting the technical scheme, after the burning is set to be completed, one burning record is accumulated on the burning record of the advertising player, the burning record of the advertising player is recorded, a user can conveniently obtain the burning times of the advertising player, and the user can determine whether the advertising player is maliciously tampered with the Mac address or not from the burning times of the advertising player.
Preferably, the host further includes an address information input module, and before step S40, the method further includes:
step S31: obtaining Mac address information input by an information input module and generating a Mac address setting instruction;
step S32: analyzing the Mac address setting instruction to obtain a Mac address to be burned;
step S33: and the information input module sends the Mac address to be burned to a burning module.
By adopting the technical scheme, the address information input module is arranged, a user-defined Mac address setting mode is provided, user-defined Mac address setting instruction data are obtained, the instruction data are analyzed to obtain the Mac address to be burned, and the situation that the Mac address cannot be defined when the system address allocation function stops working is avoided.
Preferably, the host further includes an address generating module, and before step S40, the method includes:
step S35: the address generation module generates a next Mac address as a current Mac address to be burned according to a preset address generation sequence based on a preset serial number of a recently generated Mac address in history;
step S36: and sending the Mac address to be burned to the burning module.
By adopting the technical scheme, the Mac address generating module is arranged, and the Mac address is automatically allocated according to the preset address generating sequence by the Mac address generating module, so that the Mac address is automatically allocated by the system, the Mac address setting information input by a user is saved, and the labor is saved.
Preferably, after step S50, the method further includes:
step S51: detecting whether the Mac address of the flash memory is consistent with the Mac address to be burned;
step S521: if yes, judging that the burning of the Mac address is successful;
step S522: if not, judging that the Mac address burning fails.
By adopting the technical scheme, whether the Mac address of the flash memory is consistent with the Mac address to be burned of the target after burning is detected, whether burning is successful is judged, burning Mac address is checked, and the condition that the advertising player is not aware of the burning failure of the advertising player is avoided.
Preferably, after step S521, the method further includes:
step S5211: marking the Mac address to be burned as an occupied address;
step S5212: and storing the occupied address into a preset occupied address database.
By adopting the technical scheme, the occupied address database of the distributed Mac address is established, and a judgment basis is provided for judging whether the Mac address to be burned is the distributed Mac address.
Preferably, after step S40, the method includes:
step S41: and inquiring a preset occupied address database, judging whether the Mac address to be burned is an occupied address, if so, skipping to step S40, and reacquiring the Mac address to be burned, otherwise, skipping to step S50.
By adopting the technical scheme, the occupied database is inquired after the Mac address to be burned is obtained, and whether the Mac address to be burned is an occupied address is determined, so that the condition that the Mac addresses of two advertising machines are the same is prevented, and the conflict of the Mac addresses of the advertising machines is avoided.
Preferably, step S60 includes:
step S61: the reading module detects whether the flash memory has a Mac address at a preset address recording position;
step S621: if the address exists, reading a Mac address of a preset address recording position in the flash memory;
step S622: if not, the Mac address recorded in the ROM is read.
By adopting the technical scheme, the reading module is set to preferentially read the burning Mac address of the flash memory as the Mac address of the advertising machine to be managed, and if the Mac address in the flash memory is not detected, the Mac address recorded in the ROM is read, so that the Mac address of the advertising machine can be changed.
In summary, the present application includes at least one of the following beneficial technical effects:
the method comprises the steps that an advertising machine Mac address modification system is formed by an advertising machine and a host, a storage module for storing burning Mac addresses is added on the basis of an original Mac address storage module of the advertising machine, when the modification system is applied, burning records of the advertising machine are firstly determined, whether the burning times of the advertising machine which is currently prepared for burning reach a burning time threshold value is judged, if the advertising machine does not reach the burning time threshold value, the Mac addresses to be burnt are obtained by a configuration module, the burning module burns the Mac addresses to be burnt into a flash memory according to the Mac addresses to be burnt, and the reading module reads the Mac addresses of the flash memory to serve as the Mac addresses of the advertising machine, so that user-defined modification of the Mac addresses of the advertising machine is achieved, and management of.
Drawings
FIG. 1 is a functional block diagram of a first embodiment of a modified MAC address based burning reading system according to the present application;
FIG. 2 is a schematic flow chart illustrating a first embodiment of a burning and reading system based on MAC address modification according to the present application;
FIG. 3 is a schematic flow chart illustrating a second embodiment of a burning and reading system based on MAC address modification according to the present application;
FIG. 4 is a schematic flow chart illustrating a third embodiment of a burning and reading system based on MAC address modification according to the present application;
FIG. 5 is a schematic flow chart illustrating a fourth embodiment of a burning and reading system based on MAC address modification according to the present application;
FIG. 6 is a flowchart illustrating a fifth embodiment of a burning and reading system based on MAC address modification according to the present application;
FIG. 7 is a flowchart illustrating a sixth embodiment of a burning reading system based on MAC address modification according to the present application;
FIG. 8 is a schematic flow chart illustrating a seventh embodiment of a burning reading system based on MAC address modification according to the present application;
FIG. 9 is a schematic flowchart illustrating an eighth embodiment of a burning reading system based on MAC address modification according to the present application;
fig. 10 is a flowchart illustrating a ninth embodiment of a burning reading system based on modifying MAC addresses according to the present application.
Detailed Description
The present application is described in further detail below with reference to figures 1-10.
Referring to fig. 1, fig. 1 is a functional module schematic diagram of a first embodiment of a burning and reading system based on modifying a MAC address according to the present application.
In the embodiment of the application, the burning and reading system of the advertisement player based on the modified MAC address comprises the advertisement player and a host, and the advertisement player is in communication connection with the host based on a custom communication protocol. The advertising player comprises a ROM and a flash memory, wherein the ROM is used for storing Mac addresses burnt by a manufacturer, and the flash memory is used for storing Mac addresses burnt by a user. The host comprises a burning module for receiving burning information and burning, a reading module for reading the Mac address stored in the flash memory of the advertising player and a database for storing the occupied address.
Referring to fig. 2, fig. 2 is a schematic flowchart of a first embodiment of a burning reading system based on modifying a MAC address according to the present application. In this embodiment of the present application, a processing procedure of the burning reading system based on modifying the MAC address includes:
step S10: acquiring burning judgment information of a flash memory;
step S20: judging whether the flash memory meets the burning rule or not according to the burning judgment information, if so, executing step S40, and if not, executing step S30;
step S30: the burning module sends out the prompt information of the burning failure;
step S40: the burning module acquires a Mac address to be burnt;
step S50: burning the Mac address to be burned into a preset address recording position of the flash memory;
step S60: and the reading module reads the original Mac address on the ROM or the Mac address recorded on the flash memory according to a preset reading rule.
The advertisement player is a new generation of intelligent equipment, forms a complete advertisement broadcasting control system through terminal software control, network information transmission and multimedia terminal display, and carries out advertisement propaganda through multimedia materials such as pictures, characters, videos, small plug-ins and the like. The mainboard is the important components and parts of advertisement machine, and most mainboards all have the wired network card of board-mounted. When the main boards of the advertising machines are delivered from factories, a unique Mac address is burnt by the manufacturers to each ROM integrated on the main boards. Generally, the Mac address is a ROM that is burned into the motherboard by the motherboard manufacturer of the advertiser when the motherboard is manufactured. However, after the burning is finished, because the ROM is a read-only storage medium, a user cannot modify the Mac address on the ROM by writing.
In the embodiment of the application, the erasable flash memory is additionally arranged on the main board of the advertising player. And pre-burning judgment information of the flash memory, judging whether the flash memory accords with a burning rule according to the burning judgment information, and further determining whether the flash memory can carry out Mac address burning. If the flash memory accords with the burning rule, the burning module acquires the Mac address to be burned and burns the Mac address. The preset burning record table is obtained by storing the serial number of the advertising player and the data of the burning times related to the serial number.
In the embodiment of the application, after the burning module receives the Mac address to be burned, the Mac address to be burned is written into the flash memory. The reading module detects the Mac address in the flash memory and takes the Mac address of the flash memory as the Mac address of the advertising player to carry out wireless communication. The advertisement machine is internally provided with a Mac address reading program, and the Mac address of the flash memory is used as a communication address of the advertisement machine by the reading program.
Referring to fig. 3, fig. 3 is a schematic flowchart illustrating a second embodiment of the writing and reading system based on modifying the MAC address according to the present application. In the embodiment of the present application, step S10 includes:
step S101: inquiring the burning times of a preset time recording position in the flash memory, and acquiring the burning times of the flash memory;
step S20 includes:
step S201: judging whether the burning times reach a preset burning time threshold value or not;
step S2021: if yes, judging that the flash memory does not conform to a burning rule;
step S2022: if not, the flash memory is judged to accord with the burning rule.
In the embodiment of the application, in order to prevent the flash memory from being maliciously tampered to cause excessive burning, a threshold value of the burning times of the flash memory is predefined. When Mac address burning needs to be carried out on the flash memory, firstly, a preset frequency recording position in the flash memory is inquired, the burning frequency of the flash memory is obtained, and then whether the burning frequency of the flash memory exceeds a preset burning frequency threshold value is judged, and whether the flash memory can be burned is determined.
For example, if the burning times of the advertiser are preset to be 20 times, the flash memory is inquired to obtain that the burning times of the current built-in flash memory of the advertiser is 19 times, and then the current advertiser can perform burning for 1 time; if the burning times of the current advertising player are obtained by inquiring the burning recording table and are full of 20 times, the current advertising player can not burn any more.
Referring to fig. 4, fig. 4 is a schematic flowchart illustrating a third embodiment of a burning and reading system based on modifying a MAC address according to the present application. In this embodiment of the present application, the host further includes a recording module, after step S50, including:
step S601: the recording module acquires a serial number of a current advertising player;
step S602: inquiring whether a preset number recording position has a burning record corresponding to the serial number;
step S6031: if yes, accumulating the burning times on the burning record;
step S6032: if not, establishing the burning record of the current advertising player in a preset number recording position, and recording the burning times of the serial number as 1.
In the embodiment of the application, before the main boards of the advertising player leave a factory, the manufacturer can formulate a unique serial number for each main board besides burning the Mac address in the flash memory of the main board, and burn the serial number into the ROM. In order to record the burning times of the advertising player, a recording module for recording the burning times of the advertising player is arranged, and the burning record of the flash memory burning Mac address is established. After each burning is finished, the burning times of the flash memory are recorded at the preset burning time recording position of the flash memory. The recording mode can be that the burning times associated with the serial number of the advertising player are recorded in a preset time recording position in the flash memory. After the current Mac address is burnt, inquiring the number recording data of a preset number recording position of a flash memory, if the burning record of the serial number corresponding to the current advertising player exists, indicating that the built-in program of the current advertising player is burnt for a certain number of times, and increasing the burning record of the current advertising player once on the burning record of the serial number corresponding to the current advertising player because one burning is newly finished at present; if the recording data of the times of the preset times recording position does not have the recording record of the serial number corresponding to the current advertising player, the fact that the flash memory of the current advertising player has not been subjected to Mac address recording is indicated, so that the recording record of the current advertising player needs to be established in the preset times recording position, and the recording times of the current advertising player are 1.
For example, if the advertiser with the current serial number has a burning record by querying at a preset number recording position and the burning number is 9, 1 time needs to be added to the burning number and the burning number is updated to 10; if the preset burning record table is inquired and determined that the burning record of the serial number corresponding to the current advertising player does not exist, the burning record of the current advertising player is established, and the burning times is recorded as 1.
Referring to fig. 5, fig. 5 is a schematic flowchart illustrating a fourth embodiment of a burning reading system based on modifying a MAC address according to the present application. In this embodiment, the host further includes an address information input module, before step S40, including:
step S31: obtaining Mac address information to be burned input by an information input module, and generating a Mac address setting instruction;
step S32: analyzing the Mac address setting instruction to obtain a Mac address to be burned;
step S33: and the information input module sends the Mac address to be burned to a burning module.
In the embodiment of the application, the address information input module is arranged for enabling a user to input Mac address setting information, generating corresponding Mac address setting instruction data, analyzing the Mac address setting instruction data to obtain the Mac address to be burnt, sending the Mac address to be burnt to the burning module, and burning the Mac address to be burnt into the flash memory by the burning module.
For example, a user inputs address information for setting the Mac address to 00:11:22:33:44:55 through the address information input module, generates setting instruction data of the Mac address 00:11:22:33:44:55, analyzes the instruction data to obtain the Mac address 00:11:22:33:44:55, and then sends the Mac address to the burning module.
Referring to fig. 6, fig. 6 is a schematic flowchart illustrating a fifth embodiment of a burning and reading system based on modifying a MAC address according to the present application. In this embodiment of the present application, the host further includes an address generating module, before step S40, including:
step S35: the address generation module generates a next Mac address as a current Mac address to be burned according to a preset address generation sequence based on a preset serial number of a recently generated Mac address in history;
step S36: and sending the Mac address to be burned to the burning module.
In the embodiment of the application, an address generation module is arranged, and the address generation module generates the Mac address to be burned according to a user-defined Mac address generation rule. In order to manage the advertisement player, the Mac address generation rule may be that a next Mac address is sequentially generated as a current Mac address to be burned based on a history of a last assigned Mac address.
For example, the address generation module obtains that the last Mac address generated by the history is 00:11:22:33:44:55, the next Mac address in the sequence is 00:11:22:33:44:56, and the current Mac address to be burned is 00:11:22:33:44: 56.
Referring to fig. 7, fig. 7 is a schematic flowchart illustrating a sixth embodiment of a burning reading system based on modifying a MAC address according to the present application. In the embodiment of the present application, after step S50, the method further includes:
step S51: detecting whether the Mac address of the flash memory is consistent with the Mac address to be burned;
step S521: if yes, judging that the burning of the Mac address is successful;
step S522: if not, judging that the Mac address burning fails.
In the embodiment of the application, in order to ensure the burning success rate of the Mac address of the flash memory, after the burning module writes the Mac address to be burned into the flash memory, whether the Mac address on the flash memory is consistent with the Mac address to be burned before burning is completed or not is detected, if the Mac address to be burned on the flash memory is consistent with the Mac address to be burned before burning is completed after burning is completed, the burning success is judged, and a user is prompted to replace the next advertiser to be burned; and if the Mac addresses to be burned on the flash memory before the burning of the Mac addresses is finished after the burning is finished are inconsistent, judging that the burning fails.
For example, the address of the Mac to be burned in the burning process is 00:11:22:33:44:56, and if the address of the Mac to be burned in the flash memory of the advertising player is 00:11:22:33:44:55 after the burning process is finished, the burning process is judged to fail; and if the Mac address read from the flash memory of the advertising player is 00:11:22:33:44:56 after the burning is finished, judging that the burning is successful.
Referring to fig. 8, fig. 8 is a schematic flowchart illustrating a seventh embodiment of a burning reading system based on modifying a MAC address according to the present application. In the embodiment of the present application, after step S521, the method further includes:
step S5211: marking the Mac address to be burned as an occupied address;
step S5212: and storing the occupied address into a preset occupied address database.
In the embodiment of the application, after burning is successful, when the Mac address burnt again is occupied, in order to avoid the situation that a plurality of advertising machines use the same Mac address to cause Mac address conflict, an occupied address database is established, the Mac address burnt again is marked as an occupied address, the occupied address and the corresponding serial number of the advertising machine are stored in the occupied address database in an associated mode, and judgment basis is provided for judging whether the Mac address is occupied or not when the Mac address is selected subsequently.
Referring to fig. 9, fig. 9 is a schematic flowchart illustrating an eighth embodiment of a burning reading system based on modifying a MAC address according to the present application. In the embodiment of the present application, after step S40, the method further includes:
step S41: and inquiring a preset occupied address database, judging whether the Mac address to be burned is an occupied address, if so, skipping to step S40, and reacquiring the Mac address to be burned, otherwise, skipping to step S50.
In the embodiment of the application, whether the Mac address to be burned exists in a preset occupied address database is inquired based on the Mac address to be burned, and whether the Mac address to be burned is occupied is determined. And if the Mac address to be burned exists in the occupied address database, the Mac address to be burned is occupied, and the Mac address to be burned is prompted to be occupied. And if the Mac address to be burned does not exist in the occupied address database, burning the Mac address to be burned into the flash memory.
For example, if the Mac address to be burned is obtained as 00:11:22:33:44:55, and the used address database is inquired to determine that the 00:11:22:33:44:55 is occupied, the user is prompted to replace the Mac address to be burned.
Referring to fig. 10, fig. 10 is a schematic flowchart illustrating a ninth embodiment of a burning reading system based on modifying a MAC address according to the present application. In the embodiment of the present application, step S60 includes:
step S61: the reading module detects whether the flash memory has a Mac address at a preset address recording position;
step S621: if the address exists, reading a Mac address of a preset address recording position in the flash memory;
step S622: if not, the Mac address recorded in the ROM is read.
In the embodiment of the present application, the reading rule of the reading module is set as follows: and during reading, whether the Mac address exists in the preset address recording position in the flash memory is preferentially detected. If the address exists, reading a preset address recording position in the flash memory, and taking the Mac address recorded in the flash memory as a communication address for managing the advertising machine; if not, reading the Mac address recorded in the ROM of the advertising machine, and taking the Mac address recorded in the ROM as a communication address for managing the advertising machine, thereby realizing the purpose that the Mac address set in the ROM by a manufacturer cannot be modified and the Mac address of the advertising machine cannot be modified, and facilitating the management of the advertising machine by a user.
For example, the current flash memory in the advertising player records Mac addresses 00:11:22:33:44:55, the ROM records Mac addresses 00:11:22:33:44:56, and the reading module reads the Mac addresses 00:11:22:33:44:55 of the flash memory as the communication addresses of the advertising player; if the current flash memory of the advertising player is not provided with the Mac address and the ROM is provided with the Mac address 00:11:22:33:44:56, the Mac address 00:11:22:33:44:56 of the ROM is read.
The above embodiments are preferred embodiments of the present application, and the protection scope of the present application is not limited by the above embodiments, so: all equivalent changes made according to the structure, shape and principle of the present application shall be covered by the protection scope of the present application.

Claims (9)

1. A burning reading system based on modifying MAC address is characterized in that: the burning reading method comprises the following steps that the advertising machine and a host are in communication connection based on a preset protocol, the advertising machine comprises a ROM used for storing an original Mac address and a flash memory used for burning the Mac address to be burned, and the host comprises a burning module, a reading module and a database, wherein the burning reading method applied to the advertising machine by the host comprises the following steps:
step S10: acquiring burning judgment information of a flash memory;
step S20: judging whether the flash memory meets the burning rule or not according to the burning judgment information, if so, executing step S40, and if not, executing step S30;
step S30: the burning module sends out the prompt information of the burning failure;
step S40: the burning module acquires a Mac address to be burnt;
step S50: burning the Mac address to be burned into a preset address recording position of the flash memory;
step S60: and the reading module reads the original Mac address on the ROM or the Mac address recorded on the flash memory according to a preset reading rule.
2. The modification system according to claim 1, wherein: step S10 includes:
step S101: inquiring the burning times of a preset time recording position in the flash memory, and acquiring the burning times of the flash memory;
step S20 includes:
step S201: judging whether the burning times reach a preset burning time threshold value or not;
step S2021: if yes, judging that the flash memory does not conform to a burning rule;
step S2022: if not, the flash memory is judged to accord with the burning rule.
3. The modification system according to claim 2, wherein: after step S50, the method includes:
step S601: the recording module acquires a serial number of a current advertising player;
step S602: inquiring whether a preset number recording position has a burning record corresponding to the serial number;
step S6031: if yes, accumulating the burning times on the burning record;
step S6032: if not, establishing the burning record of the current advertising player in a preset number recording position, and recording the burning times of the serial number as 1.
4. The modification system according to claim 1, wherein: the host further includes an address information input module, before step S40, including:
step S31: obtaining Mac address information to be burned input by an information input module, and generating a Mac address setting instruction;
step S32: analyzing the Mac address setting instruction to obtain a Mac address to be burned;
step S33: and the information input module sends the Mac address to be burned to a burning module.
5. The modification system according to claim 1, wherein: the host further includes an address generation module, before step S40, including:
step S35: the address generation module generates a next Mac address as a current Mac address to be burned according to a preset address generation sequence based on a preset serial number of a recently generated Mac address in history;
step S36: and sending the Mac address to be burned to the burning module.
6. The modification system according to claim 1, wherein: after step S50, the method further includes:
step S51: detecting whether the Mac address of the flash memory is consistent with the Mac address to be burned;
step S521: if yes, judging that the burning of the Mac address is successful;
step S522: if not, judging that the Mac address burning fails.
7. The modification system according to claim 6, wherein: after step S521, the method further includes:
step S5211: marking the Mac address to be burned as an occupied address;
step S5212: and storing the occupied address into a preset occupied address database.
8. The modification system according to claim 1, wherein: after step S40, the method includes:
step S41: and inquiring a preset occupied address database, judging whether the Mac address to be burned is an occupied address, if so, skipping to step S40, and reacquiring the Mac address to be burned, otherwise, skipping to step S50.
9. The modification system according to claim 1, wherein: step S60 includes:
step S61: the reading module detects whether the flash memory has a Mac address at a preset address recording position;
step S621: if the address exists, reading a Mac address of a preset address recording position in the flash memory;
step S622: if not, the Mac address recorded in the ROM is read.
CN202010910003.4A 2020-09-02 2020-09-02 Burning reading system based on modified MAC address Active CN112114823B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010910003.4A CN112114823B (en) 2020-09-02 2020-09-02 Burning reading system based on modified MAC address

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010910003.4A CN112114823B (en) 2020-09-02 2020-09-02 Burning reading system based on modified MAC address

Publications (2)

Publication Number Publication Date
CN112114823A true CN112114823A (en) 2020-12-22
CN112114823B CN112114823B (en) 2023-12-22

Family

ID=73805483

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010910003.4A Active CN112114823B (en) 2020-09-02 2020-09-02 Burning reading system based on modified MAC address

Country Status (1)

Country Link
CN (1) CN112114823B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112882727A (en) * 2021-01-27 2021-06-01 杭州涂鸦信息技术有限公司 Networking module production testing method, production testing tool and computer equipment
CN113778471A (en) * 2021-09-10 2021-12-10 昆山丘钛微电子科技股份有限公司 Camera module burning method and device and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050141521A1 (en) * 2003-12-26 2005-06-30 Hon Hai Precision Industry Co., Ltd. Method for burning MAC ddress
CN104954502A (en) * 2014-03-31 2015-09-30 研祥智能科技股份有限公司 MAC address updating method in production line and system thereof
CN106131687A (en) * 2016-06-21 2016-11-16 深圳创维-Rgb电子有限公司 Data burning method and device
CN110471676A (en) * 2019-08-22 2019-11-19 深圳市讯盾科技有限公司 MAC Address method for burn-recording and system
CN111580837A (en) * 2020-05-06 2020-08-25 深圳创维-Rgb电子有限公司 Method, device, terminal and storage medium for burning MAC address

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050141521A1 (en) * 2003-12-26 2005-06-30 Hon Hai Precision Industry Co., Ltd. Method for burning MAC ddress
CN104954502A (en) * 2014-03-31 2015-09-30 研祥智能科技股份有限公司 MAC address updating method in production line and system thereof
CN106131687A (en) * 2016-06-21 2016-11-16 深圳创维-Rgb电子有限公司 Data burning method and device
CN110471676A (en) * 2019-08-22 2019-11-19 深圳市讯盾科技有限公司 MAC Address method for burn-recording and system
CN111580837A (en) * 2020-05-06 2020-08-25 深圳创维-Rgb电子有限公司 Method, device, terminal and storage medium for burning MAC address

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
黄玉琴;: "多接口显示器EDID快速烧录方法", 福建电脑, no. 04 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112882727A (en) * 2021-01-27 2021-06-01 杭州涂鸦信息技术有限公司 Networking module production testing method, production testing tool and computer equipment
CN113778471A (en) * 2021-09-10 2021-12-10 昆山丘钛微电子科技股份有限公司 Camera module burning method and device and readable storage medium

Also Published As

Publication number Publication date
CN112114823B (en) 2023-12-22

Similar Documents

Publication Publication Date Title
CN111651173B (en) Key code data burning method and device, terminal equipment and readable storage medium
CN112114823B (en) Burning reading system based on modified MAC address
CN104916327A (en) Method and system of simultaneously burning multiple television KEY codes on line
CN109660372B (en) SDN service configuration method and device
CN111342992B (en) Method and system for processing equipment information change record
AU2019275490A1 (en) Method of processing push information, method of pushing advertisement information, device and platform
CN107562372B (en) Electronic equipment, data management method thereof and computer readable storage medium
CN111803917A (en) Resource processing method and device
CN100382020C (en) System and method for centralized management and use of multiple software versions
CN111464826A (en) List updating method and device for virtual resources, electronic equipment and storage medium
CN111381895A (en) Identification information setting method, device, equipment and computer readable storage medium
CN108737487B (en) Data synchronization method and device, storage medium and electronic device
CN107784230A (en) The restorative procedure and device of page leak
CN112000646B (en) Database initialization method and device, electronic equipment and storage medium
CN110795674B (en) Configuration updating method and device
US20070255937A1 (en) Basic input / output system (BIOS) set-value access method
CN106507137B (en) A kind of footmark configuration method, server and system
CN110442387B (en) Parameter self-adaption method and device of vehicle-mounted system and vehicle
CN112036133B (en) File storage method and device, electronic equipment and storage medium
CN113342420A (en) Firmware configuration method, device, equipment and storage medium
CN115269345A (en) Database testing method, device, equipment and storage medium
CN104951550A (en) Data storage method and device
CN109669628B (en) Data storage management method and device based on flash equipment
KR101449614B1 (en) Method for managing the default data of the flash memory
CN108459869A (en) ISSU upgrade methods and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant