CN112019646A - MAC address duplicate checking method and device, terminal equipment and storage medium - Google Patents

MAC address duplicate checking method and device, terminal equipment and storage medium Download PDF

Info

Publication number
CN112019646A
CN112019646A CN202010700910.6A CN202010700910A CN112019646A CN 112019646 A CN112019646 A CN 112019646A CN 202010700910 A CN202010700910 A CN 202010700910A CN 112019646 A CN112019646 A CN 112019646A
Authority
CN
China
Prior art keywords
terminal
mac address
core server
terminal number
destination
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
CN202010700910.6A
Other languages
Chinese (zh)
Other versions
CN112019646B (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.)
Visionvera Information Technology Co Ltd
Original Assignee
Visionvera Information 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 Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN202010700910.6A priority Critical patent/CN112019646B/en
Priority claimed from CN202010700910.6A external-priority patent/CN112019646B/en
Publication of CN112019646A publication Critical patent/CN112019646A/en
Application granted granted Critical
Publication of CN112019646B publication Critical patent/CN112019646B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5046Resolving address allocation conflicts; Testing of addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses

Abstract

The embodiment of the invention provides a method, a device, terminal equipment and a storage medium for checking MAC addresses, wherein the method is applied to a video network and comprises the following steps: an engine terminal receives a query command of a destination MAC address input by a user; searching a target terminal number corresponding to a target MAC address in a pre-established database, wherein the pre-established database comprises a terminal number of a video networking terminal and an MAC address corresponding to the terminal number; if at least two destination terminal numbers are inquired, the destination terminal numbers are displayed on an interface of the engine terminal.

Description

