CN105763378B - A kind of relayed surveillanced network address distribution method based on passenger information system - Google Patents
A kind of relayed surveillanced network address distribution method based on passenger information system Download PDFInfo
- Publication number
- CN105763378B CN105763378B CN201610219366.7A CN201610219366A CN105763378B CN 105763378 B CN105763378 B CN 105763378B CN 201610219366 A CN201610219366 A CN 201610219366A CN 105763378 B CN105763378 B CN 105763378B
- Authority
- CN
- China
- Prior art keywords
- address
- equipment
- update
- network
- enter step
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 37
- 238000012986 modification Methods 0.000 claims abstract description 46
- 230000004048 modification Effects 0.000 claims abstract description 46
- 230000008859 change Effects 0.000 claims description 55
- 230000000977 initiatory effect Effects 0.000 claims description 33
- GNFTZDOKVXKIBK-UHFFFAOYSA-N 3-(2-methoxyethoxy)benzohydrazide Chemical compound COCCOC1=CC=CC(C(=O)NN)=C1 GNFTZDOKVXKIBK-UHFFFAOYSA-N 0.000 claims description 20
- 230000004044 response Effects 0.000 claims description 16
- 238000009434 installation Methods 0.000 claims description 11
- 238000012360 testing method Methods 0.000 claims description 11
- 238000001514 detection method Methods 0.000 claims description 9
- 238000007689 inspection Methods 0.000 claims description 9
- 230000008569 process Effects 0.000 claims description 7
- 238000012423 maintenance Methods 0.000 claims description 6
- FGUUSXIOTUKUDN-IBGZPJMESA-N C1(=CC=CC=C1)N1C2=C(NC([C@H](C1)NC=1OC(=NN=1)C1=CC=CC=C1)=O)C=CC=C2 Chemical compound C1(=CC=CC=C1)N1C2=C(NC([C@H](C1)NC=1OC(=NN=1)C1=CC=CC=C1)=O)C=CC=C2 FGUUSXIOTUKUDN-IBGZPJMESA-N 0.000 claims description 3
- YTAHJIFKAKIKAV-XNMGPUDCSA-N [(1R)-3-morpholin-4-yl-1-phenylpropyl] N-[(3S)-2-oxo-5-phenyl-1,3-dihydro-1,4-benzodiazepin-3-yl]carbamate Chemical compound O=C1[C@H](N=C(C2=C(N1)C=CC=C2)C1=CC=CC=C1)NC(O[C@H](CCN1CCOCC1)C1=CC=CC=C1)=O YTAHJIFKAKIKAV-XNMGPUDCSA-N 0.000 claims description 3
- 230000003068 static effect Effects 0.000 claims description 3
- 238000010998 test method Methods 0.000 claims 1
- 230000000694 effects Effects 0.000 abstract description 2
- 238000005516 engineering process Methods 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 206010033799 Paralysis Diseases 0.000 description 1
- 230000002159 abnormal effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000011900 installation process Methods 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
- H04L41/082—Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/085—Retrieval of network configuration; Tracking network configuration history
- H04L41/0853—Retrieval of network configuration; Tracking network configuration history by actively collecting configuration information or by backing up configuration information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5007—Internet protocol [IP] addresses
- H04L61/5014—Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephonic Communication Services (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention discloses a kind of relayed surveillanced network address distribution method based on passenger information system, this method is uniformly issued the IP address for the terminal that whole system to be changed by central server each by modification terminal, brings time, manpower, the advantageous effect in quality.On the one hand reduce technical staff to hurry back and forth to scene, coordinate the wasted time;On the other hand, technical staff have to be understood that the network address situation of internal system armamentarium when changing IP, the IP address that an equipment could be changed avoids that IP address conflict is caused to cause the system failure, but easily cause accident since technical staff's work on the spot is cumbersome, so the invention avoids due to network failure caused by technical staff's manual modification, reduce the complexity and failure risk of passenger information system deployment.
Description
Technical field
The present invention relates to a kind of relayed surveillanced network address distribution method based on passenger information system.
Background technology
PIS systems refer to the network technology and multimedia transmission, display technology that metro operation quotient uses mature and reliable, are being referred to
The fixed time, by specified presentation of information to specified crowd.
PIS systems are that set multimedia network technology is with station and vehicle-mounted display terminal using computer system as core
The system that medium provides information service to passenger, makes passenger pass through correct information on services and guides, safely, conveniently take track
Traffic.PIS systems under normal circumstances, provide Passenger Notice, train arrival and leaving time, time-table, manager's bulletin, government
The real-time dynamic multimedia messages such as bulletin, tour reference;Under the abnormal conditions such as fire, obstruction and the attack of terrorism, provide
Dynamic emergency evacuation prompts.In train operation, mobile unit wants real-time reception from the program of ground operation centre, in train vehicle
Audio and video are broadcasted on the display screen of compartment.Simultaneously by monitoring camera in compartment, traveller's situation is monitored, by monitoring video information
It is uploaded to operation centre in real time, the support information as administrative department's safety decision.
With greatly developing for rail traffic, increase sharply using the track number of entry of PIS systems, this relates to PIS systems
A large amount of deployment of system and attended operation.Equipment in PIS systems is with large number of, distributional region is extensive, installation site is inconvenient
The features such as human contact, technical sophistication, therefore it is a large amount of in installation, deployment, operation, maintenance process to occupy technical attendant
Time, and it be easy to cause the various system failures.Especially the deployment maintenance of the network address of equipment is the most cumbersome important.PIS
The basis that the mechanics of communication of system is up, and the network address of equipment is even more the most important thing, going wrong can cause to set
It is standby go offline, the significant troubles such as network paralysis.The handshaking procedures of network are one very long in system installation process, mistake gradually
Journey, therefore current technical attendant needs the equipment room in ceaselessly round-trip strange land to carry out network address deployment maintenance, in order to
This kind of a large amount of, time-consuming, effort manual operations are reduced, the present invention comes into being.
Invention content
For problems of the prior art, the purpose of the present invention is to provide a kind of based on the remote of passenger information system
The problem of journey network address distribution method, this method effectively overcomes background technology.
To achieve the above object, the present invention uses following technical scheme:
A kind of relayed surveillanced network address distribution method based on passenger information system, the relayed surveillanced network address distribution method packet
Include following steps:
1) update initiating equipment is deployed on central server, any position of grid can be accessed;
2) equipment subordinate will be updated in terminal device, and be set as with terminal device starting up;
3) terminal is deployed through Dynamic Host Configuration Protocol server and obtains dynamic IP for the first time in system;
4) the update initiating equipment can be according in the sweep spacing scanning device list specified in configuration file after starting
Armamentarium and update the facility information in list of devices;
It 5) will be in the update to facility information table of new address when the update initiating equipment receives the operation of more new IP address
In " IP after modification " field;
6) the update operation of update initiating equipment is executed;
7) it is updated equipment described in starting, change service and network can be started by, which being updated after equipment starts, detects TCP responses
Service;
8) equipment that is updated receives the network address change order that the update initiating equipment is sent, and according to net
Network address change order executes change operation;
9) equipment that is updated receives network address when the update initiating equipment network detection TCP requests service
Information answer gives update initiating equipment.
Further, the update initiating equipment in step 1) includes:It is operated applied to Windows, Linux or UNIX and is
Application program on system;And the central server in step 1) refers to:Being in message center position can access in system
Each network segment of arbitrary segmentation broadcast domain provides the computer server entity of network service, and the operating system of installation is
One of Windows, Linux or Unix, and this kind of equipment is round-the-clock unlatching in addition to maintenance.
Further, it refers to that installation update controls program and allows appointing for access in network that equipment is updated described in step 2)
A what station terminal equipment, and control program is updated with terminal device starting up.
Further, system terminal has that there are one can be with the initial of unicom central server in installation and deployment in step 3)
Network address, the network address can distribute service by manual setting static network address or by dynamic network address
Device obtains.
Further, step 4) is specially:
It A, will) if list of devices is the empty given address range initialization apparatus list for scanning and using in configuration file
" current IP address " and " IP address after modification " is set as identical value;
B) judge whether working device quantity in configuration file is more than armamentarium sum, more than or equal to then entering step
C), less than entering step D);
C a working device) is created for each equipment in list of devices, creates and completes to enter step E);
D working device) is created according to the scanning work device quantity in configuration file, and is scanning work according to the snakelike method of dividision into groups
The detected equipment of device distribution, creates and completes to enter step E);
E) scanning work device sends ICMP Ping messages to terminal device, detects network-in-dialing state;Follow-on test four times
Can not Ping be logical enters step H), a Ping is logical to enter step F);
F) scanning work device sends TCP detection messages to terminal, obtains terminal device network address information;Continuously perform two
It is secondary, receive response message and enter step G), TCP connection failure or the response for not receiving terminal device enter step H);
G) parse equipment network interface card title, current IP address, MAC Address, working end slogan, gateway address, subnet mask,
Preferred DNS, spare DNS presence informations are simultaneously updated to facility information table;It executes and completes to enter step H);
H) terminate this network sweep flow;
Wherein, the configuration file of the update initiating equipment in step 4) includes at least following field:
Terminal works port numbers, network sweep interval, scanning work device quantity, update working device quantity, update working device
The temporary ip address and address scan range used;
The facility information in list of devices in step 4) includes at least following field:
IP address, MAC Address, working end slogan, gateway after device numbering, network interface card title, current IP address, modification
Location, subnet mask, presence, modification state and the last modification time.
Further, step 5) is specially:
I it) detects " IP address after the modification " field of armamentarium and to change IP address whether there is or not repetition, nothing thens follow the steps
J), K is thened follow the steps);
J) update is by " IP address after modification " field in modification facility information table;
K modification) is reminded, executes I after modification again), otherwise exit update operation.
Further, step 6) is specially:
A) " current IP address " and " modification of each record are judged according to sequence from top to bottom from facility information table
Whether IP address afterwards " field is consistent, inconsistent to enter step b), unanimously enters step c);
B) facility information is stored in change IP device list, creates and completes to enter step c);
C) step a) is repeated until list of devices the last item enters step d);
D) judge whether the update working device quantity in configuration file is more than change IP device list total, be greater than or equal to
It then enters step e), less than entering step f);
E) it is that each record in change IP device list creates a update working device and to give its a set of vacant
Temporary address, execute complete enter step g);
F) working device is created according to the update working device number in configuration file, it is a set of not for each update working device distribution
The temporary ip address of occupancy and according to the snakelike method of dividision into groups be worker thread distributing altering equipment, execute complete enter step g);
G) update working device judges change mode, to currently changing " IP after the modification " field of equipment i in change IP device
Carry out searching whether the equipment x of equal " current IP " field in list, "Yes" then enters step h), and "No" then enters step
I), M is entered step after update working device has executed whole tasks);
H) TCP notifies that x equipment changings address is the temporary ip address for updating working device and possessing, successfully modified to enter step
I), next equipment that is updated otherwise is obtained to enter step g);
I) update working device receive x equipment changings success after again TCP notify i equipment changing IP address, it is successfully modified after will
The information of equipment i is deleted from change IP device list;It runs succeeded and enters step j), otherwise obtain and next be updated equipment
It enters step g);
J) update working device receives i equipment changing Cheng Houzai TCP notice x equipment changing IP address, will be set after successfully modified
The information of standby i is deleted from change IP device list;Run succeeded and enter step k), otherwise obtain it is next be updated equipment into
Enter step g);
K) update working device withdraws temporary ip address, enters step g);
L) it notifies i equipment changing IP address, deletes the information of equipment i from change IP device list after successfully modified;
Subsequently into step g);
M) terminate this update operating process;
Wherein change IP device list is described as follows:
The field of this table is as the field information of list of devices, but this table only preserves the information for needing equipment to be changed;
TCP notices should include at least following information:
Device numbering, network interface card title, the IP address to be changed, subnet mask, gateway address.
Further, step 8) is specially:
L) backup current device network address data, subsequently into step M);
M) it will be updated this newer equipment of new network address data that equipment is sent, subsequently into step N);
N ICMP Ping inspection centers server connection state, test crash) is used to enter step O), it is successfully tested entrance
Step S);
O) data of backup are restored in current device network address, enter step P);
P ICMP Ping inspection centers server connection state, test crash) is used to enter step Q), it is successfully tested entrance
Step S);
Q) setting the machine obtains dynamic network address, is arranged and successfully enters step R), setup failed enters step S);
R ICMP Ping inspection centers server connection state) is used, is successfully tested, enters step S), test crash is then
Enter step T);
S change) is returned as a result, subsequently into step T to equipment is updated using TCP modes);
T) change operation terminates.
Further, response should include at least following information to the response content of update initiating equipment in step 9):
Device numbering, network interface card title, current IP address, MAC Address, working end slogan, gateway address and subnet mask.
The present invention has the following advantages:
The present invention each is changed the IP address for the terminal that whole system to be changed by what central server uniformly issued
Terminal brings time, manpower, the advantageous effect in quality.It is mainly manifested in two aspects:On the one hand reduce technical staff to now
It hurries back and forth, coordinate the wasted time in field.Original technical staff will complete terminal device IP address modification and mainly take live modification
The time of mode, such technical staff is just mainly wasted in back and forth on the way and in the cumbersome flow of entrance computer room, and secondary invention just saves
The time of a large amount of technical staff is saved.On the other hand, technical staff have to be understood that internal system is all set when changing IP
Standby network address situation, the IP address that could change an equipment avoid causing IP address conflict from causing the system failure, but by
Accident is easily caused in technical staff's work on the spot is cumbersome, so secondary invention is avoided since technical staff's manual modification causes
Network failure, reduce passenger information system deployment complexity and failure risk.
Description of the drawings
Fig. 1 be the present invention be changed equipment flowsheet;
Fig. 2 is the change initiating equipment flow chart of the present invention;
Fig. 3 is the network address scanning process flow chart of the present invention;
Fig. 4 is the change operation procedure Procedure figure of the present invention.
Specific implementation mode
In the following, refer to the attached drawing, makes a more thorough explanation the present invention, shown in the drawings of the exemplary implementation of the present invention
Example.However, the present invention can be presented as a variety of different forms, it is not construed as the exemplary implementation for being confined to describe here
Example.And these embodiments are to provide, it is of the invention full and complete to make, and will fully convey the scope of the invention to this
The those of ordinary skill in field.
As shown in Figs 1-4, a kind of relayed surveillanced network address distribution method based on passenger information system of the application, it is described long-range
Network address distribution method includes the following steps:
1) update initiating equipment is deployed on central server, any position of grid can be accessed;
2) equipment subordinate will be updated in terminal device, and be set as with terminal device starting up;
3) terminal is deployed through Dynamic Host Configuration Protocol server and obtains dynamic IP for the first time in system;
4) the update initiating equipment can be according in the sweep spacing scanning device list specified in configuration file after starting
Armamentarium and update the facility information in list of devices;
It 5) will be in the update to facility information table of new address when the update initiating equipment receives the operation of more new IP address
In " IP after modification " field;
6) the update operation of update initiating equipment is executed;
7) it is updated equipment described in starting, change service and network can be started by, which being updated after equipment starts, detects TCP responses
Service;
8) equipment that is updated receives the network address change order that the update initiating equipment is sent, and according to net
Network address change order executes change operation;
9) equipment that is updated receives network address when the update initiating equipment network detection TCP requests service
Information answer gives update initiating equipment.
The update initiating equipment in step 1) includes:Applied on Windows, Linux or UNIX operating system
Application program;And the central server in step 1) refers to:It is in message center position and can access in system and arbitrarily divide
Cut broadcast domain each network segment provide network service computer server entity, installation operating system be Windows,
One of Linux or Unix, and this kind of equipment is round-the-clock unlatching in addition to maintenance.
It refers to that installation update controls program and allows any one of access in network that equipment is updated described in step 2)
Terminal device, and control program is updated with terminal device starting up.
System terminal has in installation and deployment there are one can with the initial network of unicom central server in step 3)
Location, the network address can be obtained by manual setting static network address or by dynamic network address distribution server
.
Step 4) is specially:
It A, will) if list of devices is the empty given address range initialization apparatus list for scanning and using in configuration file
" current IP address " and " IP address after modification " is set as identical value;
B) judge whether working device (can be a thread or a process) quantity in configuration file is more than all
Equipment sum, more than or equal to then entering step C), less than entering step D);
C a working device) is created for each equipment in list of devices, creates and completes to enter step E);
D working device) is created according to the scanning work device quantity in configuration file, and (is used herein as according to the snakelike method of dividision into groups
But it is not limited to that the group technology is used only) it is the detected equipment of scanning work device distribution, create and complete to enter step E);
E) scanning work device sends ICMP Ping messages to terminal device, detects network-in-dialing state;Follow-on test four times
Can not Ping be logical enters step H), a Ping is logical to enter step F);
F) scanning work device sends TCP detection messages to terminal, obtains terminal device network address information;Continuously perform two
It is secondary, receive response message and enter step G), TCP connection failure or the response for not receiving terminal device enter step H);
G) parse equipment network interface card title, current IP address, MAC Address, working end slogan, gateway address, subnet mask,
Preferred DNS, spare DNS presence informations are simultaneously updated to facility information table;It executes and completes to enter step H);
H) terminate this network sweep flow;
Wherein, the configuration file of the update initiating equipment in step 4) includes at least following field:
Terminal works port numbers, network sweep interval (millisecond), scanning work device quantity, update working device quantity, update
The temporary ip address (corresponding with update working device quantity, it is a set of often to update working device) and address scan range that working device uses;
The facility information in list of devices in step 4) includes at least following field:
IP address, MAC Address, working end slogan, gateway after device numbering, network interface card title, current IP address, modification
Location, subnet mask, presence, modification state and the last modification time.
Step 5) is specially:
I it) detects " IP address after the modification " field of armamentarium and to change IP address whether there is or not repetition, nothing thens follow the steps
J), K is thened follow the steps);
J) update is by " IP address after modification " field in modification facility information table;
K modification) is reminded, executes I after modification again), otherwise exit update operation.
Step 6) is specially:
A) " current IP address " and " modification of each record are judged according to sequence from top to bottom from facility information table
Whether IP address afterwards " field is consistent, inconsistent to enter step b), unanimously enters step c);
B) facility information is stored in change IP device list, creates and completes to enter step c);
C) step a) is repeated until list of devices the last item enters step d);
D) judge whether the update working device quantity in configuration file is more than change IP device list total, be greater than or equal to
It then enters step e), less than entering step f);
E) it is that each record in change IP device list creates a update working device and to give its a set of vacant
Temporary address, execute complete enter step g);
F) working device is created according to the update working device number in configuration file, it is a set of not for each update working device distribution
The temporary ip address of occupancy and according to the snakelike method of dividision into groups be worker thread distributing altering equipment, execute complete enter step g);
G) update working device judges change mode, to currently changing " IP after the modification " field of equipment i in change IP device
Carry out searching whether the equipment x of equal " current IP " field in list, "Yes" then enters step h), and "No" then enters step
I), M is entered step after update working device has executed whole tasks);
H) TCP notifies that x equipment changings address is the temporary ip address for updating working device and possessing, successfully modified to enter step
I), next equipment that is updated otherwise is obtained to enter step g);
I) update working device receive x equipment changings success after again TCP notify i equipment changing IP address, it is successfully modified after will
The information of equipment i is deleted from change IP device list;It runs succeeded and enters step j), otherwise obtain and next be updated equipment
It enters step g);
J) update working device receives i equipment changing Cheng Houzai TCP notice x equipment changing IP address, will be set after successfully modified
The information of standby i is deleted from change IP device list;Run succeeded and enter step k), otherwise obtain it is next be updated equipment into
Enter step g);
K) update working device withdraws temporary ip address, enters step g);
L) it notifies i equipment changing IP address, deletes the information of equipment i from change IP device list after successfully modified;
Subsequently into step g);
M) terminate this update operating process;
Wherein change IP device list is described as follows:
The field of this table is as the field information of list of devices, but this table only preserves the information for needing equipment to be changed;
TCP notices should include at least following information:
Device numbering, network interface card title, the IP address to be changed, subnet mask, gateway address.
Step 8) is specially:
L) backup current device network address data, subsequently into step M);
M) it will be updated this newer equipment of new network address data that equipment is sent, subsequently into step N);
N ICMP Ping inspection centers server connection state, test crash) is used to enter step O), it is successfully tested entrance
Step S);
O) data of backup are restored in current device network address, enter step P);
P ICMP Ping inspection centers server connection state, test crash) is used to enter step Q), it is successfully tested entrance
Step S);
Q) setting the machine obtains dynamic network address, is arranged and successfully enters step R), setup failed enters step S);
R ICMP Ping inspection centers server connection state) is used, is successfully tested, enters step S), test crash is then
Enter step T);
S change) is returned as a result, subsequently into step T to equipment is updated using TCP modes);
T) change operation terminates.
Response should include at least following information to the response content of update initiating equipment in step 9):
Device numbering, network interface card title, current IP address, MAC Address, working end slogan, gateway address and subnet mask.
Below by specific example, the invention will be further described:
1. initial environment
It disposes Dynamic Host Configuration Protocol server and distributes address 10.10.0.0 to 10.10.0.10;Subnet mask 255.0.0.0;
Gateway address 10.10.0.254
Update initiating equipment configuration file content:
Terminal works port numbers:50000;Server-side working end slogan:50000;Network sweep interval (millisecond):60*
1000;Scanning work device quantity:2;Update working device quantity:2
The temporary ip address that update working device uses:
Temporary ip address 1:10.10.0.200 subnet mask:255.0.0.0, gateway address:10.10.0.254.
Temporary ip address 2:110.10.0.201, subnet mask:255.0.0.0, gateway address:10.10.0.254.
Dynamic Host Configuration Protocol server distributes address range:10.10.0.0-10.10.0.5
It is updated 1 information of equipment:
Network interface card title:The addresses NIC1IP:10.10.0.1;Net mask 255.0.0.0;Gateway address 10.10.0.254
MAC Address:00-00-00-EF-CD-01
Configuration file content:Device numbering TS000001 numbered terminals working end slogan 50000;
It is updated 2 information of equipment:
Network interface card title:The addresses NIC2IP:10.10.0.2;Net mask 255.0.0.0;Gateway address 10.10.0.254
MAC Address 00-00-00-EF-CD-02
Configuration file content:Device numbering TS000002 numbered terminals working end slogan 50000;
It is updated 3 information of equipment:
Network interface card title:The addresses NIC3IP:10.10.0.3;Net mask 255.0.0.0;Gateway address 10.10.0.254
MAC Address 00-00-00-EF-CD-03
Configuration file content:Device numbering TS000003 numbered terminals working end slogan 50000;
Update list of devices initial content (being obtained from configuration file):
2. network sweep
Update initiating equipment carries out the 1st network sweep after starting, since scanning work device quantity 2 is less than number of devices 5,
So it is as follows to distribute task to working device 1,2:1 scanning device 1 of working device, equipment 3, equipment 5;2 scanning device of scanning work device
2, equipment 4;Scanning work device 1 starts 4 Ping 10.10.0.1 of the transmission of scanning device 1 and is connected to, then to equipment 1 after supervention
TCP detection messages are sent, the TCP response messages of equipment 1 are had successfully received and change update equipment list corresponding data, it is as follows:
Scanning work device 1 starts scanning device 3, as a result with equipment 1.Scanning work device 1 starts scanning device 5, sends 4 times
Ping 10.10.0.1 are obstructed, terminate scanning.Scanning work device 2 is the same as 1 process of scanning work device.Update after scanning for the first time
List of devices content is as follows:
3. changing the addresses equipment 1IP
The IP address of equipment 1 is revised as 10.11.0.1, detects " IP address after modification " field Lothrus apterus in list, update
" IP address after modification " field, such as following table of equipment 1:
From facility information table according to sequence from top to bottom judge each record " current IP address " and " after modification
Whether IP address " field is consistent, detects that IP device list, such as following table are changed in 1 inconsistent write-in of equipment:
Since update working device quantity is 2, and it is 1 to change the equipment in IP device list, so update operation only uses
One update working device 1 carrys out more new equipment 1.
Update working device 1 judges change mode, is carried out in changing IP device list to " IP after modification " of current device 1
Lookup is inequal " current IP " equipment, so it is as follows directly to send update order and data to equipment 1:
UpDate, equipment 1, NIC1,10.11.0.1,255.0.0.0,10.10.0.254
It is updated equipment 1 and receives TCP to order and data, backup present network address information first is as follows:
The addresses NIC1IP:10.10.0.1;Net mask 255.0.0.0;Gateway address 10.10.0.254;MAC Address 00-
00-00-EF-CD-01
Then as follows according to the new data modification network address information received:
The addresses NIC1IP:10.11.0.1;Net mask 255.0.0.0;Gateway address 10.10.0.254;MAC Address 00-
00-00-EF-CD-01
Network detection is carried out after successfully modified, continuous 4 Ping 10.10.0.254 connections are sent to update working device 1
TCP message OK is informed successfully modified.
Update working device 1 receive " OK " instruction after, from change IP device list in 1 information of sweep equipment and terminate update behaviour
Make.
Scanning work device 1 was every 1 minute run-down.After being updated successfully, scanning work device 1 updates list of devices such as
Under:
It is described above simply to illustrate that of the invention, it is understood that the present invention is not limited to the above embodiments, meets
The various variants of inventive concept are within protection scope of the present invention.
Claims (9)
1. a kind of relayed surveillanced network address distribution method based on passenger information system, which is characterized in that the relayed surveillanced network address
Distribution method includes the following steps:
1)Update initiating equipment is deployed on central server, any position of grid can be accessed;
2)Equipment subordinate will be updated in terminal device, and be set as with terminal device starting up;
3)Terminal is deployed through Dynamic Host Configuration Protocol server and obtains dynamic IP for the first time in system;
4)The update initiating equipment can be according to complete in the sweep spacing scanning device list specified in configuration file after starting
Portion's equipment simultaneously updates the facility information in list of devices;
5)When the update initiating equipment receives the operation of more new IP address by the new address update to " modification in facility information table
Afterwards in IP " fields;
6)Execute the update operation of update initiating equipment;
7)Equipment is updated described in startup, change service and network detection TCP answer services can be started by being updated after equipment starts;
8)The equipment that is updated receives the network address change order that the update initiating equipment is sent, and according to network
Location change order executes change operation;
9)The equipment that is updated receives network address information when the update initiating equipment network detection TCP requests service
Update initiating equipment is given in response.
2. the relayed surveillanced network address distribution method according to claim 1 based on passenger information system, which is characterized in that step
Rapid 1)In the update initiating equipment include:Applied to the application program on Windows, Linux or UNIX operating system;
And step 1)In the central server refer to:It is in message center position and can access and arbitrarily divide broadcast domain in system
Each network segment provide network service computer server entity, installation operating system be Windows, Linux or Unix
One of them, and this kind of equipment is round-the-clock unlatching in addition to maintenance.
3. the relayed surveillanced network address distribution method according to claim 1 based on passenger information system, which is characterized in that step
Rapid 2)Described in be updated equipment refer in network installation update control program and allow access any station terminal equipment, and
And update control program is with terminal device starting up.
4. the relayed surveillanced network address distribution method according to claim 1 based on passenger information system, which is characterized in that step
Rapid 3)Middle system terminal has in installation and deployment there are one can be with the initial network address of unicom central server, the network
Address is obtained by manual setting static network address or by dynamic network address distribution server.
5. the relayed surveillanced network address distribution method according to claim 1 based on passenger information system, which is characterized in that step
Rapid 4)Specially:
A) if list of devices is the empty given address range initialization apparatus list for scanning and using in configuration file, will " when
Preceding IP address " and " IP address after modification " are set as identical value;
B)Judge whether working device quantity in configuration file is more than armamentarium sum, more than or equal to then entering step C),
Less than entering step D);
C)A working device is created for each equipment in list of devices, creates and completes to enter step E);
D)Working device is created according to the scanning work device quantity in configuration file, and is scanning work device point according to the snakelike method of dividision into groups
It with detected equipment, creates and completes to enter step E);
E) scanning work device sends ICMP Ping messages to terminal device, detects network-in-dialing state;Four nothings of follow-on test
Method Ping is logical to enter step H), a Ping is logical to enter step F);
F) scanning work device sends TCP detection messages to terminal, obtains terminal device network address information;It continuously performs twice,
It receives response message and enters step G), TCP connection failure or the response for not receiving terminal device enter step H);
G) parse equipment network interface card title, current IP address, MAC Address, working end slogan, gateway address, subnet mask,
Preferred DNS, spare DNS presence informations are simultaneously updated to facility information table;It executes and completes to enter step H);
H) terminate this network sweep flow;
Wherein, step 4)In the update initiating equipment configuration file include at least following field:
Terminal works port numbers, network sweep interval, scanning work device quantity, update working device quantity, update working device use
Temporary ip address and address scan range;
Step 4)In list of devices in facility information include at least following field:
IP address, MAC Address, working end slogan, gateway address, son after device numbering, network interface card title, current IP address, modification
Net mask, presence, modification state and the last modification time.
6. the relayed surveillanced network address distribution method according to claim 1 based on passenger information system, which is characterized in that step
Rapid 5)Specially:
I) detect " IP address after the modification " field of armamentarium and to change IP address whether there is or not repetition, nothing thens follow the steps J),
Then follow the steps K);
J) update is by " IP address after modification " field in modification facility information table;
K modification) is reminded, executes I after modification again), otherwise exit update operation.
7. the relayed surveillanced network address distribution method according to claim 1 based on passenger information system, which is characterized in that step
Rapid 6)Specially:
a)" current IP address " and " IP after modification of each record are judged according to sequence from top to bottom from facility information table
Whether address " field is consistent, inconsistent to enter step b), unanimously enter step c);
b)Facility information is stored in change IP device list, creates and completes to enter step c);
c)Step a) is repeated until list of devices the last item enters step d);
D) judge whether the update working device quantity in configuration file is more than change IP device list total, be greater than or equal to then
Enter step e), less than entering step f);
E) it is that each record in change IP device list creates a update working device and gives its and a set of unappropriated faces
When address, execute complete enter step g);
F) working device is created according to the update working device number in configuration file, a set of is not accounted for for each update working device distribution
Temporary ip address and be worker thread distributing altering equipment according to the snakelike method of dividision into groups executes and completes to enter step g);
G) update working device judges change mode, to currently changing " IP after the modification " field of equipment i in change IP device row
Carry out searching whether the equipment x of equal " current IP " field in table, "Yes" then enters step h), and "No" then enters step
i), M is entered step after update working device has executed whole tasks);
H) TCP notifies that x equipment changings address is the temporary ip address for updating working device and possessing, successfully modified to enter step i), no
Next equipment that is updated then is obtained to enter step g);
i)Update working device receive x equipment changings success after again TCP notify i equipment changing IP address, will be set after successfully modified
The information of standby i is deleted from change IP device list;It runs succeeded and enters step j), otherwise obtain and next be updated equipment
It enters step g);
j)Update working device receives i equipment changing Cheng Houzai TCP notice x equipment changing IP address, it is successfully modified after by equipment i's
Information is deleted from change IP device list;It runs succeeded and enters step k), otherwise obtain next equipment that is updated and enter step
It is rapid g);
k)It updates working device and withdraws temporary ip address, enter step g);
l)It notifies i equipment changing IP address, deletes the information of equipment i from change IP device list after successfully modified;Then
Enter step g);
M) terminate this update operating process;
Wherein change IP device list is described as follows:
The field of this table is as the field information of list of devices, but this table only preserves the information for needing equipment to be changed;
TCP notices should include at least following information:
Device numbering, network interface card title, the IP address to be changed, subnet mask, gateway address.
8. the relayed surveillanced network address distribution method according to claim 1 based on passenger information system, which is characterized in that step
Rapid 8)Specially:
L) backup current device network address data, subsequently into step M);
M) it will be updated this newer equipment of new network address data that equipment is sent, subsequently into step N);
N ICMP Ping inspection centers server connection state, test crash) is used to enter step O), it is successfully tested into step
Rapid S);
O) data of backup are restored in current device network address, enter step P);
P ICMP Ping inspection centers server connection state, test crash) is used to enter step Q), it is successfully tested into step
Rapid S);
Q) setting the machine obtains dynamic network address, is arranged and successfully enters step R), setup failed enters step S);
R) use ICMP Ping inspection centers server connection state, be successfully tested, enter step S), test crash then into
Enter step T);
S) change is returned as a result, subsequently into step T to equipment is updated using TCP modes);
T)Change operation terminates.
9. the relayed surveillanced network address distribution method according to claim 1 based on passenger information system, which is characterized in that step
Rapid 9)Middle response should include at least following information to the response content of update initiating equipment:
Device numbering, network interface card title, current IP address, MAC Address, working end slogan, gateway address and subnet mask.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610219366.7A CN105763378B (en) | 2016-04-11 | 2016-04-11 | A kind of relayed surveillanced network address distribution method based on passenger information system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610219366.7A CN105763378B (en) | 2016-04-11 | 2016-04-11 | A kind of relayed surveillanced network address distribution method based on passenger information system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105763378A CN105763378A (en) | 2016-07-13 |
CN105763378B true CN105763378B (en) | 2018-09-07 |
Family
ID=56333648
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610219366.7A Active CN105763378B (en) | 2016-04-11 | 2016-04-11 | A kind of relayed surveillanced network address distribution method based on passenger information system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105763378B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107390651A (en) * | 2017-07-11 | 2017-11-24 | 北京佳讯飞鸿技术有限公司 | A kind of SCADA system concentrates retrieval and amending method |
CN109996250A (en) * | 2017-12-29 | 2019-07-09 | 洛阳中科晶上智能装备科技有限公司 | The method for detecting TCP connection state |
CN110831058A (en) * | 2018-08-08 | 2020-02-21 | 成都鼎桥通信技术有限公司 | PIS data transmission method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101764709A (en) * | 2009-12-29 | 2010-06-30 | 福建星网锐捷网络有限公司 | Network physical topology discovering method and network management server based on SNMP |
CN102273179A (en) * | 2011-06-23 | 2011-12-07 | 华为终端有限公司 | A terminal batch upgrade method and device |
CN102882733A (en) * | 2012-10-24 | 2013-01-16 | 广东天波信息技术股份有限公司 | WEB webmaster method realized by penetrating through NAT (Network Address Translation) equipment |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8125999B2 (en) * | 2008-05-30 | 2012-02-28 | At&T Intellectual Property I, L.P. | Systems and methods to minimize customer equipment downtime in a voice over internet protocol (VOIP) service network |
-
2016
- 2016-04-11 CN CN201610219366.7A patent/CN105763378B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101764709A (en) * | 2009-12-29 | 2010-06-30 | 福建星网锐捷网络有限公司 | Network physical topology discovering method and network management server based on SNMP |
CN102273179A (en) * | 2011-06-23 | 2011-12-07 | 华为终端有限公司 | A terminal batch upgrade method and device |
CN102882733A (en) * | 2012-10-24 | 2013-01-16 | 广东天波信息技术股份有限公司 | WEB webmaster method realized by penetrating through NAT (Network Address Translation) equipment |
Also Published As
Publication number | Publication date |
---|---|
CN105763378A (en) | 2016-07-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2497296C2 (en) | System for communication between aircraft-based computer network and ground-based computer network | |
CN105763378B (en) | A kind of relayed surveillanced network address distribution method based on passenger information system | |
US9137135B2 (en) | Selective IP address allocation for probes that do not have assigned IP addresses | |
US20110286464A1 (en) | Train communication system and train communication method | |
CN106774078A (en) | A kind of parking lot intelligent management, equipment and system | |
CN105429905A (en) | Method, device and system for monitoring advertisement putting terminal | |
CN104469181B (en) | Audio and video matrix switch method based on PIS | |
WO2011000627A1 (en) | Communication network and method for safety-related communication in tunnel and mining structures | |
CN105477817A (en) | Fire fighting rescue assigning method and device | |
CN110445697B (en) | Video big data cloud platform equipment access service method | |
CN109218409A (en) | Intelligent network connection automotive test monitoring and management platform based on broadband mobile internet | |
CN112208587B (en) | Simulation system and simulation method for CBTC non-signal system | |
CN101459810B (en) | Information display system | |
CN102594839A (en) | Method for distinguishing pseudo dynamic host configuration protocol (DHCP) servers and switchboards | |
CN105527909A (en) | Data monitoring device, data monitoring method and monitoring system | |
CN203204332U (en) | Train controlling and monitoring system-based broadcast simulation debugging system | |
CN113485435B (en) | Heterogeneous multi-unmanned aerial vehicle monitoring system and method | |
CN108337692A (en) | Management method, device and the computer readable storage medium of terminal and management base station communication failure | |
CN111583441A (en) | Cognitive WiFi system and method for real-time video monitoring of passenger car | |
CN107995641B (en) | Management method, device and the computer readable storage medium of terminal and real-time base station communication failure | |
CN114428451A (en) | Method for switching external communication permission of redundant communication module | |
CN116095888B (en) | Emergency control methods, systems, equipment and media for highway tunnel inspection robots | |
CN104915366A (en) | A method for collecting information pertaining to an audio notification system | |
JP2017017577A (en) | Connection information collating device | |
CN114172813B (en) | Method and device for drawing network topology graph |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |