Data processing method and device
Data processing method and device
 CN 104,426,652 A
 Filed: 08/30/2013
 Published: 03/18/2015
 Est. Priority Date: 08/30/2013
 Status: Active Application
First Claim
1. a data processing method, is characterized in that, comprising:
 The value of initialization register G (0) to G (n1), described register G (0) is one group of ergodic sequence to the initial value of G (n1), and wherein, n is integer, n >
1;
Logon data generator exports 0 to n1;
When described data generator often exports an output valve i, the value of register G (i) and the value of register G (r) are exchanged, the value of described r is the value determined according to preset rules, 0≤
r≤
n1;
After data generator all exports 0 to n1, the value of output register G (0) to G (n1).
Chinese PRB Reexamination
Abstract
The invention provides a data processing method and a data processing device, wherein the data processing method comprises the following steps of initializing values of registers G(0) to G(n1), wherein initial values of the registers G(0) to G(n1) are a group of traversal sequence, and n is an integral number and is greater than 1; starting a data generator and outputting 0 to n1; exchanging the value of a register G(i) with the value of a register G(r) when the data generator outputs an output value i every time, wherein the value of r is a value determined according to a preset rule, and r is not smaller than 0 and is not greater than n1; outputting the values of the registers G(0) to G(n1) when the data generator outputs 0 to n1 completely. By employment of the data processing method and the data processing device, the randomness of a traversal sequence and the security of an encryption system can be both improved.

1 Citation
No References
Random playing method and device  
Patent #
CN 102,054,509 A
Filed 10/30/2009

Current Assignee

15 Claims

1. a data processing method, is characterized in that, comprising:

The value of initialization register G (0) to G (n1), described register G (0) is one group of ergodic sequence to the initial value of G (n1), and wherein, n is integer, n >
1;Logon data generator exports 0 to n1; When described data generator often exports an output valve i, the value of register G (i) and the value of register G (r) are exchanged, the value of described r is the value determined according to preset rules, 0≤
r≤
n1;After data generator all exports 0 to n1, the value of output register G (0) to G (n1).


2. the method for claim 1, is characterized in that, the value of described r is divided by 2 by the random number M of the value relevant to i and m position ^{m}result carry out the value after corresponding computing.

3. method as claimed in claim 2, is characterized in that, the value of described r is that the result that is multiplied of the random number M of ni with m position is divided by 2 ^{m}the value of rear stepbystep negate.

4. method as claimed in claim 3, it is characterized in that, the described result be multiplied by the random number M of ni with m position is divided by 2 ^{m}comprise:
 move to right the result that the random number M of ni with m position is multiplied m position.

5. method as claimed in claim 2, is characterized in that, the value of described r is that the result that is multiplied of the random number M of i+1 with m position is divided by 2 ^{m}after value.

6. method as claimed in claim 5, it is characterized in that, the described result be multiplied by the random number M of i+1 with m position is divided by 2 ^{m}method comprises:
 move to right the result that the random number M of i+1 with m position is multiplied m position.

7. the method for claim 1, is characterized in that, the method for described logon data generator output 0 to n1 comprises:
 logon data generator exports 0 to n1 in an orderly manner;
Or logon data generator exports 0 to n1 disorderly.
 logon data generator exports 0 to n1 in an orderly manner;

8. the method for claim 1, is characterized in that, also comprises:
 generate described random number M by randomizer.

9. a data processing equipment, is characterized in that, comprising:

Register G (0) to G (n1), described register G (0) is one group of ergodic sequence to the initial value of G (n1), Wherein, n is integer, n >
1;Data generator, for exporting 0 to n1; Processing unit, for when described data generator often exports an output valve i, the value of register G (i) and the value of register G (r) are exchanged, the value of described r is the value determined according to preset rules, 0≤
r≤
n1;Output unit, for after data generator all exports 0 to n1, the value of output register G (0) to G (n1).


10. device as claimed in claim 9, is characterized in that, also comprise:
 arithmetic element, for by the random number M of the value relevant to i and m position divided by 2 ^{m}result carry out corresponding computing, to determine the value of r.

11. devices as claimed in claim 10, is characterized in that, the result that described arithmetic element is used for the random number M of ni with m position to be multiplied is divided by 2 ^{m}rear stepbystep negate, to determine the value of r.

12. devices as claimed in claim 11, it is characterized in that, described arithmetic element comprises:
 the first shift register, and the result for being multiplied by the random number M of ni with m position moves to right m position.

13. devices as claimed in claim 10, is characterized in that, the result that described arithmetic element is used for the random number M of i+1 with m position to be multiplied is divided by 2 ^{m}, to determine the value of r.

14. devices as claimed in claim 13, it is characterized in that, described arithmetic element comprises:
 the second shift register, and the result for being multiplied by the random number M of i+1 with m position moves to right m position.

15. devices as claimed in claim 9, is characterized in that, also comprise:
 randomizer, for generating described random number M.
Specification(s)