CN111147614A - Full-automatic mine network management method and system, intermediate equipment and server thereof - Google Patents

Full-automatic mine network management method and system, intermediate equipment and server thereof Download PDF

Info

Publication number
CN111147614A
CN111147614A CN201911253559.4A CN201911253559A CN111147614A CN 111147614 A CN111147614 A CN 111147614A CN 201911253559 A CN201911253559 A CN 201911253559A CN 111147614 A CN111147614 A CN 111147614A
Authority
CN
China
Prior art keywords
address request
mining machine
address
message
request message
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.)
Withdrawn
Application number
CN201911253559.4A
Other languages
Chinese (zh)
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 Jingyi Information Technology Co Ltd
Original Assignee
Shenzhen Jingyi 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 Shenzhen Jingyi Information Technology Co Ltd filed Critical Shenzhen Jingyi Information Technology Co Ltd
Priority to CN201911253559.4A priority Critical patent/CN111147614A/en
Publication of CN111147614A publication Critical patent/CN111147614A/en
Withdrawn legal-status Critical Current

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/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention is suitable for the communication field, and discloses a full-automatic mine network management method, intermediate equipment, a server and a full-automatic mine network management system, wherein the method comprises the steps of receiving an IP address request message sent by an ore machine; adding the position identification information into the IP address request message and sending the IP address request message to a DHCP server; receiving a DHCP response message which is sent by a DHCP server and has a matched specific IP address, and sending the DHCP response message to the mining machine, wherein the mining machine is configured to receive the DHCP response message and then configure local network information; when an IP address request delay message with the state data information of the mining machine sent by the mining machine is received, the IP address request delay message is forwarded to a DHCP server, and the DHCP server is configured to analyze the IP address request delay message and then acquire the state data of the mining machine. The method provided by the invention realizes the management of the state data of the ore machine while realizing the IP accurate distribution of the ore machine of the digital currency mine field.

Description

