摘要:
Provided in the present disclosure are a method and device for decoding a Turbo product code, and a computer-readable storage medium. The method includes: acquiring a received codeword and a code pattern of the Turbo product code; determining a reduced error mode set according to the code pattern, a number of unreliable bits, and a reduced number of error bits, where the reduced number of error bits is less than the number of unreliable bits; calculating an optimal codeword according to the reduced error mode set and the received codeword; calculating extrinsic information by using a decoding algorithm according to the optimal codeword; and performing iterative computation according to the extrinsic information and a preset number of iterations to obtain a decoding result of the received codeword.
摘要:
The disclosure relates to the communication field and disclosures an inquiry method, an inquiry system, an inquiry search server and an inquiry terminal. The method includes that: after receiving an inquiry request from an inquiry terminal, an inquiry search server acquires a keyword related to the inquiry request, determines a given number of other inquiry terminals as a target inquiry terminal group according to the keyword and relevant information of the other inquiry terminals, and sends the inquiry request to each target inquiry terminal in the target inquiry terminal group. The disclosure enables the users of inquiry terminals to inquiry of each other about a question and to obtain a corresponding answer, which undoubtedly facilitates the operation of the users and contributes to promoting the technical solution of the disclosure, moreover, the disclosure truly pools the wisdom of the masses to achieve an excellent inquiry-and-answer effect.
摘要:
The disclosure relates to the communication field and disclosures an inquiry method, an inquiry system, an inquiry search server and an inquiry terminal. The method includes that: after receiving an inquiry request from an inquiry terminal, an inquiry search server acquires a keyword related to the inquiry request, determines a given number of other inquiry terminals as a target inquiry terminal group according to the keyword and relevant information of the other inquiry terminals, and sends the inquiry request to each target inquiry terminal in the target inquiry terminal group. The disclosure enables the users of inquiry terminals to inquiry of each other about a question and to obtain a corresponding answer, which undoubtedly facilitates the operation of the users and contributes to promoting the technical solution of the disclosure, moreover, the disclosure truly pools the wisdom of the masses to achieve an excellent inquiry-and-answer effect.
摘要:
The disclosure discloses a method for traffic limitation by a leaky bucket, including that: during traffic-limitation of a group of packets sharing a same leaky bucket and having separate weighted priorities, the overall leaky bucket is divided into multiple sub-buckets according to priority parameters of the packets including a number of the weighted priorities and ratios between the weighted priorities; after packet information is received, parameters relevant to traffic-limitation by a leaky bucket is acquired; a total number of tokens to be added to the overall leaky bucket is calculated; token-addition is performed on the sub-buckets according to a state of the overall leaky bucket after addition of the total number of tokens and the weighted priorities corresponding to the sub-buckets; a packet is forwarded, or discarded, or marked according to a length of the packet and a number of tokens in a sub-bucket corresponding to a weighted priority, wherein in performing token-addition on the sub-buckets, after token-addition is performed on all the sub-buckets, any overrunning token is allocated to another sub-bucket not overrun with tokens. The disclosure further discloses a device for traffic limitation by a leaky bucket. With the disclosure, it is possible to limit packet traffic flexibly according to weighted priorities and improve resource utilization.
摘要:
An encoding method and apparatus are provided, relating to the encoding technique. The encoding method includes: acquiring data to be encoded; performing linear block encoding on the data to be encoded together with data in a pre-set first-in first-out memory, called FIFO memory, to obtain a check code, wherein the FIFO memory has a depth of N, where N is an integer greater than or equal to 1; acquiring a code word to be sent according to the data to be encoded and the check code; acquiring a matrix to be processed corresponding to the code word to be sent, and storing the matrix to be processed in the FIFO memory; and performing matrix row and column transformation operation on all of the matrixes to be processed in the FIFO memory according to a predetermined mapping relationship to obtain a new matrix, wherein the matrix row and column transformation operation refers to an operation of changing position of each element in the matrix to be processed, without changing value of each element. The present disclosure is used in encoding technique.