CN112114823B - Burning reading system based on modified MAC address - Google Patents

Burning reading system based on modified MAC address Download PDF

Info

Publication number
CN112114823B
CN112114823B CN202010910003.4A CN202010910003A CN112114823B CN 112114823 B CN112114823 B CN 112114823B CN 202010910003 A CN202010910003 A CN 202010910003A CN 112114823 B CN112114823 B CN 112114823B
Authority
CN
China
Prior art keywords
mac address
burning
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.)
Active
Application number
CN202010910003.4A
Other languages
Chinese (zh)
Other versions
CN112114823A (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

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 utility model relates to a burn reading system based on modification MAC address, it includes advertisement machine and host computer, advertisement machine and host computer are based on presetting protocol communication connection, advertisement machine including the ROM that is used for storing original Mac address and be used for burn the flash memory of waiting to burn Mac address, the host computer includes burn module, reading module and database, the burn reading method that the host computer is applied to advertisement machine includes: acquiring burning judgment information of a flash memory; judging whether the flash memory accords with a recordable rule according to the recordable judging information, if so, acquiring a Mac address to be recorded by a recording module, and recording the Mac address to be recorded into a preset address recording position of the flash memory; if not, the burning module sends out prompt information of burning failure; 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 has the effect of customizing the Mac address of the advertising machine and enabling management to be more convenient.

Description

Burning reading system based on modified MAC address
Technical Field
The present disclosure relates to the field of computer hardware, and in particular, to a system for checking and correcting a MAC address.
Background
At present, when the advertisement machine is produced by a manufacturer, the unique Mac address given by the Ethernet address management mechanism is burnt on the main board of the advertisement machine so as to transmit and receive data, and the Mac address 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 problem that Mac addresses burnt by an advertising machine are disordered and inconvenient for a user to manage, the application provides a burning reading system based on modifying MAC addresses.
The burning reading system based on the modified MAC address adopts the following technical scheme:
the utility model provides a burn reading system based on modify MAC address, includes advertisement machine and host computer, advertisement machine and host computer are based on preset protocol communication connection, and advertisement machine includes the ROM that is used for storing original Mac address and is used for burn the flash memory of waiting to burn Mac address, and the host computer includes burn module, reading module and database, and wherein, the burn reading method that the host computer was applied to advertisement machine includes:
step S10: acquiring burning judgment information of a flash memory;
step S20: judging whether the flash memory accords with the recordable rule according to the recordable judging information, if so, executing the step S40, and if not, executing the step S30;
step S30: the burning module sends out prompt information of burning failure;
step S40: the burning module acquires a Mac address to be burned;
step S50: burning the Mac address to be burned into a preset address recording position of a flash memory;
step S60: 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 advertisement machine and the host form the advertisement machine Mac address modification system, the flash memory for storing the burnt Mac address is newly added on the basis of the ROM of the advertisement machine, when the burnt reading system is applied, whether the flash memory accords with the burnt rule is judged, if so, the burnt module acquires the Mac address to be burnt, the Mac address to be burnt is burnt into the flash memory, and the reading module reads the Mac address of the preset address recording position in the flash memory as the Mac address for managing the advertisement machine according to the preset reading rule, so that the advertisement machine management is convenient for users.
Preferably, step S10 includes:
step S101: inquiring the burning times of a preset time recording position in the flash memory to obtain the burning times of the flash memory;
step S20 includes:
step S201: judging whether the burning times reach a preset burning times threshold value or not;
step S2021: if yes, judging that the flash memory does not accord with the recordable rule;
step S2022: if not, judging that the flash memory accords with the recordable rule.
By adopting the technical scheme, the number of burning times recorded in the preset number of times recording position in the flash memory is inquired, and whether the flash memory reaches the preset threshold of the number of burning times is determined, so that whether the flash memory accords with the burning rule is judged, and the flash memory Mac address is prevented from being tampered maliciously to cause excessive burning.
Preferably, after step S50, it includes:
step S601: the recording module acquires the serial number of the current advertisement machine;
step S601: inquiring whether a burning record corresponding to the serial number exists at a preset number of times of recording positions;
step S021: if yes, accumulating the number of times of one burning on the burning record;
step S022: if not, establishing the burning record of the current advertisement player in the preset times record position, and recording that the burning times of the serial number is 1.
By adopting the technical scheme, after the programming is finished, the programming records of the advertising machine are accumulated for one time, and the programming records of the advertising machine are recorded, so that a user can conveniently acquire the programming times of the advertising machine, and the user can determine whether the advertising machine has the Mac address maliciously tampered from the programming times of the advertising machine.
Preferably, the host further includes an address information input module, and before step S40, the host further includes:
step S31: the Mac address information input by the information input module is obtained, and a Mac address setting instruction is generated;
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 the burning module.
By adopting the technical scheme, the address information input module is set, a user-defined Mac address setting mode is provided, user-defined Mac address setting instruction data is obtained, the instruction data is analyzed to obtain the Mac address to be burnt, 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 generation module, before step S40, including:
step S35: the address generation module generates the next Mac address as the current Mac address to be burned according to the preset address generation sequence based on the preset sequence number of the Mac address generated last time in the history;
step S36: and sending the Mac address to be burned to a burning module.
By adopting the technical scheme, the Mac address generation module is arranged, the Mac address is automatically allocated according to the preset address generation sequence by the Mac address generation module, the system is automatically allocated Mac addresses, the user is saved from inputting Mac address setting information by himself, 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 Mac address is successfully burnt;
step S522: if not, judging that the Mac address fails to be burnt.
By adopting the technical scheme, whether the Mac address of the flash memory after the burning is completed is consistent with the target Mac address to be burned is detected, whether the burning is successful at present is judged, the checking of the burned Mac address is realized, and the situation that the advertisement player fails to burn and a user does not know is avoided.
Preferably, after step S521, the method further includes:
step S5211: marking the Mac address to be burnt as an occupied address;
step S5212: and storing the occupied address into a preset occupied address database.
By adopting the technical scheme, an occupied address database of the allocated Mac address is established, and a judgment basis is provided for judging whether the Mac address to be burned is the allocated Mac address.
Preferably, after step S40, it includes:
step S41: and inquiring a preset occupied address database, judging whether the Mac address to be burned is an occupied address, if so, jumping to the step S40, acquiring the Mac address to be burned again, and if not, jumping to the step S50.
By adopting the technical scheme, after the Mac addresses to be burnt are obtained, the occupied database is queried, and whether the Mac addresses to be burnt are occupied addresses or not is determined, so that the situation that the Mac addresses of two advertising machines are identical is prevented, and the situation that the Mac addresses of the advertising machines conflict is avoided.
Preferably, step S60 includes:
step S61: the reading module detects whether a Mac address exists in a preset address recording position of the flash memory or not;
step S621: if yes, reading the Mac address of the preset address recording position in the flash memory;
step S622: if not, the Mac address of the ROM record is read.
By adopting the technical scheme, the Mac address recorded in the flash memory is set to be read by the reading module preferentially as the Mac address for managing the advertising machine, and if the Mac address in the flash memory is not detected, the Mac address recorded in the ROM is read again, so that the change of the Mac address of the advertising machine is realized.
In summary, the present application includes at least one of the following beneficial technical effects:
the advertisement machine and the host form an advertisement machine Mac address modification system, a storage module for storing the burning Mac address is added on the basis of the original Mac address storage module of the advertisement machine, when the modification system is applied, the burning record of the advertisement machine is determined, whether the burning times of the advertisement machine which is currently ready to be burnt reach a threshold value of the burning times is judged, if the advertisement machine does not reach the threshold value of the burning times, the Mac address to be burnt is obtained by a configuration module, the Mac address to be burnt is burnt into a flash memory by the burning module according to the Mac address to be burnt, the Mac address to be burnt is read by a reading module to serve as the Mac address of the advertisement machine, the user-defined modification of the Mac address of the advertisement machine is realized, and the advertisement machine management is facilitated for the user.
Drawings
FIG. 1 is a schematic diagram of a functional module of a first embodiment of a burning reading system based on a modified MAC address;
FIG. 2 is a flowchart of a first embodiment of a write-read system based on a modified MAC address according to the present application;
FIG. 3 is a flowchart of a second embodiment of a recording and reading system based on a modified MAC address according to the present application;
FIG. 4 is a flow chart of a third embodiment of a burning reading system based on a modified MAC address according to the present application;
FIG. 5 is a flowchart of a fourth embodiment of a write-read system based on a modified MAC address according to the present application;
FIG. 6 is a flowchart of a fifth embodiment of a write-read system based on a modified MAC address according to the present application;
FIG. 7 is a flowchart of a sixth embodiment of a write-read system based on a modified MAC address according to the present application;
FIG. 8 is a flowchart of a seventh embodiment of a burning reading system based on a modified MAC address according to the present application;
FIG. 9 is a flowchart of an eighth embodiment of a write-read system based on a modified MAC address according to the present application;
fig. 10 is a flowchart of a ninth embodiment of a burning reading system based on a modified MAC address.
Detailed Description
The present application is described in further detail below in conjunction with figures 1-10.
Referring to fig. 1, fig. 1 is a schematic functional block diagram of a first embodiment of a burning reading system based on a modified MAC address.
In the embodiment of the application, the burning reading system of the advertisement machine based on the modified MAC address comprises the advertisement machine and a host machine, wherein the advertisement machine is in communication connection with the host machine based on a custom communication protocol. The advertisement machine comprises a ROM and a flash memory, wherein the ROM is used for storing Mac addresses burnt by manufacturers, and the flash memory is used for storing Mac addresses burnt by users. The host comprises a burning module for receiving burning information and burning, a reading module for reading Mac addresses stored in the flash memory of the advertisement player, and a database for storing occupied addresses.
Referring to fig. 2, fig. 2 is a flowchart of a first embodiment of a burning reading system based on a modified MAC address according to the present application. In an embodiment of the present application, a processing flow of a burning reading system based on modifying a MAC address includes:
step S10: acquiring burning judgment information of a flash memory;
step S20: judging whether the flash memory accords with the recordable rule according to the recordable judging information, if so, executing the step S40, and if not, executing the step S30;
step S30: the burning module sends out prompt information of burning failure;
step S40: the burning module acquires a Mac address to be burned;
step S50: burning the Mac address to be burned into a preset address recording position of a flash memory;
step S60: 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 machine is a new generation intelligent device, a complete advertisement broadcasting control system is formed by terminal software control, network information transmission and multimedia terminal display, and advertisement propaganda is carried out by multimedia materials such as pictures, characters, videos, small plug-ins and the like. The main board is an important component of the advertising machine, and most of the main boards are provided with on-board wired network cards. When the main board of the advertising machine leaves the factory, a unique Mac address is burnt to each ROM integrated on the main board by the manufacturer. Typically, the Mac address is the ROM that the advertiser motherboard manufacturer burns onto the motherboard at the time the motherboard is manufactured. However, since the ROM is a read-only storage medium after the completion of the writing, the 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 machine. The method comprises the steps of pre-storing the writing judgment information of the flash memory, judging whether the flash memory accords with a writing rule according to the writing judgment information, and further determining whether the flash memory can write Mac addresses. If the flash memory accords with the recordable rule, the recording module acquires the Mac address to be recorded and records the Mac address. The preset burning record list is obtained by storing the serial number of the advertisement player and the data of the number of times of burning associated with the serial number.
In this embodiment of the present application, after receiving the Mac address to be burned, the burning module writes the Mac address to be burned into the flash memory. The reading module detects the Mac address in the flash memory, and uses the Mac address of the flash memory as the Mac address of the advertisement player for wireless communication. Wherein, the advertisement machine embeds Mac address reading procedure, and this reading procedure regards Mac address of flash memory as the communication address of advertisement machine.
Referring to fig. 3, fig. 3 is a flowchart of a second embodiment of a burning reading system based on a modified 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 to obtain the burning times of the flash memory;
step S20 includes:
step S201: judging whether the burning times reach a preset burning times threshold value or not;
step S2021: if yes, judging that the flash memory does not accord with the recordable rule;
step S2022: if not, judging that the flash memory accords with the recordable rule.
In the embodiment of the application, in order to prevent the flash memory from being tampered maliciously, the threshold of the recordable times of the flash memory is predefined. When Mac address burning is needed to be carried out on the flash memory, firstly, a preset time recording position in the flash memory is inquired, the burning times of the flash memory are obtained, whether the burning times of the flash memory exceed a preset burning times threshold value is judged, and whether the flash memory can be burnt is determined.
For example, presetting the number of times of burning of the advertisement player to be 20 times, inquiring the flash memory to obtain that the number of times of burning of the built-in flash memory of the current advertisement player is 19 times, and then the current advertisement player can perform 1 time of burning; if the burning record list is queried to obtain that the burning times of the current advertisement machine are over 20 times, the current advertisement machine can not burn any more.
Referring to fig. 4, fig. 4 is a flowchart of a third embodiment of a burning reading system based on a modified MAC address according to the present application. In an embodiment of the present application, the host further includes a recording module, after step S50, including:
step S601: the recording module acquires the serial number of the current advertisement machine;
step S602: inquiring whether a burning record corresponding to the serial number exists at a preset number of times of recording positions;
step S6031: if yes, accumulating the number of times of one burning on the burning record;
step S6032: if not, establishing the burning record of the current advertisement player in the preset times record position, and recording that the burning times of the serial number is 1.
In this embodiment of the present application, before the delivery of the advertisement player motherboard, the manufacturer writes the Mac address in the flash memory of the motherboard, and also formulates a unique serial number for each motherboard, and writes the serial number into the ROM. In order to record the burning times of the advertising machine, a recording module for recording the burning times of the advertising machine is arranged, and a burning record of the flash memory burning Mac address is established. After each programming is completed, the programming times of the flash memory are recorded at the preset programming times recording positions of the flash memory. The recording mode can be that the serial number of the advertisement player is associated with the burning times and is recorded in a preset time recording position in the flash memory. After the current Mac address is burnt, inquiring the number of times record data of a preset number of times record position of the flash memory, if the number of times record data of the serial number corresponding to the current advertisement machine exists, indicating that the built-in program of the current advertisement machine is burnt for a certain number of times, and updating the number of times record data of the current advertisement machine because the current writing is completed once, and adding one time record data of the serial number corresponding to the current advertisement machine; if the number recording data of the preset number recording position does not have the recording record of the serial number corresponding to the current advertisement machine, the flash memory of the current advertisement machine is indicated to have not been subjected to Mac address recording, so that the recording record of the current advertisement machine is required to be established in the preset number recording position, and the recording number of the current advertisement machine is recorded to be 1.
For example, if the advertisement player with the current serial number is determined to have a recording record in the preset number recording position, and the recording number is 9, the recording number needs to be increased by 1 time and updated to be 10 times; if the record list is searched and confirmed that the record corresponding to the serial number of the current advertisement machine does not exist, the record of the current advertisement machine is established, and the record number of times is 1.
Referring to fig. 5, fig. 5 is a flowchart of a fourth embodiment of a burning 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 information input module, including, before step S40:
step S31: the method comprises the steps of obtaining Mac address information to be burned, which is 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 the burning module.
In the embodiment of the application, an address information input module is set, mac address setting information input by a user is generated, corresponding Mac address setting instruction data is generated, and the Mac address setting instruction data is analyzed, so that a Mac address to be burnt is obtained, then the Mac address to be burnt is sent to a burning module, and the Mac address to be burnt is burnt into a flash memory by the burning module.
For example, a user inputs address information for setting a Mac address to 00:11:22:33:44:55 through an 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 a burning module.
Referring to fig. 6, fig. 6 is a flowchart of a fifth embodiment of a burning 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 the next Mac address as the current Mac address to be burned according to the preset address generation sequence based on the preset sequence number of the Mac address generated last time in the history;
step S36: and sending the Mac address to be burned to a burning module.
In the embodiment of the application, an address generation module is set, and the address generation module generates a Mac address to be burned according to a user-defined Mac address generation rule. In order to facilitate management of the advertisement machine, the Mac address generation rule may sequentially generate, based on the Mac address that has been allocated last time in the history, the next Mac address as the current Mac address to be burned.
For example, the address generation module obtains the last Mac address of 00:11:22:33:44:55, and then the next Mac address in the sequence should be 00:11:22:33:44:56, and then the next Mac address is 00:11:22:33:44:56 as the current Mac address to be burned.
Referring to fig. 7, fig. 7 is a flowchart of 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, 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 Mac address is successfully burnt;
step S522: if not, judging that the Mac address fails to be burnt.
In the embodiment of the present application, in order to ensure a Mac address writing success rate of a flash memory, after a writing module writes a Mac address to be written into the flash memory, it should also detect whether the Mac address on the flash memory is consistent with a Mac address to be written before writing is completed, if the Mac address to be written before writing is completed after writing is completed, then judging that the writing is successful, and prompting a user to replace the next advertisement player to be written; if the Mac addresses to be recorded on the flash memory after the recording is finished are inconsistent before the recording of the Mac addresses is finished, judging that the recording is failed.
For example, the Mac address to be burned in the current burning is 00:11:22:33:44:56, and if the Mac address in the flash memory of the advertisement player is 00:11:22:33:44:55 after the burning is finished, the current burning is judged to be failed; if the Mac address in the flash memory of the advertisement player is read to be 00:11:22:33:44:56 after the burning is finished, the burning is judged to be successful.
Referring to fig. 8, fig. 8 is a flowchart of 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, further includes:
step S5211: marking the Mac address to be burnt as an occupied address;
step S5212: and storing the occupied address into a preset occupied address database.
In the embodiment of the application, after the burning succeeds, when the Mac address of the next burning is occupied, in order to avoid that a plurality of advertisement machines use the same Mac address, a occupied address database is established, the Mac address of the next burning is marked as an occupied address, and the occupied address and the serial number of the corresponding advertisement machine are stored in the occupied address database in an associated manner, so that a judgment basis is provided for judging whether the Mac address is occupied or not when the Mac address is selected later.
Referring to fig. 9, fig. 9 is a flowchart of 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, 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, jumping to the step S40, acquiring the Mac address to be burned again, and if not, jumping to the step S50.
In the embodiment of the application, based on the Mac address to be burned, whether the Mac address to be burned exists in the preset occupied address database is queried, and whether the Mac address to be burned is occupied is determined. If the Mac address to be recorded exists in the occupied address database, the Mac address to be recorded is occupied, and the Mac address to be recorded 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 00:11:22:33:44:55, the used address database is queried to determine that 00:11:22:33:44:55 is occupied, and the user is prompted to replace the Mac address to be burned.
Referring to fig. 10, fig. 10 is a flowchart of a ninth embodiment of a burning reading system based on a modified MAC address according to the present application. In the embodiment of the present application, step S60 includes:
step S61: the reading module detects whether a Mac address exists in a preset address recording position of the flash memory or not;
step S621: if yes, reading the Mac address of the preset address recording position in the flash memory;
step S622: if not, the Mac address of the ROM record is read.
In the embodiment of the present application, the reading rule of the reading module is set as follows: and preferentially detecting whether a Mac address exists in a preset address recording position in the flash memory during reading. If yes, 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 advertisement player; if the address does not exist, the Mac address recorded in the ROM of the advertising machine is read, the Mac address recorded in the ROM is used as the communication address for managing the advertising machine, and the purpose that the Mac address set by a manufacturer in the ROM cannot be modified and the Mac address of the advertising machine is modified is achieved, so that a user can manage the advertising machine conveniently.
For example, when the current advertisement machine has a flash memory recorded with Mac address 00:11:22:33:44:55 and the rom recorded with Mac address 00:11:22:33:44:56, the reading module reads the Mac address 00:11:22:33:44:55 of the flash memory as the communication address of the advertisement machine; if the current advertisement player flash memory is not provided with Mac addresses, the Mac addresses 00:11:22:33:44:56 are arranged in the ROM, and then the Mac addresses 00:11:22:33:44:56 of the ROM are read.
The foregoing are all preferred embodiments of the present application, and are not intended to limit the scope of the present application in any way, therefore: all equivalent changes in structure, shape and principle of this application should be covered in the protection scope of this application.

Claims (3)

1. A burn-in reading system based on modifying MAC addresses, characterized in that: the method comprises the following steps that the advertisement machine and the host are in communication connection based on a preset protocol, the advertisement machine comprises a ROM (read only memory) for storing original Mac addresses and a flash memory for burning Mac addresses to be burned, the host comprises a burning module, a reading module, a database, an address information input module and an address generation module, and the host is applied to the burning reading method of the advertisement machine and comprises the following steps:
step S10: the method for acquiring the burning judgment information of the flash memory specifically comprises the following steps:
step S101: inquiring the burning times of a preset time recording position in the flash memory to obtain the burning times of the flash memory;
step S20: according to the burning judgment information, judging whether the flash memory accords with a burning rule, if yes, executing step S40, and if not, executing step S30, wherein the method specifically comprises the following steps:
step S201: judging whether the burning times reach a preset burning times threshold value or not;
step S2021: if yes, judging that the flash memory does not accord with the recordable rule;
step S2022: if not, judging that the flash memory accords with the recordable rule;
step S30: the burning module sends out prompt information of burning failure;
step S31: the method comprises the steps of obtaining Mac address information to be burned, which is 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: the information input module sends the Mac address to be burned to a burning module;
step S35: the address generation module generates the next Mac address as the current Mac address to be burned according to the preset address generation sequence based on the preset sequence number of the Mac address generated last time in the history;
step S36: sending the Mac address to be burned to a burning module;
step S40: the burning module acquires a Mac address to be burned;
step S41: inquiring a preset occupied address database, judging whether the Mac address to be burned is an occupied address or not, if so, jumping to the step S40, acquiring the Mac address to be burned again, and if not, jumping to the step S50;
step S50: burning the Mac address to be burned into a preset address recording position of a flash memory;
step S601: the recording module acquires the serial number of the current advertisement machine;
step S602: inquiring whether a burning record corresponding to the serial number exists at a preset number of times of recording positions;
step S6031: if yes, accumulating the number of times of one burning on the burning record;
step S6032: if not, establishing a burning record of the current advertising machine in a preset number recording position, and recording the number of times of burning of the serial number as 1;
step S60: 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, and specifically comprises the following steps:
step S61: the reading module detects whether a Mac address exists in a preset address recording position of the flash memory or not;
step S621: if yes, reading the Mac address of the preset address recording position in the flash memory;
step S622: if not, the Mac address of the ROM record is read.
2. The modified MAC address burn reading system of claim 1, wherein: after step S50, further comprising:
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 Mac address is successfully burnt;
step S522: if not, judging that the Mac address fails to be burnt.
3. The modified MAC address burn reading system of claim 2, wherein: after step S521, further includes:
step S5211: marking the Mac address to be burnt as an occupied address;
step S5212: and storing the occupied address into a preset occupied address database.
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 CN112114823A (en) 2020-12-22
CN112114823B true 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)

