Two-dimensional code encoding method, two-dimensional code decoding method, and electronic device
US12118431B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | Oct 27, 2023 |
| Grant date | Oct 15, 2024 |
| Priority date | — |
| Expiry date | Oct 27, 2043 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06K7/1417
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
In a method, an electronic device obtains to-be-encoded text, where the to-be-encoded text includes N characters; the electronic device determines a target coding mode for each of the N characters from X optional coding modes; the electronic device groups the N characters into M character fields based on the target coding mode for each character, and determines a target coding mode for each of the M character fields, where M is less than or equal to N; the electronic device encodes the M character fields based on the target coding mode for each character field to obtain a first binary character string; and the electronic device generates, based on the first binary character string, a two-dimensional code of a version corresponding to a length of the first binary character string.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.