CN103227690B - Coding/decoding method, decoder device and electronic equipment - Google Patents
Coding/decoding method, decoder device and electronic equipment Download PDFInfo
- Publication number
- CN103227690B CN103227690B CN201210021358.3A CN201210021358A CN103227690B CN 103227690 B CN103227690 B CN 103227690B CN 201210021358 A CN201210021358 A CN 201210021358A CN 103227690 B CN103227690 B CN 103227690B
- Authority
- CN
- China
- Prior art keywords
- data traffic
- coding data
- traffic stream
- decoding
- stream
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Abstract
Provide a kind of coding/decoding method, decoder device and electronic equipment.This coding/decoding method includes: by the coding data traffic stream of a data channel reception input;Determine the type of the coding data traffic stream of input;When the type of this coding data traffic stream is the first kind, inputs this first kind coding data traffic stream in the first decoder module, use this first decoder module to be decoded this first kind coding data traffic stream;And when the type of this coding data traffic stream is Equations of The Second Kind, inputs this Equations of The Second Kind coding data traffic stream in the second decoder module, use this second decoder module to be decoded this Equations of The Second Kind coding data traffic stream.
Description
Technical field
The present invention relates to the field of electronic equipment, more particularly it relates to an coding/decoding method, solution
Code device device and electronic equipment.
Background technology
In recent years, mobile communication standard has gradually developed into 3G, 4G from 2G, in various mobile communication
In standard, Turbo code decoder has been increasingly becoming conventional decoder.Turbo code is that one has and connects
The channel coding method of the excellent properties of nearly shannon limit, is widely used in various kinds of mobile communication standard,
Such as Wimax, LTE, TD-SCDMA, WCDMA etc..But owing to its coding/decoding method realizes complexity
Degree height, so having, decoding time delay is big and power consumption high.For mobile terminal, power consumption is
One critically important key index.Therefore, the high-speed Turbo code decoder of low-power consumption is always research
Difficult point.
Content of the invention
To this end, the present invention provides a kind of coding/decoding method, decoder device and electronic equipment, it is capable of
Low-power consumption, the Turbo code decoding of high speed.
According to embodiments of the present invention, a kind of coding/decoding method, the decoder being applied in mobile communication are provided
In device, this decoder device includes the first decoder module and the second decoder module, and the method includes:
Coding data traffic stream by a data channel reception input;
Determine the type of the coding data traffic stream of input;
When the type of this coding data traffic stream is the first kind, by defeated for this first kind coding data traffic stream
Enter in this first decoder module, use this first decoder module to carry out this first kind coding data traffic stream
Decoding;And
When the type of this coding data traffic stream is Equations of The Second Kind, by defeated for this Equations of The Second Kind coding data traffic stream
Enter in this second decoder module, use this second decoder module to carry out this Equations of The Second Kind coding data traffic stream
Decoding.
Preferably, described coding/decoding method also includes:
When the hybrid coding data service stream that this coding data traffic stream is the first kind and Equations of The Second Kind, should
First kind coding data traffic stream in hybrid coding data service stream inputs in this first decoder module, makes
With this first decoder module, this first kind coding data traffic stream is decoded, and by this hybrid coding
Equations of The Second Kind coding data traffic stream in data service stream inputs in this second decoder module, use this second
This Equations of The Second Kind coding data traffic stream is decoded by decoder module.
Preferably, the type of this coding data traffic stream, Qi Zhong is determined according to the bit error rate requirement of business
The bit error rate requirement of one class data service stream is higher than the bit error rate requirement of secondary sources Business Stream.
Preferably, described coding/decoding method also includes:
When the type of this coding data traffic stream is the first kind, determine this first kind coding data traffic stream
Pattern, described pattern refers to the mobile communication standard of this coding data traffic stream.
Preferably, this first decoder module includes the one or more decoding submodules based on the first decoding algorithm
Block, the wherein pattern according to this first kind coding data traffic stream, select corresponding decoding sub-module independent
The first kind coding data traffic stream to input for the ground is decoded.
Preferably, each decoding sub-module includes one group of interleaving/deinterleaving for specific mobile communication standard
Unit and two RSC decoders, this group interleaving/deinterleaving unit includes that an interleave unit and a solution are handed over
Knit unit.
Preferably, this first decoder module includes the one or more decoding submodules based on the first decoding algorithm
Block, the wherein pattern according to this first kind coding data traffic stream, to the part in this decoding sub-module
The first kind coding data traffic stream that decoding unit carries out being multiplexed to input is decoded.
Preferably, this each decoding sub-module at least includes: for first group of the first mobile communication standard
Interleaving/deinterleaving unit, for second group of interleaving/deinterleaving unit of the second mobile communication standard and two
RSC decoder, wherein the first mobile communication standard and the second mobile communication standard are different, and often group is handed over
Knit/deinterleave unit and include an interleave unit and a deinterleaving unit,
Wherein, the pattern according to this first kind coding data traffic stream, selects corresponding one group of deinterleaving to hand over
Knit unit, and carry out at least two RSC decoder being multiplexed the first kind coded data industry to input
Business stream is decoded.
Preferably, this second decoder module includes the one or more decoding submodules based on the second decoding algorithm
Block, wherein the Equations of The Second Kind coding data traffic stream of input is decoded by each decoding sub-module independently.
Preferably, this decoder device also includes control module, stores decoding parametric row in this control module
Table, the method also includes:
When this first kind coding data traffic stream being decoded by this first decoder module, according to this
The length of each packet in first kind coding data traffic stream, selects phase from this decoding parametric list
The decoding parametric answered, thus according to the decoding parametric selecting, each packet is decoded.
Preferably, this first decoder module requires the power higher than the second decoder module.
According to another embodiment of the present invention, provide a kind of decoder device, comprising:
Input terminal, is configured to receive the coding data traffic stream by a data channel input;
Control module, is configured to determine the type of the coding data traffic stream of input;
First decoder module, is configured to when the type of this coding data traffic stream is the first kind, by this
One class coding data traffic stream inputs in this first decoder module, use this first decoder module to this first
Class coding data traffic stream is decoded;And
Second decoder module, is configured to when the type of this coding data traffic stream is Equations of The Second Kind, by this
Two class coding data traffic streams input in this second decoder module, use this second decoder module to this second
Class coding data traffic stream is decoded.
Preferably, when the hybrid coding data service stream that this coding data traffic stream is the first kind and Equations of The Second Kind
When, the first kind coding data traffic stream in this hybrid coding data service stream is inputted this first decoding mould
In block, this first decoder module is used to be decoded this first kind coding data traffic stream, and should
Equations of The Second Kind coding data traffic stream in hybrid coding data service stream inputs in this second decoder module, makes
With this second decoder module, this Equations of The Second Kind coding data traffic stream is decoded.
Preferably, described control unit is configured to determine this coded data industry according to the bit error rate requirement of business
The type of business stream, wherein the bit error rate requirement of primary sources Business Stream is higher than secondary sources Business Stream
Bit error rate requirement.
Preferably, described control unit is further configured to:
When the type of this coding data traffic stream is the first kind, determine this first kind coding data traffic stream
Pattern, described pattern refers to the mobile communication standard of this coding data traffic stream.
Preferably, this first decoder module includes the one or more decoding submodules based on the first decoding algorithm
Block, the wherein pattern according to this first kind coding data traffic stream, select corresponding decoding sub-module independent
The first kind coding data traffic stream to input for the ground is decoded.
Preferably, each decoding sub-module includes one group of interleaving/deinterleaving for specific mobile communication standard
Unit and two RSC decoders, this group interleaving/deinterleaving unit includes that an interleave unit and a solution are handed over
Knit unit.
Preferably, this first decoder module includes the one or more decoding submodules based on the first decoding algorithm
Block, the wherein pattern according to this first kind coding data traffic stream, to the part in this decoding sub-module
The first kind coding data traffic stream that decoding unit carries out being multiplexed to input is decoded.
Preferably, this each decoding sub-module at least includes: for first group of the first mobile communication standard
Interleaving/deinterleaving unit, for second group of interleaving/deinterleaving unit of the second mobile communication standard and two
RSC decoder, wherein the first mobile communication standard and the second mobile communication standard are different, and often group is handed over
Knit/deinterleave unit and include an interleave unit and a deinterleaving unit,
Wherein, the pattern according to this first kind coding data traffic stream, selects corresponding one group of deinterleaving to hand over
Knit unit, and carry out at least two RSC decoder being multiplexed the first kind coded data industry to input
Business stream is decoded.
Preferably, this second decoder module includes the one or more decoding submodules based on the second decoding algorithm
Block, wherein the Equations of The Second Kind coding data traffic stream of input is decoded by each decoding sub-module independently.
Preferably, this decoder device also includes control module, stores decoding parametric row in this control module
Table, the method also includes:
When this first kind coding data traffic stream being decoded by this first decoder module, according to this
The length of each packet in first kind coding data traffic stream, selects phase from this decoding parametric list
The decoding parametric answered, thus according to the decoding parametric selecting, each packet is decoded.
Preferably, this first decoder module requires the power higher than the second decoder module.
According to another embodiment of the present invention, provide a kind of electronic equipment, comprising:
Communication unit, is used for carrying out radio communication;And
Decoder device,
Wherein, this decoder device includes:
Input terminal, is configured to receive the coding data traffic stream by a data channel input;
Control module, is configured to determine the type of the coding data traffic stream of input;
First decoder module, is configured to when the type of this coding data traffic stream is the first kind, by this
One class coding data traffic stream inputs in this first decoder module, use this first decoder module to this first
Class coding data traffic stream is decoded;And
Second decoder module, is configured to when the type of this coding data traffic stream is Equations of The Second Kind, by this
Two class coding data traffic streams input in this second decoder module, use this second decoder module to this second
Class coding data traffic stream is decoded.
Utilize coding/decoding method, decoder device and the electronic equipment of the present invention, be capable of low-power consumption, height
The Turbo code decoding of speed.
Brief description
Fig. 1 is that Turbo code decoder realizes block diagram;
Fig. 2 is the flow chart of coding/decoding method according to a first embodiment of the present invention;
Fig. 3 be coding/decoding method according to a first embodiment of the present invention realize block diagram;
Fig. 4 is the configuration block diagram of decoder device according to a first embodiment of the present invention;And
Fig. 5 is the configuration block diagram of electronic equipment according to a second embodiment of the present invention.
Detailed description of the invention
Hereinafter, will be described in detail with reference to the accompanying drawings embodiments of the invention.
Fig. 1 is that Turbo code decoder realizes block diagram.
As it is shown in figure 1, in general Turbo code decoder block diagram, the coding data traffic stream of reception
In input RAM, then under the control of control module, coding data traffic stream interweaves from RAM input
In unit, and through RSC decoder the 1st, deinterleave unit, RSC decoder 2 is processed, through too much
After secondary iterative processing, data after processing meet predetermined standard time, output decoding data.For Turbo
The general principle of code decoder, is not described in detail at this.
It for Turbo code decoder of the prior art, is primarily present following a few class:
The implementation of current Turbo decoder mainly has following a few class:
1. the implementation for single standard.
It is special that current Turbo decoder realizes being mainly single standard, such as the LTE of 4G, 3G's
TD-SCDMA has special decoder chip.But owing to there is the heterogeneous network in various criterion for the terminal
Between movement, need terminal to support the decoding process under various criterion.Therefore the decoder of single standard
Scheme lacks the support to this problem.
2. single coding/decoding method.
Turbo decoder many uses Max-Log-Map algorithm of current main flow is decoded, and carries out
Substantial amounts of optimizing research.But do not account for the concrete actual combination with decoding algorithm.Single coding/decoding method energy
Enough power consumption limitation reducing.
3. dual decoding algorithm realizes.
In order to realize resource-sharing, current dual decoding algorithm similarity and principle difference are very little, and can only
Employing can lectotype, to different business process, effect is simultaneously inconspicuous.
4. use DSP realizes the decoding of the LTE standard of two-forty.
Currently, especially for LTE standard, the realization of Turbo decoder all still base greatly
Realizing in DSP pure software, its performance, power consumption is compared pure hardware logic implementation and itself be there is also
Very big gap.
Owing to current various Turbo code decoders all exist respective shortcoming, to this end, the present invention proposes
A kind of novelty and the improved coding/decoding method based on Turbo code decoder, decoder device and electronics
Equipment.
<first embodiment>
Fig. 2 is the flow chart of coding/decoding method according to a first embodiment of the present invention.
As in figure 2 it is shown, coding/decoding method 100 according to a first embodiment of the present invention is applied in mobile communication
Decoder device in, this decoder device includes the first decoder module and the second decoder module.This decoding
Method 100 includes:
Step S101: by the coding data traffic stream of a data channel reception input.
In this step, the volume of input is received by a data channel (antenna as in mobile terminal)
Code data Business Stream.For example, business refers to Record Carrier, video traffic or speech business etc..This volume
That code data Business Stream refers to send from base station or other mobile devices, business datum is encoded after obtain
Data stream.As well known to the skilled person, in moving communicating field, in order to ensure data
Correct transmission, needs to carry out coded treatment to this data before data transmission, and this coding method is for example wrapped
Include Turbo code coding, LDPC code coding etc..This coding data traffic stream can be a certain business
The stream of data, such as the stream of Voice traffic data, it is also possible to is the mixed flow of multiple business data, such as video
Business datum and the mixed flow of Voice traffic data.
Step S102: determine the type of the coding data traffic stream of input.
In this step, the type of the coding data traffic stream of input is determined, i.e. determine the volume of this input
Code data Business Stream is coding data traffic stream or the coding data traffic stream of Second Type of the first kind.
In the present invention, the type of this coding data traffic stream, Qi Zhong is determined according to the bit error rate requirement of business
The bit error rate requirement of one class data service stream is higher than the bit error rate requirement of secondary sources Business Stream.For example,
The business (such as file transmission, video traffic) high to bit error rate requirement is defined as first kind business, because of
This, the encoded data stream of file transmission can be as the example of this first kind coding data traffic stream.Additionally,
The business (such as speech business) not high to bit error rate requirement is defined as Equations of The Second Kind business, therefore, voice
The encoded data stream of business can be as the example of this Equations of The Second Kind coding data traffic stream.
Step S103: when the type of this coding data traffic stream is the first kind, by this first kind coded number
Input in this first decoder module according to Business Stream, use this first decoder module to this first kind coded data
Business Stream is decoded.
In this step, when the type of this coding data traffic stream is the first kind, by the first kind of input
In coding data traffic stream input the first decoder module (that is, high bit-error requires decoder module),
And use this first decoder module to be decoded this first kind coding data traffic stream.
Step S104: when the type of this coding data traffic stream is Equations of The Second Kind, by this Equations of The Second Kind coded number
Inputting in this second decoder module (that is, low error rate requires decoder module) according to Business Stream, using should
This Equations of The Second Kind coding data traffic stream is decoded by the second decoder module.
Additionally, when the hybrid coding data service stream that this coding data traffic stream is the first kind and Equations of The Second Kind,
First kind coding data traffic stream in this hybrid coding data service stream is inputted this first decoder module
In, use this first decoder module to be decoded this first kind coding data traffic stream, and this is mixed
The Equations of The Second Kind coding data traffic stream closing in coded data Business Stream inputs in this second decoder module, uses
This Equations of The Second Kind coding data traffic stream is decoded by this second decoder module.
Specifically, with reference to Fig. 3, Fig. 3 is the reality describing coding/decoding method according to a first embodiment of the present invention
Existing block diagram.In the figure, two data buffer storages 1 and 2 are used to carry out data input, this data buffer storage 1
Using Pingpang Memory mode with 2, alternately storing, each caching all can serve data to
Two passages below.In the figure, the data stream packets of input includes three kinds of situations:
1. when 1. the data stream of input include the first kind and Equations of The Second Kind coding data traffic stream, by data stream
1. first kind coding data traffic stream input the first decoder module in is (for example, based on MAX-log-map
The Turbo code decoder module of decoding algorithm) in, and by data stream 1. in Equations of The Second Kind coded data
Business Stream inputs the second decoder module (for example, Turbo code decoder mould based on SOVA decoding algorithm
Block) in.Therefore, it can to decode in the first decoder module simultaneously first kind coding data traffic stream and
In second decoder module decode Equations of The Second Kind coding data traffic stream, it is possible to achieve synchronization high efficiency parallel
Decoding.
2., when 2. the data stream of input only include Equations of The Second Kind coding data traffic stream, 2. data stream inputted
In second decoder module (for example, the Turbo code decoder module based on SOVA decoding algorithm).Cause
This, is because passing through two-stage RAM buffered data so that when decoder decodes, first RAM simultaneously
Data can be read in, save the time of single reading evidence.
3., when 3. the data stream of input only include first kind coding data traffic stream, 3. data stream inputted
First decoder module (for example, the Turbo code decoder module based on MAX-log-map decoding algorithm)
In.Consequently, because pass through two-stage RAM buffered data so that when decoder decodes, simultaneously first
Individual RAM can read in data, saves the time of single reading evidence.
Additionally, when the type of this coding data traffic stream is the first kind (that is, the coding that high bit-error requires
Data service stream) when, determining the pattern of this first kind coding data traffic stream, described pattern refers to this coding
The mobile communication standard of data service stream.It is to say, the coding data traffic that high bit-error is required
Stream, can also be determined by the pattern of coding data traffic stream, i.e. the movement of coding data traffic stream is led to
Beacon is accurate, provides different Turbo code decoder module.For example, when the requirement of this high bit-error
When coding data traffic stream is the data stream based on LTE standard, use based on LTE standard interleaver/
Deinterleaver and two RSC decoders are decoded.When the coding data traffic stream that this high bit-error requires
When being the data stream based on TD-SCDMA standard, use based on TD-SCDMA standard interleaver/
Deinterleaver and two RSC decoders are decoded.
To this end, this first decoder module can include based on the first decoding algorithm (for example, MAX-log-map
Decoding algorithm) one or more decoding sub-module, such as decoding sub-module, the pin for LTE standard
Decoding sub-module, the submodule etc. for WCDMA standard to TD-SCDMA standard.According to this
The pattern of first kind coding data traffic stream, i.e. be based on which kind of mobile communication standard, selects corresponding
The first kind coding data traffic stream of input is decoded by decoding sub-module independently.This mobile communication mark
Standard includes the mobile communication standard for 2G signal, including GPRS and GSM, described second move logical
Beacon is accurate for the mobile communication standard for 3G signal, including TD-SCDMA, CDMA2000,
WCDMA and WiMAX, and described 3rd mobile communication standard is for for the mobile communication of 4G signal
Standard, including LTE and TD-LTE.Further, it is also possible to according to the development of mobile communication, responsively carry
For the decoding sub-module for the later mobile communication standard occurring.
It is to say, each decoding sub-module intactly includes one group of friendship for specific mobile communication standard
Knitting/deinterleave unit and two RSC decoders, this group interleaving/deinterleaving unit includes an interleave unit
Deinterleave unit with one.Therefore, the coded number that each decoding sub-module can independently to a kind of pattern
It is decoded according to Business Stream.
It is highly preferred that based on the first decoding algorithm (for example, this first decoder module can include
MAX-log-map decoding algorithm) one or more decoding sub-module, the such as solution for LTE standard
Numeral module, the decoding sub-module for TD-SCDMA standard, the submodule for WCDMA standard
Block etc..In addition, according to the pattern of this first kind coding data traffic stream, in this decoding sub-module
The first kind coding data traffic stream that partial decoding of h unit carries out being multiplexed to input is decoded.
It is to say, this each decoding sub-module at least includes: for the first of the first mobile communication standard
Group interleaving/deinterleaving unit, the second group of interleaving/deinterleaving unit and two for the second mobile communication standard
Individual RSC decoder, wherein the first mobile communication standard and the second mobile communication standard are different, and often group
Interleaving/deinterleaving unit includes an interleave unit and a deinterleaving unit.For example, with reference in Fig. 3
For example, this decoding sub-module include one group of interleaving/deinterleaving unit for LTE standard, for
One group of interleaving/deinterleaving unit of TD-SCDMA standard and two RSC decoders 1 and 2.Entering
During row decoding, according to the pattern of this first kind coding data traffic stream, corresponding one group of deinterleaving is selected to hand over
Knit unit, and carry out at least two RSC decoder being multiplexed the first kind coded data industry to input
Business stream is decoded.For example, when the encoded data stream that the encoded data stream of input is LTE standard, connect
It is common to one group of interleaving/deinterleaving unit of LTE standard and two RSC decoders 1 and 2, simultaneously switch off
For one group of interleaving/deinterleaving unit of TD-SCDMA standard, therefore, it can to input based on LTE
The encoded data stream of standard is decoded.
Additionally, when input data are Equations of The Second Kind coding data traffic stream (that is, the codings that low error rate requires
Data service stream) when, this second decoder module can include based on the second decoding algorithm (for example, based on
SOVA decoding algorithm) one or more decoding sub-module, wherein each decoding sub-module is right independently
The Equations of The Second Kind coding data traffic stream of input is decoded.For example, when the coding data traffic stream of input is
During the voice data traffic stream that low error rate requires, this coding data traffic stream can be inputted a decoding
Submodule, is decoded to the voice data traffic stream of this input wherein independently.
Furthermore it is also possible to provide control module, this control in the decoder device using this coding/decoding method
Module stores decoding parametric list, for example, is iterated the number of times of decoding.
Therefore, when this first kind coding data traffic stream being decoded by this first decoder module,
According to the length of each packet in this first kind coding data traffic stream, from this decoding parametric list
Select corresponding decoding parametric, thus according to the decoding parametric selecting, each packet is decoded.
Specifically, in the case of 188 kinds of different types of data packets, true according to different grouping length
Definite decoding characteristic, under a usual Parameter Conditions, uses different Operation Measures to every kind of packet decoding,
Such as the number of times difference of iterative decoding, these differences are all through the data tested of practice, compare fixing
The iterative decoding of pattern is more efficient.In addition, this decoding parametric list can also make according to the different external worlds
Select by scene.
Because the first decoder module is higher than the second decoder module, therefore, this first solution for bit error rate requirement
Code module requires the power higher than the second decoder module.
Additionally, at decoded output, the data that decoding terminates first send into FIFO caching, and FIFO depth can
To be 8bit, 16bit, 32bit etc., can according to lower DBMS form it needs to be determined that.Then again with 8bit,
The mode of 16bit or 32bit exports to subordinate's code block cascade module together, it is to avoid the transmission of 1bit serial
Mode.The FIFO for example using the degree of depth to be 8bit, it is possible to make subordinate's code block cascade module at first 7
Power-off in clock cycle, opens the 8th clock cycle and receives the wide data of a 8bit, then can
To save the power consumption close to 7/8.FIFO is i.e. utilized to provide convenience for the economize on electricity of subordinate's module.
Use above-mentioned decoder, it is possible to achieve efficient input pattern, according to the adaptive choosing of service needed
Select coding/decoding method, and cache output, provide economize on electricity possible for subordinate's module.
Therefore, coding/decoding method according to a first embodiment of the present invention, compatible multiple main flows can move standard,
Such as LTE and TD-SCDMA etc., and also coding/decoding method can be selected according to operation quality requirement.Right
In single Business Stream, the coding/decoding method of low-power consumption can be used to greatest extent, reduce to greatest extent and solve
Code power consumption;Can realize that high-speed parallel decodes for multi-business flow, improve decoding throughput, use spirit
The way of output lived, the economize on electricity for post-module provides facility, wants for the low error rate such as speech business
The system asked, can be suitable for well.
Below, with reference to Fig. 4, decoder device according to a first embodiment of the present invention is described.
Fig. 4 is the configuration block diagram illustrating decoder device 300 according to a first embodiment of the present invention.
This decoder device 300 includes:
Input terminal 301, is configured to receive the coding data traffic stream by a data channel input;
Control module 302, is configured to determine the type of the encoded data stream of input;
First decoder module 303, is configured to when the type of this coding data traffic stream is the first kind, will
This first kind coding data traffic stream inputs in this first decoder module 303, uses this first decoder module
303 pairs of this first kind coding data traffic streams are decoded;And
Second decoder module 304, is configured to when the type of this coding data traffic stream is Equations of The Second Kind, will
This Equations of The Second Kind coding data traffic stream inputs in this second decoder module 304, uses this second decoder module
304 pairs of this Equations of The Second Kind coding data traffic streams are decoded.
Additionally, when the hybrid coding data service stream that this coding data traffic stream is the first kind and Equations of The Second Kind,
First kind coding data traffic stream in this hybrid coding data service stream is inputted this first decoder module
In 303, this first decoder module 303 is used to be decoded this first kind coding data traffic stream, and
And the Equations of The Second Kind coding data traffic stream in this hybrid coding data service stream is inputted this second decoder module
In 304, this second decoder module 304 is used to be decoded this Equations of The Second Kind coding data traffic stream.
Additionally, described control unit 302 is configured to determine this coded data according to the bit error rate requirement of business
The type of Business Stream, wherein the bit error rate requirement of primary sources Business Stream is higher than secondary sources Business Stream
Bit error rate requirement.
Additionally, described control unit 302 is further configured to:
When the type of this coding data traffic stream is the first kind, determine this first kind coding data traffic stream
Pattern, described pattern refers to the mobile communication standard of this coding data traffic stream.
Additionally, this first decoder module 303 includes the one or more solution numerals based on the first decoding algorithm
Module, the wherein pattern according to this first kind coding data traffic stream, select corresponding decoding sub-module only
On the spot the first kind coding data traffic stream of input is decoded.
Additionally, each decoding sub-module includes one group of interleaving/deinterleaving list for specific mobile communication standard
Unit and two RSC decoders, this group interleaving/deinterleaving unit includes an interleave unit and a deinterleaving
Unit.
Additionally, this first decoder module 303 includes the one or more solution numerals based on the first decoding algorithm
Module, the wherein pattern according to this first kind coding data traffic stream, to one in this decoding sub-module
The first kind coding data traffic stream dividing decoding unit to carry out being multiplexed to input is decoded.
Additionally, this each decoding sub-module at least includes: for first group of friendship of the first mobile communication standard
Knit/deinterleave unit, for second group of interleaving/deinterleaving unit of the second mobile communication standard and two
RSC decoder, wherein the first mobile communication standard and the second mobile communication standard are different, and often group is handed over
Knit/deinterleave unit and include an interleave unit and a deinterleaving unit.According to this first kind coded data
The pattern of Business Stream, selects corresponding one group of interleaving/deinterleaving unit, and decodes at least two RSC
The first kind coding data traffic stream that device carries out being multiplexed to input is decoded.
Additionally, this second decoder module 304 includes the one or more solution numerals based on the second decoding algorithm
Module, wherein the Equations of The Second Kind coding data traffic stream of input is decoded by each decoding sub-module independently.
Additionally, this decoder device 300 also includes control module 305, this control module 305 stores
Decoding parametric list, the method also includes:
When this first kind coding data traffic stream being decoded by this first decoder module 303, root
According to the length of each packet in this first kind coding data traffic stream, select from this decoding parametric list
Select corresponding decoding parametric, thus according to the decoding parametric selecting, each packet is decoded.
Additionally, this first decoder module 303 requires the power higher than the second decoder module 304.
Therefore, decoder device according to a first embodiment of the present invention, compatible multiple main flows can move mark
Standard, such as LTE and TD-SCDMA etc., and also coding/decoding method can be selected according to operation quality requirement.
For single Business Stream, the coding/decoding method of low-power consumption can be used to greatest extent, reduce to greatest extent
Decoding power consumption;Can realize that high-speed parallel decodes for multi-business flow, improve decoding throughput, use
The way of output flexibly, the economize on electricity for post-module provides facility, for such as the low error rate of speech business
The system requiring, can be suitable for well.
<the second embodiment>
Below, with reference to Fig. 5, electronic equipment according to a second embodiment of the present invention is described.
Fig. 5 is the block diagram illustrating electronic equipment 400 according to a second embodiment of the present invention.
This electronic equipment 400 includes:
Communication unit 401, is used for carrying out radio communication;And decoder device 402.
This decoder device 402 includes:
Input terminal, is configured to receive the coding data traffic stream by a data channel input;
Control module, is configured to determine the type of the encoded data stream of input;
First decoder module, is configured to when the type of this coding data traffic stream is the first kind, by this
One class coding data traffic stream inputs in this first decoder module, use this first decoder module to this first
Class coding data traffic stream is decoded;And
Second decoder module, is configured to when the type of this coding data traffic stream is Equations of The Second Kind, by this
Two class coding data traffic streams input in this second decoder module, use this second decoder module to this second
Class coding data traffic stream is decoded.
Wherein, this decoder device 402 is identical with the decoder device 300 describing with reference to Fig. 4, at this
It is not described in detail.
Therefore, electronic equipment according to a second embodiment of the present invention, compatible multiple main flows can move standard,
Such as LTE and TD-SCDMA etc., and also coding/decoding method can be selected according to operation quality requirement.Right
In single Business Stream, the coding/decoding method of low-power consumption can be used to greatest extent, reduce to greatest extent and solve
Code power consumption;Can realize that high-speed parallel decodes for multi-business flow, improve decoding throughput, use spirit
The way of output lived, the economize on electricity for post-module provides facility, wants for the low error rate such as speech business
The system asked, can be suitable for well.
Described above is several preferred embodiments of the present invention, it should be noted that in this manual,
Term " includes ", "comprising" or its any other variant are intended to comprising of nonexcludability, thus
The process, method, article or the equipment that include a series of key element is made not only to include those key elements, and
Also include other key elements being not expressly set out, or also include for this process, method, article or
The intrinsic key element of person's equipment.In the case of there is no more restriction, by statement " including ... "
The key element limiting, it is not excluded that also deposit in process, method, article or the equipment include described key element
At other identical element.
Finally, in addition it is also necessary to explanation, above-mentioned a series of process not only include with order described here by
The process that time series performs, and include the place performing parallel or respectively rather than in chronological order
Reason.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive this
Bright can add the mode of required hardware platform by software and realize, naturally it is also possible to all be come by hardware
Implement.Based on such understanding, technical scheme background technology is contributed whole or
Part can embody with the form of software product, and this computer software product can be stored in storage and be situated between
In matter, such as ROM/RAM, magnetic disc, CD etc., including some instructions are with so that a computer sets
Standby (can be personal computer, server, or the network equipment etc.) performs each embodiment of the present invention
Or the method described in some part of embodiment.
Above the present invention is described in detail, the principle to the present invention for the specific case used herein
And embodiment is set forth, the explanation of above example is only intended to help to understand the method for the present invention
And core concept;Simultaneously for one of ordinary skill in the art, according to the thought of the present invention,
All will change in detailed description of the invention and range of application, in sum, this specification content should not
It is interpreted as limitation of the present invention.
Claims (19)
1. a coding/decoding method, in the Turbo code decoder device being applied in mobile communication, this decoding
Device device includes the first Turbo code decoder module and the second Turbo code decoder module, and the method includes:
Coding data traffic stream by a data channel reception input;
Determine the type of the coding data traffic stream of input;
When the type of this coding data traffic stream is the first kind, by defeated for this first kind coding data traffic stream
Enter in this first Turbo code decoder module, use this first Turbo code decoder module to compile this first kind
Code data Business Stream is decoded;And
When the type of this coding data traffic stream is Equations of The Second Kind, by defeated for this Equations of The Second Kind coding data traffic stream
Enter in this second Turbo code decoder module, use this second Turbo code decoder module to compile this Equations of The Second Kind
Code data Business Stream is decoded,
The type of this coding data traffic stream, primary sources are wherein determined according to the bit error rate requirement of business
The bit error rate requirement of Business Stream is higher than the bit error rate requirement of secondary sources Business Stream;
This first Turbo code decoder module requires the power higher than the second Turbo code decoder module.
2. coding/decoding method as claimed in claim 1, also includes:
When the hybrid coding data service stream that this coding data traffic stream is the first kind and Equations of The Second Kind, should
First kind coding data traffic stream in hybrid coding data service stream inputs this first Turbo code decoding mould
In block, this first Turbo code decoder module is used to be decoded this first kind coding data traffic stream,
And the Equations of The Second Kind coding data traffic stream in this hybrid coding data service stream is inputted the 2nd Turbo
In code decoder module, this second Turbo code decoder module is used to flow to this Equations of The Second Kind coding data traffic
Row decoding.
3. coding/decoding method as claimed in claim 1, also includes:
When the type of this coding data traffic stream is the first kind, determine this first kind coding data traffic stream
Pattern, described pattern refers to the mobile communication standard of this coding data traffic stream.
4. coding/decoding method as claimed in claim 3, wherein this first Turbo code decoder module includes base
In one or more decoding sub-module of the first decoding algorithm, wherein according to this first kind coding data traffic
The pattern of stream, selects corresponding decoding sub-module to flow to the first kind coding data traffic of input independently
Row decoding.
5. coding/decoding method as claimed in claim 4, wherein each decoding sub-module includes for specific shifting
One group of interleaving/deinterleaving unit of dynamic communication standard and two recursive systematic convolutional code decoders, this group interweaves
/ deinterleaving unit includes an interleave unit and a deinterleaving unit.
6. coding/decoding method as claimed in claim 3, wherein this first Turbo code decoder module includes base
In one or more decoding sub-module of the first decoding algorithm, wherein according to this first kind coding data traffic
The pattern of stream, carries out to a part of decoding unit in this decoding sub-module being multiplexed the first kind to input
Coding data traffic stream is decoded.
7. coding/decoding method as claimed in claim 6, wherein each decoding sub-module at least includes: be used for
First group of interleaving/deinterleaving unit of the first mobile communication standard, for the second mobile communication standard second
Group interleaving/deinterleaving unit and two recursive systematic convolutional code decoders, wherein the first mobile communication standards
Different from the second mobile communication standard, and often group interleaving/deinterleaving unit includes an interleave unit and
Individual deinterleaving unit,
Wherein, the pattern according to this first kind coding data traffic stream, selects corresponding one group of deinterleaving to hand over
Knit unit, and carry out at least two recursive systematic convolutional code decoder being multiplexed the first kind to input
Coding data traffic stream is decoded.
8. coding/decoding method as claimed in claim 1, wherein this second Turbo code decoder module includes base
In one or more decoding sub-module of the second decoding algorithm, wherein each decoding sub-module is independently to defeated
The Equations of The Second Kind coding data traffic stream entering is decoded.
9. coding/decoding method as claimed in claim 1, wherein this decoder device also includes control module,
Storing decoding parametric list in this control module, the method also includes:
When this first kind coding data traffic stream being decoded by this first Turbo code decoder module
When, according to the length of each packet in this first kind coding data traffic stream, from this decoding parametric row
Table selects corresponding decoding parametric, thus according to the decoding parametric selecting, each packet is solved
Code.
10. a Turbo code decoder device, comprising:
Input terminal, is configured to receive the coding data traffic stream by a data channel input;
Control module, is configured to determine the type of the coding data traffic stream of input;
First Turbo code decoder module, is configured to when the type of this coding data traffic stream is the first kind,
Input this first kind coding data traffic stream in this first Turbo code decoder module, use this first
This first kind coding data traffic stream is decoded by Turbo code decoder module;And
Second Turbo code decoder module, is configured to when the type of this coding data traffic stream is Equations of The Second Kind,
Input this Equations of The Second Kind coding data traffic stream in this second Turbo code decoder module, use this second
This Equations of The Second Kind coding data traffic stream is decoded by Turbo code decoder module,
Wherein said control unit is configured to determine this coding data traffic stream according to the bit error rate requirement of business
Type, the bit error rate requirement of primary sources Business Stream higher than secondary sources Business Stream the bit error rate want
Ask;
This first Turbo code decoder module requires the power higher than the second Turbo code decoder module.
11. decoder devices as claimed in claim 10, wherein,
When the hybrid coding data service stream that this coding data traffic stream is the first kind and Equations of The Second Kind, should
First kind coding data traffic stream in hybrid coding data service stream inputs this first Turbo code decoding mould
In block, this first Turbo code decoder module is used to be decoded this first kind coding data traffic stream,
And the Equations of The Second Kind coding data traffic stream in this hybrid coding data service stream is inputted the 2nd Turbo
In code decoder module, this second Turbo code decoder module is used to flow to this Equations of The Second Kind coding data traffic
Row decoding.
12. decoder devices as claimed in claim 10, wherein said control unit is further configured to:
When the type of this coding data traffic stream is the first kind, determine this first kind coding data traffic stream
Pattern, described pattern refers to the mobile communication standard of this coding data traffic stream.
13. decoder devices as claimed in claim 12, wherein this first Turbo code decoder module bag
Include the one or more decoding sub-module based on the first decoding algorithm, wherein according to this first kind coded data
The pattern of Business Stream, selects the first kind coding data traffic independently to input for the corresponding decoding sub-module
Stream is decoded.
14. decoder devices as claimed in claim 13, wherein each decoding sub-module includes for spy
Determine one group of interleaving/deinterleaving unit and two recursive systematic convolutional code decoders, this group of mobile communication standard
Interleaving/deinterleaving unit includes an interleave unit and a deinterleaving unit.
15. decoder devices as claimed in claim 12, wherein this first Turbo code decoder module bag
Include the one or more decoding sub-module based on the first decoding algorithm, wherein according to this first kind coded data
The pattern of Business Stream, carries out being multiplexed to input the to a part of decoding unit in this decoding sub-module
One class coding data traffic stream is decoded.
16. decoder devices as claimed in claim 15, wherein each decoding sub-module at least includes:
For first group of interleaving/deinterleaving unit of the first mobile communication standard, for the second mobile communication standard
Second group of interleaving/deinterleaving unit and two recursive systematic convolutional code decoders, wherein the first mobile communication
Standard is different from the second mobile communication standard, and often group interleaving/deinterleaving unit includes an interleave unit
Deinterleave unit with one,
Wherein, the pattern according to this first kind coding data traffic stream, selects corresponding one group of deinterleaving to hand over
Knit unit, and carry out at least two recursive systematic convolutional code decoder being multiplexed the first kind to input
Coding data traffic stream is decoded.
17. decoder devices as claimed in claim 10, wherein this second Turbo code decoder module bag
Including the one or more decoding sub-module based on the second decoding algorithm, wherein each decoding sub-module is independently
The Equations of The Second Kind coding data traffic stream of input is decoded.
18. decoder devices as claimed in claim 10, wherein store decoding parametric in this control module
List, when being decoded to this first kind coding data traffic stream by this first Turbo code decoder module
When, according to the length of each packet in this first kind coding data traffic stream, from this decoding parametric row
Table selects corresponding decoding parametric, thus according to the decoding parametric selecting, each packet is solved
Code.
19. 1 kinds of electronic equipments, comprising:
Communication unit, is used for carrying out radio communication;And
Turbo code decoder device,
Wherein, this decoder device includes:
Input terminal, is configured to receive the coding data traffic stream by a data channel input;
Control module, is configured to determine the type of the coding data traffic stream of input;
First Turbo code decoder module, is configured to when the type of this coding data traffic stream is the first kind,
Input this first kind coding data traffic stream in this first Turbo code decoder module, use this first
This first kind coding data traffic stream is decoded by Turbo code decoder module;And
Second Turbo code decoder module, is configured to when the type of this coding data traffic stream is Equations of The Second Kind,
Input this Equations of The Second Kind coding data traffic stream in this second Turbo code decoder module, use this second
This Equations of The Second Kind coding data traffic stream is decoded by Turbo code decoder module,
Wherein said control module is configured to determine this coding data traffic stream according to the bit error rate requirement of business
Type, the bit error rate requirement of primary sources Business Stream higher than secondary sources Business Stream the bit error rate want
Ask;
This first Turbo code decoder module requires the power higher than the second Turbo code decoder module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210021358.3A CN103227690B (en) | 2012-01-31 | 2012-01-31 | Coding/decoding method, decoder device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210021358.3A CN103227690B (en) | 2012-01-31 | 2012-01-31 | Coding/decoding method, decoder device and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103227690A CN103227690A (en) | 2013-07-31 |
CN103227690B true CN103227690B (en) | 2016-10-05 |
Family
ID=48837967
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210021358.3A Active CN103227690B (en) | 2012-01-31 | 2012-01-31 | Coding/decoding method, decoder device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103227690B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109691043B (en) * | 2016-09-06 | 2021-02-23 | 联发科技股份有限公司 | Efficient code switching method in wireless communication system, user equipment and related memory |
CN112769173B (en) * | 2020-12-24 | 2023-05-16 | 深圳劲芯微电子有限公司 | Double-decoding charge control system, control method and electronic equipment |
CN114340037B (en) * | 2021-12-15 | 2022-08-19 | 广州欧创智能科技有限公司 | Communication method, system, equipment and medium between LoRaWAN (Long-Range Wide area network) equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1219073A (en) * | 1997-11-10 | 1999-06-09 | 日本电气株式会社 | Decoding method and decoder for decoding of audio/video compressive code data |
EP0981253A2 (en) * | 1998-08-18 | 2000-02-23 | Nec Corporation | Connection between mobile stations using different speech coding rules |
EP1711024A1 (en) * | 2005-04-07 | 2006-10-11 | LG Electronics Inc. | Apparatus and method for switching a voice codec of a mobile terminal |
CN101640793A (en) * | 2008-08-01 | 2010-02-03 | 深圳市朗驰欣创科技有限公司 | Method, system and decoder for decoding audio and video data |
EP2288038A2 (en) * | 1998-04-04 | 2011-02-23 | Samsung Electronics Co., Ltd. | Channel encoding/decoding device and method |
-
2012
- 2012-01-31 CN CN201210021358.3A patent/CN103227690B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1219073A (en) * | 1997-11-10 | 1999-06-09 | 日本电气株式会社 | Decoding method and decoder for decoding of audio/video compressive code data |
EP2288038A2 (en) * | 1998-04-04 | 2011-02-23 | Samsung Electronics Co., Ltd. | Channel encoding/decoding device and method |
EP0981253A2 (en) * | 1998-08-18 | 2000-02-23 | Nec Corporation | Connection between mobile stations using different speech coding rules |
EP1711024A1 (en) * | 2005-04-07 | 2006-10-11 | LG Electronics Inc. | Apparatus and method for switching a voice codec of a mobile terminal |
CN101640793A (en) * | 2008-08-01 | 2010-02-03 | 深圳市朗驰欣创科技有限公司 | Method, system and decoder for decoding audio and video data |
Also Published As
Publication number | Publication date |
---|---|
CN103227690A (en) | 2013-07-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
ES2259227T3 (en) | ITERATIVE SIGNAL DECODIFICATION. | |
KR100429506B1 (en) | apparatus and method for coding/decoding channel data in communication system | |
US8719658B2 (en) | Accessing memory during parallel turbo decoding | |
MXPA01010239A (en) | A system and method employing a modular decoder for decoding turbo and turbo-like codes in a communications network. | |
KR20100076893A (en) | Convolutional turbo coding method and device for implementing the coding method | |
CN108880566A (en) | A kind of Polar decoding transmission method and device | |
CN103227690B (en) | Coding/decoding method, decoder device and electronic equipment | |
KR101960127B1 (en) | Systems and methods for changing decoding parameters in a communication system | |
CN104486033B (en) | A kind of descending multimode channel coded system and method based on C RAN platforms | |
KR100248379B1 (en) | Communication apparatus using single concatenated coder and communication method using this | |
CN108809511A (en) | Combined decoding method based on successive elimination list decoding and list sphere decoding and device | |
US8510623B2 (en) | Encoder, transmission device, and encoding process | |
KR100628201B1 (en) | Method for Turbo Decoding | |
CN102130747A (en) | Dynamic allocation method for decoding iteration of transmission block of topological code of long term evolution (LTE) system | |
Yoo et al. | A pipelined 8-bit soft decision viterbi decoder for IEEE802. 11ac WLAN systems | |
CN105406876A (en) | Multi-channel LDPC code reuse decoder | |
Mostafa et al. | High performance reconfigurable Viterbi Decoder design for multi-standard receiver | |
CN103905066B (en) | Turbo code code translator and method | |
CN106788466A (en) | Turbo code coding and decoding chip for minimizing communication system | |
CN102571109B (en) | A kind of parallel viterbi decoder and interpretation method and receiver | |
CN102055556A (en) | Mobile communication terminal base band processing system based on generic technique | |
EP3160070B1 (en) | Multi-stage encoding device, method for implementing multi-stage encoding device and storage medium | |
Berns et al. | Channel decoder architecture for 3G mobile wireless terminals | |
Zhong et al. | Hardware implementation of turbo coder in lte system based on picochip pc203 | |
Gao et al. | Multigigabit balanced add-select-register-compare viterbi decoders architecture in 60 GHz WPAN |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |