CN1630293A - A method and apparatus for multi-path data transmission in communication system - Google Patents

A method and apparatus for multi-path data transmission in communication system Download PDF

Info

Publication number
CN1630293A
CN1630293A CN200310123982.5A CN200310123982A CN1630293A CN 1630293 A CN1630293 A CN 1630293A CN 200310123982 A CN200310123982 A CN 200310123982A CN 1630293 A CN1630293 A CN 1630293A
Authority
CN
China
Prior art keywords
passage
weights
channel
transmission
channel number
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.)
Pending
Application number
CN200310123982.5A
Other languages
Chinese (zh)
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN200310123982.5A priority Critical patent/CN1630293A/en
Publication of CN1630293A publication Critical patent/CN1630293A/en
Pending legal-status Critical Current

Links

Images

Abstract

This invention provides a multichannel data transmission method in communication, which contains determining the initial weighted value, obtaining weighted value and state of said channels when the multichannel transmission is needed, determining data transmission channel according to the state and weighted value of channels, transmitting data in channels and updating weighted value of channels. Said invention also provides a multichannel data transmission device, which contains channel parameter obtaining module, transmission permission determining module and data transmission module.

Description

The method and apparatus of multi-channel data transmission in a kind of communication system
Technical field
The present invention relates to the network communications technology field, be specifically related to the method and apparatus of multi-channel data transmission in a kind of communication system.
Background technology
Development along with modern communications, multichannel business tine based on IP (Internet protocol)/ATM transmission meanss such as (asynchronous transfer modes) is increasing, and the quick access that provides flexibly, can join for the multichannel business is the new demand that the communication equipment to network access layer and convergence-level proposes.
When the multichannel business with the packet be unit when same passage converges, need carry out multichannel arbitration, arbitrating successful passage can transmits data packets.The multichannel referee method generally adopts the circulation look-up table at present, promptly, circular list is set, multichannel channel number is stored in the circular list, read 1 channel number from circular list in order, whether the passage of judging this channel number correspondence remains data packets for transmission, if remain data packets for transmission, this is arbitrated successfully, transmits a packet of this passage.Fetch channel number from circular list successively according to the method described above, and arbitrating successively, thus realize the transmission of multichannel business.
The circulation look-up table of multichannel arbitration can be divided into the multichannel referee method of even bandwidth and the multichannel referee method of non-homogeneous bandwidth according to the bandwidth of each channel arrangement.
For the multichannel referee method of even bandwidth, we specify by following Example.
Set transmission medium and support 5 passages, the channel number of each passage is respectively 1 to 5, and for the bandwidth of each channel arrangement is identical, circular list can be set to the form shown in the accompanying drawing 1, set circular list after, the process of beginning multichannel arbitration.
For the first time the process of arbitration is: read-out channel number 1 from the circular list shown in the accompanying drawing 1, whether the passage 1 of checking channel number 1 correspondence this moment remains data packets for transmission, if passage 1 remains data packets for transmission, then this is arbitrated successfully, after the data packet transmission waiting for transmission in the passage 1, start arbitration for the second time; Otherwise the arbitration second time is directly carried out in the arbitration failure.
For the second time the process of arbitration is: read-out channel numbers 2 from the circular list shown in the accompanying drawing 1, whether the passage 2 of checking channel number 2 correspondences this moment remains data packets for transmission, if passage 2 remains data packets for transmission, then this is arbitrated successfully, after the data packet transmission waiting for transmission in the passage 2, start arbitration for the third time; Otherwise the arbitration failure is directly arbitrated for the third time.
The process of arbitration for the third time, the 4th arbitration, the 5th arbitration is identical with above-described process.
After the 5th arbitration finishes, carry out the 6th arbitration, the channel number that read this moment from last table is 1, continues arbitration according to top description process, thereby realizes the transmission of multichannel business.
For the multichannel referee method of non-homogeneous bandwidth, we specify by following Example.
Set transmission medium and support 5 passages, the channel number of each passage is respectively 1 to 5, is the bandwidth difference of passage 1 to 5 configuration, its ratio is 1: 1: 4: 1: 1, circular list can be set to the form shown in the accompanying drawing 2, set circular list after, the process of beginning multichannel arbitration.
For the first time the process of arbitration is: read-out channel number 1 from the circular list shown in the accompanying drawing 2, whether the passage 1 of checking channel number 1 correspondence this moment remains data packets for transmission, if passage 1 remains data packets for transmission, then this is arbitrated successfully, after the data packet transmission waiting for transmission in the passage 1, start arbitration for the second time; Otherwise the arbitration second time is directly carried out in the arbitration failure.
For the second time the process of arbitration is: read-out channel numbers 3 from the circular list shown in the accompanying drawing 2, whether the passage 3 of checking channel number 3 correspondences this moment remains data packets for transmission, if passage 3 remains data packets for transmission, then this is arbitrated successfully, after the data packet transmission waiting for transmission in the passage 3, start arbitration for the third time; Otherwise the arbitration failure is directly arbitrated for the third time.
Third and fourth, five, six, seven, eight times the arbitration process identical with above-described process.
After the 8th arbitration finishes, carry out the 9th arbitration, the channel number that read this moment from last table is 1, continues arbitration according to top description process, thereby realizes the transmission of multichannel business.
Can obviously learn by foregoing description, this referee method need set circular list in advance, for the bandwidth of each channel arrangement when identical, being provided with of circular list is very easy, but the bandwidth of each channel arrangement generally is inequality in the practical application of communication system, and when number of channels is many, and the bandwidth difference of each channel arrangement is when big, the setting of circular list is very complicated, needs software to cooperate computing to be provided with.When using this referee method to determine that passage is gone forward side by side the transmission of line data bag, because packet is big or small inequality, cause the bandwidth of the transfer of data of each passage and its distribution unbalanced, can badly influence the harmony of multichannel arbitration when the difference in size of packet is big, this referee method is more suitable for the long transfer of data of fixed packet; And also there is the phenomenon of arbitration failure in this referee method, and arbitration efficient is low; The efficient of multi-channel data transmission is low.
Summary of the invention
The objective of the invention is to, the method and apparatus of multi-channel data transmission in a kind of communication system is provided, utilize the state and the weights of each passage easily to realize the multichannel arbitration, avoided the phenomenon of arbitration failure, avoided because the arbitration unbalanced phenomena that the packet difference in size causes, thus the purpose that realizes simplifying the multi-channel data transmission method, improves the multi-channel data efficiency of transmission.
For achieving the above object, the method for multi-channel data transmission in a kind of communication system provided by the invention comprises:
A, determine the weights that each passage is initial;
B, when needs carry out multi-channel data when transmission, obtain state, the weights of described each passage;
C, determine to allow the passage of transfer of data according to the state of described each passage, weights;
D, the data in the passage of described definite permission transfer of data are transmitted, and upgraded the weights of this passage.
Described step a comprises:
Determine the weights that each passage is initial according to the bandwidth of described each channel arrangement;
The initial weights of described each passage are directly proportional with the bandwidth of described each channel arrangement;
The initial weights of described each passage are the criterion of each channel transmission data.
The state of described each passage comprises: ready state and not-ready state;
When passage can carry out transfer of data, be ready state;
When passage cannot carry out transfer of data, be not-ready state.
Described step c comprises:
C1, the channel number that obtains described each passage and current channel number;
C2, the channel number greater than described current channel number of described each passage that obtains is arranged as sequence 1 by incremental order;
C3, the passage that is not more than described current channel number of described each passage that obtains is arranged as sequence 2 by incremental order;
C4, from described sequence 1, sequence 2, obtain channel number successively sequentially, and search the channel number correspondence be in ready state and weights are the passage of positive number;
If find, be that the passage of positive number is defined as working as prepass with first be in ready state and weights that find, allow it to carry out transfer of data;
If search less than, when prepass does not change.
The weights of this passage are changed with the data of described transmission in the described steps d comprises:
Work as the data volume of prepass transmission successively decreases when the weights basis of prepass.
Described step a also comprises: the weights increment of determining described each passage;
And described method also comprises:
When the weights of described each passage are negative, obtain the weights increment of described each passage;
The weights increment addition that the weights of described each passage are corresponding with it respectively, and the weights of described each passage are updated to result after the addition respectively.
The weights increment of described each passage is a positive number, and is directly proportional with the bandwidth of described each channel arrangement;
The weights increment of described each passage is stored in respectively in the weights increment register of described each passage.
The present invention also provides the device of multi-channel data transmission in a kind of communication system, comprising:
Obtain the channel parameters module: obtain the state and the weights of each passage respectively, and transmit it to definite transport module that allows;
Determine to allow transport module:, obtain its corresponding channel number, and the described channel number that obtains is transferred to data transmission module according to the described state of next described each passage of channel parameters module transmission, the passage that weights determine to allow transfer of data of obtaining;
Data transmission module: receive the channel number that described definite permission transport module transmission comes,, and upgrade the weights of described passage with the transfer of data in the passage of this channel number correspondence.
Described definite permission transport module comprises:
Phase and logic: receive described state, the weights that obtain next described each passage of channel parameters module transmission, with the state of the sign symbol of the weights of each passage of described reception and described each passage mutually or, and with described phase or after result transmission to symbol remap submodule;
Symbol remaps submodule: receive that described and logical transport come with after the result, channel number greater than described current channel number in described each passage is arranged as sequence 1 by incremental order, the channel number that is not more than described current channel number in described each passage is arranged as sequence 2 by incremental order, sequentially with the phase of the channel number correspondence in described sequence 1, the sequence 2 or after result transmission to symbol remap register;
Symbol remaps register: with described symbol remap phase that submodule transmission comes or after the result from the low level to the higher memory;
Priority encoder: remap the register from described symbol that first is not the bit of " 1 " by the sequential search from the low level to a high position, the channel number of the bit correspondence that finds is transferred to described data transmission module.
Described priority encoder comprises:
Priority-encoding logic: remap the register from described symbol that first is not the bit of " 1 " by the sequential search from the low level to a high position, the bit that finds is carried out only cold coding, and with described only cold coding with search successfully index signal and transfer in the buffer;
Buffer: store the numerical value that the transmission of described priority-encoding logic comes, and receive that described priority-encoding logic transmission comes search successfully index signal the time, enable signal is transferred to the addition logic;
Addition logic: when receiving the enable signal of described buffer transmission, with the numerical value and the current channel number addition of storing in the described buffer, result after the addition adds 1 again, described current channel number is updated to the described value that adds after 1, simultaneously the described value that adds after 1 is transferred to described data transmission module.
Described device also comprises:
Weighter: when the weights of described each passage correspondence are negative, the weights increment addition that the weights of described each passage correspondence are corresponding with described each passage, with the result after the addition respectively as the weights of described each passage.
Described weighter comprises:
A plurality of weights increment registers: the weights increment of storing described each passage respectively;
A plurality of weights registers: the weights of storing described each passage respectively;
Weighting logic: when the weights of storing in described each weights register are negative, respectively with the weights increment addition of storing in the weights stored in described each weights register and the corresponding weights increment register, and the result after the addition stored back respectively accordingly in described each weights register.
Description by technique scheme can obviously learn, the present invention is by introducing the state of each passage, arbitrates remaining the passage of transmits data packets, avoided the phenomenon of multichannel arbitration failure, improved multichannel arbitration efficient; The present invention is also by introducing the weights of each passage, weights according to each passage of allocated bandwidth of each channel arrangement, with the size of multichannel data packets for transmission and the weights hook of passage, with multichannel arbitration and weights hook, make the size variation of the weights of passage with the packet of this channel transfer, making weights is that the passage of negative is not arbitrated opportunity of success, improved the harmony of multichannel arbitration, make the data of the channel transfer of configuration different bandwidth obtain equilibrium, improved the precision of multichannel bandwidth control; Because the present invention does not need the configuration cycles table, so the present invention does not need complicated algorithm, do not need software to cooperate, and do not need to table look-up, reduced the time-delay of multichannel arbitration.The present invention by register, with or method such as logic realized the multichannel arbitration, simplified the implementation procedure of multichannel arbitration; Thereby realized simplifying the purpose of multi-channel data transmission method, raising multi-channel data efficiency of transmission.
Description of drawings
Fig. 1 is the circular list that the multichannel of the even bandwidth of prior art is arbitrated;
Fig. 2 is the circular list that the multichannel of the non-homogeneous bandwidth of prior art is arbitrated;
Fig. 3 is the implementation procedure of multichannel arbitration of the present invention;
Fig. 4 is the flow chart of multi-channel data transmission method of the present invention;
Fig. 5 is the device of multi-channel data transmission of the present invention.
Embodiment
Core of the present invention is that the initial weights of each passage are set, and introducing channel status, weights, state and multichannel arbitration hook with each passage, utilize the weights of each passage, the result that state comes balanced multichannel to arbitrate, to improve arbitration efficient, it is harmonious to improve arbitration, thereby improves the multi-channel data efficiency of transmission.
Based on above-mentioned core concept of the present invention, the invention provides following technical scheme.
At first, bandwidth according to each channel arrangement is provided with initial weights for each passage, the initial weights of each passage should be directly proportional with the bandwidth of each channel arrangement, the weights of each passage are for weighing the standard that each passage sends data, the passage of broader bandwidth, corresponding weights are also bigger, and the corresponding data volume of transmission that allows is also bigger.In this embodiment, the weights of each passage can be stored in respectively in the register as required, and the register of storing each passage weights is called the weights register.Cause the unbalanced of each passage arbitration for fear of varying in size of packet owing to each channel transfer, the weights of each passage change with the data volume that each passage sends among the present invention, be embodied in, the weights of each passage reduce with the data volume that each passage sends, weights among the present invention comprise positive number and negative, and weights can be reduced to negative.The data volume that sends when certain passage is many, and when making the weights of this passage be negative, this passage has temporarily lost the chance of arbitration, thereby has improved the harmony of each passage arbitration.
Secondly, the present invention also is provided with state for each passage, and the state of each passage is ready state or not-ready state; In passage, remain data packets for transmission, and can carry out transfer of data the time, this passage is in ready state; In passage, do not have packet waiting for transmission, or also cannot carry out transfer of data the time, this passage is in not-ready state.When a passage was in not-ready state, this passage did not have the chance of multichannel arbitration, did not equally just have multichannel arbitration opportunity of success yet, like this, avoided the phenomenon of arbitration failure, the successful probability of multichannel arbitration of the present invention has been improved greatly, thereby improved the efficient of multichannel arbitration.
By the above-mentioned initial weight that is provided with each passage, the clear and definite state of each passage when needs carry out transfer of data, carries out the process of multichannel arbitration.
The core concept of multichannel arbitration is: obtaining state, the weights of each passage, is that ready state and weights are to choose the passage that allows to carry out transfer of data in the passage of positive number in channel status, and the passage that allows to carry out transfer of data is called and is worked as prepass.
Based on the core concept of above-mentioned multichannel arbitration, the specific implementation of multichannel arbitration provided by the invention is as follows:
Each passage all has channel number separately, obtains the channel number when prepass, and the channel number greater than current channel number in all channel numbers is arranged as sequence 1 by incremental order; The channel number that is not more than described current channel number in all channel numbers is arranged as sequence 2 by incremental order; For example: if 16 passages are arranged, channel number is from #0 to #15.Setting current channel number is #0, and sequence 1 is #1, #2, #3, #4......#15 so; Sequence 2 is #0; Setting current channel number is #1, and sequence 1 is #2, #3, #4......#15 so; Sequence 2 is #0, #1.
From sequence 1, sequence 2, obtain channel number successively sequentially, and search the channel number correspondence be in ready state and weights are the passage of positive number, with first be in ready state and weights that find is the passage that the passage of positive number is defined as allowing transfer of data, and the passage that allows transfer of data is for working as prepass.This arbitrated procedure finishes.For example current channel number is #1, from #2, #3, #4......#5, #0, #1 sequence, judge #2 passage, #3 passage so successively ... #0 passage, #1 passage whether are in ready state and weights are positive number, when finding certain passage when being in ready state and weights and being positive number, stop to search deterministic process, this passage is arbitrated successfully for to work as prepass.If determine the #1 passage successively, do not find and be in ready state and weights are the passage of positive number, can be updated to the #0 passage of acquiescence when prepass.This multichannel arbitrated procedure finishes.
Searching first in sequence 1, sequence 2, to be in ready state and weights be that the method for the passage of positive number can realize by following process:
When the setting passage was ready state, its state was " 0 "; When passage was not-ready state, its state was " 1 "; When the weights of setting passage were positive number, the symbol of its weights was " 0 "; When the weights of passage were negative, the symbol of its weights was " 1 ".
Respectively with the sign symbol of the weights of each passage and its state mutually or; When mutually or after result when be " 1 ", show that the weights that this passage is in not-ready state or this passage are negative, when phase or after result when being " 0 ", show that the weights that this passage is in ready state and this passage are positive number.Sequentially with the phase of the channel number correspondence in sequence 1, the sequence 2 or after the result be stored in and remap in the register; If 16 passages are arranged, so, remapping register is 16 bits, by low level to the order of a high position with the phase of sequence 1, sequence 2 correspondences or after the result be stored in successively and remap in the register.Searching first in remapping register is not the bit of " 1 ", if finding first is not the bit of " 1 ", stop to search, first that finds do not carried out only cold coding for the bit of " 1 ", and will this only cold coding and channel number addition when prepass, the value that result after the addition adds after 1 again is the channel number that allows to carry out transfer of data, when the channel number of prepass is updated to this channel number.
For example, continuous precedent, current channel number is #1, and the 0th bit is not " 1 ", the only cold coding that this bit is carried out so in the register if remap, it is solely cold to be encoded to 0, with only cold coding 0 and current channel number addition, the result is 1, and this result is added 1 again, its result is 2, so current channel number is updated to #2.Since remap register 0 bit storage be #2 passage correspondence phase or after the result, so the result of present embodiment multichannel arbitration is correct.
If search from the low level to a high position in remapping register less than not being the bit of " 1 ", the channel number when prepass does not change so.
Be described in detail as follows below in conjunction with 3 pairs of multichannel arbitration specific implementation processes provided by the invention of accompanying drawing.
In Fig. 3, be set with 16 passages, channel number is from #0 to #15.The weights of each passage are stored in the weights register of each passage, the weights increment of each passage is stored in the weights increment register of each passage, when the weights in all weights registers are negative, store back in the weights register after the weights increment addition in the weights increment register corresponding of the weights in the weights register with it.Be stored in the weights register as result after the weights increment addition of the weights of #0 passage and #0 passage.
The weights of each passage that provides according to the state of each passage, current channel number and weights register carry out symbol to each passage and remap.The process that symbol remaps is: at first, with the symbol of each weights in each right of way value register respectively with its state mutually or, then according to the channel number of each register being arranged as sequence 1, sequence 2 when the channel number of prepass, at last according to the order of sequence 1, sequence 2, with the phase of correspondence or after the result be stored in symbol and remap in the register.
Carry out priority encoding according to the content that symbol remaps in the register, the rule of priority encoding is: remap the register the 0th to the 15th from symbol and search first successively and be not the bit of " 1 ", if found, stop search procedure, this bit is carried out only cold coding, and this only cold coding leaves in the buffer; The numerical value of depositing in the buffer with when the channel number addition of prepass, the result after the addition is added value after 1 again as the channel number of working as prepass, the channel number that will work as prepass is updated to the above-mentioned value that adds again after 1.When prepass is the passage that allows to carry out transfer of data.If search less than, current channel number does not change.
The present invention is through above-mentioned multichannel arbitrated procedure, arbitrate successfully after, need arbitrate successful passage and promptly work as transfer of data in the prepass, and the weights that will deserve prepass successively decrease with its data quantity transmitted.After the transfer of data of deserving prepass is finished, the process of carrying out multichannel arbitration next time.
After the multichannel referee method that provides according to the invention described above has been carried out repeatedly multichannel arbitration, will have been worked as the transfer of data of prepass, weights are that the passage of negative can get more and more, when the weights of all passages all are negative, all passages all will lose the arbitration opportunity of success.The present invention solves this problem by the weights increment is provided.The weights increment of each passage is set, when the weights of all passages all are negative, adjusts weights by the weights increment.
The weights increment of each passage is directly proportional with the bandwidth of each channel arrangement, as being set to the initial weight of each channel arrangement.In this embodiment, the weights increment of each passage all is a positive number, and the weights of each passage form the new weights of each passage after adding the weights increment of each passage; If the weights of each passage that forms after the weights of each passage and its weights increment addition still all are negative, so once more with weights and its weights increment addition of each passage, till the weights of the passage that has are positive number.The weights increment of each passage can be stored in respectively in the register as required, and the register of storing each passage weights is called the weights increment register.
According to Fig. 4 the method for multi-channel data transmission provided by the invention is described further below.
Among Fig. 4,, for each passage initial weights, weights increment are set according to the bandwidth of each channel arrangement in step 400.Initial weights are arranged in the weights register of each passage correspondence, and the weights increment is arranged in the weights increment register of each passage correspondence.
In step 410, judge whether the weights in the weights register of each passage correspondence all are negative, if all be negative,, store back in the corresponding weights register after the weights increment addition in the weights increment register that the weights in the weights register of each passage are corresponding with it to step 411.
In step 410,,, obtain the sign symbol of each passage weights and the state of each passage to step 420 if not all being negative.In this embodiment, when the setting passage was ready state, its state was " 0 "; When passage was not-ready state, its state was " 1 "; When the weights of setting passage were positive number, the symbol of its weights was " 0 "; When the weights of passage were negative, the symbol of its weights was " 1 ".
To step 430, respectively with the sign symbol of each passage weights and its state mutually or.
To step 440, the channel number according to when prepass is arranged as sequence 1 with the channel number greater than current channel number in all channel numbers by incremental order; The channel number that is not more than described current channel number in all channel numbers is arranged as sequence 2 by incremental order; With mutually or after the result by the sequential storage of sequence 1, sequence 2 in remapping register.
To step 450, searching first according to the order from the low level to a high position in remapping register is not the bit of " 1 ".
To step 460, judge whether to find first and be not the bit of " 1 ", if search less than, to step 461, when prepass does not change, this multichannel arbitration finishes, and carries out multichannel arbitrated procedure next time, to step 410.
In step 460,, stop search procedure if find first not for the bit of " 1 ".
To step 470, this bit is carried out only cold coding.
To step 480, with this only cold coding and the channel number addition of working as prepass, result after the addition adds value after 1 again and is defined as channel number when prepass, this multichannel arbitrated procedure finishes, the data that to work as prepass are transmitted, and the weights that will work as prepass successively decrease according to the data volume that sends when prepass.
To step 410, carry out multichannel arbitrated procedure next time.
The device of multi-channel data transmission provided by the invention as shown in Figure 5.
In Fig. 5, the device of multi-channel data transmission comprises: obtain channel parameters module 500, determine to allow transport module 510, data transmission module 520, weighter 530.
The function of determining to allow transport module 510 is by phase or logic 511, and symbol remaps submodule 512, and symbol remaps register 513, and priority encoder 514 is realized.
The function of priority encoder 514 is by priority-encoding logic 5141, buffer 5142, and addition logic 5143 realizes.
The function of weighter 530 is by a plurality of weights registers 531, a plurality of weight increment registers 532, and weighting logic 533 realizes.
Obtain channel parameters module 500 and obtain the state of each passage, and from the weights register 531 of each passage, obtain the weights of each passage, and the weights of each passage that will obtain and state transfer are to mutually or logic 511.Mutually or logic 511 respectively with the sign symbol of the weights of each passage and its state mutually or, and general's phase or after result transmission to symbol remap submodule 512.
Symbol remap submodule 512 receives mutually or logic 511 transmission come phase or after the result, channel number greater than current channel number in each passage is arranged as sequence 1 by incremental order, the channel number that is not more than current channel number in each passage is arranged as sequence 2 by incremental order, sequentially with the phase of the channel number correspondence in sequence 1, the sequence 2 or after result transmission and be stored to symbol and remap in the register 513.
Symbol remap register 513 receiving symbols remap phase that submodule 512 transmission comes or after the result, and store successively according to the order from the low level to a high position.
Priority-encoding logic 5141 remaps the register 513 from symbol that first is not the bit of " 1 " by the sequential search from the low level to a high position, if found, stop search procedure, according to the priority encoding rule first that finds do not carried out only cold coding for the bit of " 1 ", should only cold coding and search successfully index signal and transfer in the buffer 5142; If search less than, to buffer 5142 transmission numerical value with search successfully index signal.
The only cold coding that the transmission of buffer 5142 memory priority codimg logics 5141 comes, when receive that priority-encoding logic 5141 transmission come search successfully index signal the time, to addition logic 5143 transmission enable signals.
Addition logic 5143 receives the enable signal that buffer 5142 transmission come, only cold coding and current logical Taoist monastic name addition with storage in the buffer 5142, result after the addition adds 1 again, the value that adds again after 1 is the channel number of the passage of described permission transfer of data, be current channel number, the value that adds again after 1 is transferred to data transmission module 520.
Data transmission module 520 receives the current channel number that 5143 transmission of addition logics come, and with the transfer of data in the passage of this channel number correspondence, and according to data quantity transmitted the weights in the weights register 531 of this passage is successively decreased.
A plurality of weights registers 531 are stored the weights of described each passage respectively.
A plurality of weights increment registers 532 are stored the weights increment of each passage respectively.
Weighting logic 533 detects the weights of storage in each weights register 531, when the weights that detect in each weights register 531 storage when weighting logic 533 are negative, weighting logic 533 is respectively with the weights increment addition of storage in the weights stored in each weights register and the corresponding weights increment register 532, and the result after the addition is stored back respectively accordingly in each weights register 531.
Though described the present invention by embodiment, those of ordinary skills know, the present invention has many distortion and variation and do not break away from spirit of the present invention, wishes that appended claim comprises these distortion and variation.

Claims (12)

1, the method for multi-channel data transmission in a kind of communication system is characterized in that comprising:
A, determine the weights that each passage is initial;
B, when needs carry out multi-channel data when transmission, obtain state, the weights of described each passage;
C, determine to allow the passage of transfer of data according to the state of described each passage, weights;
D, the data in the passage of described definite permission transfer of data are transmitted, and upgraded the weights of this passage.
2, the method for multi-channel data transmission in a kind of communication system as claimed in claim 1 is characterized in that described step a comprises:
Determine the weights that each passage is initial according to the bandwidth of described each channel arrangement;
The initial weights of described each passage are directly proportional with the bandwidth of described each channel arrangement;
The initial weights of described each passage are the criterion of each channel transmission data.
3, the method for multi-channel data transmission in a kind of communication system as claimed in claim 1 or 2 is characterized in that the state of described each passage comprises: ready state and not-ready state;
When passage can carry out transfer of data, be ready state;
When passage cannot carry out transfer of data, be not-ready state.
4, the method for multi-channel data transmission in a kind of communication system as claimed in claim 3 is characterized in that described step c comprises:
C1, the channel number that obtains described each passage and current channel number;
C2, the channel number greater than described current channel number of described each passage that obtains is arranged as sequence 1 by incremental order;
C3, the passage that is not more than described current channel number of described each passage that obtains is arranged as sequence 2 by incremental order;
C4, from described sequence 1, sequence 2, obtain channel number successively sequentially, and search the channel number correspondence be in ready state and weights are the passage of positive number;
If find, be that the passage of positive number is defined as working as prepass with first be in ready state and weights that find, allow it to carry out transfer of data;
If search less than, when prepass does not change.
5, the method for multi-channel data transmission in a kind of communication system as claimed in claim 1 or 2 is characterized in that the weights of this passage are changed with the data of described transmission in the described steps d comprises:
Work as the data volume of prepass transmission successively decreases when the weights basis of prepass.
6, the method for multi-channel data transmission in a kind of communication system as claimed in claim 1 or 2 is characterized in that described step a also comprises: the weights increment of determining described each passage;
And described method also comprises:
When the weights of described each passage are negative, obtain the weights increment of described each passage;
The weights increment addition that the weights of described each passage are corresponding with it respectively, and the weights of described each passage are updated to result after the addition respectively.
7, the method for multi-channel data transmission in a kind of communication system as claimed in claim 6, the weights increment that it is characterized in that described each passage is a positive number, and is directly proportional with the bandwidth of described each channel arrangement;
The weights increment of described each passage is stored in respectively in the weights increment register of described each passage.
8, the device of multi-channel data transmission in a kind of communication system is characterized in that described device comprises:
Obtain the channel parameters module: obtain the state and the weights of each passage respectively, and transmit it to definite transport module that allows;
Determine to allow transport module:, obtain its corresponding channel number, and the described channel number that obtains is transferred to data transmission module according to the described state of next described each passage of channel parameters module transmission, the passage that weights determine to allow transfer of data of obtaining;
Data transmission module: receive the channel number that described definite permission transport module transmission comes,, and upgrade the weights of described passage with the transfer of data in the passage of this channel number correspondence.
9, as the device of multi-channel data transmission in a kind of communication system as described in the claim 8, it is characterized in that described definite permission transport module comprises:
Phase and logic: receive described state, the weights that obtain next described each passage of channel parameters module transmission, with the state of the sign symbol of the weights of each passage of described reception and described each passage mutually or, and with described phase or after result transmission to symbol remap submodule;
Symbol remaps submodule: receive that described and logical transport come with after the result, channel number greater than described current channel number in described each passage is arranged as sequence 1 by incremental order, the channel number that is not more than described current channel number in described each passage is arranged as sequence 2 by incremental order, sequentially with the phase of the channel number correspondence in described sequence 1, the sequence 2 or after result transmission to symbol remap register;
Symbol remaps register: with described symbol remap phase that submodule transmission comes or after the result from the low level to the higher memory;
Priority encoder: remap the register from described symbol that first is not the bit of " 1 " by the sequential search from the low level to a high position, the channel number of the bit correspondence that finds is transferred to described data transmission module.
10, as the device of multi-channel data transmission in a kind of communication system as described in the claim 9, it is characterized in that described priority encoder comprises:
Priority-encoding logic: remap the register from described symbol that first is not the bit of " 1 " by the sequential search from the low level to a high position, the bit that finds is carried out only cold coding, and with described only cold coding with search successfully index signal and transfer in the buffer;
Buffer: store the numerical value that the transmission of described priority-encoding logic comes, and receive that described priority-encoding logic transmission comes search successfully index signal the time, enable signal is transferred to the addition logic;
Addition logic: when receiving the enable signal of described buffer transmission, with the numerical value and the current channel number addition of storing in the described buffer, result after the addition adds 1 again, described current channel number is updated to the described value that adds after 1, simultaneously the described value that adds after 1 is transferred to described data transmission module.
11, as the device of multi-channel data transmission in a kind of communication system as described in the claim 8, it is characterized in that described device also comprises:
Weighter: when the weights of described each passage correspondence are negative, the weights increment addition that the weights of described each passage correspondence are corresponding with described each passage, with the result after the addition respectively as the weights of described each passage.
12, as the device of multi-channel data transmission in a kind of communication system as described in the claim 11, it is characterized in that described weighter comprises:
A plurality of weights increment registers: the weights increment of storing described each passage respectively;
A plurality of weights registers: the weights of storing described each passage respectively;
Weighting logic: when the weights of storing in described each weights register are negative, respectively with the weights increment addition of storing in the weights stored in described each weights register and the corresponding weights increment register, and the result after the addition stored back respectively accordingly in described each weights register.
CN200310123982.5A 2003-12-19 2003-12-19 A method and apparatus for multi-path data transmission in communication system Pending CN1630293A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200310123982.5A CN1630293A (en) 2003-12-19 2003-12-19 A method and apparatus for multi-path data transmission in communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200310123982.5A CN1630293A (en) 2003-12-19 2003-12-19 A method and apparatus for multi-path data transmission in communication system

