Nothing Special   »   [go: up one dir, main page]

CN115242654A - Automatic networking method and system for rail transit all-in-one machine - Google Patents

Automatic networking method and system for rail transit all-in-one machine Download PDF

Info

Publication number
CN115242654A
CN115242654A CN202210943231.0A CN202210943231A CN115242654A CN 115242654 A CN115242654 A CN 115242654A CN 202210943231 A CN202210943231 A CN 202210943231A CN 115242654 A CN115242654 A CN 115242654A
Authority
CN
China
Prior art keywords
machine
field
address
station level
multicast
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
CN202210943231.0A
Other languages
Chinese (zh)
Other versions
CN115242654B (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.)
Beijing Urban Construction Intelligent Control Technology Co ltd
Original Assignee
Beijing Urban Construction Intelligent Control 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 Beijing Urban Construction Intelligent Control Technology Co ltd filed Critical Beijing Urban Construction Intelligent Control Technology Co ltd
Priority to CN202210943231.0A priority Critical patent/CN115242654B/en
Publication of CN115242654A publication Critical patent/CN115242654A/en
Application granted granted Critical
Publication of CN115242654B publication Critical patent/CN115242654B/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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/185Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/22Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks comprising specially adapted graphical user interfaces [GUI]
    • 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/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention provides an automatic networking method and system for a rail transit all-in-one machine, which comprises the following steps: the station level management all-in-one machine cloud platform applies for an IP address to a station level network information server, registers the IP address and establishes a multicast management network according to the registered IP address; the edge all-in-one machine applies for an IP address to a station level network information server and registers to obtain multicast address information; the edge all-in-one machine joins in a multicast management network according to the multicast address information; the edge all-in-one machine regularly releases resource and service report information according to the report period of the multicast management network and caches the resource and service report information; and the cloud platform of the station level management all-in-one machine receives the resource and service report information and displays the resource and service report information in a visual manner. The invention is based on a multicast management network, and can automatically connect all edge integrated machines to a station level management integrated machine cloud platform, so that the whole rail transit integrated machine network can complete networking and resource collection functions.

Description

