| FazBrowse Wikipedia Viewer | Main Page | | |
| Viewing: https://en.wikipedia.org/wiki/QR_code#Encoding |
| Contents |
|---|
| History |
| COVID-19 pandemic |
| Adoption |
| Uses |
| Error correction |
| Standards |
| Variants |
| Model 1 |
| Frame QR |
The QR code system was invented in 1994, at the Denso Wave automotive products company in Japan. The initial alternating-square design presented by the team of researchers, headed by Masahiro Hara, was influenced by the black and white stones played on a Go board; the pattern of the position detection markers was determined by finding the least-used sequence of alternating black-white areas on printed matter, which was found to be (1:1:3:1:1). The functional purpose of the QR code system was to facilitate keeping track of the types and numbers of automobile parts, by replacing individually-scanned bar-code labels on each box of auto parts with a single label that contained the data of each label. The quadrangular configuration of the QR code system consolidated the data of the various bar-code labels with kanji, kana, and alphanumeric codes printed onto a single label.
After the COVID-19 pandemic began spreading, QR codes began to be used as a "touchless" system to display information, show menus, or provide updated consumer information, especially in the hospitality industry. Restaurants replaced paper or laminated plastic menus with QR code decals on the table, which opened an online version of the menu. This prevented the need to dispose of single-use paper menus, or institute cleaning and sanitizing procedures for permanent menus after each use. Local television stations utilized codes on local newscasts to allow viewers quicker access to stories or information involving the pandemic, including testing and immunization scheduling websites, or for links within stories mentioned in the newscasts overall. This shift also prompted discussion about digital access, as reliance on QR codes assumes the availability of smartphones, internet connectivity, and digital literacy, which may exclude some users.
In Australia, patrons were required to scan QR codes at shops, clubs, supermarkets, and other service and retail establishments on entry to assist contact tracing. Singapore, Taiwan, the United Kingdom, and New Zealand used similar systems.
QR codes were also present on COVID-19 vaccination certificates in places such as Canada and the EU (EU Digital COVID certificate), where they could be scanned to verify the information on the certificate.
During June 2011, 14 million American mobile users scanned a QR code or a barcode. Some 58% of those users scanned a QR or barcode from their homes, while 39% scanned from retail stores; 53% of the 14 million users were men between the ages of 18 and 34.
In developing countries including China, India QR code payment is a very popular and convenient method of making payments. Since Alipay designed a QR code payment method in 2011, mobile payment has been quickly adopted in China. As of 2018, around 83% of all payments were made via mobile payment.
In September 2020, a survey found that 18.8 percent of consumers in the United States and the United Kingdom strongly agreed that they had noticed an increase in QR code use since the then-active COVID-19-related restrictions had begun several months prior.
In 2022, 89 million people in the United States scanned a QR code using their mobile devices, up by 26 percent compared to 2020. The majority of QR code users used them to make payments or to access product and menu information.
There are many QR code generators available as software or as online tools that are either free or require a paid subscription. The QR code has become one of the most-used types of two-dimensional code. Microsoft Office and LibreOffice have a functionality to insert QR code into documents. Google had an API, now deprecated, to generate QR codes, and apps for scanning QR codes can be found on nearly all smartphone devices.
Different studies have been conducted to assess the effectiveness of QR codes as a means of conveying labelling information and their use as part of a food traceability system. In a field experiment, it was found that when provided free access to a smartphone with a QR code scanning app, 52.6% of participants would use it to access labelling information. A study made in South Korea showed that consumers appreciate QR codes used in the food traceability system, as they provide detailed information about food, as well as information that helps them in their purchasing decision.
Although initially used to track parts in vehicle manufacturing, QR codes are used over a much wider range of applications. These include commercial tracking, warehouse stock control, entertainment and transport ticketing, product and loyalty marketing, and in-store product labeling.
The Reed–Solomon code uses one of 37 different generator polynomials over n are specific to the QR standard.
For example, the generator polynomial used for the Version 1 QR code (21×21), when 7 error correction bytes are used, is: 𝔽256), as: n, of the polynomial) determines the number of error correction bytes. In this case, the degree is 7.
When discussing the Reed–Solomon code phase there is some risk for confusion, in that the QR ISO/IEC standard uses the term codeword for the elements of p=1,2, or 3) strictly for error detection to prevent false-positive misreads; in Version 1-L (GF(2) is used, having the generator polynomial
The general structure of a QR encoding is as a sequence of 4-bit indicators with payload length dependent on the indicator mode (e.g. byte encoding payload length is dependent on the first byte).
| Mode indicator | Description | Meaning | Typical structure '[ type : sizes in bits ]' | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 = 0b0001 | Numeric | Numeric encoding (10 bits per 3 digits) | [0001 : 4] [ Character Count Indicator : variable ] [ Data Bit Stream : 3[ Mode Indicator][ Mode bitstream ] --> [ Mode Indicator][ Mode bitstream ] --> etc... --> [ 0000 End of message (Terminator) ]
After every indicator that selects an encoding mode is a length field that tells how many characters are encoded in that mode. The number of bits in the length field depends on the encoding and the symbol version.
Alphanumeric encoding mode stores a message more compactly than the byte mode can, but cannot store lowercase letters and has only a limited selection of punctuation marks, which are sufficient for rudimentary web addresses. Two characters are coded in an 11-bit value by this formula:
This has the exception that the last character in an alphanumeric string with an odd length is read as a 6-bit value instead.
Several standards cover the encoding of data as QR codes:
At the application layer, there is some variation between most of the implementations. Japan's NTT DoCoMo has established de facto standards for the encoding of URLs, contact information, and several other data types. The open-source "ZXing" project maintains a list of QR code data types. Model 1 QR code is an older version of the specification. It is visually similar to the widely seen model 2 codes, but lacks alignment patterns. Differences are in the bottom right corner, and in the midsections of the bottom and right edges are additional functional regions.
Frame QR is a variant of the QR code standard which arranges the code in a frame around a central empty area. It is intended to be used in applications where an image, artwork, or branding is desired to be part of the code. It is a distinct code variant and is unrelated to the use of the standard QR code's error correction to insert artwork. tQR (also known as tQR code) is a QR code specially designed for rail transport to distinguish between the different opening and closing positions of platform screen doors, which vary depending on rolling stock. The initial "t" stands for "toughness" and "train". It has an outer frame, and its main feature is that it can be restored even if up to 50% of data bytes is missing. It was jointly developed by Denso Wave and the Tokyo Metropolitan Bureau of Transportation.
|