Full-automatic mine network management method and system, intermediate equipment and server thereof
Technical Field
The invention relates to the field of communication, in particular to a full-automatic mine network management method, intermediate equipment, a server and a full-automatic mine network management system.
Background
Current digital currency mines mainly use static IP as a mine network solution, where IP is in one-to-one correspondence with the physical location of the mine. Such design can let on-the-spot fortune dimension personnel fix a position the physical position information of ore deposit machine fast to reduce the degree of difficulty of looking for the problem ore deposit machine. However, in the design, operation and maintenance personnel need to perform static IP setting (the default IP address type of the mining machine factory is DHCP) on the mining machine before the mining machine is erected, and the DHCP setting needs to be recovered when the mining machine is erected for maintenance, so that the workload of the operation and maintenance personnel on the mining machine and the mining machine is increased additionally, and errors are prone to occur; in addition, there is also a digital currency mine field using DHCP as a mine field network solution, but since there is no one-to-one correspondence between IP addresses and actual distribution positions of ore machines, it is necessary for on-site operation and maintenance personnel to perform corresponding registration operations on the IP and physical positions of the ore machines before management, and due to dynamic IP, after power failure in the mine field or maintenance of the ore machines and re-erection, there are repeated registration operations, which also increases the work complexity of the on-site operation and maintenance personnel.
At present, the mainstream collection and reporting of the state data of the mining machine and the related modification operation are realized by periodically calling through a TCP interface of a cgmaint or BMMiner program of the mining machine or corresponding interfaces such as HTTP/UDP of a mining machine manufacturer, and the adaptation of a data interface and the stability of the mining machine interface have some difficulties and obstacles. Some ore machine firmware is customized, and corresponding acquisition programs are implanted to realize communication and report of data of cloud service, and due to the diversity of ore machine hardware, considerable technical thresholds exist in development, implementation cost and popularization and use, and at present, only a few hot-door ore machine brands and models can be covered.
Therefore, the problems of low field operation and maintenance management efficiency, large operation and maintenance workload, high ore machine state data management difficulty and the like mainly exist in the current digital currency mine field.
Disclosure of Invention
The invention aims to provide a full-automatic mine network management method, which aims to solve the technical problems of accurate IP distribution, low field operation and maintenance management efficiency, large operation and maintenance workload and large management difficulty of state data of an ore machine for a digital currency mine of a DHCP type.
In order to achieve the purpose, the invention provides the following scheme: a fully automated mine network management method, the method comprising:
receiving an IP address request message sent by an ore machine;
adding position identification information into the IP address request message, and sending the position identification information to a DHCP server, wherein the position identification information is used for identifying the position of the intermediate equipment;
when an IP address request delay message sent by the mining machine is received, the IP address request delay message is forwarded to the DHCP server, the IP address request delay message comprises state data information of the mining machine, and the DHCP server is configured to analyze the IP address delay message and then acquire the state data information.
Optionally, before the step of receiving an IP address request message sent by the mining machine, the method further includes:
and receiving a preset corresponding relation between the position identification information and the IP address, wherein the position identification information comprises port information of the intermediate equipment and planned subnet information.
Optionally, before the step of receiving an IP address request message sent by the mining machine, the method further includes:
configuring an uplink connection port as a trusted port, and receiving the IP address request message sent by the mining machine in a broadcast form through the trusted port.
The invention also provides a full-automatic mine network management method, which comprises the following steps:
receiving an IP address request message sent by the mining machine and forwarded by intermediate equipment, wherein the IP address request message comprises position identification information for identifying the intermediate equipment;
matching a specific IP address according to the received IP address request message, forwarding the IP address request message to the mining machine through the intermediate equipment in a DHCP response message mode, receiving a configuration request sent by the mining machine and confirming the configuration request;
when receiving an IP address request delay message sent by the mining machine and forwarded by the intermediate device, the IP address request delay message comprises state data information of the mining machine, and the state data information is acquired and uploaded to a cloud after the IP address request delay message is analyzed.
Optionally, before the step of forwarding, by the receiving intermediate device, the IP address request packet sent by the mining machine, the method further includes:
and receiving a preset corresponding relation between the position identification information of the intermediate equipment and the IP address, wherein the position identification information comprises port information of the intermediate equipment and planned subnet information.
Optionally, the forwarding, by the receiving intermediate device, the IP address request packet sent by the mining machine includes:
and after the uplink connection port of the intermediate equipment is configured as a trust port, receiving and forwarding the IP address request message through the trust port.
The invention also provides an intermediate device comprising one or more switches which collectively perform the above method.
Further, the intermediate device includes an access switch, an aggregation switch, and a core switch, wherein,
the access switch is used for adding the port information of the access switch into an IP address request message and forwarding the IP address request message to the aggregation switch;
the convergence switch is used for forwarding the added IP address request message and the IP address request delay message to the core switch;
the core switch is used for adding planned subnet information into the IP address request message, sending the IP address request message to the DHCP server, and forwarding the IP address request delay message to the DHCP server.
The invention also provides a server for executing the method.
The invention also provides a fully automatic mine network management system, which is characterized by comprising the intermediate equipment, the server and the mining machine, wherein,
the mining machine is used for sending an IP address request message and adding the state data information of the mining machine to the IP address request delay message when the IP address request delay message is sent;
the intermediate device is used for adding the position identification information of the intermediate device into the IP address request message;
and the DHCP server is used for matching a specific IP address for the mining machine, forwarding a DHCP response message to the mining machine, analyzing the IP address request delay message, acquiring the state data information and uploading the state data information to a cloud terminal.
The invention provides a full-automatic mine network management method, intermediate equipment, a server and a full-automatic mine network management system, which are characterized in that by receiving an IP address request message sent by a mining machine, adding position identification information of the intermediate equipment in the DHCP request message, then sending the added IP address request message to a DHCP server, receiving the DHCP server, matching a specific IP address according to the added IP address request message and sending the matched IP address to the mining machine in the form of a DHCP response message, each port of the intermediate equipment can correspond to a specific IP address, namely, each mining machine is distributed with a specific IP address, thereby realizing network communication of the mining machine and IP accurate distribution of a digital currency mine field of a DHCP type, reducing the time cost of the mining machine for going on and off shelves, simultaneously improving the working efficiency of field maintenance management, reducing the workload of operation and maintenance, and in addition, when an IP address request delay message with the state data information of the mining machine sent by the mining machine is received, the mining machine state data is indirectly acquired and uploaded when the IP address is allocated to the mining machine, and the problems that a mining field network is unstable, an interface of the mining machine is unfriendly, and data obtained by active scanning and grabbing are inaccurate can be well solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
Fig. 1 is a flowchart of a fully automatic mine network management method according to an embodiment of the present invention;
fig. 2 is a flowchart of dynamic allocation of an ore machine IP address in a full-automatic network management method according to an embodiment of the present invention;
fig. 3 is a flowchart of a fully automatic mine network management method according to a second embodiment of the present invention;
fig. 4 is a schematic diagram illustrating that each functional module of the full-automatic mine network management system provided in the fifth embodiment of the present invention processes a DHCP message.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The first embodiment is as follows:
referring to fig. 1, a flowchart of a fully automatic mine network management method according to an embodiment of the present invention is shown, where the embodiment describes IP address allocation and mining machine state data acquisition and upload from an intermediate device side:
step 101, receiving an IP address request message sent by an ore machine;
before receiving an IP address request message sent by an access switch, the intermediate device needs to receive a preset correspondence between location identification information of the intermediate device and an IP address, specifically, a correspondence between port information of a preset access switch and subnet information (VLan information) planned by a core switch and an IP address, so that all access switches of the access switch access port correspond to an IP address associated with the location of the access switch access port.
The access switch receives the IP address request message sent by the mining machine, and the mining machine sends the IP address request message in a broadcasting mode, so that the network security is considered, the DHCPsnooping function needs to be started for the access switch, the uplink connection port of the access switch is set as a trusted port, the IP address request message sent by the mining machine can be received or forwarded only from the uplink connection port of the access switch, and the purpose of blocking other untrusted ports from transmitting the IP address request message is achieved.
102, adding position identification information into the IP address request message, and sending the position identification information to a DHCP server, wherein the position identification information is used for identifying the position of the intermediate equipment;
specifically, the location identification information for identifying the location of the intermediate device includes port information of the intermediate device and planned subnet information, wherein when an IP address request packet is received from an uplink connection port of an access switch, the port information of the access switch is added to the IP address request packet, when the access switch forwards the added IP address request packet to a convergence switch, the convergence switch forwards the IP address request packet to a core switch, when the core switch receives the IP address request packet from a trusted port, the planned subnet information of the device is added to the IP address request packet, and then the IP address request packet broadcast packet is changed into a unicast packet and forwarded to a unified DHCP server.
As a preferred solution of this embodiment, the port information of the access switch and the subnet information divided by the core switch are specifically added to the Option82 field sub Option 1 (i.e., circuit ID) in the IP address request message, and the Option82 field is used to implement issuing a specific IP address to the designated port of the access switch, so as to implement the corresponding relationship between the mining machine network IP and the actual location.
It should be noted that the location identification information of the intermediate device is not limited to the sub Option 1 (i.e., circuit ID) added to the Option82 field of the IP address request message, and other fields capable of identifying the intermediate device may be substituted.
The access switch needs to start a DHCP Snooping function, so that an Option82 field can be added/modified/deleted in an IP address request message, and the function of reporting the physical position of an access port is realized; configuring the uplink connection ports of the core switch and the convergence switch as trust ports so as to forward an IP address request message forwarded by the access switch to a DHCP server through the trust ports; the core switch needs to start a DHCP Relay function and is mainly used for realizing cross-segment access of a DHCP protocol, so that the DHCP servers which are not in the same physical subnet can distribute IP addresses to the mining machines of different physical subnets, the core switch can also modify an Option82 field in an IP address request message, change a broadcast packet of the DHCP into a unicast packet and is responsible for conversion between the DHCP server and the mining machines.
103, receiving a DHCP response message sent by a DHCP server, and sending the DHCP response message to an ore machine, wherein the ore machine is configured to receive the DHCP response message and configure local network information, and the DHCP response message comprises a specific IP address matched with the DHCP server according to the added IP address request message;
specifically, as shown in fig. 2, the core switch receives a DHCP response message sent by the DHCP server, where the DHCP response message includes that the DHCP server matches a specific IP address according to a correspondence between an added IP address request message and preset intermediate device location identification information and the IP address, and forwards the DHCP response message to the mining machine sequentially through the core switch, the aggregation switch and the access switch, and when the mining machine receives the DHCP response message forwarded by the intermediate device, the mining machine configures local network information, and sends a configuration request to the DHCP server for request confirmation, and after the mining machine configuration confirmation, the mining machine can surfs the internet normally, so as to implement network communication between the mining machine and the mining machine in accurate allocation of the IP address of the mining machine, improve field maintenance and management efficiency, and reduce operation and maintenance workload.
104, when an IP address request delay message sent by the mining machine is received, forwarding the IP address request delay message to a DHCP server, wherein the IP address request delay message comprises state data of the mining machine, and the DHCP server is configured to analyze the IP address delay message and upload the IP address delay message to a cloud end; and then collecting the ore machine state data, and realizing the collection and the report of the ore machine state data.
Because the DHCP server does not allocate a permanent IP address to the mining machine, but only allows the mining machine to use a certain IP address within a certain specified time, the mining machine generally needs to request IP address delay when the IP address is 50% of DHCP lease, at the moment, the mining machine sends an IP address request delay message to the DHCP server, in the embodiment, when the intermediate equipment receives the IP address request delay message sent by the mining machine, the mining machine adds the state data information of the mining machine to the IP address request delay message when sending the IP address request delay message, the intermediate equipment forwards the IP address request delay message with mining machine state data to the DHCP server, then the DHCP server analyzes the IP address request message and uploads the mining machine state data obtained by analysis to the cloud end when receiving the IP address request message, thus, the mining machine state data collection and uploading can be indirectly realized when requesting the IP address delay, the method realizes the management of the state data of the ore machine, and solves the problems of unfriendly interface of the ore machine and inaccurate state data of active grabbing at present.
As a preferred solution of this embodiment, the state data of the mining machines is added to the undefined sub-Option of the Option82 field in the IP address request deferral message, and specifically, the state data of the mining machines includes the total monitoring power, the total average power, the temperature, the brand, the model, the runtime, the maximum runtime, the fan speed, the mine pool address list and the undefined sub-Option 101-110 in the Option82 field corresponding to the power board information list.
In addition, modification and equipment restart of the ore pool of the ore machine can be realized through the DHCP response message, specifically, the sub-Option 121 in the Option82 field is used for modifying the ore pool, and the sub-Option 122 in the Option82 field is used for restarting the ore machine, so that the remote operation instruction can be issued to the ore machine, and the remote control of the ore machine is realized.
It should be noted that the state data of the mining machine is not limited to being added to the Option82 field in the IP address request deferral message, and other fields that can be used to add the state data of the mining machine are possible.
By using the full-automatic network management method provided by the embodiment, the IP address acquired by the mining machine connected with the appointed switch port can be determined without additionally changing the mining machine after the network planning and configuration are completed in the initial stage of the mining field construction, so that the time cost for the mining machine to get on and off the rack is saved; when the mining machine is updated, any configuration of the mining machine does not need to be changed, and under the conditions of fixed network cable position, fixed switch and fixed connection port, the IP address acquired after the mining machine connected with the internet accessed at any position is related to the position, so that any network setting change and information registration operation are not needed; when the switch equipment fails, the replacement can be completed only by registering a new switch and modifying the configuration of the DHCP server, so that the operation and maintenance workload is reduced, and the maintenance management efficiency is improved.
In summary, the embodiment of the present invention provides a full-automatic mine network management method, where before receiving an IP address request packet sent by an ore machine, a correspondence relationship between position identification information of a preset intermediate device and an IP address is received, the position identification information of the intermediate device is added to the IP address request packet and sent to a DHCP server, and then the DHCP server is received to match a specific IP address according to the added IP address request packet and forward the IP address to the ore machine in the form of a DHCP response packet, so as to implement accurate IP address allocation for a DHCP-type digital currency mine, without modifying any configuration of the ore machine, and the field operation and maintenance management efficiency is high, and the operation is simple; when an IP address request delay message with the mining machine state data information sent by a mining machine is received, the IP address request delay message is forwarded to a DHCP server, the state data of the mining machine can be collected and uploaded in real time, the management of the mining machine state data is realized, the traditional mining machine monitoring mode is changed, and the problems that the mining machine interface is not friendly and the state data actively captured is inaccurate are solved; according to the method provided by the invention, the IP address allocation and the mining machine state data management are combined, when the IP address is accurately allocated to each mining machine, the situation that the mining machine state data is abnormal can be realized, the fault mining machine can be quickly positioned according to the specific IP address, the operation and maintenance efficiency of the mining machine is improved, and the monitoring mode cost of the traditional mining machine is saved.
Example two:
referring to fig. 3, a flowchart of a fully automatic mine network management method according to a second embodiment of the present invention is shown, where the embodiment describes IP address allocation and mine machine state data management from a DHCP server side:
step 201, receiving an IP address request message sent by an intermediate device forwarding mining machine, where the IP address request message includes location identification information for identifying the intermediate device;
before the DHCP server receives an IP address request message sent by an intermediary forwarding mining machine, it needs to receive a preset correspondence between location identification information of the intermediary and an IP address, specifically, a correspondence between port information of a preset access switch and subnet information (VLan information) planned by a core switch and an IP address, so that all mining machines accessing the switch access port can respectively correspond to an IP address associated with their locations.
The method comprises the steps that a DHCP server receives an IP address request message transmitted by an ore machine and forwarded by an intermediate device, the IP address request message comprises position identification information which is added through the intermediate device and used for identifying the intermediate device, specifically, the position identification information comprises port information of the intermediate device and planned subnet information, when an access switch receives the IP address request message transmitted by the ore machine, the access switch adds the port information of the access switch into the IP address request message, then the added IP address request message is transmitted to a core switch through a convergence switch, the core switch adds the planned subnet information into the IP address request message and transmits the IP address request message to the DHCP server, and the fact that the IP address request message transmitted by the ore machine accessed from a using port of the access switch corresponds to an IP address related to the position of the IP address request message is achieved.
As a preferred solution of this embodiment, the port information of the access switch and the subnet information divided by the core switch are specifically added to the Option82 field sub Option 1 (i.e., circuit ID) in the IP address request message, and the Option82 field is used to implement issuing a specific IP to the specified switch port to implement the corresponding relationship between the mining network IP and the actual location.
It should be noted that the location identification information of the intermediate device is not limited to the sub Option 1 (i.e., circuit ID) added to the Option82 field of the IP address request message, and may be any other field capable of serving as an identifier for the intermediate device.
The access switch needs to start a DHCP Snooping function, so that an Option82 field can be added/modified/deleted in an IP address request message, the function of reporting the physical position of a specified port is realized, and an uplink connection port of the access switch is set as a trusted port, so that the access switch receives or transmits an IP address request delay message from the trusted port; in addition, the uplink connection port of the core switch is configured as a trust port, so that an IP address request message forwarded by the access switch is forwarded through the trust port, the core switch needs to start a DHCP Relay function, and is mainly used for realizing cross-segment access of a DHCP protocol, so that DHCP servers not in the same physical subnet can perform IP address allocation on mining machines of different physical subnets, the core switch can also modify an Option82 field in the IP address request message, change a broadcast packet of the DHCP into a unicast packet, and is responsible for conversion between the DHCP server and the mining machines.
Step 202, matching a specific IP address according to a received IP address request message, forwarding the IP address to an ore machine through intermediate equipment in a DHCP response message mode, receiving a configuration request sent by the ore machine and confirming the configuration request;
matching a specific IP address according to the received IP address request message, preset position identification information of intermediate equipment and the corresponding relation of the IP address, forwarding the specific IP address to an ore machine in the form of a DHCP response message sequentially through a core switch, a convergence switch and an access switch, configuring a local network when the ore machine receives the DHCP response message, and sending a configuration request to a DHCP server, confirming the configuration request when the DHCP server receives the configuration request, wherein the ore machine can surf the internet, the ore machine connected with each port of the access switch is enabled to distribute one specific IP address associated with the position of the ore machine, and the accurate distribution of the IP address of the ore machine and the network communication are achieved.
Step 203, when receiving an IP address request deferral message sent by an intermediate device forwarding mining machine, analyzing the IP address request deferral message and acquiring analyzed mining machine state data, wherein the IP address request deferral message comprises state data information of the mining machine.
When an IP address request delay message of the mining machine forwarded by the intermediate equipment is received, wherein the mining machine adds the state data of the mining machine to the IP address request message when sending the IP address delay message, the intermediate equipment forwards the IP address request delay message to the DHCP server, and then the DHCP server analyzes the state data of the mining machine in the IP address request message and uploads the state data to the cloud, so that the state data of the mining machine can be collected, uploaded and collected in real time, and the management of the state data of the mining machine is realized.
As a preferred solution of this embodiment, the state data of the mining machines is added to the undefined sub-Option of the Option82 field in the IP address request deferral message, and specifically, the state data of the mining machines includes the total monitoring power, the total average power, the temperature, the brand, the model, the runtime, the maximum runtime, the fan speed, the mine pool address list and the undefined sub-Option 101-110 in the Option82 field corresponding to the power board information list.
In addition, modification and equipment restart of the ore pool of the ore machine can be realized through the DHCP response message, specifically, the sub-Option 121 in the Option82 field is used for modifying the ore pool, and the sub-Option 122 in the Option82 field is used for restarting the ore machine, so that the remote operation instruction can be issued to the ore machine, and the remote control of the ore machine is realized.
It should be noted that the state data of the mining machine is not limited to being added to the Option82 field in the IP address request deferral message, and other fields that can be used to add the state data of the mining machine are possible.
By using the full-automatic network management method provided by the embodiment, the time cost of the upper rack and the lower rack of the mining machine is saved, the mining machine and the switch are convenient to update, and the description of the intermediate equipment side is referred to for how to operate, which is not repeated herein.
In summary, the process of allocating an IP address and the process of implementing management of mining machine state data after the DHCP server receives an IP address request and an address request delay message are referred to the description of the intermediate device side, which is not repeated herein.
Example three:
the third embodiment of the present invention provides an intermediate device, where the intermediate device includes one or more switches, and the one or more switches collectively perform the above-described method.
Specifically, the intermediate device includes an access switch, a core switch, and an aggregation switch, wherein,
the access switch is used for adding the port information of the equipment into the IP address request message and forwarding the IP address request message to the convergence switch;
the convergence switch is used for forwarding the added IP address request message and the IP address request delay to the core switch;
the core switch is used for adding the planned subnet information into an IP address request message and sending the message to a DHCP server.
As a preferred scheme of this embodiment, the uplink connection ports of the access switch and the aggregation switch are configured as trusted ports, so that the IP address request packet can only be transmitted from the trusted ports, thereby ensuring the security of network communication.
For an access switch, a DHCP Snooping function needs to be started, so that fields in an IP address request message are added/modified/deleted, and the uplink connection port is set as a trusted port, so that data is forwarded from the trusted port, and the security of network communication is ensured.
For the aggregation switch, a DHCP Snooping function needs to be started, and the uplink connection port is set as a trust port, so that data is forwarded from the trust port, and the security of network communication is ensured.
For the core switch, a DHCP Relay function needs to be started, corresponding subnet information is divided, and IP address segments divided by devices connected with different ports are determined, so that cross-segment forwarding of an IP address request packet to a uniform DHCP server is realized for IP address management.
Example four:
the fourth embodiment of the present invention provides a server, where the server is configured to execute the method described above.
For a server, a specific IP address is required to be allocated to an ore machine according to the position identification information of the intermediate equipment, and the accurate allocation of the IP address is realized in an IP address request message forwarded by a core switch; the carrier of the server can be any hardware device capable of connecting with a network, including but not limited to an industrial personal computer, a Personal Computer (PC), an apple computer, various embedded devices such as a router or a three-layer switch, and the like.
The implementation process of the function and action of the server is described in detail in the implementation process of the corresponding step in the full-automatic network management method for the DHCP server side, and is not described herein again.
Example five:
referring to fig. 4, a fifth embodiment of the present invention provides a full-automatic mine network management system, which includes the above-mentioned intermediate equipment, the above-mentioned server and the mine machine, wherein,
the mining machine is used for sending an IP address request message and adding the state data information of the mining machine to the IP address request delay message when the IP address request delay message is sent;
the intermediate device is used for adding the position identification information of the intermediate device into the IP address request message;
the DHCP server is used for matching a specific IP address for the mining machine, forwarding the specific IP address to the mining machine by using a DHCP response message, analyzing the IP address request delay message, acquiring state data information and uploading the state data information to the cloud.
For an ore machine, the acquisition and operation of ore machine data need to be realized, sub-options of fields of an IP address request message are constructed to report state data, and meanwhile, the sub-options of the fields in a DHCP response message can be analyzed to write the ore machine.
The implementation processes of the functions and actions of the mining machine, the intermediate device, and the DHCP server in the system are specifically described in the implementation processes of the corresponding steps in the method, and are not described herein again.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, and all modifications and equivalents of the present invention, which are made by the contents of the present specification and the accompanying drawings, or directly/indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A fully automatic mine network management method, characterized in that the method comprises:
receiving an IP address request message sent by an ore machine;
adding position identification information into the IP address request message, and sending the position identification information to a DHCP server, wherein the position identification information is used for identifying the position of the intermediate equipment;
when an IP address request delay message sent by the mining machine is received, the IP address request delay message is forwarded to the DHCP server, the IP address request delay message comprises state data information of the mining machine, and the DHCP server is configured to analyze the IP address delay message and then acquire the state data information.
2. The method of claim 1, prior to the step of receiving an IP address request message sent by a mining machine, further comprising:
and receiving a preset corresponding relation between the position identification information and the IP address, wherein the position identification information comprises port information of the intermediate equipment and planned subnet information.
3. The method of claim 1, wherein said step of receiving an IP address request message sent by a mining machine is preceded by the steps of:
configuring an uplink connection port as a trusted port, and receiving the IP address request message sent by the mining machine in a broadcast form through the trusted port.
4. A fully automatic mine network management method, characterized in that the method comprises:
receiving an IP address request message sent by the mining machine and forwarded by intermediate equipment, wherein the IP address request message comprises position identification information for identifying the intermediate equipment;
matching a specific IP address according to the received IP address request message, forwarding the IP address request message to the mining machine through the intermediate equipment in a DHCP response message mode, receiving a configuration request sent by the mining machine and confirming the configuration request;
when receiving an IP address request delay message sent by the mining machine and forwarded by the intermediate device, the IP address request delay message comprises state data information of the mining machine, and the state data information is acquired and uploaded to a cloud after the IP address request delay message is analyzed.
5. The method of claim 4, wherein prior to the step of the receiving intermediate device forwarding the IP address request message sent by the mining machine, further comprising:
and receiving a preset corresponding relation between the position identification information of the intermediate equipment and the IP address, wherein the position identification information comprises port information of the intermediate equipment and planned subnet information.
6. The method as claimed in any one of claims 4 or 5, wherein said receiving intermediate device forwarding an IP address request message sent by said mining machine comprises:
and after the uplink connection port of the intermediate equipment is configured as a trust port, receiving and forwarding the IP address request message through the trust port.
7. An intermediary device, comprising one or more switches that collectively perform the method of any of claims 1-3.
8. The intermediary device of claim 7, wherein the intermediary device comprises an access switch, an aggregation switch, and a core switch, wherein,
the access switch is used for adding the port information of the access switch into an IP address request message and forwarding the IP address request message to the aggregation switch;
the convergence switch is used for forwarding the added IP address request message and the IP address request delay message to the core switch;
the core switch is used for adding planned subnet information into the IP address request message, sending the IP address request message to the DHCP server, and forwarding the IP address request delay message to the DHCP server.
9. A server, characterized in that the server is adapted to perform the method of any of the claims 4-6.
10. A fully automatic mine network management system, characterized in that the system comprises an intermediate device of claim 7 or 8, a server of claim 9, and a mine, wherein,
the mining machine is used for sending an IP address request message and adding the state data information of the mining machine to the IP address request delay message when the IP address request delay message is sent;
the intermediate device is used for adding the position identification information of the intermediate device into the IP address request message;
and the DHCP server is used for matching a specific IP address for the mining machine, forwarding a DHCP response message to the mining machine, analyzing the IP address request delay message, acquiring the state data information and uploading the state data information to a cloud terminal.
CN201911253559.4A 2019-12-09 2019-12-09 Full-automatic mine network management method and system, intermediate equipment and server thereof Withdrawn CN111147614A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911253559.4A CN111147614A (en) 2019-12-09 2019-12-09 Full-automatic mine network management method and system, intermediate equipment and server thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911253559.4A CN111147614A (en) 2019-12-09 2019-12-09 Full-automatic mine network management method and system, intermediate equipment and server thereof