Families Citing this family (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 (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI323584B (en) * 2003-12-26 2010-04-11 Hon Hai Prec Ind Co Ltd Method and system for burning mac address

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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快速烧录方法;黄玉琴;;福建电脑(第04期);全文 *

Also Published As

Publication number Publication date
CN112114823A (en) 2020-12-22

Similar Documents

Publication Publication Date Title
CN107888978B (en) KEY code burning method and device and computer readable storage medium
US7873956B2 (en) Communication terminal and communication network for partially updating software, software update method, and software creation device and method therefor
US20090320012A1 (en) Secure booting for updating firmware over the air
CN112114823B (en) Burning reading system based on modified MAC address
CN111651173B (en) Key code data burning method and device, terminal equipment and readable storage medium
US7774382B2 (en) Method and apparatus for configuring a control device, and corresponding control device
KR100987628B1 (en) Method for updating firmware in embedded controller and medium recorded update firmware
CN109471738B (en) Method for identifying application program downloading channel and related equipment
CN104916327A (en) Method and system of simultaneously burning multiple television KEY codes on line
CN109656597A (en) Firmware upgrade method, device and computer readable storage medium
CN107360265A (en) A kind of equipment exclusive identification code acquisition methods, device and mobile terminal
CN106126274A (en) Control method and device for application program data in mobile terminal and mobile terminal
CN104461667A (en) Root method and device for intelligent terminal
CN105549996B (en) Application program updating method of mobile terminal and mobile terminal
CN105677409B (en) A kind of method for upgrading system and device
CN106793012A (en) A kind of method that wifi configuration managements are realized in family gateway equipment
CN111580837A (en) Method, device, terminal and storage medium for burning MAC address
US20140075577A1 (en) File security control system and method
CN109343800B (en) Storage device management method and device and readable storage medium
CN106507137B (en) A kind of footmark configuration method, server and system
CN110674249B (en) Information processing method and device
CN112036133A (en) File saving method and device, electronic equipment and storage medium
CN109669628B (en) Data storage management method and device based on flash equipment
CN111857745A (en) Multi-disk burning method, system, equipment and medium
KR101449614B1 (en) Method for managing the default data of the flash memory

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