MAC address duplicate checking method and device, terminal equipment and storage medium
Technical Field
The invention relates to the technical field of video networking, in particular to a method and a device for checking a duplicate of an MAC address, terminal equipment and a storage medium.
Background
At present, in a video network with a 16-bit architecture, a large number of video network terminals can be accessed through a cascaded video network core server, and a maximum number of 6 ten thousand video network terminals can be accessed. In some cases, for example, when a fault occurs during the service of the video networking terminal, the video networking terminal needs to be repaired, or a new video networking terminal needs to be added to the service, a problem of MAC address duplication of the video networking terminal may occur, so that the service of the video networking terminal cannot be developed due to the MAC address duplication, for example, the terminal does not access the network, and the terminal is repeatedly restarted.
For the above problems, if the network of video networks with repeated MAC addresses is manually queried, each core server of the network of video networks needs to be connected, and each static information table on each server needs to be checked, which is heavy in workload, and the network of video networks has many terminals, so that a worker needs to expend a lot of effort to position the network of video networks with repeated MAC addresses, which consumes more time and has low positioning efficiency.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are proposed to provide a method, an apparatus, a terminal device and a storage medium for checking a MAC address, which overcome the above problems or at least partially solve the above problems.
In a first aspect, an embodiment of the present invention provides a method for checking a MAC address, where the method is applied in a video network, and includes:
receiving a query command of a destination MAC address input by a user;
searching a target terminal number corresponding to the target MAC address in a pre-established database, wherein the pre-established database comprises a terminal number of a video network terminal and an MAC address corresponding to the terminal number;
and if at least two destination terminal numbers are inquired, displaying the destination terminal numbers on an interface of the engine terminal.
Optionally, the database further includes a core server number, and the database is established in the following manner:
receiving a query list of a core server selected by a user, wherein the query list comprises core server numbers;
sending an acquisition instruction to a core server corresponding to the core server number, wherein the acquisition instruction comprises a terminal number identifier and an MAC address identifier;
receiving a terminal number returned by the core server and an MAC address corresponding to the terminal number, wherein the terminal number is the terminal number of a video network terminal connected with the core server;
and storing the core server number, the terminal number corresponding to the core server and the MAC address corresponding to the terminal number in a data table corresponding to the core server number, and storing the data table in the database.
Optionally, before the sending the obtaining instruction to the core server corresponding to the core server number, the method further includes:
and establishing connection with the core servers corresponding to the core server numbers in sequence according to the query list.
Optionally, the searching for the destination terminal number corresponding to the destination MAC address in the pre-established database includes:
searching a target terminal number and a target core server number corresponding to the target MAC address in a pre-established database;
correspondingly, if at least two destination terminal numbers are inquired, displaying the destination terminal numbers on an interface of the engine terminal, including:
and if at least two destination terminal numbers are inquired, displaying the destination core server number and the destination terminal number on an interface of the engine terminal.
Optionally, the method further comprises:
and modifying or deleting the destination MAC address so as to enable the MAC addresses corresponding to the various terminals of the video network to be different.
Optionally, the method further comprises:
and if one destination terminal number is inquired or the destination terminal number is not inquired, displaying prompt information on an interface of the engine terminal, wherein the prompt information is an MAC address without repetition.
In a second aspect, an embodiment of the present invention provides a MAC address duplication checking apparatus, where the apparatus is applied in a video network, and includes:
the receiving module is used for receiving a query command of a destination MAC address input by a user;
the searching module is used for searching a target terminal number corresponding to the target MAC address in a pre-established database, wherein the pre-established database comprises the terminal number of the video network terminal and the MAC address corresponding to the terminal number;
and the display module is used for displaying the destination terminal number on an interface of the engine terminal if at least two destination terminal numbers are inquired.
Optionally, the apparatus further comprises a database establishing module, wherein the database establishing module is configured to:
receiving a query list of a core server selected by a user, wherein the query list comprises core server numbers;
sending an acquisition instruction to a core server corresponding to the core server number, wherein the acquisition instruction comprises a terminal number identifier and an MAC address identifier;
receiving a terminal number returned by the core server and an MAC address corresponding to the terminal number, wherein the terminal number is the terminal number of a video network terminal connected with the core server;
and storing the core server number, the terminal number corresponding to the core server and the MAC address corresponding to the terminal number in a data table corresponding to the core server number, and storing the data table in the database.
Optionally, the apparatus further comprises a connection module, the connection module is configured to:
according to the query list, sequentially establishing connection with the core servers corresponding to the core server numbers
Optionally, the search module is specifically configured to:
searching a target terminal number and a target core server number corresponding to the target MAC address in a pre-established database;
correspondingly, the display module is specifically configured to:
and if at least two destination terminal numbers are inquired, displaying the destination core server number and the destination terminal number on an interface of the engine terminal.
Optionally, the apparatus further comprises an execution module, configured to:
modifying or deleting the destination MAC address so as to enable the MAC addresses corresponding to the video network terminals to be different
Optionally, the apparatus further comprises a prompt module, the prompt module is configured to:
and if one destination terminal number is inquired or the destination terminal number is not inquired, displaying prompt information on an interface of the engine terminal, wherein the prompt information is an MAC address without repetition.
In a third aspect, an embodiment of the present invention provides a terminal device, including: at least one processor and memory;
the memory stores a computer program; the at least one processor executes the computer program stored in the memory to implement the MAC address duplication checking method provided in the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed, the method for checking a MAC address provided in the first aspect is implemented.
The embodiment of the invention has the following advantages:
the embodiment of the invention applies the characteristics of the video network, and the engine terminal receives the inquiry command of the destination MAC address input by the user; searching a target terminal number corresponding to a target MAC address in a pre-established database, wherein the pre-established database comprises a terminal number of a video networking terminal and an MAC address corresponding to the terminal number; if at least two destination terminal numbers are inquired, the destination terminal numbers are displayed on an interface of the engine terminal.
Drawings
FIG. 1 is a flowchart illustrating steps of an embodiment of a method for checking MAC addresses according to the present invention;
FIG. 2 is a flow chart of steps of another embodiment of a method for MAC address duplication checking according to the present invention;
FIG. 3 is a schematic structural diagram of an embodiment of a MAC address duplication checking system of the present invention;
FIG. 4 is a block diagram of an embodiment of a MAC address duplication checking apparatus according to the present invention;
fig. 5 is a schematic structural diagram of a terminal device of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
The video networking is an important milestone for network development, is a real-time network, can realize high-definition video real-time transmission, and pushes a plurality of internet applications to high-definition video, and high-definition faces each other.
The video networking adopts a real-time high-definition video exchange technology, can integrate required services such as dozens of services of video, voice, pictures, characters, communication, data and the like on a system platform on a network platform, such as high-definition video conference, video monitoring, intelligent monitoring analysis, emergency command, digital broadcast television, delayed television, network teaching, live broadcast, VOD on demand, television mail, Personal Video Recorder (PVR), intranet (self-office) channels, intelligent video broadcast control, information distribution and the like, and realizes high-definition quality video broadcast through a television or a computer.
The nouns are explained as follows:
MAC address: media Access Control or Medium Access Control) address, which is translated to Media Access Control, or physical address, or hardware address, to define the location of the network device, and a unique code that needs to be burned when each device leaves the factory, and theoretically, the MAC address of the video network device will not be repeated.
A query engine: and (5) a MAC address duplicate checking processing program.
A cascade server: current core servers may be cascaded together, i.e.: there is a main server called Master server, and in the following cascade is an auxiliary server called Slave server. A single Master may cascade 256 servers and a single slave may register 256 terminals, so theoretically the maximum load capacity in the network is 65536 terminals.
Large net: in operation video networking.
An embodiment of the present invention provides a method for checking a duplicate MAC address, which is used to query a duplicate MAC address of a terminal in a video network. The execution subject of the embodiment is a duplicate checking device of the MAC address, and is disposed on an engine terminal, wherein the engine terminal may be a computer or the like.
Referring to fig. 1, a flowchart illustrating steps of an embodiment of a MAC address duplicate checking method according to the present invention is shown, where the method may be applied in a video network, and specifically may include the following steps:
s101, receiving a query command of a destination MAC address input by a user;
specifically, there are tens of thousands of video networking terminals on a large network at present, and the number of the video networking terminals is so large that when a service is performed, there may be a problem that some terminal failures require repair or MAC address duplication caused by other reasons, and the MAC address duplication may cause that the service of the video networking terminal cannot be developed, such as repeated restart. In view of the above, an embodiment of the present invention provides a method for checking duplicate addresses of MAC addresses, and in particular, provides an engine terminal, where an inquiry engine client, that is, an inquiry processing program, is installed on the engine terminal, where the inquiry engine client includes a user interface, a database driver, a network driver, and data processing, where the user interface provides basic operations of a user, such as selecting a core server, inputting an MAC address for inquiry, and the like, and the database driver adopts access db, a lightweight database, and is used to record a terminal number and an MAC address of each video network terminal returned by the core server; the network part is responsible for driving the network layer to receive and send packets; and the data analysis user extracts the data of the received network packet and writes the data into a database.
Specifically, when a certain destination MAC address needs to be repeatedly queried, a user opens a query engine client, and inputs the destination MAC address to be queried on a user interface of the engine client.
S102, searching a destination terminal number corresponding to the destination MAC address in a pre-established database, wherein the pre-established database comprises a terminal number of a video network terminal and an MAC address corresponding to the terminal number;
specifically, a database is pre-established on the engine terminal, the terminal number of the video network terminal and the MAC address corresponding to the terminal number are stored in the database, and after the engine terminal receives the destination MAC address input by the user, the terminal number of the video network terminal corresponding to the destination MAC address is searched in the pre-established database.
S103, if at least two destination terminal numbers are inquired, displaying the destination terminal numbers on an interface of the engine terminal.
Specifically, the engine terminal queries according to a pre-established database and a destination MAC address, if at least two destination terminal numbers are queried, the existence of at least two video network terminals with the same MAC address is indicated, the engine terminal displays the at least two destination terminal numbers on an interface, so that a user can know which video network terminals have the same MAC address, the user can further query a corresponding relation table of core server numbers and video network terminal numbers according to the connection relation of the core server and the video network terminals, query the core server number corresponding to the destination terminal number, and further determine the core server corresponding to the core server number, so that the video network terminals with the same MAC address can be positioned according to the core server number and the destination terminal number without querying each core server, time is saved, and positioning efficiency is improved.
The method for checking the duplicate of the MAC address provided by the embodiment of the invention receives a query command of a target MAC address input by a user through an engine terminal; searching a target terminal number corresponding to a target MAC address in a pre-established database, wherein the pre-established database comprises a terminal number of a video networking terminal and an MAC address corresponding to the terminal number; if at least two destination terminal numbers are inquired, the destination terminal numbers are displayed on an interface of the engine terminal.
The present invention further provides a supplementary description of the method for checking a MAC address provided in the foregoing embodiment.
As shown in fig. 2, a flowchart illustrating steps of another embodiment of a method for checking duplicate MAC addresses according to the present invention is shown, where the method for checking duplicate MAC addresses includes:
s201, receiving a query list of a core server selected by a user, wherein the query list comprises a core server number;
the engine terminal can be connected with any core server, all core server numbers are displayed on a user interface of the engine terminal, a user can select the core server number to be inquired according to needs, the core server numbers form an inquiry list, and the engine terminal receives the inquiry list of the core server selected by the user.
Specifically, the core server number is an identifier of the core server, for example, the service system includes 100 core servers, and the core servers are numbered according to 1, 2, …, and 100, that is, the core server number is the core server number.
S202, according to the query list, connection is sequentially established with the core servers corresponding to the core server numbers.
Specifically, the engine terminal is sequentially connected with the core servers corresponding to the core server numbers according to the core server numbers in the query list and the sequence from top to bottom in the list, and the core server can obtain the terminal number identification, the MAC address identification, the terminal identification, the home page menu number, the coding type, the pointer and the like of the video networking terminal.
S203, sending an acquisition instruction to a core server corresponding to the core server number, wherein the acquisition instruction comprises a terminal number identifier and an MAC address identifier;
specifically, after establishing a connection with each core server in sequence, the engine terminal sends an acquisition instruction to the core server, where the acquisition instruction includes a terminal number identifier and an MAC address identifier of the video network terminal, and parameters included in the acquisition instruction may be set according to a user's requirement, which is not specifically limited in the embodiment of the present invention.
S204, receiving a terminal number returned by the core server and an MAC address corresponding to the terminal number, wherein the terminal number is the terminal number of a video network terminal connected with the core server;
specifically, the engine terminal receives the terminal number of the video network terminal and the MAC address corresponding to the terminal number returned by each core server.
S205, storing the core server number, the terminal number corresponding to the core server and the MAC address corresponding to the terminal number in a data table corresponding to the core server number, and storing the data table in the database.
Specifically, the engine terminal stores the terminal number of the video network terminal and the MAC address corresponding to the terminal number, which are connected to each other, in a respective data table according to the core server number, and stores the data table in the database.
Illustratively, the engine terminal automatically connects from top to bottom according to the query list selected by the user, such as:
the engine terminal is connected with a core server 1 and sends an acquisition instruction to the core server corresponding to the core server number, wherein the acquisition instruction comprises a terminal number identifier and an MAC address identifier;
if the network connection is successful, prompting that the core server 1 is successfully connected on a user interface of the engine terminal, and sending a query result to the engine terminal by the core server 1, wherein the query result comprises a terminal number corresponding to the core server and an MAC address corresponding to the terminal number; otherwise, the operation is terminated by prompting the core server 1 that the network connection fails.
And after receiving the query result, the engine terminal analyzes the data packet, records the result in a data table 1 of the database according to a specific format, disconnects the network connection of the core server 1, clears the cache and prepares to connect the next core server.
And sequentially polling until the engine terminal finishes querying the core server numbers in all the specified core server query lists and records the results into a database.
S206, receiving a query command of a destination MAC address input by a user;
s207, searching a target terminal number and a target core server number corresponding to the target MAC address in a pre-established database;
since steps S206 to S207 are the same as steps S101 and S102 in the embodiment shown in fig. 1. Step S101 to step S102 have already been described in detail in fig. 1, and therefore step S206 to step S207 will not be described again here.
For the inquired destination terminal number, there may be no inquired destination terminal number, there may be one inquired destination terminal number, or there may be more than two inquired destination terminal numbers, if there are more than two inquired destination terminal numbers, S208 is executed, if there is one inquired destination terminal number or the destination terminal number is not inquired, S210 is executed.
In order to improve the positioning efficiency, when the engine terminal queries in the database according to the destination MAC address, the engine terminal can directly query the core server number corresponding to the MAC address, so that which core server can be directly positioned, the corresponding core server does not need to be queried manually according to the destination terminal number, the use time is shorter, and the efficiency is higher.
And S208, if at least two destination terminal numbers are inquired, displaying the destination core server number and the destination terminal number on an interface of the engine terminal.
S209, modifying or deleting the destination MAC address so as to enable the MAC addresses corresponding to the video network terminals to be different.
S210, if the destination terminal number is inquired or not inquired, displaying prompt information on an interface of the engine terminal, wherein the prompt information is an MAC address without repetition.
Fig. 3 is a schematic structural diagram of an embodiment of a MAC address duplication checking system of the present invention, and as shown in fig. 3, the duplication checking system includes an engine terminal and a core server, the engine terminal includes a database, the database includes a plurality of data tables, for example, data table 1, data table 2, …, and data table n, and the number of the core servers is not limited in the embodiment of the present invention. The engine terminal is sequentially connected to each core server through the internet access, only one core server is connected at a time, the query engine, that is, the query engine client is installed on the engine terminal, and the specific implementation of the duplicate checking method is specifically described in the above embodiments, and is not described herein again.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
The method for checking the duplicate of the MAC address provided by the embodiment of the invention receives a query command of a target MAC address input by a user through an engine terminal; searching a target terminal number corresponding to a target MAC address in a pre-established database, wherein the pre-established database comprises a terminal number of a video networking terminal and an MAC address corresponding to the terminal number; if at least two destination terminal numbers are inquired, the destination terminal numbers are displayed on an interface of the engine terminal.
Another embodiment of the present invention provides a MAC address duplication checking apparatus, configured to execute the MAC address duplication checking method provided in the foregoing embodiment.
Referring to fig. 4, a block diagram of a structure of an embodiment of a MAC address duplication checking apparatus of the present invention is shown, where the apparatus may be applied in a video network, and specifically may include the following modules: a receiving module 401, a searching module 402 and a displaying module 403, wherein:
the receiving module 401 is configured to receive a query command of a destination MAC address input by a user;
the searching module 402 is configured to search a destination terminal number corresponding to the destination MAC address in a pre-established database, where the pre-established database includes a terminal number of a video network terminal and an MAC address corresponding to the terminal number;
the display module 403 is configured to display the destination terminal number on an interface of the engine terminal if at least two destination terminal numbers are queried.
The MAC address duplicate checking device provided by the embodiment of the invention receives the inquiry command of a target MAC address input by a user through the engine terminal; searching a target terminal number corresponding to a target MAC address in a pre-established database, wherein the pre-established database comprises a terminal number of a video networking terminal and an MAC address corresponding to the terminal number; if at least two destination terminal numbers are inquired, the destination terminal numbers are displayed on an interface of the engine terminal.
The present invention further provides a supplementary description of the MAC address duplication checking apparatus provided in the foregoing embodiment.
Optionally, the apparatus further comprises a database establishing module, wherein the database establishing module is configured to:
receiving a query list of a core server selected by a user, wherein the query list comprises core server numbers;
sending an acquisition instruction to a core server corresponding to the core server number, wherein the acquisition instruction comprises a terminal number identifier and an MAC address identifier;
receiving a terminal number returned by the core server and an MAC address corresponding to the terminal number, wherein the terminal number is the terminal number of a video network terminal connected with the core server;
and storing the core server number, the terminal number corresponding to the core server and the MAC address corresponding to the terminal number in a data table corresponding to the core server number, and storing the data table in the database.
Optionally, the apparatus further comprises a connection module, the connection module is configured to:
according to the query list, sequentially establishing connection with the core servers corresponding to the core server numbers
Optionally, the search module is specifically configured to:
searching a target terminal number and a target core server number corresponding to the target MAC address in a pre-established database;
correspondingly, the display module is specifically configured to:
and if at least two destination terminal numbers are inquired, displaying the destination core server number and the destination terminal number on an interface of the engine terminal.
Optionally, the apparatus further comprises an execution module, configured to:
modifying or deleting the destination MAC address so as to enable the MAC addresses corresponding to the video network terminals to be different
Optionally, the apparatus further comprises a prompt module, the prompt module is configured to:
and if one destination terminal number is inquired or the destination terminal number is not inquired, displaying prompt information on an interface of the engine terminal, wherein the prompt information is an MAC address without repetition.
It should be noted that the respective implementable modes in the present embodiment may be implemented individually, or may be implemented in combination in any combination without conflict, and the present application is not limited thereto.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The MAC address duplicate checking device provided by the embodiment of the invention receives the inquiry command of a target MAC address input by a user through the engine terminal; searching a target terminal number corresponding to a target MAC address in a pre-established database, wherein the pre-established database comprises a terminal number of a video networking terminal and an MAC address corresponding to the terminal number; if at least two destination terminal numbers are inquired, the destination terminal numbers are displayed on an interface of the engine terminal.
Still another embodiment of the present invention provides a terminal device, configured to execute the method for checking duplicate MAC addresses provided in the foregoing embodiment.
Fig. 5 is a schematic structural diagram of a terminal device of the present invention, and as shown in fig. 5, the terminal device includes: at least one processor 501 and memory 502;
the memory stores a computer program; the at least one processor executes the computer program stored in the memory to implement the MAC address duplication checking method provided by the above embodiments.
The terminal device provided by this embodiment receives, through the engine terminal, a query command of a destination MAC address input by a user; searching a target terminal number corresponding to a target MAC address in a pre-established database, wherein the pre-established database comprises a terminal number of a video networking terminal and an MAC address corresponding to the terminal number; if at least two destination terminal numbers are inquired, the destination terminal numbers are displayed on an interface of the engine terminal.
Yet another embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed, the method for checking a MAC address provided in any one of the above embodiments is implemented.
According to the computer-readable storage medium of the embodiment, a query command of a destination MAC address input by a user is received through an engine terminal; searching a target terminal number corresponding to a target MAC address in a pre-established database, wherein the pre-established database comprises a terminal number of a video networking terminal and an MAC address corresponding to the terminal number; if at least two destination terminal numbers are inquired, the destination terminal numbers are displayed on an interface of the engine terminal.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, electronic devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing electronic device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing electronic device, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing electronic devices to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing electronic device to cause a series of operational steps to be performed on the computer or other programmable electronic device to produce a computer implemented process such that the instructions which execute on the computer or other programmable electronic device provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or electronic device that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or electronic device. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or electronic device that comprises the element.
The MAC address duplicate checking method and the MAC address duplicate checking device provided by the present invention are introduced in detail, and a specific example is applied in the text to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A method for checking MAC address is applied to video network, and comprises the following steps:
receiving a query command of a destination MAC address input by a user;
searching a target terminal number corresponding to the target MAC address in a pre-established database, wherein the pre-established database comprises a terminal number of a video network terminal and an MAC address corresponding to the terminal number;
and if at least two destination terminal numbers are inquired, displaying the destination terminal numbers on an interface of the engine terminal.
2. The method of claim 1, further comprising a core server number, wherein the database is established by:
receiving a query list of a core server selected by a user, wherein the query list comprises core server numbers;
sending an acquisition instruction to a core server corresponding to the core server number, wherein the acquisition instruction comprises a terminal number identifier and an MAC address identifier;
receiving a terminal number returned by the core server and an MAC address corresponding to the terminal number, wherein the terminal number is the terminal number of a video network terminal connected with the core server;
and storing the core server number, the terminal number corresponding to the core server and the MAC address corresponding to the terminal number in a data table corresponding to the core server number, and storing the data table in the database.
3. The method of claim 2, wherein prior to said sending a fetch instruction to a core server corresponding to said core server number, said method further comprises:
and establishing connection with the core servers corresponding to the core server numbers in sequence according to the query list.
4. The method of claim 2, wherein the searching for the destination terminal number corresponding to the destination MAC address in the pre-established database comprises:
searching a target terminal number and a target core server number corresponding to the target MAC address in a pre-established database;
correspondingly, if at least two destination terminal numbers are inquired, displaying the destination terminal numbers on an interface of the engine terminal, including:
and if at least two destination terminal numbers are inquired, displaying the destination core server number and the destination terminal number on an interface of the engine terminal.
5. The method of claim 1, further comprising:
and modifying or deleting the destination MAC address so as to enable the MAC addresses corresponding to the various terminals of the video network to be different.
6. The method of claim 1, further comprising:
and if one destination terminal number is inquired or the destination terminal number is not inquired, displaying prompt information on an interface of the engine terminal, wherein the prompt information is an MAC address without repetition.
7. A MAC address duplication checking device is characterized in that the device is applied to a video network and comprises:
the receiving module is used for receiving a query command of a destination MAC address input by a user;
the searching module is used for searching a target terminal number corresponding to the target MAC address in a pre-established database, wherein the pre-established database comprises the terminal number of the video network terminal and the MAC address corresponding to the terminal number;
and the display module is used for displaying the destination terminal number on an interface of the engine terminal if at least two destination terminal numbers are inquired.
8. The apparatus of claim 7, further comprising a database building module configured to:
receiving a query list of a core server selected by a user, wherein the query list comprises core server numbers;
sending an acquisition instruction to a core server corresponding to the core server number, wherein the acquisition instruction comprises a terminal number identifier and an MAC address identifier;
receiving a terminal number returned by the core server and an MAC address corresponding to the terminal number, wherein the terminal number is the terminal number of a video network terminal connected with the core server;
and storing the core server number, the terminal number corresponding to the core server and the MAC address corresponding to the terminal number in a data table corresponding to the core server number, and storing the data table in the database.
9. A terminal device, comprising: at least one processor and memory;
the memory stores a computer program; the at least one processor executes the memory-stored computer program to implement the method of MAC address duplication checking of any one of claims 1-6.
10. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which when executed implements the method for MAC address duplication checking according to any one of claims 1 to 6.
CN202010700910.6A 2020-07-20 MAC address duplicate checking method, device, terminal equipment and storage medium Active CN112019646B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010700910.6A CN112019646B (en) 2020-07-20 MAC address duplicate checking method, device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010700910.6A CN112019646B (en) 2020-07-20 MAC address duplicate checking method, device, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112019646A true CN112019646A (en) 2020-12-01
CN112019646B CN112019646B (en) 2024-05-14