Publications (1)

Publication Number Publication Date
CN1630293A true CN1630293A (en) 2005-06-22

Family

ID=34844914

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200310123982.5A Pending CN1630293A (en) 2003-12-19 2003-12-19 A method and apparatus for multi-path data transmission in communication system

Country Status (1)

Country Link
CN (1) CN1630293A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101039310B (en) * 2006-03-16 2010-08-25 联想(北京)有限公司 Link sharing service apparatus and communication method thereof
CN101039309B (en) * 2006-03-16 2010-09-29 联想(北京)有限公司 Link sharing service apparatus and communication method thereof
CN101379710B (en) * 2006-02-06 2012-08-22 高通股份有限公司 Message remapping and encoding
US8392535B2 (en) 2009-02-23 2013-03-05 Huawei Device Co., Ltd. Method, device and system for controlling multichannel cascade between two media control servers
CN106603214A (en) * 2016-12-14 2017-04-26 北京无线天利移动信息技术股份有限公司 Data transmission method and data transmission device
CN107248892A (en) * 2017-07-20 2017-10-13 中国检验检疫科学研究院 A kind of monitoring system of rays safety detection apparatus
CN109408424A (en) * 2018-10-19 2019-03-01 北京航空航天大学 A kind of SpaceFibre bus data acquisition method based on PCIe interface
CN117040712A (en) * 2023-10-08 2023-11-10 苏州华兴源创科技股份有限公司 Method, device and storage medium for changing channels in multiple channels

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101379710B (en) * 2006-02-06 2012-08-22 高通股份有限公司 Message remapping and encoding
CN101039310B (en) * 2006-03-16 2010-08-25 联想(北京)有限公司 Link sharing service apparatus and communication method thereof
CN101039309B (en) * 2006-03-16 2010-09-29 联想(北京)有限公司 Link sharing service apparatus and communication method thereof
US8392535B2 (en) 2009-02-23 2013-03-05 Huawei Device Co., Ltd. Method, device and system for controlling multichannel cascade between two media control servers
CN106603214A (en) * 2016-12-14 2017-04-26 北京无线天利移动信息技术股份有限公司 Data transmission method and data transmission device
CN106603214B (en) * 2016-12-14 2019-12-27 北京无线天利移动信息技术股份有限公司 Data transmission method and device
CN107248892A (en) * 2017-07-20 2017-10-13 中国检验检疫科学研究院 A kind of monitoring system of rays safety detection apparatus
CN107248892B (en) * 2017-07-20 2023-06-06 中国检验检疫科学研究院 Monitoring system of security inspection equipment
CN109408424A (en) * 2018-10-19 2019-03-01 北京航空航天大学 A kind of SpaceFibre bus data acquisition method based on PCIe interface
CN109408424B (en) * 2018-10-19 2021-08-31 北京航空航天大学 PCIe interface-based SpaceFibre bus data acquisition method
CN117040712A (en) * 2023-10-08 2023-11-10 苏州华兴源创科技股份有限公司 Method, device and storage medium for changing channels in multiple channels
CN117040712B (en) * 2023-10-08 2023-12-29 苏州华兴源创科技股份有限公司 Method, device and storage medium for changing channels in multiple channels

