A scanning method, comprising: receiving a quantized transformed coefficient of a current block; obtaining an intra prediction direction of the current block; finding, according to the intra prediction direction, a scanning order corresponding to the intra prediction direction of the current block, from a mapping relationship table of the intra prediction direction and the scanning order, wherein at least one scanning order in the mapping relationship table of the intra prediction direction and the scanning order corresponds to at least two intra prediction directions; and performing scanning processing on the coefficient by using the scanning order corresponding to the intra prediction direction of the current block; wherein the at least two intra prediction directions have a geometric correlation relationship along a reference intra prediction direction; the at least two intra prediction directions and the reference intra prediction direction share one same scanning order; the geometric correlation relationship between two intra prediction directions in the at least two intra prediction directions is a symmetric correlation along the reference intra prediction direction; and the reference intra prediction direction is a horizontal direction or a vertical direction; wherein the scanning order comprises a 00 →a 01 →a 02 →a 10 →a 11 →a 20 →a 03 →a 12 →a 21 →a 22 →a 13 →a 30 →a 31 →a 23 →a 32 →a 33 for prediction directions 0, 1, 5, 6, 7, and 8, and a 00 →a 01 →a 10 →a 02 →a 11 →a 20 →a 12 →a 21 →a 03 →a 22 →a 13 →a 30 →a 31 →a 23 →a 32 →a 33 for prediction directions 3 and 4, or a 00 →a 01 →a 02 →a 10 →a 11 →a 20 →a 03 →a 12 →a 21 →a 22 →a 13 →a 30 →a 31 →a 23 →a 32 →a 3 3 for prediction directions 0, 1, 7, and 8 and a 00 →a 01 →a 10 →a 02 →a 11 →a 20 →a 12 →a 21 →a 03 →a 22 →a 13 →a 30 →a 31 →a 23 →a 32 →a 33 for prediction directions 3, 4, 5 and 6, wherein axy represents an (x, y) position of a two-dimensional array position a; wherein the prediction direction 0 represents a vertical direction; the prediction direction 1 represents a horizontal direction; the prediction direction 6 and the prediction direction 8 are in a symmetric correlation along the prediction direction 1; the prediction direction 5 and the prediction direction 7 are in a symmetric correlation along the prediction direction 0; the prediction direction 3 and the prediction direction 4 are in a symmetric correlation along the prediction direction 0; the prediction direction 6 and the prediction direction 8 form a proximity relationship with the prediction direction 1; and the prediction direction 5 and the prediction direction 7 form a proximity relationship with the prediction direction 0. receiving a quantized transformed coefficient of a current block; obtaining an intra prediction direction of the current block; finding, according to the intra prediction direction, a scanning order corresponding to the intra prediction direction of the current block, from a mapping relationship table of the intra prediction direction and the scanning order, wherein at least one scanning order in the mapping relationship table of the intra prediction direction and the scanning order corresponds to at least two intra prediction directions; and performing scanning processing on the coefficient by using the scanning order corresponding to the intra prediction direction of the current block;