Publications (1)

Publication Number Publication Date
CN111147614A true CN111147614A (en) 2020-05-12

Family

ID=70517956

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911253559.4A Withdrawn CN111147614A (en) 2019-12-09 2019-12-09 Full-automatic mine network management method and system, intermediate equipment and server thereof

Country Status (1)

Country Link
CN (1) CN111147614A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113726738A (en) * 2021-07-26 2021-11-30 新华三技术有限公司合肥分公司 Method for acquiring physical position information of tested equipment, network equipment and storage medium
CN115242654A (en) * 2022-08-08 2022-10-25 北京城建智控科技股份有限公司 Automatic networking method and system for rail transit all-in-one machine

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113726738A (en) * 2021-07-26 2021-11-30 新华三技术有限公司合肥分公司 Method for acquiring physical position information of tested equipment, network equipment and storage medium
CN113726738B (en) * 2021-07-26 2023-08-18 新华三技术有限公司合肥分公司 Method for acquiring physical location information of tested equipment, network equipment and storage medium
CN115242654A (en) * 2022-08-08 2022-10-25 北京城建智控科技股份有限公司 Automatic networking method and system for rail transit all-in-one machine
CN115242654B (en) * 2022-08-08 2023-04-28 北京城建智控科技股份有限公司 Automatic networking method and system for rail transit integrated machine

