CN1258977A - Loop type data transmission system - Google Patents

Loop type data transmission system Download PDF

Info

Publication number
CN1258977A
CN1258977A CN99100773A CN99100773A CN1258977A CN 1258977 A CN1258977 A CN 1258977A CN 99100773 A CN99100773 A CN 99100773A CN 99100773 A CN99100773 A CN 99100773A CN 1258977 A CN1258977 A CN 1258977A
Authority
CN
China
Prior art keywords
frame
mentioned
transmitting device
address
transmission channel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN99100773A
Other languages
Chinese (zh)
Other versions
CN1251451C (en
Inventor
户田武男
中谷直志
山口昭彦
河原田明
永岛晖造
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Publication of CN1258977A publication Critical patent/CN1258977A/en
Application granted granted Critical
Publication of CN1251451C publication Critical patent/CN1251451C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

The invention discloses a data transmission system which comprises transmission devices connected to a loop transmission path, wherein each of the transmission devices, if the destination address in a received frame is its own address, will get the frame and, if the source address in the received frame is its own address, will remove the frame from the transmission path, the transmission devices can perform N to N data transmission and can reduce leisure time farthest in the transmitting passage, to enhance the transmitting effiency.

Description

Loop type data transmission system
The present invention is that the relevant transmission range that is applicable to railway control system and so on is long and the loop type data transmission system of transfer of data in the transmission channel of lag factor arranged.
In recent years, because the development of computer communication technology, there is various data transmission network system to be developed.In such system, the loop type data transmission system that is connected into by railroad train control centre and some stations is just arranged.
The loop type data transmission system that operates to purpose with control such as railroad train is made up of shown in Figure 1.
In above-mentioned data transmission system, be that transmitting device 52 has formed the ring-type data network by transmission channel 53 as the secondary station that is provided with in the central transmission device 51 of main website and each station.In central transmission device 51, be connected with some computer #1, #2 etc., in the transmitting device 52 at each station, be connected with microcomputer 54 and station control device 55.
Because distance has thousands of rice far away between transmitting device, so above-mentioned Train Control is with in the data transmission system, employing meet be applicable to long-distance transmissions but transmission speed slow (hundreds of byte per seconds~number 10K byte per second) V.32 wait the suggestion modulator-demodulator, data transfer mode adopts main website to disapprove when sending signal, secondary station can not send the transmission means of a pair of N of data, and the loop-around data transmission means is to adopt the mode of the SDLC (synchronous data-link control) that proposes such as IBM Corporation.
Above-mentioned SDLC data transfer mode has been used the Frame of structure as shown in Figure 2.Among this figure, identification fields (Off ラ ゲ) is that the verification of synchronization of frame data represents that with data, DA recipient address, control section are that the used information of transmission control, the information of the message segment side of being to use, Frame Check Sequence FCS (Frame Check Sequence) are the error checking data of Frame.
Above-mentioned SDLC mode is characterised in that, a main website and several secondary stations are arranged in the system, as each station transmitting device 52 of secondary station,, send by main website central transmission device 51 and to send permission and could send when receiving poll (Poll) only as shown in Figure 3.So, when for example transmitting device 52 desires at station 1 mail to the transmitting device 52 at station 3 with Frame I1C, at first after station 1 transmitting device 52 receives the polling signal that the central transmission device 51 shown in * 1 sends, above-mentioned Frame is sent to central transmission device 51 places earlier, by this central transmission device 51 Frame I1C is transformed into the Frame IC3 that sends to station 3 transmitting devices 52 again, sends to transmitting device 52 (as * among the figure 1) then.Like this, so long as between secondary station the transmission data must be undertaken by main website by mode shown in Figure 3.
Above-mentioned SDLC mode has following weak point.
(1) in ring-type transmission channel 53, can not there be some frames to exist simultaneously.Transmission channel 53 produces free time through regular meeting like this.
Usually, the distance of 1 loop is short, each transmitting device is interior does not lag behind, thereby the transmission speed of Frame is fast, before the Frame end that sends sends, the top of Frame circulates in loop under the situation about returning in a week, can not produce free time T in the transmission channel SEven produce certain free time also not have what influence.
But, the data transmission system of using in such as railway control system is unified in the network system of class, because transmitting device has factor time lag in its system, after Frame sent and is over, this Frame top circulated in loop and will spend the long period in the process of returning in a week.And, because secondary station only could send data after main website sends permission, so can only there be a Frame to exist in the ring-type transmission channel simultaneously.Therefore it is also very long to send in data, the transmission channel free time continuously, and efficiency of transmission is low.
(2) data transfer mode is a pair of N mode between the station, can't carry out N to the N transfer of data.
That is to say, though will carry out N between each station is very necessary to station 3 transmission data directly such as slave station 1 promptly to the N transmission, but in traditional data transfer mode, 1 the Frame of standing must be delivered to the central transmission device earlier, this center is read Xie Houzai with the content of this Frame and is sent to station 3, like this, can only realize the transmission of 1 couple of N.Therefore, has the complicated and problem such as lose time of transmission course.
The present invention is referred from the problems referred to above, and its objective is provides a kind of N of carrying out loop type data transmission system to the N transfer of data.
Another object of the present invention provides a kind of making in the transmission channel and reduces free time to greatest extent, to improve the data transmission system of efficiency of transmission.
The 3rd purpose of the present invention provides record and realizes the recording medium of N to the N data distributing program.
To achieve these goals, the present invention takes following technical scheme:
A kind of data transmission system, it is characterized in that having: be connected many transmitting devices on the loop type transmission channel, described each transmitting device, when the recipient address in the Frame that receives is self address, obtain this Frame, and when the sender address in the above-mentioned Frame that receives is self address, this Frame is removed from above-mentioned transmission channel.
Described data transmission system, it is characterized in that: above-mentioned each transmitting device also has relay, described relay, when the recipient address in the Frame of above-mentioned reception and sender address are not self address, just do not read the remainder of this Frame, and with described Frame to other transmitting device relaying.
Described data transmission system is characterized in that also including: transmitting device is used in management, and this management has with transmitting device:
Read the content of the frame that transmits on the above-mentioned transmission channel, and according to the whether normal judgment means of the content judgment data frame that reads; And
When Frame is not under the normal situation, the removal device that this Frame is removed from transmission channel.
Described data transmission system is characterized in that may further comprise the steps: above-mentioned transmitting device also has the dispensing device that same Frame is sent to the both direction of above-mentioned transmission channel respectively.
A kind of data transmission method is characterized in that may further comprise the steps:
The Frame that reception is transmitted by the loop type data transmission path;
When the recipient address in the Frame that receives is self address, read this Frame:
When the sender address in the received Frame is not self address, this Frame is removed from above-mentioned transmission channel.
A kind of computer program device that is used to move computer is characterized in that comprising:
Computer-readable media;
First program instruction means, it orders computer processor, when the recipient address in the Frame that the loop type transmission channel that receives transmits is self address, reads this Frame; With
The 2nd program instruction means, it orders computer processor, when the sender address in the above-mentioned Frame that receives is self address, above-mentioned Frame is removed from above-mentioned transmission channel, described each program instruction means is to be stored in described readable media with executable format, and the computer of can packing into is carried out by processor.
Described data transmission system is characterized in that: above-mentioned each transmitting device also includes: when the recipient address in the above-mentioned Frame that receives is consistent with self address, and the removal device that above-mentioned Frame is removed from above-mentioned transmission channel.
A kind of data transmission system, it is characterized in that including: be connected many transmitting devices on the transmission channel of loop type, described each transmitting device, when the recipient address in the Frame that receives is self address, obtain above-mentioned Frame, and the Frame that receives is removed from above-mentioned transmission channel.
Described data transmission system, it is characterized in that: above-mentioned each transmitting device also has: dispensing device, it is when when all other transmitting devices send Frame, in recipient's address field of this Frame, set and broadcast sign, the Frame that is set with above-mentioned broadcasting sign is sent to above-mentioned transmission channel;
Frame obtains device, and it is when setting the broadcasting sign in the recipient's address field in the above-mentioned Frame that receives, and then obtains, and this is set with the Frame of broadcasting sign, and relay, and it is that the above-mentioned Frame that is set with the broadcasting sign is carried out relaying.
A kind of data transmission system is characterized in that including:
Be connected each transmitting device of loop type transmission channel; Described each transmitting device has:
Expression is set in Frame preferentially carries out the precedence designation setting device of the precedence designation of relaying than other frame;
Save set, it is when sending other Frame, when receiving the Frame that is provided with above-mentioned precedence designation, above-mentioned other Frame that is sending is preserved;
Relay, it is after above-mentioned other Frame is preserved, and makes the above-mentioned Frame that is provided with precedence designation go into relaying to other transmitting devices; With
Behind the above-mentioned Frame relaying that is provided with precedence designation, the dispensing device that above-mentioned other Frame that will preserve again sends.
A kind of data transmission system is characterized in that including: each transmitting device that is connected the loop type transmission channel; Described each transmitting device has:
Transmission is set with the dispensing device of the Frame of variable information, and described variable information is for removing Frame from transmission channel;
Judge the whether consistent decision maker of variable information of the Frame receive with preset value;
According to this result of determination, when the variable information in the Frame that receives is consistent with preset value, the removal device that this Frame that receives is removed from above-mentioned transmission channel.
A kind of data transmission method is characterized in that comprising following dried step:
When receiving when being set with expression, other Frame that is receiving is preserved than the Frame of the precedence designation of the preferential relaying of other Frame;
After described other Frame preserved, will be set with the Frame of above-mentioned precedence designation to other transmitting device relaying;
After being set with the Frame relaying of above-mentioned precedence designation, sending again and preserve the Frame of getting up.
A kind of data transmission method is characterized in that comprising the steps:
Judge whether the variable information in the Frame that receives is consistent with predefined value, and above-mentioned variable information is used for Frame is removed from transmission channel;
Result by judging when the variable information in the Frame that receives is consistent with predefined value, removes the above-mentioned Frame that receives from above-mentioned transmission channel.
According to the 1st aspect of the present invention, a kind of data transmission system is provided, it is characterized in that comprising: be connected many transmitting devices on the loop type transmission channel, when the recipient address of described each transmitting device in the Frame that receives is self address, obtain this Frame, and when the sender address in the above-mentioned Frame that receives is self address, this Frame is removed from above-mentioned transmission channel.
The 2nd aspect of the present invention has provided a kind of data transmission system, it is characterized in that also having: when the recipient address in the above-mentioned Frame that receives and sender address are not self address, just do not read the remainder of this Frame, and with the relay of described Frame to other transmitting device relaying.
The 3rd aspect of the present invention has provided a kind of data transmission system, it is characterized in that: also include: the management transmitting device, this management has with transmitting device: read the content of the frame that sends on the above-mentioned transmission channel, and according to the whether normal judgment means of this content judgment data frame that reads; With
When Frame is undesired, with its removal device of from transmission channel, removing.
The 4th aspect of the present invention provided a kind of data transmission system, it is characterized in that: above-mentioned transmitting device also has the dispensing device that same Frame is sent to the both direction of above-mentioned transmission channel respectively.
The 5th aspect of the present invention provided a kind of data transmission method, and it is characterized in that: this data transmission method comprises the steps:
The Frame that reception is transmitted by the loop type data transmission path;
When the recipient address in the Frame that receives is self address, read this Frame;
When the sender address in the received Frame is self address, this Frame is removed from above-mentioned transmission channel.
The 6th aspect of the present invention provided a kind of computer program device that is used to move computer, it is characterized in that including: a computer-readable media;
When the recipient address of order computer processor in the Frame that the loop type transmission channel that receives transmits is self address, read the 1st program command instrument of this Frame; With
When the order sender address of computer processor in the above-mentioned Frame that receives is self address, the 2nd program command instrument that above-mentioned Frame is removed from above-mentioned transmission channel.
The 7th aspect of the present invention provided a kind of data transmission system, it is characterized in that: above-mentioned each transmitting device also includes: when the recipient address in the above-mentioned Frame that receives is self address, and the removal device that above-mentioned Frame is removed from above-mentioned transmission channel.
The 8th aspect of the present invention has provided a kind of data transmission system, it is characterized in that including: be connected each transmitting device on the loop type transmission channel, when the recipient address of described each transmitting device in the Frame that receives is consistent with self address, obtain above-mentioned Frame, and the Frame that receives is removed from above-mentioned transmission channel.
The 9th aspect of the present invention provided a kind of data transmission system, it is characterized in that: above-mentioned each transmitting device also has: when when all other transmitting devices send Frame, in recipient's address field in this Frame, set and broadcast sign, the Frame that is set with above-mentioned broadcasting sign is sent to the dispensing device of above-mentioned transmission channel;
When being set with the broadcasting sign in the recipient's address field in the above-mentioned Frame that receives, then obtain the frame read means that this is set with the Frame of broadcasting sign; With
Above-mentioned being set with broadcast the relay that the Frame that indicates carries out relaying.
The 10th aspect of the present invention provides a kind of data transmission system, it is characterized in that including: be connected each transmitting device of loop type transmission channel, this each transmitting device has: expression preferentially carries out being provided with in the Frame of relaying precedence designation than other frame precedence designation setting device is set in the Frame;
Under other Frame transmit status, when receiving the Frame that is provided with above-mentioned precedence designation, the save set that above-mentioned other Frame that is sending is preserved;
After above-mentioned other Frame is preserved, make the above-mentioned relay that is provided with the Frame of precedence designation to other transmitting device relayings; With
Behind the above-mentioned Frame relaying that is provided with precedence designation, the dispensing device that above-mentioned other Frame of getting up sends will be preserved again.
The 11st aspect of the present invention provides a kind of data transmission system, it is characterized in that including: be connected each transmitting device of loop type transmission channel, described each transmitting device has: the dispensing device that sends the Frame that is set with variable information;
Above-mentioned variable information is that power is removed Frame from above-mentioned transmission channel;
Judge the whether consistent decision maker of variable information of the Frame receive with preset value:
According to this result of determination, when the variable information in the Frame that receives is consistent with preset value, the removal device that the Frame that receives is removed from above-mentioned transmission channel.
The 12nd aspect of the present invention has provided a kind of data transmission method, it is characterized in that comprising the steps:: when receiving general when being set with expression than the Frame of the precedence designation of the preferential relaying of other Frame, other Frame that is receiving is preserved, after above-mentioned other Frame preserved, with the above-mentioned Frame of precedence designation that is set with to other transmitting device relaying;
After with the above-mentioned Frame relaying that is set with precedence designation, send preserving the Frame that gets up again.
The 13rd aspect of the present invention has provided a kind of data transmission method, it is characterized in that comprising the steps:
Judge whether the variable information in the Frame that receives is predefined value;
Above-mentioned variable information is to be used for Frame is removed from transmission channel;
Result by judging when the variable information in the Frame that receives is consistent with predefined value, removes the above-mentioned Frame that receives from above-mentioned transmission channel.
Following with reference to accompanying drawing, describe embodiments of the invention in detail:
Fig. 1 is the schematic diagram of traditional loop type data transmission system.
Fig. 2 is the Frame knot knot schematic diagram that uses in the traditional loop type data transmission system.
Fig. 3 is the key diagram of transmit status of the Frame of legacy system.
Fig. 4 is the schematic block diagram of the railway control system of the present invention the 1st embodiment with data transmission system.
Fig. 5 is the schematic diagram of the data frame structure that uses in the data transmission system of same embodiment.
Fig. 6 is the schematic diagram of modular structure of each transmitting device of same embodiment.
Fig. 7 is that a plurality of Frames are transmitted the time diagram of appearance in the data transmission system of the same embodiment of expression.
Fig. 8 is the schematic diagram of the loop type data transmission system of the present invention the 2nd embodiment.
Fig. 9 is the schematic block diagram of transmitting device.
Figure 10 is the data frame structure schematic diagram that uses among the 2nd relevant embodiment of loop type data transmission system of the present invention.
Figure 11 is the flow chart of each transmitting device operating principle of explanation.
Figure 12 is the state description figure that has a plurality of Frames in transmission channel simultaneously.
Figure 13 is the flow chart of frame transmitting system action in the loop type transmission system of explanation the present invention the 3rd embodiment.
Figure 14 is the flow chart of frame receiving system action in the loop type transmission system of the same embodiment of explanation.
Figure 15 is the schematic diagram that each substation side transmitting device of expression copies the state of particular data frame successively.
Figure 16 is other routine frame structure schematic diagrames of expression explanation the present invention the 3rd embodiment.
Figure 17 is another routine used frame structure schematic diagram of explanation the present invention the 3rd embodiment.
Figure 18 is the priority treatment example is carried out in expression according to the precedence designation of received frame a schematic diagram.
Figure 19 is the frame structure schematic diagram that uses in the loop type data transmission system of the present invention the 4th embodiment.
Figure 20 is the key diagram of the action of the present invention the 4th embodiment.
Figure 21 is other routine frame structure schematic diagrames of explanation the present invention the 4th embodiment.
Figure 22 is another routine frame structure schematic diagram of explanation the present invention the 4th embodiment.
Figure 23 is the flow chart of transmitting device relay process among explanation the present invention.
Figure 24 is the flow chart of explanation transmitting device relay process.
Figure 25 is the flow chart of explanation transmitting device relay process.
The following describes embodiments of the invention.
Embodiment 1:
Fig. 4 is the schematic block diagram of the relevant railway control system of the present invention the 1st embodiment with data transmission system.
As shown in Figure 4, in the data transmission system that above-mentioned railway control system is used, transmitting device 3 and the management of central transmission device 1 with each station is connected in turn with transmitting device 4, formed loop network by transmission channel road 2.
Computer #1 that is connected with central transmission device 1 and #2 are the train operation and management computers, to each station output control signal.
What be connected with each station transmitting device 2 has microcomputer 5 and a station control device 6.Microcomputer 5 is with the information management that is used for each station and with this management information notice center and other each station, and station control device 6 is used to control the semaphore of the train that is called as the electron linkage device.
The network administration apparatus 7 that the formation of work station (WS) or microcomputer (PC) is arranged that is connected with transmitting device 4 with management.
Fig. 5 has represented the data frame structure that uses in the network system of present embodiment.
As shown in the drawing, Frame in the present embodiment (Off レ-system) is to add sender address position SA in SDLC Frame shown in Figure 2, and it is made up of with identification fields (Off ラ ゲ), sender address SA, destination addresses DA, control section, message segment, Frame Check Sequence (FCS) and the identification fields of data the frame synchronization verification.
Here, identification fields is that the data-frame sync verification is that information, the information of the message segment side of being to use, the FCS (Frame Check Sequence) that is used to transmit control is the error checking data of Frame with data, control section.
Use in the data transmission system of above-mentioned Frame each transmitting device 1,3 relevant with the transmitting-receiving of data, it carries out following processing.
When each transmitting device 1,3 receives the data of above-mentioned Frame, read in 2 bytes (identification fields and sender address) of initiating terminal, and the content that receives carried out verification, if transmit leg is not self, (リ ピ-ト), if transmit leg is oneself, then Frame is as going the rounds a week along loop (network loop) then in statu quo to carry out relaying, do not carry out relaying, withdraw from from loop.
In addition, if not relay state, each 1,3 any moment of transmitting device can send information.If be in the above-mentioned relay state, because initiating terminal two bytes of frame are stored in the buffer, so can whether judge relaying according to this content of buffer.When in transmission, when receiving the data at other stations (other transmitting device) simultaneously, earlier its frame data are all inserted in the buffer, when the transmission task termination of self, the beginning relaying.That is to say that each transmitting device only otherwise be in the relay state and just can send information.
The hardware configuration of above-mentioned transmitting device 1,3,4 as shown in Figure 6.This Fig. 6 is the modular structure schematic diagram of each relevant transmitting device of present embodiment.
In this transmitting device 1,3,4, MPU (microprocessor) 12, memory 19, serial line interface 13,14,15,16 by bus 11 link to each other, modulator-demodulator 17,18 is connected with serial line interface 13,14 respectively.
Adjacent with other the respectively transmitting device of each modulator-demodulator 17,18 1,3 is connected with 4, and adopts the modulator-demodulator of the transmission rate about the 600bps~28800bps that V.22, V.29 and V.32 waits with V series suggestion of recommending based on ITU-T (International Telecommunications Union-TC Telecommunication Committee).In the present embodiment, be illustrated with regard to the state that uses modulator-demodulator V.32 and under the 9600bps pattern, move.
In this modulator-demodulator 17,18, used the modulator-demodulator of full duplex formula.Like this, when constituting loop network by modulator-demodulator 17,18 adjacent connections respectively, because each modulator-demodulator 17,18 is as the use of full duplex formula, so can press the clockwise of loop and counter-clockwise direction transmission respectively for same information.
Serial line interface the 13,14,15, the 16th, the module of carrying out serial communication by RS485 and RS232C etc.And serial line interface 15,16 respectively with central transmission device 1 in computer #1 be connected with #2, and be connected with microcomputer 5, station control device 6 in the transmitting device 3 at station respectively, and be connected with the network administration apparatus in the transmitting device 47 with management.
MPU12 is the program running according to storage in the memory 19, and it is for realizing the microprocessor of above-mentioned each function of transmitting device 1,3 in the present embodiment.
By above-mentioned each transmitting device 1,3, though each function of the data transmission system of present embodiment can realize, in order to remove the bad data frame that occurs on the loop on this network, be provided with transmitting device 4 and network administration apparatus 7 simultaneously.
Like this, in each transmitting device 1,3,, at first only note seeing the sender address SA of Frame,, then carry out relaying if not self address in order to keep the high speed of Network Transmission.Therefore if because of certain reason, sent here in misaddress information or the transmission course and become under the situation of misaddress, owing to can not permanently from loop, remove, cause data frame transfer to break down.
Have only transmitting device 4 different, can once read in all information with other transmitting device 1,3.
Network administration apparatus 7 has the function of Frame on the verification network, is about in the Frame that transmitting device 4 reads in behind SA, the DA and FCS verification (チ ェ ッ Network), again with this result notification transmitting device 4.
Transmitting device 4 has only when receiving above-mentioned Frame that network administration apparatus 7 sends for normal notice, and this correct Frame is carried out relaying.Network administration apparatus 7 can be formed structure as shown in Figure 6 in same work station etc. in addition, and forms integrative-structures with transmitting device 4.
Action with regard to data transmission system in the relevant railway control system of the invention described above example structure is illustrated below.
At first, requirement according to computer #1 or microcomputer 5 or station control device 6, send out Frame by its corresponding transmitting device 1,3. when the Frame that is sent out transmits a week along network loop, after turning back to the transmitting device 1,3 of transmit leg again, confirm this sender address SA and disconnect from loop by this transmit leg.Between transmitting one-period along loop, if in certain transmitting device 1 or 3, confirm that by recipient's address D A its frame issues when own just, then in this transmitting device, this Frame is copied.
That is to say whenever each transmitting device 1 or 3 except just when the relay data, can send Frame.If when receiving the data at other stations (other conveyers) in the process of transmitting, then the data that this is received are all inserted buffer, when self is sent completely, just begin relaying.Can there be a plurality of Frames to exist simultaneously like this in the network loop.
Figure 23 is the flow chart that carries out relay process in each transmitting device 1,3 of explanation.
As shown in the drawing, at first each transmitting device reads in (S101 step) with identification fields, SA data and the DA data of the frame that receives; Then relatively, differentiate its whether consistent (S102 step) with the DA data of reading in and self address.
In S102 step,, behind Frame copy (S103 step), enter S104 and go on foot processing when determining DA when consistent with self address.When DA and self address are inconsistent, directly enter the S104 step to handle.
In S104 step, the differentiation whether the SA data of reading in and self address be consistent.Differentiate when consistent, from network, remove Frame, and, Frame is carried out relaying when differentiating when inconsistent.
Fig. 7 is the time diagram of several Frame transmission states in the data transmission system of expression embodiment.
Fig. 7 has represented respectively by as the central transmission device 1 of master station, as the transmitting device 3 at the station 1 at subordinate station 1, and the situation that sends out Frame IC2, I1C, I3C as station 3 transmitting devices 3 at subordinate station 3 simultaneously.Frame IC2 issues station 2, and Frame I1C and I3C issue central station (main website).
In addition, the moment T in Fig. 7 1, Frame IC2, the I1C, the I3C that appear on the transmission channel 2 are shown in Fig. 4, described 3 Frames copy the recipient of oneself respectively, promptly frames received according to after, turn back to the transmission source again, and from loop, remove.Time during this is T S, with the free time T of SDLC mode shown in Figure 3 SIdentical.But in the above-mentioned example of present embodiment, this time T SWithin can send three Frames, so free time T PBe T SAbout 1/3rd.
Following mask body considers that the time of relevant each the stage cost of above-mentioned data frame transfer is discussed.
For example, use transmission rate to be 9600bps, the hysteresis of conversion be the modulator-demodulator of 20ms constituting network system, and the substation at 32 stations is being when transmitting the Frame of 16 bytes, the Frame that then is transmitted needs flower 800ms along one week of loop.When the message transmission time of a frame is 40ms, and ring can have 20 frames to exist simultaneously on the road theoretically.This multipleization mode can improve efficiency of transmission.
In order to realize above-mentioned multipleization mode, when certain reason produces illegal Frame, the invalid data frame is removed by network administration apparatus 7.For this reason, only in managing, be taken into whole Frame, it is carried out the defective verification with transmitting device 4.
As shown in Figure 7, above-mentioned data transmission method has been realized the transmission of N to N.And in conventional transmission mode by SDLC, can only the Frame that send in the loop be removed by main website (being the transmitting device at center), and the transmitting device of substation (station beyond the main website) can not freely send.
But, in the present embodiment,, in the transmitting device 1,3 of each transmit leg, will withdraw from (falling the ろ The) voluntarily along the frame data in a touring week of loop owing in frame structure, inserted transmission source address SA.Therefore, no matter can send to any recipient's conveyer 1,3,4, can realize the transmission of N N from which transmitting device 1,3.
In the data transmission system of embodiment, the modulator-demodulator 17,18 of full duplex is configured in each transmitting device 1,3,4 in pairs, even any, if breaking down, transmitting device 1,3 also can continue to transmit data.
That is to say that when having one to break down in the transmitting device 1,3, remaining transmitting device 1,3,4 also can be from clockwise direction or counterclockwise either direction frames received certificate.Thus, all the other normal transmitting devices 1,3,4 just can continue normally to carry out the frame transmission.
When all transmitting devices 1,3,4 all just often, same Frame can be by double reception, and is depositing the data of sending order number as shown in Figure 5 in the control section in frame.Thus, can judge whether same Frame, and in transmitting device 1,3,4, after the same Frame that receives go out of use.
As mentioned above, the data transmission system that the embodiment of the invention is relevant, in transmitting, data use the Frame that contains recipient address and transmission source address, when transmitting device 1,3 receives the Frame of issuing oneself, from loop, remove the Frame that oneself sends, since each transmitting device 1,3 during except receiving data frames, any moment can send Frame, even so comprise the loop mesh network of the transmitting device that has time factor, also send Frame in this transmission channel serially, and can realize the transmission of N N.Like this, can realize that efficiency of transmission height, response time are fast, be applicable to the network system of railway control.
In the data transmission system of present embodiment, be provided with management transmitting device 4 and network administration apparatus 7, can once all information in the frame be read in by this part, and its correct data whether of verification, and only correct Frame is sent on the transmission channel 2 once more, therefore, if because of certain reason, send or in transmission course, become under the situation of wrong address with the transmission source address of mistake, can efficiently and accurately the illegal like this Frame that produces in the loop be removed.
From the above mentioned, can prevent from for good and all can not from loop, remove and to transmit because of the invalid data frame.And said structure only is arranged in the loop on the position, and the situation compared with carrying out above-mentioned verification with all transmitting devices 1,3,4 can prevent that the transmission time is elongated.
In the data transmission system of present embodiment, owing in transmitting device 1,3,4, used the modulator-demodulator of full duplex, same Frame can be transmitted with counter-clockwise direction along clockwise direction, even so there is a transmitting device to break down, other fault-free transmitting device is the not influence of generation time delay etc. also, and the continuation normal transmission, thereby can realize the Network Transmission that reliability is high.
Even, also can provide corresponding high availability network systems having under the situation of high reliability to be controlled to be purpose and requirement.That is to say,, also do not have because of a transmitting device has fault and make whole system out of service even transmitting device is linked to be the loop shape according to the present invention.
Compare with the data transmission system of traditional SDLC mode, the data transmission system of present embodiment has following concrete effect.
(1) precondition
The modulator-demodulator transmission speed has the V.32 modulator-demodulator of 9600bps
The number (quantity of transmitting devices such as center, station) of standing: 32
Amount of information: Frame message segment capacity is
Center (セ Application ) → → station: 5 bytes/station frequency 1 time/2 seconds to each station
The station → → center (セ Application ): 10 bytes/station frequency 1 time/second from each station
Transmission lag: the about 20ms/ of the hysteresis of modulator-demodulator station
Carried out the hysteresis in processing time ignores by transmitting device MPU
(2) calculating of the touring all required times of the loop of SDLC mode and mode of the present invention:
Asking the station number is that the transmitting device of the network system at 32 stations (31 station+centers) sends 10 byte information, and along loop one all till return the required time.
The time T cycle that a Frame during 1) by the SDLC mode finished along one week of loop is:
TSPLC cycle=20ms * 32=640ms
Under the SDLC situation, (time of リ ピ-ト) is so only calculate the lag time of modulator-demodulator owing to need relaying hardly.
2) secondly, ask a Frame of mode of the present invention along the touring required time in a week of loop.
At first, the title of Frame has 7 bytes, and the amount of information of a Frame is 10 bytes+7 bytes=17 bytes.
Title top 2 bytes are along the time t in one week of loop 1Be approximately 700ms, be:
(modulator-demodulator lag time+lag time of transmitting device relaying) * transmitting device number=(20ms+2 * 8/9.6ms) * 32=693.3ms.
In addition, Data Receiving time t that Frame is remaining 2For:
(17-2) byte * 8/9.6ms=12.5ms.
Like this, mode of the present invention along the touring all required time T (cycle) of loop:
T cycle=t 1+ t 2=705.8ms
(3) shortening in transmission time
Is the situation of the amount of information of 10 bytes from any one transmitting device to the transmitting device transmission message segment of 16 stations (being envisioned for the station of the centre at 32 stations the loop), and the delivery time when arriving with top information compares.
1) under the SDLC mode, send the required time to 16 stations,
Under the feelings of delivering letters in the SDLC mode, because the enabling signal that needs the conveyer of main website to send, its average latency is half along loop one all required times, promptly
A station, average latency+transmission lag * 16
=640/2ms+20ms×16=640ms
2) the transmission required time of letter to 16 stations is under the mode of the present invention:
(20ms+2 * 8/9.6) * 16 station=346.7ms
3) effect of transmission time shortening of the present invention
In the aforementioned calculation example, can 346.7ms/640ms=54.2%, the time that half is more, transmit, be a kind ofly to respond fast mode, be applicable to real-time Transmission.
(4) raising of efficiency of transmission:
Use the SDLC mode, although Frame can only transmit a Frame, when this is used mode of the present invention, can carry out the transmission of a plurality of Frames during a touring week of loop.
When the transmission message segment was the Frame of amount of information of 10 bytes, the time of transmitting device process information comprised title, and minimum time is 17 * 8/9.6ms=14.2ms, and the software processes time is about 20ms haply.
Like this, under the mode of the present invention, a Frame between touring one-period (705.8ms), can send 35 (705.8ms/20ms) Frames along loop.In this case, efficiency of transmission of the present invention be improved as 35 times, its transmission efficiency of comparing with the SDLC mode is enhanced significantly.
The present invention is not limited to the various embodiments described above, as long as in the scope that does not break away from its main thought, can carry out various distortion.
The method that the embodiment of the invention is recorded and narrated, as the program that can in computer, move (software approach), can be stored in such as in the storing apparatus such as disk (floppy disk, hard disk etc.), CD (CD-ROM, DVD etc.) and semiconductor memory, and by communication medium transmission, broadcasting.In the program of in storage medium, storing, also be the setting program that is included in the software approach of in computer, moving (just executive program does not comprise form and data structure yet) that constitutes in the computer.Realize the computer of this device, read in program by storage medium record after, according to circumstances constitute software approach by setting program, carry out above-mentioned processing by this software approach control.
According to the present invention who describes in detail above, not only can realize the action of N to N, transfer of data thus, and can provide the efficiency of transmission that does not produce free time in the transmission channel high data transmission system and method thereof.
Embodiment 2:
Fig. 8 is the block diagram of the loop type data transmission system of the present invention the 2nd embodiment.
This railway control system is with in the loop type data transmission system, and each station transmitting device 103 of secondary station is connected in series with the center conveyer 101 of main website successively by transmission channel 102, thereby has formed the loop mesh network.
In center conveyer 101, be connected with the computer #1, the #2 that carry out train operation and management, center conveyer 101 transmits control signal according to the transmitting device 103 of instruction to each station of this computer #1, #2.
On the other hand, in the transmitting device 103 at each station, be connected with microcomputer 105 and station control device 106.Each microcomputer 105 is used for the information management at each station and notifies center (セ Application ) and other station with its management information, and each station control device 106 has the effect that control is called as the train signal machine of electron linkage device.
Fig. 9 is the schematic diagram of the module configuration example of each conveyer 101,103 of expression.
Be provided with microprocessor (to call MPU in the following text) 111 in the transmitting device 101,103, be connected with bus 112 that this MPU111 draws logging program and program running are arranged the time essential fixed data the data buffer 114 and the serial line interface 115~118 of recording medium 113, recorder data and deal with data etc.What be connected with bus 112 also has memory 121, and it is used to store by recording medium 113 reads and by the program of MPU111 operation.
As recording medium 113, available such as disk, tape, CD-ROM etc., in addition, also available DVD-ROM, floppy disk, MO, MD, CD-R, storage card etc.
Above-mentioned serial line interface 115,116 places, being connected with transmission rate respectively is the modulator-demodulator 119,120 of 600bps~28800bps.Each modulator-demodulator 119,120 is connected with adjacent transmitting device 101,103 respectively, forms the loop mesh network.
What be connected with above-mentioned serial line interface 117,118 has computer #1, #2 or microcomputer 105, station control device 106 respectively.
Each transmitting device 101,103 if not be in the Frame relaying, can carry out data at any time and send.If be in the relaying, will send data earlier and become temporary transient wait state to be kept in the data buffer 114, treat that relaying begins when finishing to send.On the other hand, in sending data, receive in the time of to carry out the Frame of relaying, earlier these frame data are kept in the data buffer 114 with temporary transient wait state, the relay process of start frame during to be sent the end.
This form of implementation adds, and above-mentioned Fig. 8, basic structure example shown in Figure 9 with the correct of SDLC data frame content, and are removed the frame that should data frame content carries out behind frame relay or the copy, have so just formed the data transmission of N to N.Specifically state two example examples as follows.
(1) this embodiment has used the structure by the SDLC Frame of handling shown in Figure 10 in loop type data transmission system.This SDLC Frame not only has recipient's address D A, and has added sender address SA, promptly is made of beginning flag, recipient's address D A, transmission source address SA, control section, message segment, FCS and identification fields.Here, identification fields is the synchronization check data of frame, and control section is that information, the FCS (Frame Check Sequence) that transmission is controlled with information, the message segment side of being to use is frame error checking data.
The transmitting system of each transmitting device 101,103 is composed as follows.
The MPU111 of each transmitting device 101,103 has, receive after frame that computer #1, #2 or microcomputer 105 and station control device 106 send sends request, if be not in the Frame relay state, the function that the above-mentioned requirements that then makes an immediate response makes Frame at any time and sends.
On the other hand, the MPU111 of above-mentioned each transmitting device 101,103 also has following function, promptly at first read in Frame top 2 bytes that receive (sign and DA), then this recipient's address D A compared with self address, when recipient's address D A and self address not simultaneously, this Frame is in statu quo carried out relaying, when recipient's address D A is identical with self address, this Frame is copied in the data buffer 114, and do not carry out the relaying of this frame, and it is removed from transmission channel.
Below, with reference to Figure 11 the action of said system is illustrated.
At first, the MPU 111 of transmitting device 101,103, when at the beginning the action, from the program of recording medium 113 playback records, and according to this program with unwanted data dump (S1) in the data buffer 114.In this state, judge whether computer #1, #2 or microcomputer 105, station control device 106 have Frame to send request (S2).If any when request, be provided with (S3) behind the beginning flag, judge whether to be in the reception of other Frames (in the relaying) (S4).
If be not in the frame reception, then confirm whether indicate will section (S5), when identification fields is arranged, send request when being judged as frame, then make Frame own and send (S6).Judge in this Frame process of transmitting, have or not to receive the Frame that send at other station,, then this Frame is read having under the situation that receives Frame, with buffer-stored in data buffer 114 (S7, S8).The Frame of judging self then sends whether finish (S9), under the Frame of self is delivered letters situation about finishing, then confirms whether to have the buffer-stored (S10) of other Frame, when buffer-stored is arranged, carries out the S11 step.
Go on foot at S11, judgement goes on foot at S4, when the transmission request of its data frame is arranged, other Frame is under the situation in the reception or when being in self frame and other Frame of buffer-stored being arranged in sending, whether the recipient address of other Frame is consistent with self address, when inconsistent, then implement to make it in statu quo to the relay process (S12) of downstream side station relaying, under corresponding to situation, then other Frame is carried out copy process in buffer 114, and do not carrying out from loop, withdrawing from (S13, S14) under the state of frame relay.
When its data frame in S2 step sends request, be under the situation in other Frame reception, after the processing behind above-mentioned S12, the S13 finishes, confirm to have or not identification fields (S14), then enter the S6 step if any identification fields, send the Frame of self.
Like this, can be clear that, can have a plurality of Frames simultaneously on the loop network from above-mentioned explanation.
Figure 12 is the time diagram of expression state during a plurality of data frame transfer on the transmission channel 102.
In this example, by as the central transmission device 101 of main website, as the transmitting device 103 at the station 1 of substation 1 and as the transmitting device 103 at the station 3 of substation 3 respectively, and send Frame IC2, I1C, I3C simultaneously.At this moment, frame IC2 mails to station 2, frame I1C is that the center of issuing, I3C are the centers of issuing, and by transmitting device 103, the central transmission device 101 at station 2, with corresponding Frame copy, and removes Frame from transmission channel.
In traditional SDLC, because the Frame that transmits on transmission channel 102 can only withdraw from Frame, so can not freely send Frame from the transmitting device of substation on the transmitting device of center (main website).
But, in the present embodiment, as shown in Figure 12, because can be by the transmitting device of a plurality of receiving stations, the corresponding data frame is withdrawed from from transmission channel, thus also can be simultaneously send Frames from a plurality of conveyers, and receive corresponding Frame by the conveyer of a plurality of receiving stations simultaneously, like this, just can realize the transfer of data of N to N.
The data transmission system of relevant data transmission system of present embodiment and traditional SDLC mode under following precondition relatively, can obtain following relevant performance comparison result.
(A) precondition
Modulator-demodulator is that transmission rate is the V.32 modulator-demodulator of 9600bps.
The number (quantity that comprises the transmitting device at center, station etc.) of standing: 32 stations
Amount of information: the capacity of the message segment of Frame
Center → station: the 5 bytes/frequency of standing was stood 1 time/2 seconds to each
Station → center: the 10 bytes/frequency of standing is stood 1 time/second by each
Transmission lag: each station of the about 20ms/ of the hysteresis of modulator-demodulator
The hysteresis in 111 processing times of MPU of transmitting device is ignored.
(B), the relevant comparison of the conveying function between the station arbitrarily
Sending message segment from transmitting device arbitrarily to the transmitting device of 16 stations (being assumed to the station of the centre at 32 stations of loop) is under the situation of 10 byte information amounts, the transmission time that investigation top information arrives.
(a) situation of the data transmission system of SDLC mode:
When transmitting data, the enabling signal of main website conveyer must be arranged, establish its average latency for along half of loop one all required times with the SDLC mode.
A station, average latency+transmission lag * 16
=20ms×32/2+20ms×16=640ms
(b), the situation of the data transmission system of present embodiment:
(20ms+2 * 8/9.6) * 16 station=346.7ms
(c) the shortening effect in transmission time of having of present embodiment
Become by aforementioned calculation, 346.7ms/640ms=54.2% can know, only needs to carry out transfer of data with half more transmission time of traditional approach.
According to present embodiment, because transmitting device 101,103 places each recipient, can Frame be withdrawed from from transmission channel 102, so also can be simultaneously from arbitrary transmitting device 101,103 transmit data frames, deliver letters when middle when being in its data frame, other Frame that other transmitting device can be sent carries out buffer-stored, treat its data frame send finish after, carry out the processing of other Frame again, so just realized the transfer of data of N N.
The following describes other embodiment.
Present embodiment adds above-mentioned Fig. 8, basic structure embodiment shown in Figure 9, obtains following structure.In addition, used Frame is identical with structure shown in Figure 10.
At this transmitting device 101, in 103, when receiving data frames, at first read in 3 byte (identification fields of Frame, recipient's address D A and sender address SA), then with recipient's address D A and transmission source address SA and the comparison of self address, if arbitrary address is all with self address when inconsistent, in statu quo make relay process (リ ピ-ト) to the conveyer of downstream side, recipient's address D A, when any among the transmission source address SA is consistent with self address, do not carry out relay process, and withdraw from from transmission channel 102, if and only if recipient's address D A when consistent with self address, carries out copy process with Frame.In this case, the action of each transmitting device is in flow chart shown in Figure 11, and the S11 step is replaced as the S11A step shown in Figure 24.
According to said structure, transmitting device 101,103 with the recipient's address D A that in Frame, sets, just in case under transmission channel 102 non-existent situations, then in the aforementioned embodiment, unrestrictedly continuous relaying such unfavorable condition of going down on transmission channel 102 of this Frame can appear, but in the present embodiment, when the transmit leg conveyer receives, this Frame can be removed from transmission channel 102, the raising of reliability is contributed to some extent.
To 16 stations transmission required time be in the present embodiment, with under the previous embodiment similarity condition:
(20ms+3 * 8/9.6) * 16 station=360ms
Though compare the transmission time with previous embodiment a little many, compare with traditional approach, be its 360ms/640ms=56.3%, still also reduce than traditional mode transmission time, reliability is improved.
embodiment 3 〉
(1) a relevant embodiment of present embodiment is the embodiment that adds earlier figures 8, basic structure shown in Figure 9.Frame is identical with as shown in figure 10 embodiment 2 used structures.
The transmitting system of each transmitting device 101,103 constitutes, when when computer #1, #2, microcomputer 105 or station control device 106 receive data sending request, at first judge whether it is to broadcast (Block ロ-De キ ャ ス ト) request, be when broadcasting request, then in Frame, setting in recipient's address field and broadcast the address to send.
On the other hand, the formation of the transmitting system of each transmitting device 101,103 is, during receiving data frames, contains under the situation of broadcasting the address in the set point of recipient's address field, and the frame that receives is copied; Even wherein do not broadcast the address, and when the recipient address of frame is consistent with self address, the Frame that receives is copied.Inconsistent when recipient address and self address of Frame, and have under the situation of broadcasting the address, when having only transmission source address consistent, do not carry out relaying with self address, and interior from transmission channel 102 with above-mentioned frame removal.
The following describes the course of action of said system.
It is as follows that the Frame of each transmitting device 101,103 sends action, promptly when MPU111 as shown in figure 13 when computer #1, #2, microcomputer 105 or station control control device 106 receive the request of broadcasting and other data demand, at first carry out initialization (S21), judge and to have or not the request of broadcasting (S22) then, when sending request, judge to have or not the request of broadcasting (S23).When not broadcasting request, then make with embodiment 2 in explanation same data frames and send (S24, S25).
When having judged the broadcasting request in the S23 step, then in recipient's address field, set and broadcast address (OFFh), and Frame is sent (S26~S28).
It is as follows that the Frame of each transmitting device 101,103 receives action, promptly as MPU111 (S31) after the initialization process as shown in figure 14, judged whether received frame (S32), if when received frame is arranged the recipient address in the judgment data frame whether with self address consistent (S33).
When the recipient address is consistent with self address, then insert (S34) behind the consistent identification fields, judge to have or not in the set point of recipient's address field and broadcast address (S35), if when the address of broadcasting is arranged, then the Frame that receives is copied (S36).Even without broadcasting the address, but when consistent identification fields is arranged, also the trusted data frame is copied (S37).
Further, when having the address of broadcasting when there not being consistent identification fields, under the sender address situation consistent, do not carry out relaying with self address, and this Frame is removed from transmission channel 102 (S38, S39).
What Figure 15 represented is the relevant broadcasting data frame transfer state time diagram of data transmission system of present embodiment.
In this system, when containing the Frame of broadcasting the address, after the transmitting device 103 of all substations reads this Frame on the transmission channel, again it is returned to central transmission device 101 by central transmission device 101 transmissions as main website.This central transmission device 101 receives after the frame of multiple access communication end, and its Frame is removed from transmission channel.
According to the foregoing description, when main website sends under the situation of certain instruction to all substation multiple access, broadcast the address to send Frame by in recipient's address field, setting earlier, thus, the broadcasting address copies data frame of each substation in recipient's address field, so can than embodiment 2 such send the mode efficient height of data respectively to all substations, and information needed can be sent to all substations.
(2) the following describes other relevant embodiment of present embodiment.
Present embodiment is the embodiment in earlier figures 8, basic structure shown in Figure 9, makes to have following structure.
At first, Frame is a structure as shown in figure 16, and the content of each field is identical with Figure 10 basically, but when being set with when broadcasting sign the setting sender address in recipient's address field.
The transmitting system structure of each transmitting device 101,103 be add embodiment 2 form its constitute, when receiving the broadcasting request from computer #1, #2, microcomputer 105 or station control device 106, in recipient's address field, set self address and broadcasting sign, and send Frame.
On the other hand, receiving system structure as each transmitting device 101,103, it is when receiving data frames, sets under the situation of broadcasting sign in recipient's address field, and this Frame is copied in buffer 114, simultaneously, if when the address of setting in recipient's address field is consistent with self address, then this Frame is not carried out relay process, and it is removed from transmission channel 102, thus, can make multiple access communication.
According to above-mentioned present embodiment, among the embodiment that illustrated with respect to the front relaying to lag behind be 3 bytes owing to only need 2 bytes to finish, so can further realize high efficiency broadcasting communication.
(3), further specify other relevant embodiment of the 3rd embodiment.
Present embodiment is that adding earlier figures 8, basic structure form shown in Figure 9 have following such structure.
The Frame of handling in the present embodiment is as shown in figure 17, is set with precedence designation in recipient's address field.Precedence designation also can be set in the sender address section in addition.
The transmitting system structure of each transmitting device 101,103 be as, when receiving the prioritised transmission requirement from computer #1, #2, microcomputer 105 or station control device 106, in recipient's address field of Frame, set precedence designation, and self Frame is sent.At this moment,, earlier this Frame is handled, then sent the Frame of self again if when having Frame to be in the relaying.
Receiving system structure as each transmitting device 101,103, when receiving Frame, if set precedence designation in recipient's address field, even then be in the frame transmission, Frame in also will sending temporarily is stored in buffer 114, transmit preferentially with the Frame relaying that receives, and to the downstream side conveyer.
Figure 25 is the flow chart that the transmitting device action of precedence designation has been set in expression.
As shown in the figure, at first judge whether to have received Frame (S111) with precedence designation.When having received Frame, judged whether that again other Frame is in transmit status (S112) with precedence designation.In S112, be judged as other Frame when being in the transmission, the Frame in then will sending deposits (S113) in the data buffer 114 in, carries out the S114 step then, in addition, even the S112 step is judged as other Frame not in transmission the time, also enters the S114 step.In step, the frame with precedence designation thereafter, is sent other Frame (S115) again by relaying at S114.
That Figure 18 is express time figure, when the transmitting device 103 of substation 1 when the transmitting device 103 of substation 2 carries out continuous transmit frame, when the central transmission device 101 from main website receives the Frame that is set with precedence designation, this frame is preferentially carried out relaying, and the transmitting device 103 to substation 2 transmits then.
According to present embodiment, even the transmitting device that takies the loop transmission channel is continuously arranged,, it is interrupted by setting precedence designation, with the data of needs send in fixing time.
Embodiment 4:
(1), 1 relevant embodiment of present embodiment, be to add the form of earlier figures 8, basic structure shown in Figure 9 and make and have following structure.In addition, handled Frame in the native system, be constitute as shown in figure 19 such as ttl field (Time toLive-life span) is set behind identification fields.
Constitute in the transmitting system of each transmitting device 101,103, be when sending Frame, if the station number is 32 o'clock on the transmission channel, then in the ttl field of Frame by transmitting device own, be set at and lack 1 initial value " 31 " than this station number, carry out Frame then and send.
On the other hand, each transmitting device 101,103 transmitting system structure, it is to be provided with when receiving Frame, from frame, read setting content in the ttl field, and judge that whether this setting content value giving the i.e. TTL content detection unit in " 1~31 " of the prescribed limit set earlier, and when this TTL content detection unit judges that the set point content is in prescribed limit, after from the set point content, subtracting " 1 ", continuation is to downstream side transmitting device relay data frame, and when this set point content is beyond the prescribed limit, the frame removal portion of from transmission channel, Frame being removed then.
Illustrate that below with reference to Figure 20 Frame receives operating principle.
The MPU111 of each transmitting device 101,103, carry out initialization process (S41) according to program after, judge whether to have received Frame (S42) with specified period.When having accepted Frame, read in the set point (S43) in the ttl field in the Frame earlier, judge that then this set point is whether within predefined scope " 1~31 " (S44).When in predetermined scope, only the set point content of ttl field is subtracted 1 after, (S45), again with this Frame to downstream side transmitting device relaying (S46).On the other hand, when beyond the preset range, such as initial value overshoot scope or be under 0 the situation, judge that this frame is illegal or unwanted, then this Frame do not carried out relaying, and from transmission channel with its removal (S47).
According to the foregoing description, if in Frame, set ttl field, and in this ttl field, set and the corresponding initial value of station number, when the Frame of each transmitting device reception carries out relaying, to subtract its 1 back and carry out relaying, then can after a touring week of frame, know it is illegal or unwanted Frame, this Frame is not carried out relaying, and effectively from transmission channel with its removal.
(2), the following describes other relevant embodiment of embodiment 4.
The present embodiment form adds aforesaid Fig. 8, basic structure embodiment shown in Figure 9, becomes to have following structure, it constitutes the Frame that native system is handled, shown in Figure 21 such as after identification fields, being provided with the time information field.
The transmitting system structure of various transmitting devices 101,103, doing becomes: when sending Frame, set the inside time information variate-value of delivery time in the time information field in frame, carry out frame then and send.In addition, in each transmitting device 101,103, dispose internal clocking, according to the internal clocking of this system synchronization action, for example can 1 second cycle carry out stepping, also can change the set point of inner time information variable simultaneously.
Each transmitting device 101,103 receiving system structure, it is to be provided with: when receiving data frames, in this time of reception, setting content with the time information field in the frame, compare with the inside time information variate-value of self transmission device, and within the predetermined time whether the difference of judging two values, the time difference detection unit in 2 seconds for example, and according to above-mentioned result of determination, when described setting content is in 2 seconds,,, judge that this Frame is illegal or unwanted when this setting content during greater than 2 seconds with the transmitting device relaying of this Frame to the downstream side of transmission channel, it is not carried out relaying, and the frame removal portion of from transmission channel, removing.
Like this, according to the foregoing description, the judgment data frame is incorrect or unwanted serially, and does not carry out relaying, makes its certain removing from transmission channel.
(3), the example of present embodiment, it is the embodiment that adds earlier figures 8, basic structure shown in Figure 9, and becomes following structure.Handled data frame structure in the native system is to be provided with ordinal number (serial-number) section as shown in figure 22 after such as identification fields.
Each transmitting device 101,103, having each sends with the supervision of inner ordinal number variable and sender address setting in advance with inner ordinal number variable, when carrying out the Frame transmission, in the ordinal number section of frame, set earlier and send with inner ordinal number variable, and send this Frame again, simultaneously, with the transmission of self transmission device inside with the stepping singly of inner ordinal number variable.
The signal receiver side structure of each transmitting device 101,103, form by ordinal number detection unit, ordinal number changing unit and Frame removal portion, wherein the ordinal number detection unit is used for, when receiving data frames, when receiving ordinal number section and sender address SA, judge whether the ordinal number in the ordinal number section is big (to fall) with respect to the supervision corresponding with sender address with inner ordinal number variable; Described ordinal number changing unit is on the basis of above-mentioned judgement, when ordinal number be big (supervision in this moment be not included in) with the value of inner ordinal number variable the time, then with the downstream side transmitting device relaying of corresponding Frame to transmission channel, and in monitoring with inner ordinal number variable, the transmission of setting and changing the interior ordinal number section content of this Frame is with inner ordinal number variable; Described Frame removal portion, be used for when sending when being little (wherein include this and monitor value constantly) with inner ordinal number variable with inner ordinal number variable, then this Frame of decidable is incorrect or unwanted, and the capable relaying that do not go on, and it is removed from transmission channel.
According to the foregoing description, can from received frame deliver letters with inner ordinal number variable and and the frame that receives the corresponding supervision of sender address SA judge with the magnitude relationship between the inner ordinal number variable whether this Frame is incorrect or unwanted data, when being judged to be illegal or during unwanted data, then this frame is not carried out relaying, be about to it and from transmission channel, remove effectively.
(4), the present embodiment form, be the embodiment that adds above-mentioned Fig. 8, basic structure shown in Figure 9, it has following formation, handled Frame is with structure is identical as shown in figure 22 in the native system.
The transmission that each transmitting device 101,103 has each recipient address in advance with the supervision of inner ordinal number variable and each recipient address and sender address combination with inner ordinal number variable, when carrying out the Frame transmission, it is right with the value of inner ordinal number variable to set the transmission corresponding with this recipient address in the ordinal number section of frame, and send this frame, should send simultaneously with the stepping one by one of inner ordinal number variate-value.
The receiving system of each transmitting device 101,103, form by ordinal number detection unit, ordinal number changing unit and frame removal portion, wherein said ordinal number detection unit is used for, out-of-date at receiving data frames, judgement is when receiving recipient's address field, sender address section and ordinal number section, and whether the ordinal number in the ordinal number section is with respect to being big with this recipient address and sender address are made up corresponding supervision with inner ordinal number variate-value; The ordinal number changing unit, be on the basis of above-mentioned judgement, if send with inner ordinal number variable (this monitors that constantly the value with inner ordinal number variable is not included in interior) when being big, then with the downstream side transmitting device relaying of corresponding Frame to transmission channel, monitoring that simultaneously the transmission of content of setting and changing the interior ordinal number section of this Frame is with inner ordinal number parameter with inner ordinal number variable; Frame removal portion is used for, and when sending when being little (wherein include this and monitor value with inner ordinal number variable constantly) with inner ordinal number variable, then this Frame of decidable is incorrect or unwanted, and does not carry out relaying, and it is removed from transmission channel.
According to the foregoing description, can from received frame, deliver letters with inner ordinal number variable and and received frame in the corresponding supervision of combination of recipient address and sender address judge with the magnitude relationship between the inner ordinal number variable whether this Frame is incorrect or unwanted data, when being judged to be when being, then this Frame is not carried out relaying, and it is thoroughly removed from transmission channel.
Embodiment 5:
The present embodiment form is the embodiment that adds earlier figures 8, basic structure shown in Figure 9, and it has following structure, handled Frame in the native system, available as Figure 18, Figure 20, structure shown in Figure 21 any.
In the normal state, the receiving system of each transmitting device 101,103, when at first judging the recipient's address field in receiving Frame, whether consistent as the recipient address of this field setting content with self address, if when inconsistent, then make this Frame to downstream side transmitting device relaying, otherwise this Frame is copied in the data buffer, and then it is removed from transmission channel in not carrying out.
But, only use the recipient address, and because the setting mistake of address etc. can not be said so enough fully.So, in the present embodiment, replenish the part of having utilized except that address field in the frame, promptly judge as the described variable of embodiment.That is to say, by the part beyond the address field is TTL, time information, ordinal number and other (fcs error, the Frame mistake of abort) information is come the adequacy of decision data frame, when being judged to be incorrect or during unwanted Frame, it can be transferred to absorption mode, this absorption mode is, till be judged to be incorrect or unwanted field, when receiving frame, judgement is this frame should be absorbed or relaying, when this frame to downstream side transmitting device relaying, transmit when turning back to the self transmission device again by transmission channel, then this Frame removed from transmission channel, from and enter common state (モ-De).
According to the present invention of above explanation, owing to judging the content of each Frame respectively at each transmitting device place and it can being removed from transmission channel, so can realize the transfer of data of N to N.
After above-mentioned N realizes the N transfer of data, can therefore also improve efficiency of transmission to reduce the free time of transmission channel to greatest extent.
Further, the present invention can provide record realize N to the N transfer of data, and can reduce transmission channel free time, improve the program recording medium of efficiency of transmission.

Claims (13)

1. data transmission system, it is characterized in that having: be connected many transmitting devices on the loop type transmission channel, described each transmitting device, when the recipient address in the Frame that receives is self address, obtain this Frame, and when the sender address in the above-mentioned Frame that receives is self address, this Frame is removed from above-mentioned transmission channel.
2. the data transmission system of recording and narrating according to claim 1, it is characterized in that: above-mentioned each transmitting device also has relay, described relay, when the recipient address in the Frame of above-mentioned reception and sender address are not self address, just do not read the remainder of this Frame, and with described Frame to other transmitting device relaying.
3. according to the data transmission system of claim 1 record, it is characterized in that also including: transmitting device is used in management, and this management has with transmitting device:
Read the content of the frame that transmits on the above-mentioned transmission channel, and according to the whether normal judgment means of the content judgment data frame that reads; And
When Frame is not under the normal situation, the removal device that this Frame is removed from transmission channel.
4. the data transmission system of recording and narrating according to claim 1 is characterized in that may further comprise the steps: above-mentioned transmitting device also has the dispensing device that same Frame is sent to the both direction of above-mentioned transmission channel respectively.
5. data transmission method is characterized in that may further comprise the steps:
The Frame that reception is transmitted by the loop type data transmission path;
When the recipient address in the Frame that receives is self address, read this Frame;
When the sender address in the received Frame is not self address, this Frame is removed from above-mentioned transmission channel.
6. computer program device that is used to move computer is characterized in that comprising:
Computer-readable media;
First program instruction means, it orders computer processor, when the recipient address in the Frame that the loop type transmission channel that receives transmits is self address, reads this Frame; With
The 2nd program instruction means, it orders computer processor, when the sender address in the above-mentioned Frame that receives is self address, above-mentioned Frame is removed from above-mentioned transmission channel; Described each program instruction means is to be stored in described readable media with executable format, and the computer of can packing into is carried out by processor.
7. the data transmission system recorded and narrated of claim 1, it is characterized in that: above-mentioned each transmitting device also includes: when the recipient address in the above-mentioned Frame that receives is consistent with self address, and the removal device that above-mentioned Frame is removed from above-mentioned transmission channel.
8. data transmission system, it is characterized in that including: be connected many transmitting devices on the transmission channel of loop type, described each transmitting device, when the recipient address in the Frame that receives is self address, obtain above-mentioned Frame, and the Frame that receives is removed from above-mentioned transmission channel.
9. the data transmission system of recording and narrating according to Claim 8, it is characterized in that: above-mentioned each transmitting device also has: dispensing device, it is when when all other transmitting devices send Frame, in recipient's address field of this Frame, set and broadcast sign, the Frame that is set with above-mentioned broadcasting sign is sent to above-mentioned transmission channel;
Frame obtains device, and it is when setting the broadcasting sign in the recipient's address field in the above-mentioned Frame that receives, and then obtains this and is set with the Frame of broadcasting sign; And relay, it is that the above-mentioned Frame of broadcasting sign that is set with is carried out relaying.
10. data transmission system is characterized in that including:
Be connected each transmitting device of loop type transmission channel; Described each transmitting device has:
Expression is set in Frame preferentially carries out the precedence designation setting device of the precedence designation of relaying than other frame;
Save set, it is when sending other Frame, when receiving the Frame that is provided with above-mentioned precedence designation, above-mentioned other Frame that is sending is preserved;
Relay, it is after above-mentioned other Frame is preserved, and makes the above-mentioned Frame that is provided with precedence designation go into relaying to other transmitting devices; With
Behind the above-mentioned Frame relaying that is provided with precedence designation, the dispensing device that above-mentioned other Frame that will preserve again sends.
11. a data transmission system is characterized in that including: each transmitting device that is connected the loop type transmission channel; Described each transmitting device has:
Transmission is set with the dispensing device of the Frame of variable information, and described variable information is for removing Frame from transmission channel;
Judge the whether consistent decision maker of variable information of the Frame receive with preset value;
According to this result of determination, when the variable information in the Frame that receives is consistent with preset value, the removal device that this Frame that receives is removed from above-mentioned transmission channel.
12. a data transmission method is characterized in that comprising following dried step:
When receiving when being set with expression, other Frame that is receiving is preserved than the Frame of the precedence designation of the preferential relaying of other Frame;
After described other Frame preserved, will be set with the Frame of above-mentioned precedence designation to other transmitting device relaying;
After being set with the Frame relaying of above-mentioned precedence designation, sending again and preserve the Frame of getting up.
13. a data transmission method is characterized in that comprising the steps:
Judge whether the variable information in the Frame that receives is consistent with predefined value, and above-mentioned variable information is used for Frame is removed from transmission channel;
Result by judging when the variable information in the Frame that receives is consistent with predefined value, removes the above-mentioned Frame that receives from above-mentioned transmission channel.
CNB991007735A 1998-12-25 1999-02-26 Loop type data transmission system Expired - Fee Related CN1251451C (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP10369275A JP2000196640A (en) 1998-12-25 1998-12-25 Loop type data transmission system
JP369275/1998 1998-12-25

Publications (2)

Publication Number Publication Date
CN1258977A true CN1258977A (en) 2000-07-05
CN1251451C CN1251451C (en) 2006-04-12

Family

ID=18494019

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB991007735A Expired - Fee Related CN1251451C (en) 1998-12-25 1999-02-26 Loop type data transmission system

Country Status (4)

Country Link
JP (1) JP2000196640A (en)
CN (1) CN1251451C (en)
AU (1) AU719874B1 (en)
CA (1) CA2262395C (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108780603A (en) * 2017-11-30 2018-11-09 深圳市大疆创新科技有限公司 A kind of UAV system and its communication means, remote control
CN108885602A (en) * 2016-03-07 2018-11-23 高通股份有限公司 Multi-protocols I3C shares command code
CN114245978A (en) * 2019-09-05 2022-03-25 欧姆龙株式会社 Host device, arithmetic processing device, programmable logic controller, network, and method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100789444B1 (en) * 2006-09-29 2007-12-28 엘에스산전 주식회사 A communication packet processing apparatus and method for ring topology ethernet network capable of preventing permanent packet looping

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4468734A (en) * 1982-03-26 1984-08-28 International Business Machines Corporation Method of purging erroneous signals from closed ring data communication networks capable of repeatedly circulating such signals
JPH0831869B2 (en) * 1987-02-23 1996-03-27 株式会社日立製作所 Data transmission method and data transmission device
US5287356A (en) * 1992-02-10 1994-02-15 Harris Corporation Automatic termination of loop circulating messages

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108885602A (en) * 2016-03-07 2018-11-23 高通股份有限公司 Multi-protocols I3C shares command code
CN108780603A (en) * 2017-11-30 2018-11-09 深圳市大疆创新科技有限公司 A kind of UAV system and its communication means, remote control
CN114245978A (en) * 2019-09-05 2022-03-25 欧姆龙株式会社 Host device, arithmetic processing device, programmable logic controller, network, and method
CN114245978B (en) * 2019-09-05 2023-08-01 欧姆龙株式会社 Host device, operation processing device, controller, network system, and method

Also Published As

Publication number Publication date
CA2262395A1 (en) 2000-06-25
CN1251451C (en) 2006-04-12
AU719874B1 (en) 2000-05-18
JP2000196640A (en) 2000-07-14
CA2262395C (en) 2003-06-17

Similar Documents

Publication Publication Date Title
CN1127241C (en) Method of using AV devices and AV device system
CN1137562C (en) Packet communication network
CN1179280C (en) Data communication system, data communication method, data communication apparatus and digital interface
CN1111795C (en) Information distribution system using network
CN1383337A (en) Data chain transmitting control method, mobile communication system, data chain transmitting controller, base station, mobile station and its controller
CN1894921A (en) Transmission station, reception station, communication method, communication program, and computer-readable recording medium containing the communication program
CN1525707A (en) Communication system, mobile terminal and transfer device
CN1174471A (en) Printer system and method of controlling operation of the same
CN1780260A (en) System for supporting communications among ATM devices, device for supporting data transmission, and method for sending data
CN1112637C (en) Information acquisition proxy system and information transfer managing system
CN1387125A (en) Memory system
CN1412973A (en) Virtual personal network service management system and service supervisor and service agent device
CN1870532A (en) Signalling tracking method and system
CN1679004A (en) Cache device, cache data management method, and computer program
CN1890624A (en) Electronic device, control method thereof, host device, and control method thereof
CN1878599A (en) Game apparatus, game method, and game program
CN1148031C (en) Multi-media information communication system
CN1679285A (en) Methods for performing medium dedication in order to ensure the quality of service for delivering real-time data across wireless network
CN1416276A (en) Intermediate data receiver, method, program and recording medium and transmitting appts. and tranferring method thereof
CN1637714A (en) Remote copy network
CN1624611A (en) Programmable controller and communication unit, and methods of solving variables and of handing data
CN101061457A (en) Output system, output data management apparatus, network device, output data management program, output program, and output method
CN1071076C (en) Catv-lan system having simple modem configuration and providing high efficiency of transmission
CN1290025C (en) Data source, device related to the same, receiving method, medium and information set
CN1251451C (en) Loop type data transmission system

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20060412

Termination date: 20120226