Automatic networking method and system for rail transit all-in-one machine
Technical Field
The invention relates to the technical field of rail transit, in particular to an automatic networking method and system for a rail transit all-in-one machine.
Background
At present, a part of rail transit has developed a rail transit comprehensive automation system based on a cloud platform, for example, a Kunming four-line cloud traffic automation system, the system takes a station-level all-in-one machine as a hardware basis, original multi-professional system data are accessed and intelligently collected, daily rail transit operation management data and information are comprehensively researched and judged based on big data management and analysis software, and operation management efficiency is greatly improved.
The current rail transit cloud management platform mainly comprises a management all-in-one machine mode which is arranged in a centralized mode and a distributed arrangement mode of a management all-in-one machine and an edge all-in-one machine in a physical mode. The two modes have advantages and disadvantages respectively, but from the aspect of operation logic, the following defects exist:
the management system modules in the two modes are arranged in the management all-in-one machine, so that resource planning and interface adaptation are required to be performed in detail at the beginning of construction, and configuration and networking of all resources of the system are required to be completed manually during design.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention aims to provide an automatic networking method and system for a rail transit all-in-one machine, and aims to solve the problems that manual networking and resource collection are needed for an existing rail transit cloud management platform.
An automatic networking method for a rail transit all-in-one machine comprises the following steps:
step 1: the station level management all-in-one machine cloud platform applies for an IP address from a station level network information server, registers the IP address and establishes a multicast management network according to the registered IP address;
and 2, step: the edge all-in-one machine applies for an IP address from a station level network information server and registers to obtain multicast address information;
and 3, step 3: the edge all-in-one machine is added into the multicast management network according to the multicast address information;
and 4, step 4: the edge all-in-one machine regularly releases resource and service report information according to the report period of the multicast management network, and caches the resource and service report information;
and 5: and the cloud platform of the station level management all-in-one machine receives the resource and service report information and displays the resource and service report information in a visual way.
Preferably, the step 1: the station level management all-in-one machine cloud platform applies for an IP address to a station level network information server, registers the IP address and establishes a multicast management network according to the registered IP address, and the method comprises the following steps:
step 1.1: the station level management all-in-one machine cloud platform sends a DHCP Discovery message to a station level network information server; an Option43 field is added and set in the DHCP Discovery message, the Option43 field comprises an 8-byte station cloud network special mark, and the subsequent 2 bytes of the Option43 field are cloud platform type marks;
step 1.2: the station level network information server analyzes the DHCP Discovery message and judges whether the DHCP Discovery message is legal or not;
step 1.3: when the DHCP Discovery message is legal, the station level management all-in-one machine cloud platform replies a DHCP Request message to the station level network information server; an Option43 field and an Option82 field are added and set in the DHCP Request message, and the Option82 field includes multicast management network information; the multicast management network information comprises a selected IP address, a multicast management network address, port information of a multicast management network and broadcast information time interval information;
step 1.4: the station level network information server confirms and analyzes whether an Option43 field in a DHCP Request message is legal or not, and when the Option43 field is legal, multicast management network information in an Option82 field in the DHCP Request message is extracted;
step 1.5: and establishing a multicast management network according to the multicast management network information.
Preferably, the step 1.2: the analyzing the DHCP Discovery message and judging whether the DHCP Discovery message is legal by the station level network information server comprises the following steps:
step 1.2.1: the station level network information server analyzes whether the 8-byte station cloud network special mark in the Option43 field of the DHCP Discovery message is legal or not;
step 1.2.2: and when the special mark of the 8-byte station cloud network is legal, extracting the device type mark, and sending the DHCP Offer message to the station-level management all-in-one machine cloud platform according to the device type mark.
Preferably, the step 2: the edge all-in-one machine applies for an IP address from a station level network information server and registers to obtain multicast address information, and the method comprises the following steps:
step 2.1: the edge all-in-one machine sends a DHCP Discovery message to a station level network information server; an Option43 field is added and set in the DHCP Discovery message, the Option43 field includes an 8-byte station cloud network special mark, and the Option43 field sequentially sets a 2-byte edge all-in-one machine type mark and a 1-byte service application type field in the following;
step 2.2: the station level network information server analyzes the DHCP Discovery message and judges whether the DHCP Discovery message is legal and effective;
step 2.3: when the DHCP Discovery message is legal and effective, the station level network information server replies a DHCP Offer message to the edge all-in-one machine according to the service application type field;
step 2.4: and the edge all-in-one machine obtains multicast address information according to the DHCP Offer message.
Preferably, the step 2.3: when the DHCP Discovery message is legal and valid, the station level network information server replies a DHCP Offer message to the edge all-in-one machine according to the service application type field, including:
adding and setting an Option82 field into a DHCP Offer message of the edge all-in-one machine according to the service application type field; when the service application type field is 1, adding and setting an Option82 field to the DHCP Offer message, wherein the Option82 field is a station level management all-in-one machine cloud platform IP address of 4 bytes; when the service application type field is 2, the Option82 field is 10 bytes, the first 4 bytes are the cloud platform IP address of the station level management all-in-one machine, the subsequent 4 bytes are the multicast IP address of the multicast management network, the subsequent 2 bytes are the multicast management network port information, the subsequent 2 bytes are the broadcast information time interval, and when the service application type field is 0, the Option82 field is null.
The invention also provides an automatic networking system of the rail transit all-in-one machine, which comprises the following components:
the registration module is used for the station level management all-in-one machine cloud platform to apply for and register an IP address to the station level network information server and establish a multicast management network according to the registered IP address;
the application module is used for the edge all-in-one machine to apply for an IP address to the station level network information server and register to obtain multicast address information;
the multicast management module is used for the edge all-in-one machine to join the multicast management network according to the multicast address information;
the cache module is used for regularly releasing resource and service report information and caching the resource and service report information by the edge all-in-one machine according to the report period of the multicast management network;
and the visual display module is used for receiving the resource and service report information by the cloud platform of the station-level management all-in-one machine and visually displaying the resource and service report information.
Preferably, the registration module includes:
the message sending unit is used for sending a DHCP Discovery message to the station level network information server by the station level management all-in-one machine cloud platform; an Option43 field is added and set in the DHCP Discovery message, the Option43 field includes an 8-byte station cloud network special mark, and the subsequent 2 bytes of the Option43 field are a cloud platform type mark;
the message analysis unit is used for analyzing the DHCP Discovery message by the station level network information server and judging whether the DHCP Discovery message is legal or not;
the message reply unit is used for replying a DHCP Request message to the station level network information server by the station level management all-in-one machine cloud platform when the DHCP Discovery message is legal; an Option43 field and an Option82 field are added and set in the DHCP Request message, and the Option82 field includes multicast management network information; the multicast management network information comprises a selected IP address, a multicast management network address, port information of a multicast management network and broadcast information time interval information;
the information extraction unit is used for the station level network information server to confirm and analyze whether the Option43 field in the DHCP Request message is legal or not, and when the Option43 field is legal, the information extraction unit extracts the multicast management network information in the Option82 field in the DHCP Request message;
and the networking unit is used for establishing the multicast management network according to the multicast management network information.
Preferably, the message parsing unit includes:
the legal judgment subunit is used for the station level network information server to analyze whether the 8-byte station cloud network special mark in the Option43 field of the DHCP Discovery message is legal or not;
and the legal message sending subunit is used for extracting the equipment type mark when the 8-byte station cloud network special mark is legal, and sending the DHCP Offer message to the station level management all-in-one machine cloud platform according to the equipment type mark.
Preferably, the application module includes:
the edge all-in-one machine message sending unit is used for sending a DHCP Discovery message to the station level network information server by the edge all-in-one machine; an Option43 field is added and set in the DHCP Discovery message, the Option43 field includes an 8-byte station cloud network special mark, and the Option43 field sequentially sets a 2-byte edge all-in-one machine type mark and a 1-byte service application type field in the following;
the message validity judging unit is used for analyzing the DHCP Discovery message by the station level network information server and judging whether the DHCP Discovery message is legal and valid;
the effective reply unit is used for replying a DHCP Offer message to the edge all-in-one machine by the station level network information server according to the service application type field when the DHCP Discovery message is legal and effective;
and the multicast address acquisition unit is used for the edge all-in-one machine to obtain multicast address information according to the DHCP Offer message.
Preferably, the effective reply unit includes:
the effective reply subunit is used for adding and setting an Option82 field into a DHCP Offer message of the edge all-in-one machine according to the service application type field; when the service application type field is 1, adding and setting an Option82 field to the DHCP Offer message, wherein the Option82 field is a station level management all-in-one machine cloud platform IP address with 4 bytes; when the service application type field is 2, the Option82 field is 10 bytes, the first 4 bytes are the cloud platform IP address of the station-level management all-in-one machine, the subsequent 4 bytes are the multicast IP address of the multicast management network, the subsequent 2 bytes are the multicast management network port information, the subsequent 2 bytes are the broadcast information time interval, and when the service application type field is 0, the Option82 field is null.
The automatic networking method and system for the rail transit all-in-one machine, provided by the invention, have the beneficial effects that: compared with the prior art, the invention is based on the multicast management network, and can automatically access all the edge all-in-one machines to the station level management all-in-one machine cloud platform, so that the whole rail transit all-in-one machine network can complete networking and resource collection functions.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
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 drawings without creative efforts.
Fig. 1 shows a flow chart of an automatic networking method of a track traffic all-in-one machine according to an embodiment of the invention;
fig. 2 shows a schematic diagram of an automatic networking device of a rail transit all-in-one machine provided by the embodiment of the invention;
fig. 3 shows a registration flowchart of the automatic networking device of the track transportation all-in-one machine according to the embodiment of the invention.
Detailed Description
In the description of the present invention, it is to be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", and the like, indicate orientations and positional relationships based on those shown in the drawings, and are used only for convenience of description and simplicity of description, and do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be considered as limiting the present invention.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
In the present invention, unless otherwise explicitly stated or limited, the terms "mounted," "connected," "fixed," and the like are to be construed broadly and may, for example, be fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood according to specific situations by those of ordinary skill in the art.
The invention aims to provide an automatic networking method and system for a rail transit all-in-one machine, and aims to solve the problems that manual networking and resource collection are needed in the conventional rail transit cloud management platform.
Referring to fig. 1, an automatic networking method for a rail transit all-in-one machine includes:
step 1: the station level management all-in-one machine cloud platform applies for an IP address from a station level network information server, registers the IP address and establishes a multicast management network according to the registered IP address;
when performing services such as IP distribution, the station level network information server needs to comply with the following principles:
in principle 1, the station level network information server only responds to the IP application service of the station level management all-in-one machine cloud platform and the edge all-in-one machine, the self IP information registration or application service of the management all-in-one machine cloud platform, and the registration or application service of multicast management network information (multicast IP addresses and ports).
Principle 2, the station-level network information server responds to the IP address application service, the station-level management all-in-one IP address application service, and the multicast management network information application service of the edge all-in-one device in the network only after the station-level management all-in-one cloud platform completes its own IP information registration and multicast management network information (multicast IP address and port) registration.
Further, the step 1 includes:
step 1.1: the station level management all-in-one machine cloud platform sends a DHCP Discovery message to a station level network information server; an Option43 field is added and set in the DHCP Discovery message, the Option43 field includes an 8-byte station cloud network special mark, and the subsequent 2 bytes of the Option43 field are a cloud platform type mark;
step 1.2: the station level network information server analyzes the DHCP Discovery message and judges whether the DHCP Discovery message is legal or not;
wherein, step 1.2 includes:
step 1.2.1: the station level network information server analyzes whether the 8-byte station cloud network special mark in the Option43 field of the DHCP Discovery message is legal or not;
step 1.2.2: and when the 8-byte station cloud network special mark is legal, extracting the equipment type mark, and sending the DHCP Offer message to the station level management all-in-one machine cloud platform according to the equipment type mark.
Step 1.3: when the DHCP Discovery message is legal, the station level management all-in-one machine cloud platform replies a DHCP Request message to the station level network information server; an Option43 field and an Option82 field are added and set in the DHCP Request message, and the Option82 field includes multicast management network information; the multicast management network information comprises a selected IP address, a multicast management network address, port information of a multicast management network and broadcast information time interval information;
step 1.4: the station level network information server confirms and analyzes whether an Option43 field in a DHCP Request message is legal or not, and when the Option43 field is legal, multicast management network information in an Option82 field in the DHCP Request message is extracted;
step 1.5: and establishing a multicast management network according to the multicast management network information.
The registration process of the cloud platform of the station-level management all-in-one machine of the present invention is further described with reference to specific embodiments below:
(1) Before a station-level management all-in-one machine cloud platform initiates a traditional DHCP Discovery message to a network, an Option43 field in the message is added and set, the field content comprises 8-byte station cloud network special marks (the field can be determined according to actual needs, and can select an encryption mode and an algorithm, and is used for a station-level network information server to confirm that the received DHCP message is from reliable and servable equipment), the field is subsequently provided with 2-byte equipment type marks (the station-level management all-in-one machine cloud platform in the embodiment is provided with 'S' and 'V' characters), and after the modification is completed, the station-level management all-in-one machine cloud platform sends the message to the network;
(2) After receiving the DHCP application message, the station level network information server confirms that an Option43 field exists, analyzes whether the former 8 bytes are legal and correct station cloud network special marks or not, extracts a subsequent 2-byte message after the analysis is finished, and confirms that the message comes from a station level management all-in-one machine cloud platform; after the message is confirmed to come from the station level management all-in-one machine cloud platform, a DHCP Offer message is replied according to a DHCP standard flow;
(3) After the station-level management all-in-one machine cloud platform receives a DHCP Offer standard message replied by a station-level network information server and selects an IP address, an Option43 field is added and set in a DHCP Request message to be replied (as the content in the step (2)), an Option82 field (12 bytes in total) is added and set at the same time, the selected IP address is filled in the first 4 bytes of the field, a legal multicast management network address is filled in the subsequent 4 bytes, port information of the legal multicast management network is filled in the subsequent 2 bytes, and broadcast information time interval information (unit: millisecond) is filled in the subsequent 2 bytes; finally, the DHCP Request message is sent to a station level network information server;
(4) After receiving the DHCP application message, the station level network information server confirms that an Option43 field exists, analyzes whether the former 8 bytes are legal and correct station cloud network special marks or not, extracts the subsequent 2-byte message after the analysis is correct (the operation is finished if the analysis is failed), and confirms that the message comes from a station level management all-in-one machine cloud platform or an edge all-in-one machine; after the message is confirmed to come from the cloud platform of the station-level management all-in-one machine, the IP address of the cloud platform of the station-level management all-in-one machine in the Option82 field is extracted, the multicast IP address, the port information and the broadcast information time interval of the multicast management network are stored, and meanwhile, the IP address of the serviceable edge all-in-one machine, the IP address application service of the station-level management all-in-one machine and the application service flag bit of the multicast management network information are set, so that the follow-up response of the relevant application service of the edge all-in-one machine is facilitated.
Step 2: the edge all-in-one machine applies for an IP address from a station level network information server and registers to obtain multicast address information;
further, the step 2 comprises:
step 2.1: the edge all-in-one machine sends a DHCP Discovery message to a station level network information server; an Option43 field is added and set in the DHCP Discovery message, the Option43 field includes an 8-byte station cloud network special mark, and the Option43 field sequentially sets a 2-byte edge all-in-one machine type mark and a 1-byte service application type field in the following;
step 2.2: the station level network information server analyzes the DHCP Discovery message and judges whether the DHCP Discovery message is legal and effective;
step 2.3: when the DHCP Discovery message is legal and effective, the station level network information server replies a DHCP Offer message to the edge all-in-one machine according to the service application type field; specifically, step 2.3 includes:
adding and setting an Option82 field into a DHCP Offer message of the edge all-in-one machine according to the service application type field; when the service application type field is 1, adding and setting an Option82 field to the DHCP Offer message, wherein the Option82 field is a station level management all-in-one machine cloud platform IP address with 4 bytes; when the service application type field is 2, the Option82 field is 10 bytes, the first 4 bytes are the cloud platform IP address of the station level management all-in-one machine, the subsequent 4 bytes are the multicast IP address of the multicast management network, the subsequent 2 bytes are the multicast management network port information, the subsequent 2 bytes are the broadcast information time interval, and when the service application type field is 0, the Option82 field is null.
Step 2.4: and the edge all-in-one machine obtains multicast address information according to the DHCP Offer message.
The registration process of the edge all-in-one machine in the present invention is further described with reference to specific embodiments below:
(1) Before the edge all-in-one machine initiates a traditional DHCP Discovery message to a network, adding and setting an Option43 field in the message, wherein the field content comprises 8-byte station cloud network special marks (the field can be determined according to actual needs, and can select an encryption mode and an algorithm, and is used for a station level network information server to confirm that the received DHCP message comes from reliable and serviceable equipment), the subsequent field is a 2-byte equipment type mark (the edge all-in-one machine in the embodiment is a character of 'C' or 'I'), and the subsequent 1 byte of the field is a service application type field (0 represents that only an IP address is applied, 1 represents that the IP address is applied while the IP address is also applied, and 2 represents that the IP address is applied while the IP address is also applied while the IP address is applied and multicast management network information) and sends the message to the network after modification is completed;
(2) After receiving the DHCP application message, the station level network information server confirms the existence of an Option43 field, analyzes whether the first 8 bytes are legal and correct station cloud network special marks or not, extracts subsequent 2-byte messages after the analysis is correct (if the analysis is failed, the operation is finished), and confirms whether the IP address of the edge all-in-one machine capable of being served, the IP address application service of the station level management all-in-one machine and the mark bit of the multicast management network information application service are valid or not (if the mark bit is invalid, the operation is finished) if the messages are confirmed to come from the edge all-in-one machine; after the validity is confirmed, extracting a subsequent 1-byte edge all-in-one machine application service type mark;
(3) The station level network information server prepares a DHCP Offer message, adds and sets an Option82 field (if the sign of the type of the service application is 0: the field is empty; if the sign of the type of the service application is 1: the IP address of the cloud platform of the station level management all-in-one machine with 4 bytes; if the sign of the type of the service application is 2: the field is 10 bytes, the first 4 bytes are the IP address of the cloud platform of the station level management all-in-one machine, the subsequent 4 bytes are the multicast IP address of the multicast management network, the subsequent 2 bytes are the multicast management network port information, the subsequent 2 bytes are the broadcast information time interval) according to the sign of the type of the service application of the edge all-in-one machine, and after the setting, the station level network information server replies the message to the edge all-in-one machine.
(4) The edge all-in-one machine obtains the multicast address information by using the DHCP Offer message.
And step 3: the edge all-in-one machine is added into the multicast management network according to the multicast address information;
and 4, step 4: the edge all-in-one machine regularly releases resource and service report information according to the report period (namely broadcast information time interval) of the multicast management network, and caches the resource and service report information; wherein, the resource and service report information includes: basic information, service information, and resource information.
Wherein the basic information includes: the name, the number, the IP information, the physical position information, the software and hardware version and other information and configuration information of the edge all-in-one machine (namely the built-in board card information of the edge all-in-one machine); the service information comprises current computing power service network port information, storage service network port information and network port information of hardware port acquisition service; the resource information includes: the number of data exchange channels, the calculation resource information, the storage resource information, the hardware port and the collectable resource information.
And 5: and the cloud platform of the station level management all-in-one machine receives the resource and service report information and displays the resource and service report information in a visual way.
Referring to fig. 2, based on the automatic networking method for the track transportation all-in-one machine provided by the present application, the present application further provides an automatic networking device for the track transportation all-in-one machine, including: the system comprises a station level management all-in-one machine cloud platform, an edge all-in-one machine multicast management network and a station level network information server.
The station level management all-in-one machine cloud platform is used for collecting station terminal information through an edge all-in-one machine multicast management network; the multicast management system is responsible for managing the multicast management network of the edge all-in-one machine and configuring the network address information and parameters such as information reporting time interval and the like; finishing the function of registering self network information and multicast related parameters to a station level network information server; and the data acquisition and processing module is responsible for issuing data acquisition and processing commands and receiving processing results of the commands.
The edge all-in-one machine is responsible for locally processing each professional data in each rail transit system; the accessed system includes but is not limited to a traffic integrated system, a passenger information system, an automatic fare collection system, a BAS, a FAS, an ACS and other original rail transit professional systems, and only a part of the systems are listed as an example in fig. 2; for the edge all-in-one machine, one professional system can be accessed at a time, and a plurality of professional systems can also be accessed at the same time, and fig. 2 is only used as an example to show the case that each edge all-in-one machine is only accessed to one professional system. Edge all-in-one is the 3U 19 cun machine case pattern in the form, and inside is backplate + plug-in card mode hardware integrated circuit board form, and wherein the hardware integrated circuit board mainly includes calculation integrated circuit board, exchange integrated circuit board, storage integrated circuit board and port integrated circuit board.
The system comprises an edge all-in-one machine multicast management network, a station level management all-in-one machine cloud platform and a service management server, wherein the edge all-in-one machine multicast management network is used for acquiring the resources, services and running states of the station edge all-in-one machine by the station level management all-in-one machine cloud platform, converting user requirements into service commands and issuing the service commands to the edge all-in-one machine through the network; meanwhile, the network is also used for the mutual access of resources and services among the edge all-in-one machines; and the edge all-in-one machine also replies the command processing result of the station level management all-in-one machine through the network.
The station level network information server is responsible for managing the IP address allocation of all the equipment of the station; receiving information such as network address information, edge all-in-one machine multicast management network information, multicast reporting time interval and the like which are registered by a station level management all-in-one machine cloud platform; and the system is responsible for responding to the requests of the cloud platform network address of the edge all-in-one machine query level management and the multicast network information.
Referring to fig. 3, the following briefly describes an automatic resource and service registration process of an intelligent networking and edge integration machine in an automatic networking device of a rail transit integration machine according to the present invention:
1) The station level management all-in-one machine cloud platform applies for an IP address from a station level network information server, completes application of the station level management all-in-one machine cloud platform IP address according to the description principle and the flow in the automatic networking method (namely step 1) of the rail transit all-in-one machine, and completes registration of the station level management all-in-one machine cloud platform IP address information and management multicast network information to the station level network information server, namely (1) (3) in the figure.
2) Synchronizing a cloud platform of the station level management all-in-one machine 1) and establishing a multicast management network (2).
3) After the edge all-in-one machine is powered on, acquiring the IP address information of the cloud platform of the station-level management all-in-one machine and the management multicast network information (4), (5) and (6) according to the flow in the automatic networking method (namely step 2) of the rail transit all-in-one machine;
4) The edge all-in-one machine applies for joining the multicast network (7) according to the multicast address information;
5) The edge all-in-one machine regularly releases self resources and service information according to the multicast management network report period, and receives the resources and information reported by other edge all-in-one machines for caching (8);
6) And the station level management all-in-one machine cloud platform receives and caches the multicast network registration information and the resource and service report information of the edge all-in-one machine, and can generate a system architecture and a resource visualization block diagram (9) of the station according to the resource and service information reported by the edge all-in-one machine.
According to the invention, all edge integrated machines can be automatically connected to the station level management integrated machine cloud platform, so that the whole rail transit integrated machine network can complete automatic networking and resource collection functions.
The invention also provides an automatic networking system of the rail transit all-in-one machine, which comprises the following components:
the registration module is used for the station level management all-in-one machine cloud platform to apply for and register an IP address from the station level network information server and establish a multicast management network according to the registered IP address;
the application module is used for the edge all-in-one machine to apply for an IP address from the station level network information server and register to obtain multicast address information;
the multicast management module is used for the edge all-in-one machine to join the multicast management network according to the multicast address information;
the cache module is used for regularly releasing resource and service report information and caching the resource and service report information by the edge all-in-one machine according to the report period of the multicast management network;
and the visual display module is used for receiving the resource and service report information by the cloud platform of the station-level management all-in-one machine and carrying out visual display on the resource and service report information.
Preferably, the registration module includes:
the message sending unit is used for sending a DHCP Discovery message to the station level network information server by the station level management all-in-one machine cloud platform; an Option43 field is added and set in the DHCP Discovery message, the Option43 field comprises an 8-byte station cloud network special mark, and the subsequent 2 bytes of the Option43 field are cloud platform type marks;
the message analysis unit is used for analyzing the DHCP Discovery message by the station level network information server and judging whether the DHCP Discovery message is legal or not;
the message reply unit is used for replying a DHCP Request message to the station level network information server by the station level management all-in-one machine cloud platform when the DHCP Discovery message is legal; an Option43 field and an Option82 field are added and set in the DHCP Request message, and the Option82 field includes multicast management network information; the multicast management network information comprises a selected IP address, a multicast management network address, port information of a multicast management network and broadcast information time interval information;
the information extraction unit is used for the station level network information server to confirm and analyze whether the Option43 field in the DHCP Request message is legal or not, and when the Option43 field is legal, the information extraction unit extracts the multicast management network information in the Option82 field in the DHCP Request message;
and the networking unit is used for establishing the multicast management network according to the multicast management network information.
Preferably, the message parsing unit includes:
a legal judgment subunit, configured to analyze, by the station level network information server, whether an 8-byte station cloud network special flag in an Option43 field of the DHCP Discovery message is legal;
and the legal message sending subunit is used for extracting the equipment type mark when the 8-byte station cloud network special mark is legal, and sending the DHCP Offer message to the station level management all-in-one machine cloud platform according to the equipment type mark.
Preferably, the application module includes:
the edge all-in-one machine message sending unit is used for sending a DHCP Discovery message to the station level network information server by the edge all-in-one machine; an Option43 field is added and set in the DHCP Discovery message, the Option43 field comprises an 8-byte station cloud network special mark, and the Option43 field is sequentially provided with a 2-byte edge all-in-one machine type mark and a 1-byte service application type field in a follow-up manner;
the message validity judging unit is used for analyzing the DHCP Discovery message by the station level network information server and judging whether the DHCP Discovery message is legal and valid;
the effective reply unit is used for replying a DHCP Offer message to the edge all-in-one machine by the station level network information server according to the service application type field when the DHCP Discovery message is legal and effective;
and the multicast address acquisition unit is used for the edge all-in-one machine to obtain multicast address information according to the DHCP Offer message.
Preferably, the effective reply unit includes:
the effective reply subunit is used for adding and setting an Option82 field into a DHCP Offer message of the edge all-in-one machine according to the service application type field; when the service application type field is 1, adding and setting an Option82 field to the DHCP Offer message, wherein the Option82 field is a station level management all-in-one machine cloud platform IP address of 4 bytes; when the service application type field is 2, the Option82 field is 10 bytes, the first 4 bytes are the cloud platform IP address of the station-level management all-in-one machine, the subsequent 4 bytes are the multicast IP address of the multicast management network, the subsequent 2 bytes are the multicast management network port information, the subsequent 2 bytes are the broadcast information time interval, and when the service application type field is 0, the Option82 field is null.
Compared with the prior art, the beneficial effect of the automatic networking system of the rail transit all-in-one machine provided by the embodiment of the invention is the same as that of the automatic networking method of the rail transit all-in-one machine in the technical scheme, and details are not repeated herein.
The above description is only an embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of changes or substitutions within the technical scope of the present invention, and the present invention shall be covered by the claims. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. An automatic networking method of a rail transit all-in-one machine is characterized by comprising the following steps:
step 1: the station level management all-in-one machine cloud platform applies for an IP address from a station level network information server, registers the IP address and establishes a multicast management network according to the registered IP address;
and 2, step: the edge all-in-one machine applies for an IP address from a station level network information server and registers to obtain multicast address information;
and 3, step 3: the edge all-in-one machine joins the multicast management network according to the multicast address information;
and 4, step 4: the edge all-in-one machine regularly releases resource and service report information according to the report period of the multicast management network, and caches the resource and service report information;
and 5: and the cloud platform of the station-level management all-in-one machine receives the resource and service report information and visually displays the resource and service report information.
2. The automatic networking method of the rail transit all-in-one machine as claimed in claim 1, wherein the step 1: the station level management all-in-one machine cloud platform applies for an IP address to a station level network information server, registers the IP address and establishes a multicast management network according to the registered IP address, and the method comprises the following steps:
step 1.1: the station level management all-in-one machine cloud platform sends a DHCP Discovery message to a station level network information server; an Option43 field is added and set in the DHCP Discovery message, the Option43 field includes an 8-byte station cloud network special mark, and the subsequent 2 bytes of the Option43 field are a cloud platform type mark;
step 1.2: the station level network information server analyzes the DHCP Discovery message and judges whether the DHCP Discovery message is legal or not;
step 1.3: when the DHCP Discovery message is legal, the station level management all-in-one machine cloud platform replies a DHCP Request message to the station level network information server; an Option43 field and an Option82 field are added and set in the DHCP Request message, and the Option82 field includes multicast management network information; the multicast management network information comprises a selected IP address, a multicast management network address, port information of a multicast management network and broadcast information time interval information;
step 1.4: the station level network information server confirms and analyzes whether the Option43 field in the DHCP Request message is legal or not, and when the Option43 field is legal, the multicast management network information in the Option82 field in the DHCP Request message is extracted;
step 1.5: and establishing a multicast management network according to the multicast management network information.
3. The automatic networking method of the rail transit all-in-one machine as claimed in claim 2, wherein the step 1.2: the step of analyzing the DHCP Discovery message and judging whether the DHCP Discovery message is legal by the station level network information server comprises the following steps:
step 1.2.1: the station level network information server analyzes whether the 8-byte station cloud network special mark in the Option43 field of the DHCP Discovery message is legal or not;
step 1.2.2: and when the special mark of the 8-byte station cloud network is legal, extracting the device type mark, and sending the DHCP Offer message to the station-level management all-in-one machine cloud platform according to the device type mark.
4. The automatic networking method of the rail transit all-in-one machine as claimed in claim 1, wherein the step 2: the edge all-in-one machine applies for an IP address from a station level network information server and registers to obtain multicast address information, and the method comprises the following steps:
step 2.1: the edge all-in-one machine sends a DHCP Discovery message to a station level network information server; an Option43 field is added and set in the DHCP Discovery message, the Option43 field comprises an 8-byte station cloud network special mark, and the Option43 field is sequentially provided with a 2-byte edge all-in-one machine type mark and a 1-byte service application type field in a follow-up manner;
step 2.2: the station level network information server analyzes the DHCP Discovery message and judges whether the DHCP Discovery message is legal and effective;
step 2.3: when the DHCP Discovery message is legal and effective, the station level network information server replies a DHCP Offer message to the edge all-in-one machine according to the service application type field;
step 2.4: and the edge all-in-one machine obtains multicast address information according to the DHCP Offer message.
5. The automatic networking method of the rail transit all-in-one machine as claimed in claim 4, wherein the step 2.3: when the DHCP Discovery message is legal and valid, the station level network information server replies a DHCP Offer message to the edge all-in-one machine according to the service application type field, including:
adding and setting an Option82 field into a DHCP Offer message of the edge all-in-one machine according to the service application type field; when the service application type field is 1, adding and setting an Option82 field to the DHCP Offer message, wherein the Option82 field is a station level management all-in-one machine cloud platform IP address with 4 bytes; when the service application type field is 2, the Option82 field is 10 bytes, the first 4 bytes are the cloud platform IP address of the station level management all-in-one machine, the subsequent 4 bytes are the multicast IP address of the multicast management network, the subsequent 2 bytes are the multicast management network port information, the subsequent 2 bytes are the broadcast information time interval, and when the service application type field is 0, the Option82 field is null.
6. The utility model provides a track traffic all-in-one automatic networking system which characterized in that includes:
the registration module is used for the station level management all-in-one machine cloud platform to apply for and register an IP address from the station level network information server and establish a multicast management network according to the registered IP address;
the application module is used for the edge all-in-one machine to apply for an IP address to the station level network information server and register to obtain multicast address information;
the multicast management module is used for the edge all-in-one machine to join the multicast management network according to the multicast address information;
the cache module is used for the edge all-in-one machine to regularly release resource and service report information according to the report period of the multicast management network and cache the resource and service report information;
and the visual display module is used for receiving the resource and service report information by the cloud platform of the station-level management all-in-one machine and carrying out visual display on the resource and service report information.
7. The automatic networking system of the rail transit all-in-one machine as claimed in claim 6, wherein the registration module comprises:
the message sending unit is used for sending a DHCP Discovery message to the station level network information server by the station level management all-in-one machine cloud platform; an Option43 field is added and set in the DHCP Discovery message, the Option43 field includes an 8-byte station cloud network special mark, and the subsequent 2 bytes of the Option43 field are a cloud platform type mark;
the message analysis unit is used for analyzing the DHCP Discovery message by the station level network information server and judging whether the DHCP Discovery message is legal or not;
the message reply unit is used for replying a DHCP Request message to the station level network information server by the station level management all-in-one machine cloud platform when the DHCP Discovery message is legal; an Option43 field and an Option82 field are added and set in the DHCP Request message, and the Option82 field includes multicast management network information; the multicast management network information comprises a selected IP address, a multicast management network address, port information of a multicast management network and broadcast information time interval information;
the information extraction unit is used for the station level network information server to confirm and analyze whether the Option43 field in the DHCP Request message is legal or not, and when the Option43 field is legal, the information extraction unit extracts the multicast management network information in the Option82 field in the DHCP Request message;
and the networking unit is used for establishing the multicast management network according to the multicast management network information.
8. The automatic networking system of the rail transit all-in-one machine of claim 7, wherein the message parsing unit comprises:
the legal judgment subunit is used for the station level network information server to analyze whether the 8-byte station cloud network special mark in the Option43 field of the DHCP Discovery message is legal or not;
and the legal message sending subunit is used for extracting the equipment type mark when the 8-byte station cloud network special mark is legal, and sending the DHCP Offer message to the station level management all-in-one machine cloud platform according to the equipment type mark.
9. The automatic networking system of the rail transit all-in-one machine as claimed in claim 6, wherein the application module comprises:
the edge all-in-one machine message sending unit is used for sending a DHCP Discovery message to the station level network information server by the edge all-in-one machine; an Option43 field is added and set in the DHCP Discovery message, the Option43 field includes an 8-byte station cloud network special mark, and the Option43 field sequentially sets a 2-byte edge all-in-one machine type mark and a 1-byte service application type field in the following;
the message validity judging unit is used for analyzing the DHCP Discovery message by the station level network information server and judging whether the DHCP Discovery message is legal and valid;
the effective reply unit is used for replying a DHCP Offer message to the edge all-in-one machine by the station level network information server according to the service application type field when the DHCP Discovery message is legal and effective;
and the multicast address acquisition unit is used for the edge all-in-one machine to obtain multicast address information according to the DHCP Offer message.
10. The automatic networking system of rail transit all-in-one machine of claim 9, wherein the effective reply unit comprises:
the effective reply subunit is used for adding and setting an Option82 field into a DHCP Offer message of the edge all-in-one machine according to the service application type field; when the service application type field is 1, adding and setting an Option82 field to the DHCP Offer message, wherein the Option82 field is a station level management all-in-one machine cloud platform IP address of 4 bytes; when the service application type field is 2, the Option82 field is 10 bytes, the first 4 bytes are the cloud platform IP address of the station level management all-in-one machine, the subsequent 4 bytes are the multicast IP address of the multicast management network, the subsequent 2 bytes are the multicast management network port information, the subsequent 2 bytes are the broadcast information time interval, and when the service application type field is 0, the Option82 field is null.
CN202210943231.0A 2022-08-08 2022-08-08 Automatic networking method and system for rail transit integrated machine Active CN115242654B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210943231.0A CN115242654B (en) 2022-08-08 2022-08-08 Automatic networking method and system for rail transit integrated machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210943231.0A CN115242654B (en) 2022-08-08 2022-08-08 Automatic networking method and system for rail transit integrated machine