Similar Documents

Publication Publication Date Title
US20200044917A1 (en) Zero touch provisioning script to provision network elements over unnumbered interfaces
RU2562438C2 (en) Network system and network management method
EP2975807B1 (en) Method and apparatus for discovering openflow protocol-based control plane device
US7916748B2 (en) Method and system for initialization configuration of managed device
US9455866B2 (en) Auto-configuration of network devices
CN105306264A (en) Network configuration and remote registration binding method and system for intelligent household appliance
CN102710811B (en) Realize method and the switch of dhcp address safety distribution
CN108259215B (en) Equipment management method and device
CN103095749A (en) Method and system used for achieving discovery of cross-network-segment equipment
CN104205545A (en) Systems and methods for configuring a power distribution unit
EP3100472A1 (en) A method for commissioning and joining of a field device to a network
CN105071945A (en) Network terminal address bulk binding method based on interchanger technology
CN111147614A (en) Full-automatic mine network management method and system, intermediate equipment and server thereof
CN102882989A (en) Method and device for distributing internet protocol (IP) address to multi-network video recorder (NVR) by monitoring network
CN105388861A (en) Method and system for controlling devices in internet of things
US20120269092A1 (en) Auto-configuration of network devices
US11153118B2 (en) Technique for executing a service in a local area network through a wide area communication network
CN113985743A (en) Equipment control method, device and system, storage medium and electronic device
CN116192566A (en) Gateway registration method, device, equipment and storage medium
US11128558B2 (en) Automatic routing configuration between hosts and network layer devices
CN112039708A (en) Network equipment operation and maintenance method
US20160241427A1 (en) Service Sending, Receiving Methods and Devices
CN110505075B (en) Device management method and related device
US11750560B2 (en) Zero Touch Provisioning for a network element over IPv6 unnumbered interfaces in OSPFv3 networks
CN109743347A (en) A kind of reader automated testing method and system

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20200512

WW01 Invention patent application withdrawn after publication