CN106254570A - The MAC Address acquisition methods of a kind of ICE system and device - Google Patents
The MAC Address acquisition methods of a kind of ICE system and device Download PDFInfo
- Publication number
- CN106254570A CN106254570A CN201610622708.XA CN201610622708A CN106254570A CN 106254570 A CN106254570 A CN 106254570A CN 201610622708 A CN201610622708 A CN 201610622708A CN 106254570 A CN106254570 A CN 106254570A
- Authority
- CN
- China
- Prior art keywords
- mac address
- ice system
- configuration file
- stored
- acquisition
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/618—Details of network addresses
- H04L2101/622—Layer-2 addresses, e.g. medium access control [MAC] addresses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/09—Mapping addresses
- H04L61/10—Mapping addresses of different types
- H04L61/103—Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses MAC Address acquisition methods and the device of a kind of ICE system, be both needed to when ICE system is started shooting and run every time obtain and submit to MAC Address to occur to the situation of server for avoiding.Described method includes: obtains ICE system and starts shooting for the first time the MAC Address read when running, and it is identical with uniquely identifying whether in the configuration file being stored in described ICE system to detect the described MAC Address of acquisition;The described MAC Address obtained with in the configuration file being stored in described ICE system when uniquely identifying and differ, the unique mark in described configuration file is revised as described MAC Address.This solution avoids ICE system to start shooting every time and be both needed to when running obtain and submit to MAC Address to occur to the situation of server, and it is easy and simple to handle, improves Consumer's Experience.
Description
Technical field
The present invention relates to MAC Address field, particularly to MAC Address acquisition methods and the device of a kind of ICE system.
Background technology
MAC (Media Access Control) address, for defining the position of the network equipment, is also used to indicate that interconnection
The identifier of each website online, each main frame all has a MAC Address, and MAC Address is determined by network interface card, is fixing
's.In the prior art, ICE (Internet Communications Engine: internet communication engine) system needs often
Secondary start is all read a MAC Address and this MAC Address is submitted to server when logging in, and therefore its process is comparatively laborious, and
Obtain less than MAC Address sometimes.
Summary of the invention
The present invention provides MAC Address acquisition methods and the device of a kind of ICE system, is used for avoiding ICE system to start shooting every time
Being both needed to during operation obtain and submit to MAC Address to occur to the situation of server, it is easy and simple to handle, improves Consumer's Experience.
First aspect according to embodiments of the present invention, it is provided that the MAC Address acquisition methods of a kind of ICE system, including:
Obtain ICE system to start shooting for the first time the MAC Address read when running, and detect described MAC Address and the storage of acquisition
Uniquely identifying whether in the configuration file of described ICE system is identical;
The described MAC Address obtained and uniquely identifying and differing in the configuration file being stored in described ICE system
Time, the unique mark in described configuration file is revised as described MAC Address.
In one embodiment, described acquisition ICE system is started shooting the MAC Address read when running for the first time, and detects acquisition
Described MAC Address identical with uniquely identifying whether in the configuration file being stored in described ICE system, including:
MAC Address is read in linkin service when running of being started shooting for the first time by ICE system;
Obtain described MAC Address, and detect the described MAC Address of acquisition and the configuration file being stored in described ICE system
In uniquely identify whether identical.
In one embodiment, MAC Address is read in the described linkin service started shooting for the first time by ICE system when running,
Including:
When ICE system starts shooting operation for the first time, the linkin service run with system synchronization in described ICE system is passed through
PHP interface reads MAC Address.
In one embodiment, described method also includes:
Timing is obtained by the linkin service run with system synchronization in described ICE system when ICE system boot runs
Take MAC Address, and detect the described MAC Address of timing acquisition and the unique mark in the configuration file being stored in described ICE system
Know the most identical;
Identify not with unique in the configuration file being stored in described ICE system at the described MAC Address of timing acquisition
Time identical, the unique mark in described configuration file is revised as described MAC Address;
Identify not with unique in the configuration file being stored in described ICE system at the described MAC Address of timing acquisition
Time identical, keep the unique mark in described configuration file constant.
In one embodiment, described acquisition ICE system is started shooting the MAC Address read when running for the first time, and detects acquisition
Described MAC Address identical with uniquely identifying whether in the configuration file being stored in described ICE system after, also include:
When the described MAC Address obtained is identical with the unique mark in the configuration file being stored in described ICE system, protect
Hold the unique mark in described configuration file constant.
Second aspect according to embodiments of the present invention, also provides for the MAC Address acquisition device of a kind of ICE system, including:
Detection module, for obtaining the MAC Address read when ICE system is started shooting for the first time and run, and detects the described of acquisition
MAC Address is identical with uniquely identifying whether in the configuration file being stored in described ICE system;
First mark modified module, at the described MAC Address obtained and the configuration file being stored in described ICE system
In when uniquely identifying and differ, the unique mark in described configuration file is revised as described MAC Address.
In one embodiment, described detection module includes:
Reading submodule, for being started shooting for the first time by ICE system, MAC Address is read in linkin service when running;
Detection sub-module, is used for obtaining described MAC Address, and detects the described MAC Address of acquisition and be stored in described ICE
Uniquely identifying whether in the configuration file of system is identical.
In one embodiment, described reading submodule includes:
Read unit, for when ICE system starts shooting operation for the first time, described ICE system being run with system synchronization
Linkin service reads MAC Address by PHP interface.
In one embodiment, described device also includes:
Timing acquisition module, is used for timing when ICE system boot runs by transporting with system synchronization in described ICE system
The linkin service acquisition MAC Address of row, and detect the described MAC Address of timing acquisition and be stored in joining of described ICE system
Put in file uniquely identify whether identical;
Second mark amendment submodule, for timing acquisition described MAC Address be stored in joining of described ICE system
Put in file when uniquely identifying and differ, the unique mark in described configuration file is revised as described MAC Address;
First keeps submodule, at the described MAC Address of timing acquisition and the configuration literary composition being stored in described ICE system
In part when uniquely identifying and differ, keep the unique mark in described configuration file constant.
In one embodiment, described device also includes:
Second keep submodule, for obtain described MAC Address with in the configuration file being stored in described ICE system
Unique mark identical time, keep the unique mark in described configuration file constant.
The technical scheme that the embodiment of the present invention provides can produce following beneficial effect: obtains ICE system and starts shooting for the first time operation
Time the MAC Address that reads, and detect the described MAC Address of acquisition and unique in the configuration file being stored in described ICE system
Identify whether identical;At the described MAC Address obtained with the unique mark in the configuration file being stored in described ICE system not
Time identical, the unique mark in described configuration file is revised as described MAC Address.This solution avoids ICE system to open every time
Machine is both needed to when running obtain and submit to MAC Address to occur to the situation of server, and it is easy and simple to handle, improves Consumer's Experience.
Other features and advantages of the present invention will illustrate in the following description, and, partly become from description
Obtain it is clear that or understand by implementing the present invention.The purpose of the present invention and other advantages can be by the explanations write
Structure specifically noted in book, claims and accompanying drawing realizes and obtains.
Below by drawings and Examples, technical scheme is described in further detail.
Accompanying drawing explanation
Accompanying drawing is for providing a further understanding of the present invention, and constitutes a part for description, with the reality of the present invention
Execute example together for explaining the present invention, be not intended that limitation of the present invention.
In the accompanying drawings:
Fig. 1 is the present invention flow process according to the MAC Address acquisition methods of a kind of ICE system shown in an exemplary embodiment
Figure.
Fig. 2 is the present invention step according to the MAC Address acquisition methods of a kind of ICE system shown in an exemplary embodiment
The flow chart of S10.
Fig. 3 is the present invention step according to the MAC Address acquisition methods of a kind of ICE system shown in an exemplary embodiment
The flow chart of S101.
Fig. 4 is the present invention stream according to the MAC Address acquisition methods of the another kind of ICE system shown in an exemplary embodiment
Cheng Tu.
Fig. 5 is the present invention stream according to the MAC Address acquisition methods of another the ICE system shown in an exemplary embodiment
Cheng Tu.
Fig. 6 is the present invention frame according to the MAC Address acquisition device of a kind of ICE system shown in an exemplary embodiment
Figure.
Fig. 7 is the present invention detection according to the MAC Address acquisition device of a kind of ICE system shown in an exemplary embodiment
The block diagram of module 61.
Fig. 8 is the present invention reading according to the MAC Address acquisition device of a kind of ICE system shown in an exemplary embodiment
The block diagram of submodule 611.
Fig. 9 is the present invention frame according to the MAC Address acquisition device of the another kind of ICE system shown in an exemplary embodiment
Figure.
Figure 10 is the present invention MAC Address acquisition device according to another the ICE system shown in an exemplary embodiment
Block diagram.
Detailed description of the invention
Below in conjunction with accompanying drawing, the preferred embodiments of the present invention are illustrated, it will be appreciated that preferred reality described herein
Execute example be merely to illustrate and explain the present invention, be not intended to limit the present invention.
Disclosure embodiment provides the MAC Address acquisition methods of a kind of ICE system, for terminating carrying out net cast
Time, wait live video upload complete after exit net cast application again, it is to avoid live after net cast application is exited
Video is not yet uploaded complete situation and is occurred, and it is easy and simple to handle, improves Consumer's Experience.As it is shown in figure 1, the method comprising the steps of
S10-S20:
In step slo, obtain ICE system and start shooting for the first time the MAC Address read when running, and detect the described of acquisition
MAC Address is identical with uniquely identifying whether in the configuration file being stored in described ICE system;That is, in the present embodiment, institute
State the system that ICE system can be ICE box, and the configuration file in the ICE system of each ICE box all exists one
Unique mark (in the present embodiment, described be uniquely designated MAC Address).And in the present invention, when ICE system is run, it is necessary to
The linkin wanting ICE system itself services (service that a kind of ICE of operation system is run) and runs the most simultaneously, hence, it will be appreciated that,
When ICE system is run, MAC Address can be read by linkin service, it is not necessary to obtain additionally by performing other operations
MAC Address.In the present embodiment, after getting MAC Address, the configuration of described ICE system can be stored directly in
In file, as the unique mark in configuration file, hereafter, owing to MAC Address is determined by network interface card, it is fixing, therefore
Under normal conditions, it is only necessary to obtain when ICE system is started shooting and run for the first time and carry out the unique mark being stored as in configuration file
Know, without all carrying out when ICE system is started shooting every time obtaining and sending to server.Therefore, in the present embodiment,
Need to read when ICE system starts shooting operation for the first time MAC Address, and detect the described MAC Address of acquisition and be stored in described ICE
Uniquely identifying whether in the configuration file of system is identical, and obtain described MAC Address be stored in described ICE system
In configuration file when uniquely identifying and differ, the unique mark in described configuration file is revised as described MAC Address;And
When the described MAC Address obtained is identical with the unique mark in the configuration file being stored in described ICE system, join described in holding
Put the unique mark in file constant.
In step S20, unique with the configuration file being stored in described ICE system of the described MAC Address obtained
When identifying and differ, the unique mark in described configuration file is revised as described MAC Address.
In one embodiment, as it is shown in figure 5, also include step S60 after step S10 of described method:
In step S60, unique with the configuration file being stored in described ICE system of the described MAC Address obtained
When identifying identical, keep the unique mark in described configuration file constant.
In one embodiment, as in figure 2 it is shown, described step S10 includes:
MAC Address is read in step S101, linkin service when running of being started shooting for the first time by ICE system;That is, linkin
Servicing and operate, as a kind of, the service that ICE system is run, it is necessary to when ICE system is run, linkin service runs the most simultaneously,
Hence, it will be appreciated that, when ICE system is run for the first time, MAC Address can be read, without additionally by linkin service
MAC Address is obtained by performing other operations.
Step S102, obtain described MAC Address, and detect the described MAC Address of acquisition and be stored in described ICE system
Uniquely identifying whether in configuration file is identical;And get MAC Address with in the configuration file being stored in described ICE system
When uniquely identifying and differ, the unique mark in described configuration file is revised as described MAC Address, that is, will obtain
To up-to-date MAC Address as the unique mark in current configuration file.
In one embodiment, as it is shown on figure 3, described step S101 includes:
Step S1011, ICE system for the first time start shooting operation time, in described ICE system with system synchronization run linkin
Service and read MAC Address by PHP (Hypertext preprocessor: HyperText Preprocessor) interface.That is, at some
In embodiment, can be serviced by linkin and directly obtain MAC Address, but in the present embodiment, it is also possible to come by PHP interface
It is read out, it will be appreciated that, in the present invention, also it is not limited to both the above reading manner.
In one embodiment, as shown in Figure 4, step S30-S50 is also included after step S20 of described method:
In step s 30, timing when ICE system boot runs by described ICE system with system synchronization operation
Linkin service acquisition MAC Address, and detect the described MAC Address of timing acquisition and be stored in the configuration literary composition of described ICE system
Uniquely identifying whether in part is identical;That is, store to configuration file at the MAC Address that ICE system is run for the first time acquisition
After unique mark, in some cases, this configuration file or unique mark can artificially be revised, and now, can cause this
Uniquely identified is indefinite;Therefore can reacquire and store this ICE system by the form of timing acquisition MAC Address
Unique mark of configuration file, it is to avoid this uniquely identified is indefinite.
In step s 40, timing acquisition described MAC Address with in the configuration file being stored in described ICE system
When uniquely identifying and differ, the unique mark in described configuration file is revised as described MAC Address;That is, obtain in timing
The described MAC Address taken with in the configuration file being stored in described ICE system when uniquely identifying and differ, this configuration is described
File or unique mark are artificially revised, and now need unique mark of the configuration file by this ICE system to replace with again
The MAC Address obtained, it is to avoid this uniquely identified is indefinite.
In step s 50, timing acquisition described MAC Address with in the configuration file being stored in described ICE system
When uniquely identifying and differ, keep the unique mark in described configuration file constant.That is, at the described MAC of timing acquisition
When address is identical with the unique mark in the configuration file being stored in described ICE system, this configuration file is described or uniquely marks
Know and be not modified, now keep the unique mark in described configuration file constant.
The embodiment of the present invention provide said method, obtain ICE system for the first time start shooting run time read MAC Address, and
The described MAC Address that detection obtains is identical with uniquely identifying whether in the configuration file being stored in described ICE system;Obtaining
Described MAC Address with in the configuration file being stored in described ICE system when uniquely identifying and differ, by described configuration literary composition
Unique mark in part is revised as described MAC Address.This solution avoids ICE system every time start shooting operation time be both needed to obtain and carry
Hand over MAC Address to occur to the situation of server, and it is easy and simple to handle, improves Consumer's Experience.
The MAC Address acquisition methods of the ICE system that the corresponding embodiment of the present invention provides, the present invention also provides for ICE system
MAC Address acquisition device, as shown in Figure 6, this device comprises the steps that
Detection module 61, for obtaining the MAC Address read when ICE system is started shooting for the first time and run, and detects the institute of acquisition
It is identical with uniquely identifying whether in the configuration file being stored in described ICE system to state MAC Address;That is, in the present embodiment,
Described ICE system can be the system of ICE box, and all has one in the configuration file in the ICE system of each ICE box
Individual unique mark (in the present embodiment, described be uniquely designated MAC Address).And in the present invention, when ICE system is run, must
Need linkin service (a kind of ICE of operation system run service) of ICE system itself run the most simultaneously, hence, it will be appreciated that
, when ICE system is run, MAC Address can be read by linkin service, it is not necessary to obtain additionally by performing other operations
Take MAC Address.In the present embodiment, after getting MAC Address, joining of described ICE system can be stored directly in
Put in file, as the unique mark in configuration file, hereafter, owing to MAC Address is determined by network interface card, be fixing, because of
This is under normal conditions, it is only necessary to obtain when ICE system is started shooting and run for the first time and carry out being stored as in configuration file unique
Identify, without all carrying out when ICE system is started shooting every time obtaining and sending to server.Therefore, at the present embodiment
In, need to read MAC Address when ICE system starts shooting operation for the first time, and detect the described MAC Address of acquisition be stored in described
Uniquely identifying whether in the configuration file of ICE system is identical, and obtain described MAC Address be stored in described ICE system
In the configuration file of system when uniquely identifying and differ, the unique mark in described configuration file is revised as described MAC ground
Location;And when the described MAC Address obtained is identical with the unique mark in the configuration file being stored in described ICE system, keep
Unique mark in described configuration file is constant.
First mark modified module 62, at the described MAC Address obtained and the configuration literary composition being stored in described ICE system
In part when uniquely identifying and differ, the unique mark in described configuration file is revised as described MAC Address.
In one embodiment, as it is shown in fig. 7, described detection module 61 includes:
Reading submodule 611, for being started shooting for the first time by ICE system, MAC Address is read in linkin service when running;Also
That is, linkin service operates, as a kind of, the service that ICE system is run, it is necessary to when ICE system is run, and linkin services also
Run simultaneously, hence, it will be appreciated that, when ICE system is run for the first time, can be serviced by linkin and read MAC Address, and not
Need additionally by performing other operation acquisition MAC Address.
Detection sub-module 612, is used for obtaining described MAC Address, and detect the described MAC Address of acquisition be stored in described
Uniquely identifying whether in the configuration file of ICE system is identical;And getting MAC Address and be stored in described ICE system
In configuration file when uniquely identifying and differ, the unique mark in described configuration file is revised as described MAC Address, also
That is, using the up-to-date MAC Address got as uniquely identifying in current configuration file.
In one embodiment, as shown in Figure 8, described reading submodule 611 includes:
Read unit 6111, for when ICE system starts shooting operation for the first time, described ICE system being run with system synchronization
Linkin service by PHP interface read MAC Address.That is, in certain embodiments, can by linkin service directly
Acquisition MAC Address, but in the present embodiment, it is also possible to it is read out by PHP interface, it will be appreciated that, in the present invention, also
It is not limited to both the above reading manner.
In one embodiment, as it is shown in figure 9, described device also includes:
Timing acquisition module 63, for timing when ICE system boot runs by described ICE system with system synchronization
The linkin service acquisition MAC Address run, and detect the described MAC Address of timing acquisition and be stored in described ICE system
Uniquely identifying whether in configuration file is identical;That is, store to configuration at the MAC Address that ICE system is run for the first time acquisition
In file after the unique mark of conduct, in some cases, this configuration file or unique mark can artificially be revised, now, and meeting
Cause this uniquely identified indefinite;Therefore can reacquire and store this ICE by the form of timing acquisition MAC Address
Unique mark of the configuration file of system, it is to avoid this uniquely identified is indefinite.
Second mark amendment submodule 64, for timing acquisition described MAC Address be stored in described ICE system
In configuration file when uniquely identifying and differ, the unique mark in described configuration file is revised as described MAC Address;Also
That is, in the described MAC Address of timing acquisition and uniquely identifying and differing in the configuration file being stored in described ICE system
Time, illustrate that this configuration file or unique mark are artificially revised, now need the unique of the configuration file by this ICE system to mark
Know the MAC Address replacing with reacquisition, it is to avoid this uniquely identified is indefinite.
First keeps submodule 65, in the described MAC Address of timing acquisition and the configuration being stored in described ICE system
In file when uniquely identifying and differ, keep the unique mark in described configuration file constant.That is, at timing acquisition
When described MAC Address is identical with the unique mark in the configuration file being stored in described ICE system, illustrate this configuration file or
Unique mark is not modified, and now keeps the unique mark in described configuration file constant.
In one embodiment, as shown in Figure 10, described device also includes:
Second keeps submodule 66, at the described MAC Address obtained and the configuration file being stored in described ICE system
In unique mark identical time, keep the unique mark in described configuration file constant.
The said apparatus that the embodiment of the present invention provides, it is to avoid ICE system start shooting every time operation time be both needed to obtain and submit to
MAC Address occurs to the situation of server, and it is easy and simple to handle, improves Consumer's Experience.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the reality in terms of the present invention can use complete hardware embodiment, complete software implementation or combine software and hardware
Execute the form of example.And, the present invention can use at one or more computers wherein including computer usable program code
The shape of the upper computer program implemented of usable storage medium (including but not limited to disk memory and optical memory etc.)
Formula.
The present invention is with reference to method, equipment (system) and the flow process of computer program according to embodiments of the present invention
Figure and/or block diagram describe.It should be understood that can by computer program request flowchart and/or block diagram in the most first-class
Flow process in journey and/or square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
Request arrives the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable information processing equipments to produce
A raw machine so that the request performed by the processor of computer or other programmable information processing equipments is produced for real
The device of the function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame now.
The request of these computer programs may be alternatively stored in and computer or other programmable information processing equipments can be guided with spy
Determine in the computer-readable memory that mode works so that the request being stored in this computer-readable memory produces and includes asking
Seek the manufacture of device, this request unit realize at one flow process of flow chart or multiple flow process and/or one square frame of block diagram or
The function specified in multiple square frames.
The request of these computer programs also can be loaded in computer or other programmable information processing equipments so that at meter
Perform sequence of operations step on calculation machine or other programmable devices to produce computer implemented process, thus at computer or
The request performed on other programmable devices provides for realizing at one flow process of flow chart or multiple flow process and/or block diagram one
The step of the function specified in individual square frame or multiple square frame.
Obviously, those skilled in the art can carry out various change and the modification essence without deviating from the present invention to the present invention
God and scope.So, if these amendments of the present invention and modification belong to the scope of the claims in the present invention and equivalent technologies thereof
Within, then the present invention is also intended to comprise these change and modification.
Claims (10)
1. the MAC Address acquisition methods of an ICE system, it is characterised in that including:
Obtain ICE system to start shooting for the first time the MAC Address read when running, and detect the described MAC Address of acquisition and be stored in institute
State in the configuration file of ICE system uniquely identify whether identical;
Obtain described MAC Address with in the configuration file being stored in described ICE system when uniquely identifying and differ, will
Unique mark in described configuration file is revised as described MAC Address.
2. the method for claim 1, it is characterised in that described acquisition ICE system for the first time start shooting run time read MAC
Address, and detect the described MAC Address of acquisition and the configuration file being stored in described ICE system uniquely identifies whether phase
With, including:
MAC Address is read in linkin service when running of being started shooting for the first time by ICE system;
Obtain described MAC Address, and detect the described MAC Address of acquisition with in the configuration file being stored in described ICE system
Uniquely identify whether identical.
3. method as claimed in claim 2, it is characterised in that described linkin when running that started shooting for the first time by ICE system
MAC Address is read in service, including:
When ICE system starts shooting operation for the first time, the linkin service run with system synchronization in described ICE system is connect by PHP
Mouth reads MAC Address.
4. the method for claim 1, it is characterised in that described method also includes:
Regularly when ICE system boot runs by the linkin service acquisition MAC run with system synchronization in described ICE system
Address, and detect the described MAC Address of timing acquisition and uniquely identifying whether in the configuration file being stored in described ICE system
Identical;
In the described MAC Address of timing acquisition and uniquely identifying and differing in the configuration file being stored in described ICE system
Time, the unique mark in described configuration file is revised as described MAC Address;
In the described MAC Address of timing acquisition and uniquely identifying and differing in the configuration file being stored in described ICE system
Time, keep the unique mark in described configuration file constant.
5. the method for claim 1, it is characterised in that described acquisition ICE system for the first time start shooting run time read MAC
Address, and it is identical with uniquely identifying whether in the configuration file being stored in described ICE system to detect the described MAC Address of acquisition
Afterwards, also include:
When the described MAC Address obtained is identical with the unique mark in the configuration file being stored in described ICE system, keep institute
State the unique mark in configuration file constant.
6. the MAC Address acquisition device of an ICE system, it is characterised in that including:
Detection module, for obtaining the MAC Address read when ICE system is started shooting for the first time and run, and detects the described MAC ground of acquisition
Location is identical with uniquely identifying whether in the configuration file being stored in described ICE system;
First mark modified module, for obtain described MAC Address with in the configuration file being stored in described ICE system
When uniquely identifying and differ, the unique mark in described configuration file is revised as described MAC Address.
7. device as claimed in claim 6, it is characterised in that described detection module includes:
Reading submodule, for being started shooting for the first time by ICE system, MAC Address is read in linkin service when running;
Detection sub-module, is used for obtaining described MAC Address, and detects the described MAC Address of acquisition and be stored in described ICE system
Configuration file in uniquely identify whether identical.
8. device as claimed in claim 7, it is characterised in that described reading submodule includes:
Read unit, be used for when ICE system starts shooting operation for the first time, the linkin run with system synchronization in described ICE system
Service and read MAC Address by PHP interface.
9. device as claimed in claim 6, it is characterised in that described device also includes:
Timing acquisition module, for timing when ICE system boot runs by described ICE system with system synchronization operation
Linkin service acquisition MAC Address, and detect the described MAC Address of timing acquisition and be stored in the configuration literary composition of described ICE system
Uniquely identifying whether in part is identical;
Second mark amendment submodule, at the described MAC Address of timing acquisition and the configuration literary composition being stored in described ICE system
In part when uniquely identifying and differ, the unique mark in described configuration file is revised as described MAC Address;
First keep submodule, for timing acquisition described MAC Address with in the configuration file being stored in described ICE system
When uniquely identifying and differ, keep the unique mark in described configuration file constant.
10. device as claimed in claim 6, it is characterised in that described device also includes:
Second keep submodule, for obtain described MAC Address be stored in the configuration file of described ICE system only
When one mark is identical, keep the unique mark in described configuration file constant.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610622708.XA CN106254570A (en) | 2016-08-01 | 2016-08-01 | The MAC Address acquisition methods of a kind of ICE system and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610622708.XA CN106254570A (en) | 2016-08-01 | 2016-08-01 | The MAC Address acquisition methods of a kind of ICE system and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106254570A true CN106254570A (en) | 2016-12-21 |
Family
ID=57606783
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610622708.XA Pending CN106254570A (en) | 2016-08-01 | 2016-08-01 | The MAC Address acquisition methods of a kind of ICE system and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106254570A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112346740A (en) * | 2019-08-06 | 2021-02-09 | 广东元心科技有限公司 | Method and system for verifying device identifier through application |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1933419A (en) * | 2005-09-15 | 2007-03-21 | 英业达股份有限公司 | IP address updating system and method |
CN101500014A (en) * | 2009-02-17 | 2009-08-05 | 四川长虹电器股份有限公司 | Method for identity verification for Internet set-top box customer |
CN101963912A (en) * | 2010-10-12 | 2011-02-02 | 浪潮电子信息产业股份有限公司 | Implementation method for storing and checking hardware configuration information of system |
CN104407899A (en) * | 2014-12-03 | 2015-03-11 | 浪潮电子信息产业股份有限公司 | Method for restoring boot of network card after MAC (Media Access Control) address change under REDHAT operation system |
CN105320916A (en) * | 2015-11-12 | 2016-02-10 | 深圳市创维电器科技有限公司 | Product information inputting method and system |
-
2016
- 2016-08-01 CN CN201610622708.XA patent/CN106254570A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1933419A (en) * | 2005-09-15 | 2007-03-21 | 英业达股份有限公司 | IP address updating system and method |
CN101500014A (en) * | 2009-02-17 | 2009-08-05 | 四川长虹电器股份有限公司 | Method for identity verification for Internet set-top box customer |
CN101963912A (en) * | 2010-10-12 | 2011-02-02 | 浪潮电子信息产业股份有限公司 | Implementation method for storing and checking hardware configuration information of system |
CN104407899A (en) * | 2014-12-03 | 2015-03-11 | 浪潮电子信息产业股份有限公司 | Method for restoring boot of network card after MAC (Media Access Control) address change under REDHAT operation system |
CN105320916A (en) * | 2015-11-12 | 2016-02-10 | 深圳市创维电器科技有限公司 | Product information inputting method and system |
Non-Patent Citations (1)
Title |
---|
恶灵挽歌: "ubuntu9.04上修改网卡mac地址(转载)", 《ITKEYWORD,HTTP://WWW.ITKEYWORD.COM/DOC/4779608854995354X814》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112346740A (en) * | 2019-08-06 | 2021-02-09 | 广东元心科技有限公司 | Method and system for verifying device identifier through application |
CN112346740B (en) * | 2019-08-06 | 2024-05-07 | 广东元心科技有限公司 | Method and system for verifying device identifier through application |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10499035B2 (en) | Method and system of displaying a popping-screen | |
CN104503780B (en) | It is a kind of that method and apparatus that applying channel packet are provided | |
US11374995B2 (en) | Multimedia file processing | |
CN112000355B (en) | Method and device for firmware upgrading and household appliance | |
CN103475682B (en) | File transfer method and file transfer equipment | |
EP3396924B1 (en) | Real-time processing of iot data | |
WO2017107514A1 (en) | Offline transcoding method and system | |
CN108228444B (en) | Test method and device | |
CN106598527B (en) | The method and apparatus of position of display unit in identification display equipment | |
CN109862100B (en) | Method and device for pushing information | |
US20180035143A1 (en) | Popping-screen push system and method | |
CN109240802B (en) | Request processing method and device | |
CN103152391A (en) | Journal output method and device | |
CN106649342A (en) | Data processing method and apparatus in data acquisition platform | |
CN104813610A (en) | Providing multiple content items for display on multiple devices | |
JP2012050085A5 (en) | ||
CN106254570A (en) | The MAC Address acquisition methods of a kind of ICE system and device | |
CN109787963A (en) | Business handling method, apparatus, computer equipment and storage medium | |
CN103490984B (en) | A kind of method and apparatus obtaining user profile | |
CN105227351A (en) | Log acquisition system, journal obtaining method and electronic equipment | |
CN106937313B (en) | Equipment data transmission method, sending device and transceiving system | |
CN105138867A (en) | Method and device for protecting image copyright | |
CN104317645B (en) | A kind of method and device of Application Instance listening port | |
CN106161452A (en) | The sending method of identifying code and device | |
US20180373811A1 (en) | Client Cloud Synchronizer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161221 |