Family

ID=

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140244815A1 (en) * 2013-02-26 2014-08-28 Dell Products L.P. Lookup engine for an information handling system
CN107682465A (en) * 2017-06-24 2018-02-09 平安科技(深圳)有限公司 Domain name mapping device, method and computer-readable recording medium
CN110933193A (en) * 2019-10-23 2020-03-27 视联动力信息技术股份有限公司 Domain name resolution method and device, electronic equipment and computer readable storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140244815A1 (en) * 2013-02-26 2014-08-28 Dell Products L.P. Lookup engine for an information handling system
CN107682465A (en) * 2017-06-24 2018-02-09 平安科技(深圳)有限公司 Domain name mapping device, method and computer-readable recording medium
CN110933193A (en) * 2019-10-23 2020-03-27 视联动力信息技术股份有限公司 Domain name resolution method and device, electronic equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN108737467B (en) Server log viewing method, device and system
CN107203532B (en) Index system construction method, search realization method and device
CN110083627B (en) Data processing method, system, computer device and storage medium
CN104601702B (en) Cluster remote procedure calling (PRC) method and system
CN107092686B (en) File management method and device based on cloud storage platform
CN103136342A (en) Searching method, system and searching server of application programs (APP)
CN111556135A (en) Request scheduling method, system and device and electronic equipment
US20080082629A1 (en) Enabling Users to Repeatedly Perform a Sequence of User Actions When Interacting With a Web Server
CN110311855B (en) User message processing method and device, electronic equipment and storage medium
CN115080272A (en) Business data processing method, electronic device and storage medium
CN103425684A (en) Method and device for database operation
CN112019646B (en) MAC address duplicate checking method, device, terminal equipment and storage medium
CN112019646A (en) MAC address duplicate checking method and device, terminal equipment and storage medium
CN110955460A (en) Service process starting method and device, electronic equipment and storage medium
CN113612811B (en) Method, system, equipment and medium for client mounting in multiple channels
CN117009430A (en) Data management method, device, storage medium and electronic equipment
CN114640595A (en) Cascading method, device, electronic equipment and storage medium
CN109960695B (en) Management method and device for database in cloud computing system
CN111090804B (en) Data filtering method, device and computer storage medium
CN111491033A (en) Connection establishing method and device
CN110502333B (en) Access request processing method and cloud storage system
JP2004356704A (en) Maintenance supporting system, maintenance supporting server, and maintenance supporting method by moving image distribution, and program
CN111221781A (en) Data searching method and device, electronic equipment and system
CN111147796B (en) Monitoring data display method, device and storage medium in video conference
CN117240925B (en) Flow recording method and device, storage medium and computer equipment

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