Similar Documents

Publication Publication Date Title
CN1156996C (en) Radio communication apparatus, radio communication system and method thereof
CN1162993C (en) Method for allocation of radio resource, radio apparatus and radio communication system
CN1921457A (en) Network equipment and message transferring method based on multiple-core processor
CN1613267A (en) A method and implementation for a flow specific modified selective-repeat ARQ communication system
CN1866971A (en) Method and apparatus of data segmentation in a mobile communications system
CN101043291A (en) Feedback control method, apparatus and transceiver in OFDM system
CN1848806A (en) Method and related apparatus for reconfiguring size of a receiving window in a communications system
CN1859037A (en) Transmitting and receiving method for high speed medium cut-in control grouping data unit
CN1630293A (en) A method and apparatus for multi-path data transmission in communication system
CN1801882A (en) Method and apparatus for displaying printing progress status
CN1165007C (en) Data transmission device, display and data sender, receiver and transmission method
CN1555617A (en) Transmission power control method and radio control apparatus in mobile packet communication system
CN1946061A (en) Method and device for fast processing message
CN1474568A (en) Direct internal storage access system and method of multiple path data
CN1293739C (en) High speed link control protocol transmission processing/module and data processing/method
CN1949184A (en) Method and system of chip checking
CN100340971C (en) Arithmetic device
CN1315297C (en) Method for timed processing of list item in communication equipment and apparatus thereof
CN1773955A (en) Queue dispatching method and apparatus in data network
CN101051880A (en) Transmitting, receiving and repeating method and its device for data frame
CN101046745A (en) Method, device for controlling relation between control piece on interface and control piece display system
CN1866233A (en) Signal processing apparatus, signal processing system and signal processing method
CN1924817A (en) Data structure transmission method
CN1859293A (en) Device and method for realizing message repeating
CN1519737A (en) Appts. and method for connecting processor to bus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication