CN104468290B - A kind of network-building method and device of chain communication network - Google Patents
A kind of network-building method and device of chain communication network Download PDFInfo
- Publication number
- CN104468290B CN104468290B CN201410574025.2A CN201410574025A CN104468290B CN 104468290 B CN104468290 B CN 104468290B CN 201410574025 A CN201410574025 A CN 201410574025A CN 104468290 B CN104468290 B CN 104468290B
- Authority
- CN
- China
- Prior art keywords
- chain
- equipment
- inventory
- network
- address
- 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
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/50—Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate
Landscapes
- Small-Scale Networks (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention relates to a kind of network-building methods of chain communication network, include the following steps:Judge whether to receive the data that the network element in chain communication network is sent, if so, performing next step;Otherwise, this step is repeated;Its device type and address are obtained in the information sent in the network element, and judge the network element whether first-in-chain(FIC) equipment, if so, recording its device address to the first inventory of blank, be then back to beginning step;Otherwise, current first inventory is sent to the communication network unit;The address of the unit is recorded in first position of first inventory, the data content sequence in first inventory is moved down;It is then back to beginning step.The invention further relates to a kind of devices for realizing the above method.Implement the network-building method and device of a kind of chain communication network of the present invention, have the advantages that:Its mobile unit is relatively simple, information transfer efficiency is higher, power consumption is smaller.
Description
Technical field
The present invention relates to the field of data transmission between rail vehicle, more specifically to a kind of chain communication network
Network-building method and device.
Background technology
Under normal circumstances, each node of a self-organizing network is unknown each other, is if desired completed using the network
The interaction of information, firstly the need of by the interaction of information, the transmission of data determine available communication lines by.Traditional method can
To cause the communication node information around it of knowing of a certain communication node active using the technologies such as sniff, each node is known and only
Know the nodal information in its communication range.When there is new node to be linked into network, it can similarly know and be saved around it
The information of point becomes available communication node to incorporate in the network.In above-mentioned carry out information exchange, interaction initiator is led to
Letter node need to spread out communication requirement by the node of surrounding with determine the communication lines of available arrival destination node by,
After routeing the relay forwarding of upper each communication node, it is finally completed the information exchange with destination node.The shortcomings that this method
It is that, when network size gradually expands, the dispersal behavior to determine to perform required for routing will bring very big delay and volume
Outer node power consumption, the transmission efficiency of information is very low, bandwidth availability ratio very little.
Communication between traditional goods train vehicle is also such.In the prior art, if in each lorry vehicle
A kind of communication equipment of installation on(Such as sensor tag)Afterwards, after the completion of rows of vehicles are organized into groups in marshalling yard, all volumes
The communication equipment on vehicle in group is unknown each other, including its adjacent device address, tandem etc..In train
Zhongdao solves editorial afterword, and vehicle is separated from each other and respectively performs different operations, such as handling goods, marshalling, repair again.Or it is
Train is organized into groups again after reaching a certain station so that the vehicle for forming the train changes.In this way, it is completed from marshalling
In this period compiled to solution, have a kind of provisional membership credentials in marshalling between each communication equipment of vehicle.If use vehicle
When communication equipment completes the transmission and interaction of certain data, information, traditional method needs communication equipment on vehicle actively
Interaction is initiated, mutually obtains neighbor node information, is finally reached the purpose of networking, this is that needs support multiple with vehicular communication equipment
Miscellaneous interaction protocol bears larger equipment power dissipation as cost.Therefore, its vehicle is caused using the communication between the vehicle of traditional technology
Load equipment is complex, information transmission efficiency is relatively low, power consumption is larger.
Invention content
The technical problem to be solved in the present invention is, complex, information for the above-mentioned mobile unit of the prior art
The defects of transmission efficiency is relatively low, power consumption is larger, provide a kind of mobile unit is relatively simple, information transfer efficiency is higher, power consumption compared with
The network-building method and device of a kind of small chain communication network.
The technical solution adopted by the present invention to solve the technical problems is:Construct a kind of networking side of chain communication network
Method, the chain communication network include carry respectively different labels first-in-chain(FIC) equipment and last-of-chain equipment and it is multiple successively
Communication equipment between the first-in-chain(FIC) equipment and last-of-chain equipment, to be respectively provided with different address, in chain communication network
The position that all units are arranged according to it, headed by the first-in-chain(FIC) equipment, successively with by chain grid cell into
Row information interaction and by currently by network element information be sent to by network element routing set equipment;
Described method includes following steps:
A)Judge whether to receive the data that the network element in chain communication network is sent, if so, performing next step;
Otherwise, this step is repeated;
B)Its device type and address are obtained in the information sent in the network element, and judges that the network element is
No first-in-chain(FIC) equipment, if so, performing step C);Otherwise, step D is performed);
C)Its device address is recorded to the first inventory of blank, is then back to step A);
D)Current first inventory is sent to the communication network unit;The address of the unit is recorded in first inventory
First position, by first inventory data content sequence move down;
E)Return to step A).
Further, the step D)In, further include following steps:The network element receives the routing setting
After the first inventory that equipment is sent, stored as routing table;The network element is when carrying out network communication according to institute
Its address of the sequential selection of routing table from top to bottom is stated as default address.
Further, the network element is provided in the electronic identification label on each compartment of train, and the first-in-chain(FIC) is set
The standby row head equipment being provided in train head, the last-of-chain equipment are provided in the Train End Equipment of last vehicle of train.
Further, the step C)In further include following steps:It is clear to described first in record first-in-chain(FIC) device address
Before list, first inventory is formatted, so that it becomes blank.
Further, the step D)Further comprise following steps:
D1)The data with existing content of current first inventory is moved integrally into address to the rear of the inventory or lower section
Distance makes its inventory starting position vacate the memory space that can accommodate a device address data;
D2)Currently available device address is recorded the above-mentioned of the first inventory to vacate in space, obtains new work as
Preceding first inventory.
Further, the chain grid cell such as found in communication process its route inventory in address not
During response, which is route by it in inventory and deletes or is unreachable to the address mark for routing.
Further, the routing device is multiple, and the multiple routing device is separately positioned on the field of different location
Stop rail side;The train refreshes its routing table again when setting equipment by a routing every time according to the step.
A kind of device for realizing the above method is further related in the present embodiment, the chain communication network includes carrying respectively
The first-in-chain(FIC) equipment and last-of-chain equipment of different labels and it is multiple be sequentially located at it is between the first-in-chain(FIC) equipment and last-of-chain equipment,
It is respectively provided with the network element of different address;It is characterized in that, what all units in chain communication network were arranged according to it
Position, headed by the first-in-chain(FIC) equipment, successively with by chain grid cell information exchange and will currently lead to
The network element information crossed be sent to by network element routing set equipment;Described device includes:
Data receiver judgment module:For judging whether to receive the number that the network element in chain communication network is sent
According to if so, calling first-in-chain(FIC) equipment judgment module;
First-in-chain(FIC) equipment judgment module:For obtaining its device type and ground in the information that is sent in the network element
Location, and judge the network element whether first-in-chain(FIC) equipment, if so, initial first inventory is called to form module;Otherwise, first is called clearly
Dull mould preparation block;
Initial first inventory forms module:For recording the device address of the first-in-chain(FIC) equipment to the first inventory of blank,
Then the data receiver judgment module is called;
First inventory adjusts module:For sending current first inventory to the communication network unit;By the ground of the unit
Location is recorded in first position of first inventory, and the data content sequence in first inventory is moved down;And it adjusts
With the data receiver judgment module.
Further, the network element is provided in the identification label on each compartment of train, and the first-in-chain(FIC) equipment is
The row head equipment being arranged in train head, the last-of-chain equipment are provided in the Train End Equipment of last vehicle of train;Described initial
One inventory formed module in further include for before first-in-chain(FIC) device address to first inventory is recorded, to first inventory
It is formatted the first inventory formatting unit so that it becomes blank.
Further, the first inventory adjustment module further comprises:
Data with existing mobile unit:For by rear from the data with existing content of current first inventory to the inventory or lower section
The distance of an address is moved integrally, its inventory starting position is made to vacate the storage sky that can accommodate a device address data
Between;
Current data storage unit:It is vacated for currently available device address to be recorded the above-mentioned of the first inventory
In space, new current first inventory is obtained.
Implement the network-building method and device of a kind of chain communication network of the present invention, have the advantages that:Due to every
A network element(Including vehicle carried electronic label)The network address of oneself is transferred to the routing when setting equipment by routing to set
Install standby, and the address of network element that the equipment is received is arranged in order to form the first inventory according to the priority that it is received,
And by first inventory network element by when be transferred to the network element be used as routing inventory.Therefore, these network element
Need not move through it is multiple, repeatedly send and receive data(The address of oneself is sent to other unit or receives other network
The data of its address of carrying that unit is sent)It just can know that the network element addresses in its sphere of action.Thus its mobile unit
It is relatively simple, information transfer efficiency is higher, power consumption is smaller.
Description of the drawings
Fig. 1 is a kind of network-building method of chain communication network of the present invention and the flow chart of network-building method in device embodiment;
Fig. 2 is the structure diagram of chain communication network in the embodiment;
Fig. 3 is the structure diagram of device in the embodiment.
Specific embodiment
Below in conjunction with attached drawing, embodiments of the present invention is further illustrated.
As shown in Figure 1, in a kind of network-building method of chain communication network of the present invention and device embodiment, networking side
Method includes the following steps:
Whether step S11 receives the information that network element is sent, if so, performing next step;Otherwise.Repeat this step
Suddenly.In the present embodiment, one for being formed or being formed after train marshalling list with the vehicle carried electronic label on a rail vehicle
It is illustrated for chain communication network.In the present embodiment, the communication network is in addition to the above-mentioned electronics on each vehicle
Outside label, the first equipment of the row being separately mounted on headstock and the Train End Equipment mounted on last vehicle of train are further included;These equipment and
Electronic tag forms a chain communication network at least in physical arrangement according to the spread pattern of rail vehicle;It is practical
On, after the method in using the present embodiment, which also forms a chain network in routing or in logic.Its
In, above-mentioned row head equipment is first-in-chain(FIC) equipment, and Train End Equipment is last-of-chain equipment, and vehicle carried electronic label positioned there between is then
According to the physical location of vehicle where it in train be endowed with its physical location same logical location, so as to form a chain
Type communication network.In the present embodiment, above-mentioned multiple electronic tags being sequentially located between first-in-chain(FIC) equipment and last-of-chain equipment(I.e. should
The network element of communication network)It is respectively provided with different network address(The identification code of the network address including the electronic tag or
ID codes).When above-mentioned train marshalling list is completed and is advanced, the all-network unit in above-mentioned chain communication network(It is set including row head
Standby and Train End Equipment)The position arranged according to it, headed by the first-in-chain(FIC) equipment(I.e. by the first-in-chain(FIC) equipment), lead to successively
Cross routing setting equipment, routing setting equipment be used for by chain grid cell carry out information exchange and will be current
By network element information be sent to by network element;I.e. when train sets equipment by above-mentioned routing,
Network element on train can be activated, and carry out data interaction with routing setting equipment, on the one hand receive from routing setting
The data of equipment(The data are to set the network element parameter of equipment by routing before the vehicle), on the other hand upload certainly
Oneself parameter, including device type and address.In this way, when the rolling stock of train sets equipment by above-mentioned routing, each
Network element knows the address of the network element of the front, that is, has arrived the routing forwarding address of this unit, constitutes one
The communication network of a chain.In this step, exactly judge whether to receive the network element transmission on rail vehicle to come
Data, when being not received by any data, repeat this step, continue waiting on train network element transmission data;
When data is received, next step is performed.
Step S12, which is obtained, represents device type and the data of device address in above- mentioned information:In this step, to receiving
To data handled, obtain information therein.In general, on above-mentioned electronic tag or the first equipment of row or Train End Equipment
The data of biography are all transmitted in the form of data packet.After such data packet is received, choosing is needed to unpack it
Processing, obtains data content therein;Then it is taken out again in the content of the designated position of these obtained data, with regard to phase can be obtained
The information of pass, for example, the type of equipment and its network address.In this step, the expression of acquirement network element transmission net
The device type of network unit and the data of network address, the network address are typically the equipment or electronic tag in the present embodiment
Identification code or ID codes.
Step S13 judge the network element whether first-in-chain(FIC) equipment, if so, performing step S14;Otherwise step S15 is performed.
In the present embodiment, for network element and first-in-chain(FIC) equipment, although being all regarded as the component part of network,
When it is by above-mentioned routing setting equipment, the mode of processing is different.This is because first-in-chain(FIC) equipment is exactly the first equipment of row,
On the headstock of train, in train operation, it is to set equipment by routing earliest in entire communication network to arrange first equipment
Network components, in the present embodiment have special status.In this step, by obtaining the equipment class in data
Type come judge transmit data come whether row head equipment.In the present embodiment, the device type for arranging first equipment is one prior
The code of setting, any part being different from the network.When the device type in the data for finding to receive is that this is prior
During the code of setting, just can determine that the equipment for uploading data is the first equipment of row.
The first inventory that the network element addresses are put into blank by step S14 is the first:In this step, due to having sentenced
Disconnected is being the first equipment of row with route setting equipment progress data interaction, and for communication network in this present embodiment,
The equipment can not be interacted actively with other network element, in fact, in communication network in the present embodiment, only be arranged
Tail equipment can actively initiate data communication;Network element between Train End Equipment and the first equipment of row will not be initiated actively
Communication is only after the data or instruction that other network element sends are received, turns according to the routing inventory of oneself storage
Hair.So in the present embodiment, arrange first equipment there is no routing table, routing configuration equipment also without to above-mentioned row head equipment into
Row routing configuration, and be only that its address is recorded in the first inventory.But since the first equipment of row is in whole network
First by the network element of above-mentioned routing configuration equipment, it is therefore desirable to which its address is recorded in one new or blank the
In one inventory, to be different from the first inventory obtained from routing setting equipment is before configured other communication networks, together
When, it would be desirable to the address for arranging first equipment is placed on to the starting position of first inventory.So in this step, in record first-in-chain(FIC)
Before device address to the first inventory, the inventory is formatted, is left before that may be present in the first inventory of elimination
The data got off, so that it becomes blank.After having performed this step, return to step S11.
Step S15 sends existing first inventory to the network element:In this step, due to it is determined that currently just
It is not the first equipment of row close the book routing configuration equipment progress information exchange, shows that arranging first equipment has passed through, in this way, first
It has been described in inventory all in this compartment(Or the identification electronic tag installed on this compartment)All-network unit before
Address, the arrangement of the network element addresses in this first inventory has certain rule, is more proximate to the vehicle-mounted of this compartment
Electronic tag address, first position of the position in the top of the inventory, the first inventory, record is close to this vehicle
Compartment and the address of the vehicle carried electronic label on this compartment preceding carriage.So in this step, which is sent
To the above-mentioned network element interacted with routing setting equipment(Electronic tag or Train End Equipment)In.Network element receives
After the first inventory sent to the routing setting equipment, stored as routing table;The network element is carrying out net
According to the routing table its address of sequential selection from top to bottom as default address when network communicates.
Step S16 moves the data in existing first inventory, and the address of the network element is put into existing first inventory
First place obtains the first new inventory:In this step, due to have been achieved with it is current by network element type and ground
Location, and in order to enable next network element can obtain its routing address, the network element addresses that will be obtained is needed to be added to
In above-mentioned first inventory.For this reason, it may be necessary to first move the data content in existing first inventory, first position of the first inventory is vacated
Put for place by network element address, then the address is stored in above-mentioned position again.Specifically, at this
In step, first by the data with existing content of current first inventory to the rear of the inventory or lower section move integrally address away from
From its inventory starting position is made to vacate the memory space that can accommodate a device address data;It then again will be currently available
Device address is recorded the above-mentioned of the first inventory and vacates in space, obtains new current first inventory.This step is performed
Afterwards, return to step S11.
In this way, according to above-mentioned steps, when train is by routing setting equipment, above-mentioned steps are repeated continuously, and are often passed through
One vehicle, the part being carried out in an above-mentioned steps or above-mentioned steps.In this way so that each vehicle carried electronic label and row
Tail equipment can accurately obtain its route list, be configured so as to fulfill the logic of the chain communication network, realize networking.
In the present embodiment, above-mentioned routing device can be multiple, and multiple routing devices are separately positioned on different location
Station rail side;Train refreshes its routing table again when setting equipment by a routing every time according to above-mentioned steps.In addition,
It, will when chain grid cell such as finds that its address routeing in inventory is not responded in communication process after network organizing
The address, which is route by it in inventory, to be deleted or is unreachable to the address mark for routing.
In the chain communication network of the present embodiment, the communicating node device at both ends is referred to as first-in-chain(FIC) equipment and last-of-chain is set
It is standby, it is different from intermediate each communicating node device.The transmission of information is initiated from last-of-chain equipment in the network, is gradually converged to
First-in-chain(FIC) equipment.Other than first-in-chain(FIC) equipment, there are a routing table, records in each communicating node device in the chain network
All neighbor node device addresses for receiving the equipment and sending information, can be referred to as route entry, these route entries difference
Preferred routing, secondary routing are noted as by, third routing etc..
When the node device needs to send message, route entry address is selected headed by default objects address, if preferred routing is not
It can use(I.e. destination address equipment is without response, communication failure)It then attempts the address of route entry to be selected to communicate using secondary, locate successively
Reason.
If route table items are empty, which cannot actively initiate information exchange, but can respond the message received and ask
It asks.Routing table is not present in first-in-chain(FIC) equipment, the equipment only can response message, and cannot actively initiate information exchange.
In the present embodiment, when a chain communication network is got up by temporal organization, each communication node in network is set
Standby to be required to obtain current recent route information, which can really complete networking, realize the transmission and interaction of information.
For this purpose, current network routing letter is provided for each communication node in chain communication network in the present embodiment using routing configuration equipment
Breath realizes effective networking between node.
Specifically, in the present embodiment, first-in-chain(FIC) equipment is just mounted in the communicating node device of train stem locomotive, chain
Tail equipment is then mounted in the row tail communicating node device of last vehicle of train, and intermediary device is just mounted in every section rail vehicle
On communicating node device.Routing configuration equipment can realize information exchange with nodes equipment, and installation site is
It is fixed, when train by when carry out routing configuration.When first-in-chain(FIC) equipment, intermediate equipment, last-of-chain equipment sequentially passes through routing successively
When equipment is configured, routing configuration equipment interacts one by one, recognition node device type, device address, and by current network road
It is sent in node device storage to routing table by information, completes the update of network routing, realize effective networking.For example, one time
Marshaling orbiting, the installation of routing configuration equipment is in orbit, when train operation is by the section, is installed on train
Each communicating node device will pass sequentially through routing configuration equipment.Its detailed process is as follows:
Starting stage, when first-in-chain(FIC) equipment is by routing configuration equipment, routing configuration equipment initiates information exchange, identification equipment
Type simultaneously records its device address;When subsequent first intermediary device is by routing configuration equipment, it is identified equipment class
Type and address receive the routing iinformation that routing configuration equipment is sent(First choice routing:First-in-chain(FIC) device address)And it updates to routing table
In, which is designated as preferred routing, and there is no be then sky for alternative routing data;Second intermediary device passes through
Routing configuration equipment, it is similary identified, receive routing iinformation(First choice routing:First mediation device address;Secondary routing by:First-in-chain(FIC)
Device address);Third intermediary device passes through routing configuration equipment, similary identified, reception routing iinformation(First choice routing:
Second mediation device address;Secondary routing by:First mediation device address;Third is route:First-in-chain(FIC) device address).
It is repeated as above, all rail vehicles just can be configured.The number of alternate routing can by two node communication equipments
It is limited by communication distance;When last-of-chain equipment is by routing configuration equipment, routing iinformation is received, all node devices are completed in network
The update of routing.
In the present embodiment, the installation number of routing configuration equipment is indefinite, can be deployed in station entrance-exit position,
If the train interior variation organized into groups AT STATION, all in this chain network can will also be led to by routing configuration equipment after outbound
The routing table of letter node device is updated, it is ensured that the validity of network routing.
As an example, Fig. 3 gives the rail vehicle schematic diagram in this city embodiment.In figure 3, a, b, c, d, e,
F and g represents the vehicle carried electronic label installed on vehicle respectively.It is middle there are a routing table in each label, for example, in Fig. 3
The routing table content of labeling apparatus d is:
Project | Content |
The first via by | LabeleTrain_ID |
Secondary route | LabelfTrain_ID |
Third is route | LabelgTrain_ID |
4th routing | It is empty |
When route entry content is empty, it is unavailable to represent the routing.
When marshaling is when by routing configuration equipment, routing configuration equipment identification vahicles label simultaneously will routing data hair
Labeling apparatus is given, labeling apparatus is after routing data are received in storage to routing table.Train often passes through a routing configuration
Equipment, that is, receive primary routing data, and routing table refreshes once, to ensure the normal networking of the self-organizing network.
In the present embodiment, which is the chain network of self-organizing, which has:Node device adds at random,
Network lifetime is indefinite;Its apparatus for network node is divided into three kinds:First-in-chain(FIC) equipment, intermediate equipment and last-of-chain equipment;In the network
Information transmission be it is unidirectional, by last-of-chain equipment step by step forward final converging information in first-in-chain(FIC) equipment;There was only last-of-chain equipment in network
Information exchange can be actively initiated, the information that intermediate equipment or first-in-chain(FIC) equipment can only initiate active again after receiving the message is handed over
Mutually.
In the present embodiment, the node device of chain self-organizing network need not have route exploration ability, networking(Routing
Generation, update)It is to initiate to complete by ancillary equipment.When each node device passes sequentially through ancillary equipment, ancillary equipment is by road
Node device is sent to by information to carry out routing update.Due to from first-in-chain(FIC) to last-of-chain direction being backward, chain in the chain network
Tail to first-in-chain(FIC) direction for it is preceding to when, only include its forward direction device address in each node device routing table, first-in-chain(FIC) equipment is without routing
Table is set.In the present embodiment, the technology of the chain network obtained realizes that simply routing update speed is fast, node device function
Greatly simplified, power consumption effectively reduces.And general self-organizing network, networking needs are closed on by each node device initiative recognition
Node diagnostic generates network route information by complicated protocol interaction, realizes technical sophistication.When network dimensioning extends, road
It will be greatly lowered by update efficiency.
As shown in figure 3, in the present embodiment, further relate to a kind of device for realizing the above method, the chain communication network
Including carrying the first-in-chain(FIC) equipment of different labels respectively and last-of-chain equipment and multiple being sequentially located at the first-in-chain(FIC) equipment and chain
Communication equipment between tail equipment, to be respectively provided with different address;All units in chain communication network are arranged according to it
Position, headed by the first-in-chain(FIC) equipment, using the first-in-chain(FIC) equipment as start, pass sequentially through with by chain grid cell
Carry out information exchange and by currently by network element information be sent to by the routing of network element set
It is standby;Described device includes:Data receiver judgment module 1, first-in-chain(FIC) equipment judgment module 2, initial first inventory form module 3 and the
One inventory adjusts module 4.Wherein, data receiver judgment module 1 is used to judge whether to receive the network in chain communication network
The data that unit is sent, if so, calling first-in-chain(FIC) equipment judgment module 2;First-in-chain(FIC) equipment judgment module 2 is used in the network element
Its device type and address are obtained in the information sent, and judge the network element whether first-in-chain(FIC) equipment, if so, calling initial
First inventory forms module 3;Otherwise, the first inventory adjustment module 4 is called;Initial first inventory forms module 3 for recording institute
The device address of first-in-chain(FIC) equipment is stated to the first inventory of blank, then calls the data receiver judgment module 1;First inventory tune
Mould preparation block 4 is used to send current first inventory to the communication network unit;It is clear that the address of the unit is recorded in described first
First single position moves down the data content sequence in first inventory;And the data receiver is called to judge
Module 1.
In the present embodiment, network element is provided in the identification label on each compartment of train, and the first-in-chain(FIC) equipment is to set
The row head equipment in train head is put, the last-of-chain equipment is provided in the Train End Equipment of last vehicle of train;Initial first inventory
It is formed in module 3 and further includes to carry out before first-in-chain(FIC) device address to first inventory is recorded, to first inventory
It formats so that it becomes the first inventory formatting unit 31 of blank.
First inventory adjustment module 4 further comprises:Data with existing mobile unit 41 and current data storage unit 42;Its
In, data with existing mobile unit 41 is used for the data with existing content of current first inventory is whole to the rear of the inventory or lower section
The distance of a mobile address, makes its inventory starting position vacate the memory space that can accommodate a device address data;When
Preceding data storage cell 42 is vacated for currently available device address to be recorded the above-mentioned of the first inventory in space, is obtained
To new current first inventory.
Embodiment described above only expresses the several embodiments of the present invention, and description is more specific and detailed, but simultaneously
Cannot the limitation to the scope of the claims of the present invention therefore be interpreted as.It should be pointed out that for those of ordinary skill in the art
For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the guarantor of the present invention
Protect range.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.
Claims (10)
1. a kind of network-building method of chain communication network, the chain communication network includes the chain for carrying different labels respectively
First equipment and last-of-chain equipment and it is multiple be sequentially located at it is between the first-in-chain(FIC) equipment and last-of-chain equipment, be respectively provided with differently
The network element of location, which is characterized in that the position that all units in chain communication network are arranged according to it, with the first-in-chain(FIC)
Headed by equipment, pass sequentially through routing setting equipment, it is described routing setting equipment with by chain communication network network element
Carry out information exchange and by currently by network element information be sent to by network element;The method includes
Following steps:
A) judge whether to receive the data that the network element in chain communication network is sent, if so, performing next step;It is no
Then, this step is repeated;
B its device type and address) are obtained in the information sent in the network element, and judge the network element whether chain
First equipment, if so, performing step C);Otherwise, step D is performed);
C its device address) is recorded to the first inventory of blank, is then back to step A);
D current first inventory) is sent to the network element;The address of the unit is recorded in first position of first inventory
It puts, the data content sequence in first inventory is moved down;
E) return to step A).
2. the network-building method of chain communication network according to claim 1, which is characterized in that the step D) in, also wrap
Include following steps:After the network element receives the first inventory that the routing setting equipment is sent, as routing
Table stores;Sequential selection its address conduct of the network element when carrying out network communication according to the routing table from top to bottom
Default address.
3. the network-building method of chain communication network according to claim 2, which is characterized in that the network element is setting
Electronic identification label on each compartment of train, the first-in-chain(FIC) equipment are provided in the row head equipment in train head, the chain
Tail equipment is provided in the Train End Equipment of last vehicle of train.
4. the network-building method of chain communication network according to claim 3, which is characterized in that the step C) in further include
Following steps:Before first-in-chain(FIC) device address to first inventory is recorded, first inventory is formatted, makes its change
For blank.
5. the network-building method of chain communication network according to claim 4, which is characterized in that the step D) in further
Include the following steps:
D1) by the data with existing content of current first inventory to the rear of the inventory or lower section move integrally address away from
From its inventory starting position is made to vacate the memory space that can accommodate a device address data;
D2 currently available device address) is recorded the above-mentioned of the first inventory to vacate in space, obtains new current
One inventory.
6. the network-building method of chain communication network according to claim 5, which is characterized in that the chain communication network
When network element such as finds that its address routeing in inventory is not responded in communication process, which is route by it in inventory and is deleted
It removes or is unreachable to the address mark for routing.
7. the network-building method of chain communication network stated according to claim 2, which is characterized in that the routing setting equipment is more
A, the multiple routing setting equipment is separately positioned on the station rail side of different location;Train is set every time by a routing
Refresh its routing table again when installing standby.
8. a kind of device for realizing chain communication networking, the chain communication network includes carrying different labels respectively
First-in-chain(FIC) equipment and last-of-chain equipment and it is multiple be sequentially located at it is between the first-in-chain(FIC) equipment and last-of-chain equipment, be respectively provided with not
With the network element of address;It is characterized in that, the position that all units in chain communication network are arranged according to it, with described
Headed by first-in-chain(FIC) equipment, pass sequentially through routing setting equipment, it is described routing setting equipment with by chain communication network network
Unit carry out information exchange and by currently by network element information be sent to by network element;Described device
Including:
Data receiver judgment module:For judging whether to receive the data that the network element in chain communication network is sent, such as
It is to call first-in-chain(FIC) equipment judgment module;
First-in-chain(FIC) equipment judgment module:For obtaining its device type and address in the information that is sent in the network element, and
Judge the network element whether first-in-chain(FIC) equipment, if so, initial first inventory is called to form module;Otherwise, the first inventory tune is called
Mould preparation block;
Initial first inventory forms module:For recording the device address of the first-in-chain(FIC) equipment to the first inventory of blank, then
Call the data receiver judgment module;
First inventory adjusts module:For sending current first inventory to the network element;The address of the unit is recorded in institute
First position of the first inventory is stated, the data content sequence in first inventory is moved down;And call the data
Receive judgment module.
9. device according to claim 8, which is characterized in that the network element is provided in the knowledge on each compartment of train
Distinguishing label, the first-in-chain(FIC) equipment are provided in the row head equipment in train head, and the last-of-chain equipment is provided in last vehicle of train
Train End Equipment;Initial first inventory, which is formed in module, to be further included for clear to described first in record first-in-chain(FIC) device address
The first inventory formatting unit so that it becomes blank is formatted before list, to first inventory.
10. device according to claim 9, which is characterized in that the first inventory adjustment module further comprises:
Data with existing mobile unit:For the data with existing content of current first inventory is whole to the rear of the inventory or lower section
The distance of a mobile address, makes its inventory starting position vacate the memory space that can accommodate a device address data;
Current data storage unit:Space is vacated for currently available device address to be recorded the above-mentioned of the first inventory
It is interior, obtain new current first inventory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410574025.2A CN104468290B (en) | 2014-10-24 | 2014-10-24 | A kind of network-building method and device of chain communication network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410574025.2A CN104468290B (en) | 2014-10-24 | 2014-10-24 | A kind of network-building method and device of chain communication network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104468290A CN104468290A (en) | 2015-03-25 |
CN104468290B true CN104468290B (en) | 2018-07-10 |
Family
ID=52913697
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410574025.2A Active CN104468290B (en) | 2014-10-24 | 2014-10-24 | A kind of network-building method and device of chain communication network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104468290B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107438085B (en) | 2016-05-25 | 2021-12-28 | 西安中兴新软件有限责任公司 | Ad hoc network method based on vehicle-mounted terminal and vehicle-mounted terminal |
CN108966177B (en) * | 2018-08-27 | 2021-09-21 | 珠海众通乐行网络科技有限公司 | Wireless ad hoc network construction method and wireless ad hoc network system |
CN109067633B (en) * | 2018-10-22 | 2024-04-16 | 泛亚电子工业(无锡)有限公司 | Power management system and method based on Ethernet daisy chain communication network topology |
CN110290500A (en) * | 2019-06-21 | 2019-09-27 | 中国神华能源股份有限公司 | The network-building method and system of communication equipment |
CN114500147B (en) * | 2021-12-29 | 2023-12-26 | 深圳市英威腾电气股份有限公司 | Method and device for distributing station numbers, electronic equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1402561A (en) * | 2001-08-24 | 2003-03-12 | 华为技术有限公司 | Device for implementing chain group web E1 transmission by-pass, and transmission method |
CN102511180A (en) * | 2011-11-29 | 2012-06-20 | 华为技术有限公司 | Topology information processing method for antenna feeder device, antenna feeder device and system |
CN103516824A (en) * | 2012-06-30 | 2014-01-15 | 华为技术有限公司 | Network topology identification method based on IP layer and devices |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8428798B2 (en) * | 2010-01-08 | 2013-04-23 | Wabtec Holding Corp. | Short headway communications based train control system |
-
2014
- 2014-10-24 CN CN201410574025.2A patent/CN104468290B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1402561A (en) * | 2001-08-24 | 2003-03-12 | 华为技术有限公司 | Device for implementing chain group web E1 transmission by-pass, and transmission method |
CN102511180A (en) * | 2011-11-29 | 2012-06-20 | 华为技术有限公司 | Topology information processing method for antenna feeder device, antenna feeder device and system |
CN103516824A (en) * | 2012-06-30 | 2014-01-15 | 华为技术有限公司 | Network topology identification method based on IP layer and devices |
Non-Patent Citations (1)
Title |
---|
高速移动列车无线组网方案;郭军伟;《中兴通讯技术》;20100430;第16卷(第2期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN104468290A (en) | 2015-03-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104468290B (en) | A kind of network-building method and device of chain communication network | |
CN102946356B (en) | CB-PE (controlling bridge-port extender) network-based multicast message transmitting method and device | |
CN102123091B (en) | Method, device and network equipment for generating multilink transparent transmission interconnection forwarding table | |
CN102299835B (en) | Ring network fault switching method and apparatus | |
CN102802227B (en) | Based on the data processing method of base station direct connection framework, equipment and system | |
CN102957573B (en) | Path detection realizing method and node | |
CN101764751A (en) | Method, system and equipment for forwarding roaming messages for wireless user terminal travelling across VLAN | |
CN104243323B (en) | Switching network multi-broadcast routing method and system | |
CN103023773A (en) | Method, device and system for forwarding message in multi-topology network | |
CN105812264A (en) | Multi-way parallel MAC address learning and address lookup device and method | |
CN104243208A (en) | Port expansion and message processing method, device and network device | |
CN102457934A (en) | Landmark system based on radio frequency identification | |
CN109511151A (en) | The network-building method and communication means of star networking | |
CN103298057B (en) | Based on the concurrent multi-path route method of ZigBee technology | |
CN101997755B (en) | Method for exchanging mapping information and mapping node | |
CN102316605B (en) | Method and device for building communication connection | |
CN101534211B (en) | Network convergence method, network bridges and system | |
CN101801058B (en) | Method and device for refreshing media access control (MAC) items in Mesh mobile application network | |
CN102333023B (en) | Communication method and equipment in multilink transparent internet | |
CN102594650B (en) | Method for processing multicast message and exchange access apparatus | |
CN109804612A (en) | Method and apparatus for being communicated between user equipment | |
CN102447605A (en) | Method for requesting to obtain routing information and corresponding routing equipment | |
CN103516699B (en) | A kind of realize the method for data flow handoff, Apparatus and system | |
CN109803342A (en) | A kind of unmanned plane method for self-organizing network routing towards balancing energy highly-reliable transmission | |
CN102202430A (en) | Zigbee wireless gateway and data transmission method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |