CN105577498A - Inter-board serial communication method and device - Google Patents

Inter-board serial communication method and device Download PDF

Info

Publication number
CN105577498A
CN105577498A CN201511028428.8A CN201511028428A CN105577498A CN 105577498 A CN105577498 A CN 105577498A CN 201511028428 A CN201511028428 A CN 201511028428A CN 105577498 A CN105577498 A CN 105577498A
Authority
CN
China
Prior art keywords
tributary card
data
tributary
frame
authorization information
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
CN201511028428.8A
Other languages
Chinese (zh)
Other versions
CN105577498B (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.)
GELIN WEIER SCI-TECH DEVELOPMENT Co Ltd BEIJING
Gw Delight Technology Co Ltd
Original Assignee
GELIN WEIER SCI-TECH DEVELOPMENT Co Ltd BEIJING
Gw Delight Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by GELIN WEIER SCI-TECH DEVELOPMENT Co Ltd BEIJING, Gw Delight Technology Co Ltd filed Critical GELIN WEIER SCI-TECH DEVELOPMENT Co Ltd BEIJING
Priority to CN201511028428.8A priority Critical patent/CN105577498B/en
Publication of CN105577498A publication Critical patent/CN105577498A/en
Application granted granted Critical
Publication of CN105577498B publication Critical patent/CN105577498B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/403Bus networks with centralised control, e.g. polling

Abstract

The invention provides an inter-board serial communication method and device. The technical scheme is as follows: a master control board in a communication device is connected to a plurality of tributary boards through one data line, and the master control board executes the following operations within each polling period: the master control board computes a downlink authorization message and an uplink authorization message within the current polling period; when the master control board polls any one of tributary boards, the master control board reads to-be-sent downlink business data according to the downlink authorization message of the tributary board within the current polling period, sends a data frame carrying a tributary board number, the uplink authorization message of the tributary board within the current polling period and the downlink business data to the tributary board and receives a data frame carrying the uplink business data returned by the tributary board based on the uplink authorization message of the tributary board within the current polling period. According to the method and the device, the cost is reduced and the work rate is improved.

Description

Serial communication method and device between a kind of plate
Technical field
The present invention relates to communication technical field, particularly serial communication method and device between plate.
Background technology
In a complicated communication equipment, be often made up of master control borad and polylith tributary card, between master control borad and tributary card, need to use communication port to carry out controlling, the transmission of state reporting and out of Memory to be to realize co-ordination.
Adopt processor bus, Ethernet, Serial Peripheral Interface (SPI) (SerialPeripheralInterface at present more, SPI), the communication between master control borad and tributary card is realized with road clock serial synchronous interface etc., but they all have respective limitation, such as, processor bus needs more line, and due to cabling longer, rate-constrained, has dragged down processor operating rate; Ethernet needs more cabling, realizes cost higher; With road clock serial synchronous interface when tributary card number is more, each tributary card distance mainboard difference is comparatively large, causes sequential inconsistent, can only adopt lower interface rate, often can not meet the requirement of traffic rate, and stability also easily goes wrong.
Summary of the invention
In view of this, the object of the present invention is to provide serial communication method and device between a kind of plate, can reduce and realize cost, improve operating rate.
In order to achieve the above object, the invention provides following technical scheme:
Serial communication method between a kind of plate, be applied to the master control borad in communication equipment, the master control borad in described communication equipment connects multiple tributary card by a data lines, and the method comprises:
Described master control borad operates below performing in each polling cycle:
Calculate each tributary card in the downstream grants information of current polling cycle and uplink authorization information;
When being polled to the arbitrary tributary card in described multiple tributary card, downlink service data to be sent is read in the downstream grants information of current polling cycle according to this tributary card, to this tributary card numbering, this tributary card be carried at the dataframe of the uplink authorization information of current polling cycle and the downlink service data of reading to this tributary card, and receive the Frame carrying uplink business data that this tributary card returns in the uplink authorization information of current polling cycle based on this tributary card.
Serial communication method between another kind of plate, is applied to the arbitrary tributary card in communication equipment, and the master control borad in described communication equipment connects the multiple tributary cards comprising described arbitrary tributary card by a data lines, the method comprises:
Receive the Frame carrying tributary card numbering, uplink authorization information and downlink service data that master control borad sends;
If the tributary card numbering that Frame carries is not the numbering of described arbitrary tributary card, then abandon this Frame, if the tributary card numbering that Frame carries is the numbering of described arbitrary tributary card, then read uplink business data to be sent according to the uplink authorization information in Frame, the uplink business data of reading is carried and sends it back master control borad in a data frame.
Serial communication apparatus between a kind of plate, be applied to the master control borad in communication equipment, the master control borad in described communication equipment connects multiple tributary card by a data lines, and this device comprises: computing unit, poll units;
Described computing unit, in each polling cycle, calculates each tributary card in the downstream grants information of current polling cycle and uplink authorization information;
Described poll units, during for being polled to the arbitrary tributary card in described multiple tributary card, downlink service data to be sent is read in the downstream grants information of current polling cycle according to this tributary card, to this tributary card numbering, this tributary card be carried at the dataframe of the uplink authorization information of current polling cycle and the downlink service data of reading to this tributary card, and receive the Frame carrying uplink business data that this tributary card returns in the uplink authorization information of current polling cycle based on this tributary card.
Serial communication apparatus between another kind of plate, be applied to the arbitrary tributary card in communication equipment, it is characterized in that, the master control borad in described communication equipment connects the multiple tributary cards comprising described arbitrary tributary card by a data lines, this device comprises: receiving element, processing unit, transmitting element;
Receiving element, for receiving the Frame carrying tributary card numbering, uplink authorization information and downlink service data that master control borad sends;
Processing unit, for receiving element receive that master control borad sends carry the Frame of tributary card numbering, uplink authorization information and downlink service data after, if the tributary card numbering that Frame carries is not the numbering of described arbitrary tributary card, then abandon this Frame, if the tributary card numbering that Frame carries is the numbering of described arbitrary tributary card, then read uplink business data to be sent according to the uplink authorization information in Frame;
Described transmitting element, sends it back master control borad in a data frame for being carried according to the uplink business data that the uplink authorization information in Frame reads by processing unit.
From technical scheme above, in the present invention, master control borad uses a data lines to connect multiple tributary card, and carry out communication between plates with polling mode and these tributary cards, master control borad calculates the uplink authorization information of each tributary card in current polling cycle and downstream grants information, read downlink service data to be sent based on downstream grants information to send, issue the uplink authorization information of Targeted Tributary plate simultaneously, make Targeted Tributary plate after mainboard sends ED, read uplink business data to be sent by uplink authorization information and send.Master control borad only just can be realized by a data lines and communication between multiple tributary card, greatly reduces and realizes cost; And master control borad is also by the uplink authorization information of each tributary card of dynamic calculation in current polling cycle and downstream grants information, can ensure that business datum can be sent in time, ensure that again the utilance of data bandwidth as far as possible, thus can effectively increase work efficiency.
Accompanying drawing explanation
Fig. 1 is that between embodiment of the present invention plate, serial communication realizes schematic diagram;
Fig. 2 is the form schematic diagram of the invention process downlink data frame;
Fig. 3 is the form schematic diagram of the invention process uplink data frames;
Fig. 4 is the invention process sampled result schematic diagram;
Fig. 5 is serial communication method flow chart between the embodiment of the present invention one plate;
Fig. 6 is serial communication method flow chart between the embodiment of the present invention two plate
Fig. 7 is the structural representation of serial communication apparatus between the embodiment of the present invention one plate;
Fig. 8 is the structural representation of serial communication apparatus between the embodiment of the present invention two plate.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with accompanying drawing and according to embodiment, technical scheme of the present invention is described in detail.
In the present invention, master control borad uses a data lines to connect multiple tributary card, and master control borad carries out communication between plates with polling mode and these tributary cards, and that effectively can reduce serial communication between plate realizes cost, increases work efficiency.Wherein, connect a communicated data signal in the data wire of master control borad and multiple tributary card, there is no clock signal.
See Fig. 1, Fig. 1 is that between embodiment of the present invention plate, serial communication realizes schematic diagram, master control borad carries out communication between plates with polling mode with the multiple tributary cards be connected by a data lines, and master control borad and the multiple tributary card communication between plates process in each polling cycle is as follows:
Step 101, master control borad calculate each tributary card in the downstream grants information of current polling cycle and uplink authorization information.
When master control borad and tributary card carry out communication between plates, generally include the business datum needing priority treatment in communication data, be called emergency data, also have the business datum not needing priority treatment, be called general data.For this reason, in embodiments of the present invention, master control borad is mail in the communication data of tributary card, the business datum of priority treatment is needed to be called descending emergency data, the business datum of priority treatment is not needed to be called descending general data, tributary card is mail in the communication data of master control borad, need the business datum of priority treatment to be called up emergency data, do not need the business datum of priority treatment to be called up general data.
Responded in time to make the business of each tributary card, the maximum tributary card number that master control borad is connected by a data lines, the transfer of data total amount etc. of the duration required for the multiple tributary card polls one time connected and each polling cycle is limited, these specifically can by system requirements, the speed of such as up-downgoing traffic data rate, burst emergency data and delay requirement etc. preset after estimating, this belongs to the problem of realization, as long as the business of each tributary card can be made to be responded in time, repeat no more.
By the restriction of the transfer of data total amount in a polling cycle, the business datum length needing the business datum length that sends to each tributary card master control borad in each polling cycle and each tributary card to send to master control borad limits, also namely the downlink data to be sent of each tributary card and upstream data to be sent are authorized, downstream grants information is called to the mandate of downlink data to be sent, uplink authorization information is called to the mandate of upstream data to be sent.
In each polling cycle, master control borad calculates each tributary card in the downstream grants information of current polling cycle and uplink authorization information according to the current downlink data information to be sent of multiple tributary card with in the upstream data information to be sent of last round of inquiry periodic report, wherein, downlink data information to be sent comprises descending emergency data length to be sent and descending general data length to be sent, and upstream data information to be sent comprises up emergency data length to be sent and up general data length to be sent; Downstream grants information comprises authorizes the descending emergency data length of transmission, the descending general data length of mandate transmission, and uplink authorization information comprises mandate and sends up emergency data length, the up general data length of mandate transmission.
The upstream data information to be sent of downlink data information to be sent current for each tributary card and last round of inquiry periodic report resets when power-up initializing by master control borad, after this, master control borad is in each polling cycle, to each tributary card initiating communication, and the business datum and the to be sent upstream data information of this tributary card in this polling cycle that each tributary card returns can be received.And the downlink data information to be sent that each tributary card is current, be also the business datum length that the needs of current storage in master control borad send to each tributary card, the business datum to be sent that master control borad can store according to self be determined.
Master control borad is according to the current downlink data information to be sent of multiple tributary card and calculate each tributary card in the upstream data information to be sent of last round of inquiry periodic report and have a lot in the downstream grants information of current polling cycle and the method for uplink authorization information, such as, the downlink data information to be sent that the multiple tributary cards first connected according to master control borad are current and calculate multiple tributary card in the emergency data overall length to be transmitted (the to be sent descending emergency data length that all tributary cards are current and up emergency data length sum to be sent) of current polling cycle and data to be transmitted overall length (the to be sent descending emergency data length that all tributary cards are current in the upstream data information to be sent of last round of inquiry periodic report, descending general data length to be sent, in last round of to be sent up emergency data length of seeking periodic report, up general data length sum to be sent), following judgement is carried out again according to result of calculation:
If data to be transmitted overall length does not exceed the transfer of data total amount in default single polling cycle, then the downlink data to be sent of each tributary card and upstream data to be sent are all by authorized.Particularly, can by the to be sent descending emergency data length in downlink data information to be sent current for each tributary card, descending general data length to be sent is authorized respectively as this tributary card and is sent descending emergency data length in the downstream grants information of current polling cycle, authorize and send descending general data length, by the to be sent up emergency data length of each tributary card in the upstream data information to be sent in last round of inquiry cycle, up general data length to be sent is authorized respectively as this tributary card and is sent up emergency data length in the uplink authorization information of current polling cycle, authorize and send up general data length,
If data to be transmitted overall length exceedes default polling cycle transfer of data total amount, and emergency data overall length to be transmitted does not exceed default polling cycle transfer of data total amount, then the to be sent descending emergency data of each tributary card and up emergency data to be sent are all by authorized, and residue can be transmitted data length and then be evenly distributed to the to be sent descending general data of each tributary card and up general data to be sent.Particularly, the difference of polling cycle transfer of data total amount and emergency data overall length to be transmitted can be calculated, calculate the business of the tributary card number of this difference and 2 times, by the to be sent descending emergency data length in downlink data information to be sent current for each tributary card, this quotient is authorized respectively as this tributary card and is sent descending emergency data length in the downstream grants information of current polling cycle, authorize and send descending general data length, by the to be sent up emergency data length of each tributary card in the upstream data information to be sent in last round of inquiry cycle, this quotient is authorized respectively as this tributary card and is sent up emergency data length in the uplink authorization information of current polling cycle, authorize and send up general data length,
If emergency data overall length to be transmitted exceedes default polling cycle transfer of data total amount, then each tributary card all only has descending emergency data to be sent and up emergency data to be sent to obtain section entitlement, and descending general data to be sent and up general data to be sent all can not be authorized.Particularly, default polling cycle transfer of data total amount can be averagely allocated to each tributary card, such as, calculate the business of the tributary card number of polling cycle transfer of data total amount and 2 times preset, then this quotient, 0 is authorized the descending emergency data length of transmission as this tributary card, authorized the descending general data length of transmission in the downstream grants information of current polling cycle, authorize in the uplink authorization information of current polling cycle using this quotient, 0 as this tributary card and send up emergency data length, the up general data length of mandate transmission.In addition, consider the difference of data to be transmitted (comprising descending emergency data to be sent and the up emergency data to be sent) length of each tributary card, also can authorize in proportion, repeat no more.
When step 102, master control borad are polled to arbitrary tributary card, downstream grants information according to this tributary card reads downlink service data to be sent, generate and carry this tributary card numbering, this tributary card at the Frame of the uplink authorization information of current polling cycle, the downlink service data of reading, by this dataframe to this tributary card.
In actual applications, after generating Frame, before sending Frame, also need to encode to Frame, such as 4B/5B coding, data-signal has sufficient hopping edge to meet the phase place location of receiving terminal and to recover data to adopt 4B/5B coding to ensure.4B/5B coding rule is as shown in Table 1:
4B 5B Implication
0000 11110 Data 0
0001 01001 Data 1
0010 10100 Data 2
0011 10101 Data 3
0100 01010 Data 4
0101 01011 Data 5
0110 01110 Data 6
0111 01111 Data 7
1000 10010 Data 8
1001 10011 Data 9
1010 10110 Data 10
1011 10111 Data 11
1100 11010 Data 12
1101 11011 Data 13
1110 11100 Data 14
1111 11101 Data 15
00101 Bell idles
11000 Start of frame delimiter J
10001 Start of frame delimiter K
01101 Frame end mark T
00111 Frame end mark R
Table one
Step 103, this tributary card receive the Frame that master control borad sends, determine that the tributary card numbering that this Frame carries is numbered identical with the tributary card of self, therefore, read uplink business data to be sent according to the uplink authorization information that this Frame carries and determine the to be sent upstream data information of this tributary card at current polling cycle, generate and carry this tributary card numbering, this tributary card at the Frame of the upstream data information to be sent of current polling cycle, the uplink business data of reading, the Frame of generation is returned to master control borad.
Other each tributary cards also can receive the Frame that master control borad sends, and determine tributary card that this Frame carries numbering and the tributary card of self number not identical after, abandon this Frame.
Tributary card needs decoding data after receiving the data that master control borad sends, if master control borad adopts 4B/5B coding to data before sending Frame, then adopts 5B/4B decoding to data after tributary card receives data.
Tributary card before Frame is returned master control borad, needs to encode to Frame after generating Frame equally.Master control borad needs decoding data after receiving the data that tributary card sends, if tributary card adopts 4B/5B coding to Frame before sending Frame, then adopts 5B/4B decoding to data after master control borad receives data.
In the present embodiment, data send and adopt variable length data frame structure, and data length is determined as required.Master control borad and tributary card are before transmission Frame, and first will send 2 bell idles and locate for the date restoring of receiving terminal, then transmission frame opening flag J, K, then send Frame, transmission frame end mark T, R at the end of dataframe.
In the present embodiment, the frame structure of the Frame (downlink data frame) that master control borad sends to tributary card as shown in Figure 2, comprise the fields such as lower line identifier, tributary card numbering, uplink authorization information, downlink service data, the frame structure of the Frame (uplink data frames) that tributary card sends to master control borad as shown in Figure 3, comprises the field such as line identifier, tributary card numbering, upstream data information to be sent, uplink business data.
In the present embodiment, the data-signal that master control borad is sent with the clock sampling tributary card of N haplotype data speed, thus the Frame that acquisition tributary card is sent.Each tributary card is the data-signal sent with the clock sampling master control borad of N haplotype data transmission rate, thus the Frame that acquisition master control borad is sent.Here data rate that is to say and refers to that data-signal connects the transmission rate in the data wire of each tributary card at master control borad, N value should be greater than 2 positive integer, best value is 3, sampling is gone with the clock of 3 haplotype data speed, the clock edge of locking data can be selected, as long as data have enough changes along just ensureing correctly to recover data by the change edge finding data-signal.
Sampled result as shown in Figure 4, when going sampled data with the clock of 3 haplotype data speed, data recovery procedure is as follows: clock along being numbered 1,2,3, if 1,2 clocks are inconsistent along the data of sampling, then to sample recovery data along 3 with clock, if next time 3,1, clock was inconsistent along the data of sampling, then to sample recovery data along 2 with clock, if data edge do not detected, then the clock continuing to continue to use last time recovers data along sampling.When adopting 4B/5B coding, every 5 bits all ensure the hopping edge of data, and are very little in the deviation of 5 bit internal clocks, so just can ensure to recover data reliably.In actual applications, facts have proved the data rate that can realize 125M with FPGA.
It should be noted that, in the present embodiment, master control borad and each tributary card, when not sending data by data wire, need to be set to high-impedance state.
Realize principle to serial communication between embodiment of the present invention plate to be above described in detail, based on above-mentioned principle, to the invention provides between a kind of plate being applied to master control borad serial communication method between serial communication method and a kind of plate being applied to tributary card, be described below in conjunction with Fig. 5, Fig. 6.
See Fig. 5, Fig. 5 is serial communication method flow chart between the embodiment of the present invention one plate, and the method is applied to the master control borad in communication equipment, and the master control borad in described communication equipment connects multiple tributary card by a data lines, as shown in Figure 5, master control borad operates below performing in each polling cycle:
Step 501, calculate each tributary card in the downstream grants information of current polling cycle and uplink authorization information;
When step 502, the arbitrary tributary card be polled in described multiple tributary card, downlink service data to be sent is read in the downstream grants information of current polling cycle according to this tributary card, to this tributary card numbering, this tributary card be carried at the dataframe of the uplink authorization information of current polling cycle and the downlink service data of reading to this tributary card, and receive the Frame carrying uplink business data that this tributary card returns in the uplink authorization information of current polling cycle based on this tributary card.
In method shown in Fig. 5,
What this tributary card returned in the uplink authorization information of current polling cycle based on this tributary card carries in the Frame of uplink business data, also carries the to be sent upstream data information of this tributary card at current polling cycle;
Master control borad calculates each tributary card in the downstream grants information of current polling cycle and uplink authorization information according to the current downlink data information to be sent of described multiple tributary card with in the upstream data information to be sent of last round of inquiry periodic report.
In method shown in Fig. 5,
By carrying this tributary card numbering, this tributary card to before this tributary card at the dataframe of the uplink authorization information of current polling cycle and the downlink service data of reading, comprises further, carries out 4B/5B coding to this Frame;
This tributary card based on this tributary card the Frame carrying uplink business data that the uplink authorization information of current polling cycle returns be through 4B/5B coding;
What this tributary card returned in the uplink authorization information of current polling cycle based on this tributary card carries in the Frame of uplink business data, also carries this tributary card numbering;
Receiving the method for carrying the Frame of uplink business data that this tributary card returns in the uplink authorization information of current polling cycle based on this tributary card is: the data-signal returned with this tributary card of clock sampling of N haplotype data transmission rate also also carries out 5B/4B decoding, obtain that this tributary card returns in the uplink authorization information of current polling cycle based on this tributary card, carry this tributary card numbering, the to be sent upstream data information of this tributary card at current polling cycle and the Frame of uplink business data;
Wherein, N be greater than 2 positive integer, N haplotype data transmission rate be the N of the data transmission rate of described data wire doubly.
See Fig. 6, Fig. 6 is serial communication method flow chart between the embodiment of the present invention two plate, the method is applied to the arbitrary tributary card in communication equipment, master control borad in described communication equipment connects the multiple tributary cards comprising described arbitrary tributary card by a data lines, as shown in Figure 6, the method comprises:
The Frame carrying tributary card numbering, uplink authorization information and downlink service data that step 601, reception master control borad send;
If the tributary card numbering that step 602 Frame carries is not the numbering of described arbitrary tributary card, then abandon this Frame, if the tributary card numbering that Frame carries is the numbering of described arbitrary tributary card, then read uplink business data to be sent according to the uplink authorization information in Frame, the uplink business data of reading is carried and sends it back master control borad in a data frame.
In method shown in Fig. 6,
What master control borad sent carry tributary card numbering, the Frame of uplink authorization information and downlink service data is through 4B/5B coding;
The method of carrying the Frame of tributary card numbering, uplink authorization information and downlink service data receiving master control borad transmission is: the data-signal sent with the clock sampling master control borad of N haplotype data transmission rate also also carries out 5B/4B decoding, obtains the Frame carrying tributary card numbering, uplink authorization information and downlink service data of master control borad transmission;
Wherein, N be greater than 2 positive integer, N haplotype data transmission rate be the N of the data transmission rate of described data wire doubly.
To present invention also offers between a kind of plate being applied to master control borad serial communication apparatus between serial communication apparatus and a kind of plate being applied to tributary card, be described below in conjunction with Fig. 7, Fig. 8,
See Fig. 7, Fig. 7 is the structural representation of serial communication apparatus between the embodiment of the present invention one plate, the master control borad of this application of installation in communication equipment, master control borad in described communication equipment connects multiple tributary card by a data lines, as shown in Figure 7, this device comprises: computing unit 701, poll units 702; Wherein,
Computing unit 701, in each polling cycle, calculates each tributary card in the downstream grants information of current polling cycle and uplink authorization information;
Poll units 702, during for being polled to the arbitrary tributary card in described multiple tributary card, downlink service data to be sent is read in the downstream grants information of current polling cycle according to this tributary card, to this tributary card numbering, this tributary card be carried at the dataframe of the uplink authorization information of current polling cycle and the downlink service data of reading to this tributary card, and receive the Frame carrying uplink business data that this tributary card returns in the uplink authorization information of current polling cycle based on this tributary card.
In Fig. 7 shown device,
What this tributary card returned in the uplink authorization information of current polling cycle based on this tributary card carries in the Frame of uplink business data, also carries the to be sent upstream data information of this tributary card at current polling cycle;
Described computing unit 701, for calculating each tributary card in the downstream grants information of current polling cycle and uplink authorization information according to the current downlink data information to be sent of described multiple tributary card with in the upstream data information to be sent of last round of inquiry periodic report.
In Fig. 7 shown device,
Described poll units 702 by carrying this tributary card numbering, this tributary card, is further used for: carry out 4B/5B coding to this Frame to before this tributary card at the dataframe of the uplink authorization information of current polling cycle and the downlink service data of reading;
This tributary card based on this tributary card the Frame carrying uplink business data that the uplink authorization information of current polling cycle returns be through 4B/5B coding;
What this tributary card returned in the uplink authorization information of current polling cycle based on this tributary card carries in the Frame of uplink business data, also carries this tributary card numbering;
Described poll units 702 receive this tributary card based on this tributary card the uplink authorization information of current polling cycle return carry the Frame of uplink business data time, for the data-signal that returns with this tributary card of clock sampling of N haplotype data transmission rate and and carry out 5B/4B decoding, obtain that this tributary card returns in the uplink authorization information of current polling cycle based on this tributary card, carry this tributary card numbering, the to be sent upstream data information of this tributary card at current polling cycle and the Frame of uplink business data;
Wherein, N be greater than 2 positive integer, N haplotype data transmission rate be the N of the data transmission rate of described data wire doubly.
See Fig. 8, Fig. 8 is the structural representation of serial communication apparatus between the embodiment of the present invention two plate, the arbitrary tributary card of this application of installation in communication equipment, master control borad in described communication equipment connects the multiple tributary cards comprising described arbitrary tributary card by a data lines, as shown in Figure 8, this device comprises: receiving element 801, processing unit 802, upstream cell 803; Wherein,
Receiving element 801, for receiving the Frame carrying tributary card numbering, uplink authorization information and downlink service data that master control borad sends;
Processing unit 802, for receiving element 801 receive that master control borad sends carry the Frame of tributary card numbering, uplink authorization information and downlink service data after, if the tributary card numbering that Frame carries is not the numbering of described arbitrary tributary card, then abandon this Frame, if the tributary card numbering that Frame carries is the numbering of described arbitrary tributary card, then determine to send uplink business data according to the uplink authorization information in Frame;
Described upstream cell 803, sends it back master control borad in a data frame for being carried according to the uplink business data that the uplink authorization information in Frame is determined by processing unit 802.
In Fig. 8 shown device,
What master control borad sent carry tributary card numbering, the Frame of uplink authorization information and downlink service data is through 4B/5B coding;
During the Frame of tributary card numbering that what institute's receiving element 801 received that master control borad sends carry, uplink authorization information and downlink service data, for the data-signal that sends with the clock sampling master control borad of N haplotype data transmission rate and and carry out 5B/4B decoding, obtain the Frame carrying tributary card numbering, uplink authorization information and downlink service data that master control borad sends;
Wherein, N be greater than 2 positive integer, N haplotype data transmission rate be the N of the data transmission rate of described data wire doubly.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (10)