Publications (2)

Publication Number Publication Date
CN115242654A true CN115242654A (en) 2022-10-25
CN115242654B CN115242654B (en) 2023-04-28

Family

ID=83678940

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210943231.0A Active CN115242654B (en) 2022-08-08 2022-08-08 Automatic networking method and system for rail transit integrated machine

Country Status (1)

Country Link
CN (1) CN115242654B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101286887A (en) * 2008-06-12 2008-10-15 杭州华三通信技术有限公司 Method, device and system for realizing terminal registry
CN101951325A (en) * 2010-09-14 2011-01-19 太仓市同维电子有限公司 Network terminal configuration system based on automatic discovery and configuration method thereof
CN102917084A (en) * 2012-10-22 2013-02-06 北京交通大学 Automatic allocation method of IP address of node inside fat tree structure networking data center
CN111147614A (en) * 2019-12-09 2020-05-12 深圳市精一信息科技有限公司 Full-automatic mine network management method and system, intermediate equipment and server thereof
CN114221978A (en) * 2021-11-02 2022-03-22 中国铁道科学研究院集团有限公司电子计算技术研究所 Urban rail transit cloud platform system
WO2022152238A1 (en) * 2021-01-18 2022-07-21 华为技术有限公司 Communication method and communication apparatus

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101286887A (en) * 2008-06-12 2008-10-15 杭州华三通信技术有限公司 Method, device and system for realizing terminal registry
CN101951325A (en) * 2010-09-14 2011-01-19 太仓市同维电子有限公司 Network terminal configuration system based on automatic discovery and configuration method thereof
CN102917084A (en) * 2012-10-22 2013-02-06 北京交通大学 Automatic allocation method of IP address of node inside fat tree structure networking data center
CN111147614A (en) * 2019-12-09 2020-05-12 深圳市精一信息科技有限公司 Full-automatic mine network management method and system, intermediate equipment and server thereof
WO2022152238A1 (en) * 2021-01-18 2022-07-21 华为技术有限公司 Communication method and communication apparatus
CN114221978A (en) * 2021-11-02 2022-03-22 中国铁道科学研究院集团有限公司电子计算技术研究所 Urban rail transit cloud platform system

Also Published As

Publication number Publication date
CN115242654B (en) 2023-04-28

Similar Documents

Publication Publication Date Title
DE112012004330B4 (en) Monitor and control multiple units
CN111586120B (en) Internet of things gateway equipment, data transmission method, storage medium and installation method
CN113066276B (en) Communication fault monitoring method and device for electricity consumption information acquisition system and storage medium
CN102055814B (en) Method for realizing cross-network segment real-time collection
CN111564903A (en) Intelligent distribution transformer terminal, intelligent electric meter access method and distribution Internet of things
CN103795793A (en) Road vehicle monitoring platform system based on double server clusters
CN110443738A (en) Floating population's register method and system and relevant device
CN109819527A (en) A kind of data transmission method, device, equipment and the storage medium of cloud printing
CN103957258B (en) A kind of transregional data communications method and system
CN112654028B (en) Easymesh protocol-based networking management method and system
CN115242654A (en) Automatic networking method and system for rail transit all-in-one machine
CN113437997B (en) Power line carrier communication method, device, equipment and medium
CN115022109A (en) Data management method for intelligent edge all-in-one machine and station cloud system
CN210836296U (en) Electronic invoice anti-repeat reimbursement device
CN109039427B (en) Ship monitoring management device
CN106504540A (en) A kind of analysis method of information of vehicles and device
CN107682846A (en) A kind of shared terminal management method, device, shared terminal and management system
CN101494597B (en) Method, apparatus and system for obtaining network resource configuration information
CN105049302B (en) Household communication system and communication means based on public server
CN100527753C (en) Method and system for transmitting service message of network site
CN101494589B (en) Management system and method for transmission resource
CN111859509A (en) Machine room capacity management system and method based on data center
CN114666313B (en) Parameter acquisition method, server, terminal and readable storage medium
CN108460126A (en) A kind of acquisition methods and device of the daily record of equipment cabinet server unit of memory allocation
CN218996057U (en) Super-projection detection device for shared vehicle

Legal Events

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