发明名称 |
GENERATING AND DECODING TWO-DIMENSIONAL CODE |
摘要 |
A two-dimensional code generation method includes: performing a multiple system barcode encoding on hidden information to generate multiple system barcode of hidden encoded information; selecting a corresponding two-dimensional code version to encode standard information to generate to-be-determined standard encoded information; selecting a corresponding mask to generate a bit matrix of a two-dimensional code, and extracting the number of black dots in the bit matrix; updating the selected mask and the two-dimensional code version according to the number of black dots and the length of the hidden encoded information to determine a finally selected mask and two-dimensional code version; generating standard encoded information according to the finally selected mask and two-dimensional code version; and generating a two-dimensional code according to the hidden encoded information and the standard encoded information. |
申请公布号 |
US2017076191(A1) |
申请公布日期 |
2017.03.16 |
申请号 |
US201615261258 |
申请日期 |
2016.09.09 |
申请人 |
Alibaba Group Holding Limited |
发明人 |
Feng Xiahong |
分类号 |
G06K19/06;G06K7/12;G06K7/14 |
主分类号 |
G06K19/06 |
代理机构 |
|
代理人 |
|
主权项 |
1. A two-dimensional code generation method comprising:
performing a multiple system barcode encoding on hidden information to generate multiple system barcode of hidden encoded information; selecting a corresponding two-dimensional code version according to a two-dimensional code version level to encode standard information to generate to-be-determined standard encoded information; selecting a corresponding mask according to the to-be-determined standard encoded information to generate a bit matrix of the two-dimensional code; extracting a number of black dots in the bit matrix; updating the selected mask and the two-dimensional code version according to the number of black dots in the bit matrix and a length of the hidden encoded information to determine a finally selected mask and two-dimensional code version; generating standard encoded information according to the finally selected mask and two-dimensional code version; and generating a two-dimensional code according to the hidden encoded information and the standard encoded information. |
地址 |
Grand Cayman KY |