CN101667953B - Reporting method of rapid looped network physical link state and device therefor - Google Patents
Reporting method of rapid looped network physical link state and device therefor Download PDFInfo
- Publication number
- CN101667953B CN101667953B CN2009101800323A CN200910180032A CN101667953B CN 101667953 B CN101667953 B CN 101667953B CN 2009101800323 A CN2009101800323 A CN 2009101800323A CN 200910180032 A CN200910180032 A CN 200910180032A CN 101667953 B CN101667953 B CN 101667953B
- Authority
- CN
- China
- Prior art keywords
- data
- processing module
- master control
- high level
- sends
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Communication Control (AREA)
Abstract
The invention discloses a reporting method of rapid looped network physical link state, comprising: when detecting Ethernet port information, a service processing module sends at least nine continuous high levels to a main control processing module and then sends a low level which is taken as a start bit, so as to inform the main control processing module to prepare to receive data; when sending eight valid data bits in the Ethernet port information, the service processing module sends one byte flag and then sends a stop bit after sequentially sending all the bytes of the Ethernet port information; and after acquiring the Ethernet port information, the main control processing module reports the information to a main control module. The invention guarantees the accuracy of the received data and improves the capacity of resisting disturbance of a data transmission line.
Description
Technical field
The present invention relates to communication technical field, relate in particular to a kind of report method and device of rapid looped network physical link state.
Background technology
At present, the technology of solution double layer network loop problem has STP (Spanning Tree Protocol, Spanning-Tree Protocol) and RRPP (Rapid Ring Protection Protocol, ring protection agreement fast).STP is applied to loop network, and is redundant through certain algorithm realizing route, simultaneously loop network is trimmed to loop-free tree network, thereby avoids hyperplasia and the Infinite Cyclic of message in loop network.RRPP is the link layer protocol of specialized application in Ethernet ring, is applied to the link layer protocol of Ethernet ring, can prevent the broadcast storm that data loopback causes in the Ethernet ring; When a link breaks off on the Ethernet ring, can launch backup link rapidly to recover the communication between each node on the looped network.
Though STP uses comparative maturity, convergence rate is a second level.RRPP has the convergence rate (being lower than 50ms) faster than STP, and the node number is irrelevant on the convergence time of RRPP and the looped network, can be applicable to larger-diameter network.Therefore the RRPP protocol link layer requires to obtain fast from bottom (physical layer) operating state of ethernet port.
The telecommunication apparatus of distributed frame will be realized the RRPP agreement looped network purpose of convergence fast, requires the ethernet port state on the business board can report to reliable and real-time master control borad.In the prior art; Ethernet port condition detection method on the business board is more; Ethernet electricity mouthful state-detection generally judges that through the link detecting function of PHY (physical layer) self link breaks off, and interrupts reporting this plate CPU (CenterProcessor Unit, CPU) then; Ethernet light mouth state-detection is the key signal Los through detecting the optical module physical link state, Present, Fault etc. generally; But be not limited to these signals; When these key signal output states are unusual, expression network interface link down, this state is just recorded CPLD (Complex Programmable Logic Device; CPLD) related register position interrupts reporting this plate CPU then.Report master control borad through data transmission channel behind these status signals that business board CPU collects.
Yet, because status signal is that CPLD by business board obtains in the prior art, sending to the CPU of business board, business board CPU sends to master control borad CPU through data transmission channel.Because each state information report all need pass through CPU, all can take certain resource, if quantity increases, will reduce operational efficiency.And, owing to reporting, status signal in the prior art adopts common send mode again, possibly there is the wrong report phenomenon.
Summary of the invention
The invention provides a kind of report method and device of rapid looped network physical link state, can guarantee real-time, the promptness of port failure state reporting, can also guarantee the reliability of status data transmission, greatly improved the operational efficiency of equipment RRPP agreement.
The invention provides a kind of report method of rapid looped network physical link state; Be applied to comprise in the device of at least one master control borad, at least one business board; Said master control borad comprises master control control module and master control processing module; Said business board comprises Service Processing Module, said method comprising the steps of:
Said Service Processing Module detects ethernet port information, sends at least 9 continuous high level to said master control processing module, sends a low level then as start bit, notifies said master control processing module to prepare to receive data;
1 bit byte flag bit is then sent in 8 valid data positions in the said ethernet port information of the every transmission of said Service Processing Module, successively said all bytes of ethernet port information has been sent the back and has sent position of rest;
After said master control processing module is obtained said ethernet port information, report said master control control module.
Send at least 9 continuous high level, also comprise before:
Said Service Processing Module monitors on the circuit and just sends start bit behind said at least 9 high level of continued presence; If between said at least 9 high period of counting; There is low level to occur; Remove counter and restart counting, after being consecutively detected said at least 9 high level, just send start bit.
1 bit byte flag bit is then sent in 8 valid data positions of said every transmission, also comprises afterwards:
If it is high level that said Service Processing Module detects said byte flag position, then misregistration information jumps to the IDLE state then, and request resends, and counter O reset.
Said master control processing module is obtained ethernet port information, specifically comprises:
Said master control processing module detects and has occurred said at least 9 high level on the circuit, is initial state by the IDLE state exchange, begins to receive data, counter O reset;
When counting down to 9 integer figure according to the time for low level, said bit data is abandoned, other position deposits reception data buffer in as valid data, receive last 1 byte data after, receive position of rest, get into the IDLE state; If when 9 integer figure certificate is high level, then jump to the IDLE state, the expression Data Receiving is made mistakes, and with counter O reset.
The invention provides a kind of reporting device of rapid looped network physical link state, comprise at least one master control borad, at least one business board, said master control borad comprises master control control module and master control processing module, and said business board comprises Service Processing Module,
Said Service Processing Module is used to detect ethernet port information, sends at least 9 continuous high level to said master control processing module, sends a low level then as start bit, notifies said master control processing module to prepare to receive data; 1 bit byte flag bit is then sent in 8 valid data positions in the said ethernet port information of every then transmission, successively said all bytes of ethernet port information has been sent the back and has sent position of rest;
Said master control processing module, be used to obtain said ethernet port information after, report said master control control module.
Said Service Processing Module specifically comprises:
Detector is used to detect ethernet port information;
Transmitter is connected with said detector, is used to detect ethernet port information, sends at least 9 continuous high level to said master control processing module, sends a low level then as start bit, notifies said master control processing module to prepare to receive data; 1 bit byte flag bit is then sent in 8 valid data positions in the said ethernet port information of every then transmission, successively said all bytes of ethernet port information has been sent the back and has sent position of rest;
Counter is connected with said transmitter, is used for sending the position counting.
Said Service Processing Module also comprises:
Line monitor; Be connected with said counter with said transmitter respectively, be used to monitor the level that sends the position, after monitoring said 9 high level of continued presence, trigger said transmitter at least and send start bit; If between said at least 9 high period of counting; There is low level to occur, removes said counter and restart counting, after being consecutively detected said 9 high level, just trigger said transmitter at least and send start bit.
Said line monitor, also being used to monitor said byte flag bit level is 1 o'clock, then misregistration information jumps to the IDLE state then, asks said transmitter to resend, and said counter O reset.
Said master control processing module specifically comprises:
Detector is used for whether occurring on the detection line said at least 9 high level;
Receiver is connected with said detector, is used to detect on the circuit when said at least 9 high level occurring, begins to receive data, makes counter O reset;
Counter is connected with said receiver, is used for data with clock information is counted;
Processor is connected with said counter, is used for when the integer figure certificate that count down to 9 is low level; This bit data is abandoned, other the position deposit reception data buffer in as valid data, receive last 1 byte data after; Receive position of rest, make said receiver get into the IDLE state.
The invention provides a kind of data transmission method, be applied to comprise in the system of at least one sending ending equipment and at least one receiving device, said method comprising the steps of:
Said sending ending equipment sends at least 9 continuous high level to said receiving device, sends a low level then as start bit, notifies said receiving device to prepare to receive data;
1 bit byte flag bit is then sent in 8 valid data positions of the every transmission of said sending ending equipment, successively all bytes has been sent the back and has sent position of rest;
Said receiving device detects and has occurred said at least 9 high level on the circuit, is initial state by the IDLE state exchange, begins to receive data, counter O reset.
At least 9 continuous high level of said transmission also comprise before:
Said sending ending equipment monitors on the circuit and just sends start bit behind said at least 9 high level of continued presence; If between said at least 9 high period of counting; There is low level to occur; Remove counter and restart counting, after being consecutively detected said at least 9 high level, just send start bit.
1 bit byte flag bit is then sent in 8 valid data positions of said every transmission, also comprises afterwards:
If it is high level that said sending ending equipment detects said byte flag position, then misregistration information jumps to the IDLE state then, and request resends, and counter O reset.
Said receiving device begins to receive data, specifically comprises:
When counting down to 9 integer figure according to the time for low level, said bit data is abandoned, other position deposits reception data buffer in as valid data, receive last 1 byte data after, receive position of rest, get into the IDLE state; If when 9 integer figure certificate is high level, then jump to the IDLE state, the expression Data Receiving is made mistakes, and with counter O reset.
The invention provides a kind of data transmission set, be applied to comprise in the system of sending ending equipment and receiving device, said data transmission set comprises during as sending ending equipment:
Sending module is used for sending at least 9 continuous high level to said receiving device, sends a low level then as start bit, notifies said receiving device to prepare to receive data; 1 bit byte flag bit is then sent in 8 valid data positions of every then transmission, successively all bytes has been sent the back and has sent position of rest;
Counting module is connected with said sending module, is used for sending the position counting.
Also comprise
The circuit monitoring module; Be connected with said counting module with said sending module respectively, be used to monitor the level that sends the position, after monitoring said 9 high level of continued presence, trigger said sending module at least and send start bit; If between said at least 9 high period of counting; There is low level to occur, removes said counting module and restart counting, after being consecutively detected said 9 high level, just trigger said sending module at least and send start bit.
Said circuit monitoring module, also being used to detect said byte flag position is high level, and then misregistration information jumps to the IDLE state then, and request resends, and counter O reset.
The invention provides a kind of data transmission set, be applied to comprise in the system of sending ending equipment and receiving device, said data transmission set comprises during as receiving device:
Detection module is used for whether occurring on the detection line at least 9 high level;
Receiver module is connected with said detection module, is used to detect on the circuit when said at least 9 high level occurring, begins to receive data, makes the counting module zero clearing;
Counting module is connected with said receiver module, is used for data with clock information is counted;
Processing module is connected with said counting module, is used for when the integer figure certificate that count down to 9 is low level; This bit data is abandoned, other the position deposit reception data buffer in as valid data, receive last 1 byte data after; Receive position of rest, make said receiver get into the IDLE state.
Compared with prior art, the present invention has the following advantages:
Among the present invention, state information directly is reported to the CPLD of master control borad through the CPLD of business board, and adopts special frame transformat, ensured the correctness of Data Receiving, can improve the data transmission link antijamming capability.
Description of drawings
Fig. 1 is the link detecting theory diagram of ethernet port among the present invention;
Fig. 2 is a data frame format sketch map among the present invention;
Fig. 3 is a data transmission state sketch map among the present invention;
Fig. 4 is a CPLD inner function module sketch map among the present invention;
Fig. 5 is a transmit status machine sketch map among the present invention;
Fig. 6 is an accepting state machine sketch map among the present invention;
Fig. 7 is a kind of data transmission method flow chart among the present invention;
Fig. 8 is a kind of data transmission set structure chart among the present invention;
Fig. 9 is an another kind of data transmission set structure chart among the present invention.
Embodiment
Core concept of the present invention is: state information directly is reported to the CPLD of master control borad through the CPLD of business board, sets up special-purpose data transmission channel, give master control borad with the state information real-time report of detected ethernet port.And, adopt special transfer of data frame format, can not only guarantee transfer of data accurately and reliably, can also improve the error correcting capability of data circuit, reduce receiving the error rate.In addition; Data transmission channel among the present invention not only is used to transmit the ethernet port state information; Can also be used to carry other data message, comprise other style interface state information etc., the user can define the data that will transmit according to self practical business situation.
The invention provides a kind of report method of rapid looped network physical link state; Be applied to comprise in the device of at least one master control borad, at least one business board; Said master control borad comprises master control control module (for example CPU) and master control processing module (for example CPLD); Said business board comprises message control module (for example CPU) and Service Processing Module (for example CPLD), said method comprising the steps of:
1; Said Service Processing Module detects ethernet port information (for example fault message or other state informations etc.); Send at least 9 continuous high level to said master control processing module, send a low level then, notify said master control processing module to prepare to receive data as start bit; 1 bit byte flag bit (for example low level is effective) is then sent in 8 valid data positions in the said ethernet port information of the every transmission of said then Service Processing Module, successively said all bytes of ethernet port information has been sent the back and has sent position of rest.
Generally, Service Processing Module is in normal operating conditions, before beginning to send ethernet port information, should be in the IDLE state, and promptly continuous at least 9 high level can normally send data bit to the master control processing module according to above-mentioned mode of operation.But some situation, Service Processing Module possibly break down, therefore; In order to guarantee that data normally transmit, need to introduce monitoring mechanism, monitor sending the position on the circuit; Be specially: monitor on the circuit and just send start bit behind said at least 9 high level of continued presence,, have low level to occur if between said at least 9 high period of counting; Remove counter and restart counting, after being consecutively detected said at least 9 high level, just can then send start bit.
In addition; This monitoring mechanism can also be monitored the data process of transmitting, specifically comprises: 1 bit byte flag bit level behind 8 valid data positions mistake occurs for high on circuit this moment in the process of transmitting of declarative data position if detect; Misregistration information then; Jump to the IDLE state then, request resends data and counter O reset.
2, after said master control processing module is obtained said ethernet port information, report said master control control module.
Wherein, said master control processing module is obtained ethernet port information, specifically comprises: said master control processing module detects and has occurred said at least 9 high level on the circuit, is initial state by the IDLE state exchange, begins to receive data, counter O reset; When counting down to 9 integer figure according to the time for low level, said bit data is abandoned, other position deposits reception data buffer in as valid data, receive last 1 byte data after, receive position of rest, get into the IDLE state; If when 9 integer figure certificate is high level, then jump to the IDLE state, the expression Data Receiving is made mistakes, and with counter O reset.
Among the present invention, the physical link passage adopts CPLD to realize the point-to-point asynchronous serial transmission of single line, gives the data transmission channel that RRPP physical link port status detects provides a special use, has realized that CPLD realizes the collection of transfer of data and veneer port status between plate.Avoid other data service to take data channel, compare the Ethernet data passage, ensured real time of data transmission.
The link detecting theory diagram of ethernet port of the present invention is as shown in Figure 1, comprises master control borad 1 and master control borad 2, business board 1, business board 2 ..., business board N.The present invention is as example, and master control borad and business board also can be other quantity in the practical application.Master control borad comprises master control CPLD and master cpu, communicates by letter with INT through the master control borad local bus between master control CPLD and the master cpu; Business board comprises professional CPLD and business CPU, communicates by letter with INT through the business board local bus between professional CPLD and the business CPU.
Wherein, professional CPLD (Service Processing Module) is used to detect ethernet port information, sends at least 9 continuous high level to said master control processing module, sends a low level then as start bit, notifies said master control processing module to prepare to receive data; 1 bit byte flag bit is then sent in 8 valid data positions in the said ethernet port information of every then transmission, successively said all bytes of ethernet port information has been sent the back and has sent position of rest;
Master control CPLD (master control processing module), be used to obtain said ethernet port information after, report master cpu (master control control module).
Professional CPLD specifically comprises: detector is used to detect ethernet port information; Transmitter is connected with said detector, is used to detect ethernet port information, sends at least 9 continuous high level to said master control processing module, sends a low level then as start bit, notifies said master control processing module to prepare to receive data; 1 bit byte flag bit is then sent in 8 valid data positions in the said ethernet port information of every then transmission, successively said all bytes of ethernet port information has been sent the back and has sent position of rest; Counter is connected with said transmitter, is used for sending the position counting.
In order to guarantee that data normally transmit, professional CPLD can also comprise: line monitor is connected with said transmitter; Be used to monitor the level that sends the position; After monitoring said 9 high level of continued presence, trigger said transmitter at least and send start bit,, have low level to occur if between said at least 9 high period of counting; Remove said counter and restart counting, after being consecutively detected said 9 high level, just trigger said transmitter at least and send start bit.Line monitor, when also to be used to monitor said byte flag bit level be high, then misregistration information jumped to the IDLE state then, asks said transmitter to resend, and said counter O reset.
Master control CPLD specifically comprises: detector is used for whether occurring on the detection line said at least 9 high level; Receiver is connected with said detector, is used to detect when at least 9 high level occurring on the circuit, begins to receive data, makes counter O reset; Counter is connected with said receiver, is used for data with clock information is counted; Processor is connected with said counter, is used for when the integer figure certificate that count down to 9 is low level; This bit data is abandoned, other the position deposit reception data buffer in as valid data, receive last 1 byte data after; Receive position of rest, make said receiver get into the IDLE state.
RRPP port status physical link passage among the present invention is the serial transmission passage; Data/address bus has only a signal line between business board and the polylith master control borad; Realize that through backboard the star bus topological structure connects each other; Business board is responsible for collecting the ethernet port state information and is sent through serial-port, and master control borad is responsible for receiving the ethernet port state information that comes from business board.If there are a plurality of business boards in distributed system, between every business board and the master control borad RRPP data channel is arranged all, independently of one another.The RRPP data channel of each business board converges in master control borad CPLD, and master control CPLD is uploaded to master cpu again and handles.If RRPP data channel number is more, master control borad can adopt one or more CPLD to satisfy system requirements according to the CPLD logical resource.
The break-make of the business board ability fast detecting ethernet port physical link among the present invention; In case port status changes; CPLD can obtain each port information in a short period of time, transmit the state information to the CPLD of master control borad then through the asynchronous serial data passage., when receiving data channel information, when one of them master control borad carries out hot plug, do not influence another piece master control borad and receive data for dual master control CPLD.
Among the present invention,, ensure the reliability that main control board data receives, design a kind of data frame format, can improve the error correcting capability of data circuit, reduce receiving the error rate, guarantee transfer of data accurately and reliably according to the characteristics of data channel physical link.Adopt CPLD to realize the serial transmission of Frame, professional CPLD is responsible for sending data, and master control CPLD is responsible for receiving data.The frame format definition is as shown in Figure 2:
X, the expression data bit is 0 (low level) or two kinds of level values of 1 (high level);
S, i.e. start of frame bits, 0 level is represented the start frame transmission;
Data, the data significance bit is defined as 8bits, i.e. a byte;
Sp, the byte flag position representes that an effective byte position sends or receive, 0 level is effective;
P, promptly the frame position of rest is represented the n byte data end of transmission one time, 0 level is effective;
IDLE, spare bits, bus rests in 1 level in idle condition, and spare bits is more than or equal to 9.
Can find out that from above frame structure sketch map its length is 9 (idle)+1 (start)+n* [8 (data)+1 (space)], wherein variable n can decide according to business board ethernet port quantity, the 1bit among the corresponding 1Byte data bit of each the Ethernet mode bit data.In order to guarantee that receiving terminal judges absolutely accurate to start of frame bits, insert one 0 level byte flag position between every 8bit data, under data transmission state, the situation of continuous 91 level can not appear on the circuit, thus with the IDLE state under continuous 91 level differentiate.If therefore receiving terminal will begin to receive data, necessary first counter O reset, counting is judged the situation more than or equal to 91 level that before whether occurred on the circuit then; If then explanation is in the IDLE state; Can the accepting state data, if not the explanation line be busy, wait for receiving next frame.
This frame structure has guaranteed the reliability of Data Receiving for single master control and many master control systems.
A concrete application scenarios using above data transfer mode is following, wherein, is that example describes to send 9 continuous high level as data transmission beginning condition, specifically may further comprise the steps:
One, transmitting terminal (business board CPLD) sends ethernet port information.
After business board CPLD was enabled transmit mechanism, if detect the ethernet port status fault, business board CPLD started ethernet port state information sending function; Transmitter among the business board CPLD is before sending start bit; Send 9 continuous high level earlier, send a low level then as start bit, the receiver of notice master control borad CPLD prepares to receive data; 8 valid data positions of every then transmission; Then send 1 bit byte flag bit, successively all bytes have been sent the back and sent position of rest, as shown in Figure 3.
In order to improve the circuit error correcting capability, avoid causing the receiver erroneous judgement to be start bit because circuit disturbs the generation low level unusually, can increase a line status watch-dog in business board CPLD inside, the data circuit is detected in real time, as shown in Figure 4.In a transmission cycle; The line status watch-dog must monitor on the circuit and just send start bit behind 9 high level of continued presence; Between 9 high period of counting; Counter restarts counting in case find to have low level just to occur clearly, after being consecutively detected 9 high level, just can and then send start bit., the start bit transmission then sends 1 byte port status information after finishing; Behind intact 1 byte status of every transmission; And then send a low level byte flag position; Indicate that an effective byte sent completion, guarantee on the data transmission state line, can not occur the possible situation of continuous 9 high level simultaneously.Circuit is a high level if the line status watch-dog detects this moment, and then notice transmitter misregistration information jumps to the IDLE state then, and request immediately resends, and counter O reset.After having sent last 1 byte data, send position of rest, represent that frame data send end.Circuit gets into the IDLE state, and the transmitter wait command sends the next frame data, and it is as shown in Figure 5 to send the data mode machine:
Two, receiving terminal (master control borad CPLD) receives ethernet port information.
Receiver is with a multidigit counter, and the 1bit state machine can realize that 1 the tunnel receives control.State has only 2: IDLE and START.Under the IDLE state, detect the circuit high level and counter is added 1.The a certain moment receives low level, and less than 9 zero clearings, state machine still is the IDLE state as if counter; If it is the START state that counting equals 9 change state machines, with counter O reset, begin to receive data b it, every reception 1bit data counter adds 1.Whenever counting down to 9 integer figure according to the time for low level, this bit data is abandoned, other position deposits reception data buffer in as valid data, receive last 1 byte data after, and then receive position of rest, receiver gets into the IDLE state.
If 9 integer figure then jumps to the IDLE state according to being high level in whole receiving course, the expression Data Receiving is made mistakes, and with counter O reset, the accepting state machine is as shown in Figure 6.
In order to satisfy the fast speed of convergence of RRPP, and strive for the more time remaining sum for link layer, the present invention can accomplish Data Detection and transmission in 1ms.Because transfer of data is an asynchronous system, thus all necessary clock that adopts with frequency or frequency multiplication relation of receiving-transmitting sides, as data channel transmission, receive clock source.Message transmission rate can confirm that speed range can be selected from several KHzs to several megahertzes according to the payload position that will transmit.Sample detecting clock to line status will satisfy sampling thheorem, is 2 times of message transmission rate at least, but the sampling clock of receiving-transmitting sides homology not.
In addition, the rise and fall of data actual signal judge that along influencing the logic sampling logic need data pin be set to Schmidt's attribute on the circuit.
The whole data of the present invention are sent and reception mechanism, and the mechanism for correcting errors of line status watch-dog, can fully guarantee the reliable transmission of data, especially for many master controls distributed system of supporting the master control hot plug, and the antijamming capability of ability enhancing line.In addition, the port status that adopts special-purpose data channel transmission RRPP to require has improved real time of data transmission.
An organic whole is not only in the realization of the physical link that the present invention relates to, frame format definition, three parts of transmission mechanism; Every partial design method can be by independent employing simultaneously, and therefore part utilizes one of them design or composite design all can not walk around the present invention.
The present invention realizes physical transmission link and the host-host protocol except utilizing CPLD, can also utilize all programming devices such as FPGA, microprocessor/controller to realize identical functions.Therefore all adopt programming device to realize that this programme is all within limited field of the present invention.
The present invention also provides a kind of data transmission method, is applied to comprise that said method is as shown in Figure 7, may further comprise the steps in the system of at least one sending ending equipment and at least one receiving device:
Step 701, said sending ending equipment sends at least 9 continuous high level to said receiving device, sends a low level then as start bit, notifies said receiving device to prepare to receive data.At least 9 continuous high level of said transmission; Also comprise: said sending ending equipment monitors on the circuit and just sends start bit behind said at least 9 high level of continued presence before; If between said at least 9 high period of counting; There is low level to occur, removes counter and restart counting, after being consecutively detected said at least 9 high level, just send start bit.
Step 703, said receiving device detect and have occurred said at least 9 high level on the circuit, are initial state by the IDLE state exchange, begin to receive data, counter O reset.Specifically comprise: when counting down to 9 integer figure according to for low level the time, said bit data is abandoned, other position deposits reception data buffer in as valid data, receive last 1 byte data after, receive position of rest, get into the IDLE state; If when 9 integer figure certificate is high level, then jump to the IDLE state, the expression Data Receiving is made mistakes, and with counter O reset.
The invention provides a kind of data transmission set, be applied to comprise in the system of sending ending equipment and receiving device, it is characterized in that, said data transmission set is as shown in Figure 8 during as sending ending equipment, comprising:
Sending module 810 is used for sending at least 9 continuous high level to said receiving device, sends a low level then as start bit, notifies said receiving device to prepare to receive data; 1 bit byte flag bit is then sent in 8 valid data positions of every then transmission, successively all bytes has been sent the back and has sent position of rest;
Counting module 820 is connected with sending module 810, is used for sending the position counting.
The invention provides a kind of data transmission set, be applied to comprise in the system of sending ending equipment and receiving device, said data transmission set is as shown in Figure 9 during as receiving device, comprising:
Counting module 930 is connected with receiver module 920, is used for data with clock information is counted;
Method for designing of the present invention is the description of design framework structure, line status monitor functions module for example, and perfect representation is not the method for designing that can directly use, therefore on basis of the present invention, carries out part optimization or revise still receiving restriction of the present invention.
Through the description of above execution mode, those skilled in the art can be well understood to the present invention and can realize through hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding; Technical scheme of the present invention can be come out with the embodied of software product, this software product can be stored in a non-volatile memory medium (can be CD-ROM, USB flash disk; Portable hard drive etc.) in; Comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the sketch map of a preferred embodiment, module in the accompanying drawing or flow process might not be that embodiment of the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
The invention described above sequence number is not represented the quality of embodiment just to description.
More than disclosedly be merely several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.
Claims (16)
1. the report method of a rapid looped network physical link state; Be applied to comprise in the device of at least one master control borad, at least one business board; Said master control borad comprises master control control module and master control processing module; Said business board comprises Service Processing Module, it is characterized in that, said method comprising the steps of:
Said Service Processing Module detects ethernet port information, sends at least 9 continuous high level to said master control processing module, sends a low level then as start bit, notifies said master control processing module to prepare to receive data;
1 low level byte flag position is then sent in 8 valid data positions in the said ethernet port information of the every transmission of said Service Processing Module, successively said all bytes of ethernet port information has been sent the back and has sent position of rest;
After said master control processing module is obtained said ethernet port information, report said master control control module.
2. the method for stating like claim 1 is characterized in that, sends at least 9 continuous high level, also comprises before:
Said Service Processing Module monitors on the circuit and just sends start bit behind said at least 9 high level of continued presence; If between said at least 9 high period of counting; There is low level to occur; Remove counter and restart counting, after being consecutively detected said at least 9 high level, just send start bit.
3. the method for stating like claim 1 is characterized in that, 1 low level byte flag position is then sent in 8 valid data positions of said every transmission, also comprises afterwards:
If it is high level that said Service Processing Module detects said byte flag position, then misregistration information jumps to the IDLE state then, and request resends, and counter O reset.
4. the method for stating like claim 1 is characterized in that, said master control processing module is obtained ethernet port information, specifically comprises:
Said master control processing module detects and has occurred said at least 9 high level on the circuit, is initial state by the IDLE state exchange, begins to receive data, counter O reset;
When counting down to 9 integer figure according to the time for low level, said bit data is abandoned, other position deposits reception data buffer in as valid data, receive last 1 byte data after, receive position of rest, get into the IDLE state; If when 9 integer figure certificate is high level, then jump to the IDLE state, the expression Data Receiving is made mistakes, and with counter O reset.
5. the reporting device of a rapid looped network physical link state comprises at least one master control borad, at least one business board, and said master control borad comprises master control control module and master control processing module, and said business board comprises Service Processing Module, it is characterized in that,
Said Service Processing Module is used to detect ethernet port information, sends at least 9 continuous high level to said master control processing module, sends a low level then as start bit, notifies said master control processing module to prepare to receive data; 1 low level byte flag position is then sent in 8 valid data positions in the said ethernet port information of every then transmission, successively said all bytes of ethernet port information has been sent the back and has sent position of rest;
Said master control processing module, be used to obtain said ethernet port information after, report said master control control module.
6. device as claimed in claim 5 is characterized in that, said Service Processing Module specifically comprises:
Detector is used to detect ethernet port information;
Transmitter is connected with said detector, is used to detect ethernet port information, sends at least 9 continuous high level to said master control processing module, sends a low level then as start bit, notifies said master control processing module to prepare to receive data; 1 low level byte flag position is then sent in 8 valid data positions in the said ethernet port information of every then transmission, successively said all bytes of ethernet port information has been sent the back and has sent position of rest;
Counter is connected with said transmitter, is used for sending the position counting.
7. device as claimed in claim 6 is characterized in that, said Service Processing Module also comprises:
Line monitor; Be connected with said counter with said transmitter respectively, be used to monitor the level that sends the position, after monitoring said 9 high level of continued presence, trigger said transmitter at least and send start bit; If between said at least 9 high period of counting; There is low level to occur, removes said counter and restart counting, after being consecutively detected said 9 high level, just trigger said transmitter at least and send start bit.
8. device as claimed in claim 7 is characterized in that, said line monitor; Also being used to monitor said byte flag bit level is 1 o'clock, and then misregistration information jumps to the IDLE state then; Ask said transmitter to resend, and said counter O reset.
9. device as claimed in claim 5 is characterized in that, said master control processing module specifically comprises:
Detector is used for whether occurring on the detection line said at least 9 high level;
Receiver is connected with said detector, is used to detect on the circuit when said at least 9 high level occurring, begins to receive data, makes counter O reset;
Counter is connected with said receiver, is used for data with clock information is counted;
Processor is connected with said counter, is used for when the integer figure certificate that count down to 9 is low level; This bit data is abandoned, other the position deposit reception data buffer in as valid data, receive last 1 byte data after; Receive position of rest, make said receiver get into the IDLE state.
10. a data transmission method is applied to comprise in the system of at least one sending ending equipment and at least one receiving device, it is characterized in that, said method comprising the steps of:
Said sending ending equipment sends at least 9 continuous high level to said receiving device, sends a low level then as start bit, notifies said receiving device to prepare to receive data;
1 low level byte flag position is then sent in 8 valid data positions of the every transmission of said sending ending equipment, successively all bytes has been sent the back and has sent position of rest;
Said receiving device detects and has occurred said at least 9 high level on the circuit, is initial state by the IDLE state exchange, begins to receive data, makes counter O reset.
11. the method as claim 10 is stated is characterized in that, at least 9 continuous high level of said transmission also comprise before:
Said sending ending equipment monitors on the circuit and just sends start bit behind said at least 9 high level of continued presence; If between said at least 9 high period of counting; There is low level to occur; The counter of clear to send end equipment restarts counting, after being consecutively detected said at least 9 high level, just sends start bit.
12. the method as claim 10 is stated is characterized in that, 1 low level byte flag position is then sent in 8 valid data positions of said every transmission, also comprises afterwards:
If it is high level that said sending ending equipment detects said byte flag position, then misregistration information jumps to the IDLE state then, and request resends, and the counter O reset of sending ending equipment.
13. method as claimed in claim 10 is characterized in that, said receiving device begins to receive data, specifically comprises:
When counting down to 9 integer figure according to the time for low level, said bit data is abandoned, other position deposits reception data buffer in as valid data, receive last 1 byte data after, receive position of rest, get into the IDLE state; If when 9 integer figure certificate is high level, then jump to the IDLE state, the expression Data Receiving is made mistakes, and with counter O reset.
14. a data transmission set is applied to comprise in the system of sending ending equipment and receiving device, it is characterized in that, said data transmission set comprises during as sending ending equipment:
Sending module is used for sending at least 9 continuous high level to said receiving device, sends a low level then as start bit, notifies said receiving device to prepare to receive data; 1 low level byte flag position is then sent in 8 valid data positions of every then transmission, successively all bytes has been sent the back and has sent position of rest;
Counting module is connected with said sending module, is used for sending the position counting.
15. data transmission set as claimed in claim 14 is characterized in that, also comprises
The circuit monitoring module; Be connected with said counting module with said sending module respectively, be used to monitor the level that sends the position, after monitoring said 9 high level of continued presence, trigger said sending module at least and send start bit; If between said at least 9 high period of counting; There is low level to occur, removes said counting module and restart counting, after being consecutively detected said 9 high level, just trigger said sending module at least and send start bit.
16. data transmission set as claimed in claim 15 is characterized in that, said circuit monitoring module, and also being used to detect said byte flag position is high level, and then misregistration information jumps to the IDLE state then, and request resends, and counter O reset.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009101800323A CN101667953B (en) | 2009-10-23 | 2009-10-23 | Reporting method of rapid looped network physical link state and device therefor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009101800323A CN101667953B (en) | 2009-10-23 | 2009-10-23 | Reporting method of rapid looped network physical link state and device therefor |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101667953A CN101667953A (en) | 2010-03-10 |
CN101667953B true CN101667953B (en) | 2012-04-18 |
Family
ID=41804400
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2009101800323A Expired - Fee Related CN101667953B (en) | 2009-10-23 | 2009-10-23 | Reporting method of rapid looped network physical link state and device therefor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101667953B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102148724B (en) * | 2011-01-31 | 2014-12-31 | 中兴通讯股份有限公司 | Link detecting method and network access device |
CN103812709B (en) * | 2014-02-28 | 2020-02-25 | 上海斐讯数据通信技术有限公司 | Optical line local side system and data statistical method therein |
CN105955911B (en) * | 2016-05-09 | 2023-06-02 | 杭州宏杉科技股份有限公司 | Hot plug control circuit and control method thereof |
CN110890989A (en) * | 2019-12-03 | 2020-03-17 | 杭州迪普科技股份有限公司 | Channel connection method and device |
CN111953498B (en) * | 2020-07-31 | 2022-07-12 | 新华三技术有限公司 | Signal transmission method and device |
CN112751719B (en) * | 2021-02-07 | 2021-11-16 | 深圳合芯谷微电子有限公司 | Multi-stage series data communication method, system, terminal and storage medium |
-
2009
- 2009-10-23 CN CN2009101800323A patent/CN101667953B/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN101667953A (en) | 2010-03-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7289436B2 (en) | System and method for providing management of fabric links for a network element | |
CN101667953B (en) | Reporting method of rapid looped network physical link state and device therefor | |
CN112653600A (en) | Network card performance testing method and device based on USB network card and electronic equipment | |
WO2016095718A1 (en) | Method for detecting communication link, base station, network manager, system and storage medium | |
CN105187249A (en) | Fault recovery method and device | |
CN102882704B (en) | Link protection method in the soft reboot escalation process of a kind of ISSU and equipment | |
CN106899472A (en) | A kind of unidirectional ring network controller and its application method | |
CN112118158A (en) | Test method, test device, test equipment and storage medium of switch | |
CN112350897B (en) | Network testing device based on dynamic connection end-to-end reliable transmission protocol | |
CN103428114A (en) | ATCA (advanced telecom computing architecture) 10-gigabit switching board and system | |
CN102694692A (en) | Fault detecting method and device of distributed equipment | |
CN111682966B (en) | Network communication device with fault active reporting function, system and method thereof | |
CN109471763A (en) | Grab method, apparatus, equipment and the system of NVME hard disk trace | |
CN101136756B (en) | Electric self-checking method, system and BMC chip on network long-range control host machine | |
CN116137603B (en) | Link fault detection method and device, storage medium and electronic device | |
CN107005440B (en) | method, device and system for positioning link fault | |
US7843838B1 (en) | Communication network route tracing | |
CN109412968B (en) | Redundant communication receiving management system and method for time-triggered Ethernet end node | |
US9619347B2 (en) | Systems and methods of fault management in electronic communications | |
US20070055913A1 (en) | Facilitating detection of hardware service actions | |
CN104135411A (en) | Device and method of implementing multi-node communication based on RS232 interface | |
US7765343B2 (en) | Method and system for robust elastic FIFO (EFIFO) in a port bypass controller | |
CN103532728A (en) | Method and device for resetting fault digital signal processor (DSP) chip | |
CN104137502A (en) | Method enabling fast switching between multicast trees | |
US10048998B2 (en) | Transmission apparatus and failure detection method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Patentee after: Xinhua three Technology Co., Ltd. Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base Patentee before: Huasan Communication Technology Co., Ltd. |
|
CP03 | Change of name, title or address | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20120418 Termination date: 20201023 |
|
CF01 | Termination of patent right due to non-payment of annual fee |