1. a serial communication method between plate, is applied to the master control borad in communication equipment, it is characterized in that, the master control borad in described communication equipment connects multiple tributary card by a data lines, and the method comprises:
Described master control borad operates below performing in each polling cycle:
Calculate each tributary card in the downstream grants information of current polling cycle and uplink authorization information;
When being polled to the arbitrary tributary card in described multiple tributary card, downlink service data to be sent is read in the downstream grants information of current polling cycle according to this tributary card, to this tributary card numbering, this tributary card be carried at the dataframe of the uplink authorization information of current polling cycle and the downlink service data of reading to this tributary card, and receive the Frame carrying uplink business data that this tributary card returns in the uplink authorization information of current polling cycle based on this tributary card.
2. method according to claim 1, is characterized in that,
What this tributary card returned in the uplink authorization information of current polling cycle based on this tributary card carries in the Frame of uplink business data, also carries the to be sent upstream data information of this tributary card at current polling cycle;
Master control borad calculates each tributary card in the downstream grants information of current polling cycle and uplink authorization information according to the current downlink data information to be sent of described multiple tributary card with in the upstream data information to be sent of last round of inquiry periodic report.
3. method according to claim 2, is characterized in that,
By carrying this tributary card numbering, this tributary card to before this tributary card at the dataframe of the uplink authorization information of current polling cycle and the downlink service data of reading, comprises further, carries out 4B/5B coding to this Frame;
This tributary card based on this tributary card the Frame carrying uplink business data that the uplink authorization information of current polling cycle returns be through 4B/5B coding;
What this tributary card returned in the uplink authorization information of current polling cycle based on this tributary card carries in the Frame of uplink business data, also carries this tributary card numbering;
Receiving the method for carrying the Frame of uplink business data that this tributary card returns in the uplink authorization information of current polling cycle based on this tributary card is: the data-signal returned with this tributary card of clock sampling of N haplotype data transmission rate also carries out 5B/4B decoding, obtain that this tributary card returns in the uplink authorization information of current polling cycle based on this tributary card, carry this tributary card numbering, the to be sent upstream data information of this tributary card at current polling cycle and the Frame of uplink business data;
Wherein, N be greater than 2 positive integer, N haplotype data transmission rate be the N of the data transmission rate of described data wire doubly.
4. a serial communication method between plate, is applied to the arbitrary tributary card in communication equipment, it is characterized in that, the master control borad in described communication equipment connects the multiple tributary cards comprising described arbitrary tributary card by a data lines, the method comprises:
Receive the Frame carrying tributary card numbering, uplink authorization information and downlink service data that master control borad sends;
If the tributary card numbering that Frame carries is not the numbering of described arbitrary tributary card, then abandon this Frame, if the tributary card numbering that Frame carries is the numbering of described arbitrary tributary card, then read uplink business data to be sent according to the uplink authorization information in Frame, the uplink business data of reading is carried and sends it back master control borad in a data frame.
5. method according to claim 4, is characterized in that,
What master control borad sent carry tributary card numbering, the Frame of uplink authorization information and downlink service data is through 4B/5B coding;
Receive that master control borad sends carry tributary card numbering, the method for Frame of uplink authorization information and downlink service data is: the data-signal sent with the clock sampling master control borad of N haplotype data transmission rate also carries out 5B/4B decoding, obtains the Frame carrying tributary card numbering, uplink authorization information and downlink service data that master control borad sends;
Wherein, N be greater than 2 positive integer, N haplotype data transmission rate be the N of the data transmission rate of described data wire doubly.
6. a serial communication apparatus between plate, is applied to the master control borad in communication equipment, it is characterized in that, the master control borad in described communication equipment connects multiple tributary card by a data lines, and this device comprises: computing unit, poll units;
Described computing unit, in each polling cycle, calculates each tributary card in the downstream grants information of current polling cycle and uplink authorization information;
Described poll units, during for being polled to the arbitrary tributary card in described multiple tributary card, downlink service data to be sent is read in the downstream grants information of current polling cycle according to this tributary card, to this tributary card numbering, this tributary card be carried at the dataframe of the uplink authorization information of current polling cycle and the downlink service data of reading to this tributary card, and receive the Frame carrying uplink business data that this tributary card returns in the uplink authorization information of current polling cycle based on this tributary card.
7. device according to claim 6, is characterized in that,
What this tributary card returned in the uplink authorization information of current polling cycle based on this tributary card carries in the Frame of uplink business data, also carries the to be sent upstream data information of this tributary card at current polling cycle;
Described computing unit, for calculating each tributary card in the downstream grants information of current polling cycle and uplink authorization information according to the current downlink data information to be sent of described multiple tributary card with in the upstream data information to be sent of last round of inquiry periodic report.
8. device according to claim 7, is characterized in that,
Described poll units by carrying this tributary card numbering, this tributary card, is further used for carrying out 4B/5B coding to this Frame to before this tributary card at the dataframe of the uplink authorization information of current polling cycle and the downlink service data of reading;
This tributary card based on this tributary card the Frame carrying uplink business data that the uplink authorization information of current polling cycle returns be through 4B/5B coding;
What this tributary card returned in the uplink authorization information of current polling cycle based on this tributary card carries in the Frame of uplink business data, also carries this tributary card numbering;
Described poll units receive this tributary card based on this tributary card the uplink authorization information of current polling cycle return carry the Frame of uplink business data time, carry out 5B/4B decoding for the data-signal that returns with this tributary card of clock sampling of N haplotype data transmission rate, obtain that this tributary card returns in the uplink authorization information of current polling cycle based on this tributary card, carry this tributary card numbering, the to be sent upstream data information of this tributary card at current polling cycle and the Frame of uplink business data;
Wherein, N be greater than 2 positive integer, N haplotype data transmission rate be the N of the data transmission rate of described data wire doubly.
9. serial communication apparatus between a plate, be applied to the arbitrary tributary card in communication equipment, it is characterized in that, the master control borad in described communication equipment connects the multiple tributary cards comprising described arbitrary tributary card by a data lines, this device comprises: receiving element, processing unit, transmitting element;
Receiving element, for receiving the Frame carrying tributary card numbering, uplink authorization information and downlink service data that master control borad sends;
Processing unit, for receiving element receive that master control borad sends carry the Frame of tributary card numbering, uplink authorization information and downlink service data after, if the tributary card numbering that Frame carries is not the numbering of described arbitrary tributary card, then abandon this Frame, if the tributary card numbering that Frame carries is the numbering of described arbitrary tributary card, then read uplink business data to be sent according to the uplink authorization information in Frame;
Described transmitting element, sends it back master control borad in a data frame for being carried according to the uplink business data that the uplink authorization information in Frame reads by processing unit.
10. device according to claim 9, is characterized in that,
What master control borad sent carry tributary card numbering, the Frame of uplink authorization information and downlink service data is through 4B/5B coding;
When what institute's receiving element reception master control borad sent carries the Frame of tributary card numbering, uplink authorization information and downlink service data, carry out 5B/4B decoding for the data-signal that sends with the clock sampling master control borad of N haplotype data transmission rate, obtain the Frame carrying tributary card numbering, uplink authorization information and downlink service data that master control borad sends;
Wherein, N be greater than 2 positive integer, N haplotype data transmission rate be the N of the data transmission rate of described data wire doubly.
CN201511028428.8A 2015-12-31 2015-12-31 Serial communication method and device between a kind of plate Active CN105577498B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511028428.8A CN105577498B (en) 2015-12-31 2015-12-31 Serial communication method and device between a kind of plate

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511028428.8A CN105577498B (en) 2015-12-31 2015-12-31 Serial communication method and device between a kind of plate

Publications (2)

Publication Number Publication Date
CN105577498A true CN105577498A (en) 2016-05-11
CN105577498B CN105577498B (en) 2019-01-25

Family

ID=55887191

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511028428.8A Active CN105577498B (en) 2015-12-31 2015-12-31 Serial communication method and device between a kind of plate

Country Status (1)

Country Link
CN (1) CN105577498B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101296480A (en) * 2007-04-26 2008-10-29 中兴通讯股份有限公司 Triggering and data distribution method and apparatus for reinforced uplink scheduling information
CN101572914A (en) * 2009-05-31 2009-11-04 北京北方烽火科技有限公司 Uplink bandwidth application method
CN102238650A (en) * 2010-05-05 2011-11-09 中兴通讯股份有限公司 Transmission method and system of R-PDCCH (relay physical downlink control channel)
CN102868584A (en) * 2012-10-11 2013-01-09 江苏西电南自智能电力设备有限公司 Synchronization time-division multiplexing bus communication method adopting serial communication interface
CN103297866A (en) * 2012-02-29 2013-09-11 华为技术有限公司 Upstream and downstream bandwidth allocation method, equipment and nest system
CN103716888A (en) * 2012-09-29 2014-04-09 普天信息技术研究院有限公司 Control channel resource allocation method and base station

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101296480A (en) * 2007-04-26 2008-10-29 中兴通讯股份有限公司 Triggering and data distribution method and apparatus for reinforced uplink scheduling information
CN101572914A (en) * 2009-05-31 2009-11-04 北京北方烽火科技有限公司 Uplink bandwidth application method
CN102238650A (en) * 2010-05-05 2011-11-09 中兴通讯股份有限公司 Transmission method and system of R-PDCCH (relay physical downlink control channel)
CN103297866A (en) * 2012-02-29 2013-09-11 华为技术有限公司 Upstream and downstream bandwidth allocation method, equipment and nest system
CN103716888A (en) * 2012-09-29 2014-04-09 普天信息技术研究院有限公司 Control channel resource allocation method and base station
CN102868584A (en) * 2012-10-11 2013-01-09 江苏西电南自智能电力设备有限公司 Synchronization time-division multiplexing bus communication method adopting serial communication interface

Also Published As

Publication number Publication date
CN105577498B (en) 2019-01-25

Similar Documents

Publication Publication Date Title
CN104954096A (en) One-master multi-slave high-speed synchronous serial communication data transmission method
CN102202386B (en) Clock synchronization method, device and system
CN109257139B (en) Method and device for transmitting and receiving physical layer data
CN109347598A (en) Check code processing method, electronic equipment and storage connect medium
CN103973406A (en) Controller area network bus speeding-up method
CN102752098B (en) For the measurement of error code method synchronous based on pseudo-random code sequence of communication system
CN103346873B (en) A kind of method and apparatus of time synchronized
CN108932182B (en) Message bus performance test method and system
CN102098196A (en) Data transmission method of blade server
CN104378426B (en) A kind of load-balancing method for real time information dissemination system
CN105991250B (en) Base station, user terminal and carrier scheduling indication method and device
CN102843275A (en) Bandwidth detection method, device and system
CN105577498A (en) Inter-board serial communication method and device
CN111092819B (en) Method and equipment for receiving and transmitting multicast service message
CN105338208A (en) United call-ticket charging method and system
CN105245454A (en) Flow forwarding method and flow forwarding device for switching system
CN101309257A (en) Single board communication method and system based on internal integrated circuit bus
WO2016188309A1 (en) Resource collision indication method and apparatus
CN101155383B (en) Indication method for resource allocation information, transmission method and device for indication information
CN102841875A (en) Host computer with intelligent bus interface and security system
CN111162869A (en) Data stream processing method and device
CN105429823A (en) Method and device for detecting multicast traffic in distributed communication equipment
CN106506118A (en) The method and system that USXGMII multichannels IPG is accurately compensated
CN109257158B (en) Peer-to-peer sampling synchronization method and system for optical difference communication
CN105391666A (en) Multi-service bus transmission system and transmission method based on FSK modem

Legal Events

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