Как кер код пишется

A QR code (an initialism for quick response code) is a type of matrix barcode (or two-dimensional barcode)[1][2] invented in 1994 by Japanese company Denso Wave. A barcode is a machine-readable optical label that can contain information about the item to which it is attached. In practice, QR codes often contain data for a locator, identifier, or tracker that points to a website or application. QR codes use four standardized encoding modes (numeric, alphanumeric, byte/binary, and kanji) to store data efficiently; extensions may also be used.[3]

The quick response system became popular outside the automotive industry due to its fast readability and greater storage capacity compared to standard UPC barcodes. Applications include product tracking, item identification, time tracking, document management, and general marketing.[4]

A QR code consists of black squares arranged in a square grid on a white background, including some fiducial markers, which can be read by an imaging device such as a camera, and processed using Reed–Solomon error correction until the image can be appropriately interpreted. The required data is then extracted from patterns that are present in both horizontal and vertical components of the image.[4]

History[edit]

[icon]

This section needs expansion. You can help by adding to it. (October 2021)

The QR code system was invented in 1994 by Masahiro Hara from the Japanese company Denso Wave.[5][6][7] The initial design was influenced by the black and white pieces on a Go board.[8] Its purpose was to keep track of automotive parts manufactured by Denso, to replace several bar codes on each box, each of which had to be scanned separately.[9]

Adoption[edit]

A QR code being painted on the side of a building

QR codes can be displayed on buildings, as this one being painted in Cape Town

QR codes are now used in a much broader context, including both commercial tracking applications and convenience-oriented applications aimed at mobile-phone users (termed mobile tagging). QR codes may be used to display text to the user, to open a webpage on the user’s device, to add a vCard contact to the user’s device, to open a Uniform Resource Identifier (URI), to connect to a wireless network, or to compose an email or text message. There are a great many QR code generators available as software or as online tools that are either free, or require a paid subscription.[10] The QR code has become one of the most-used types of two-dimensional code.[11]

During the month of 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.[12]

In September 2020, a survey found that 18.8 percent of consumers in the United States and United Kingdom strongly agreed that they had noticed an increase of QR code use since the then-active COVID-19 related restrictions had begun several months prior.[13]

Standards[edit]

Structure of a QR code (version 7), highlighting functional elements

There are several standards that cover the encoding of data as QR codes:[14]

  • October 1997 – AIM (Association for Automatic Identification and Mobility) International[15]
  • January 1999 – JIS X 0510
  • June 2000 – ISO/IEC 18004:2000 Information technology – Automatic identification and data capture techniques – Bar code symbology – QR code (now withdrawn)
    Defines QR code models 1 and 2 symbols.
  • 1 September 2006 – ISO/IEC 18004:2006 Information technology – Automatic identification and data capture techniques – QR code 2005 bar code symbology specification (now withdrawn)[16]
    Defines QR code 2005 symbols, an extension of QR code model 2. Does not specify how to read QR code model 1 symbols, or require this for compliance.
  • 1 February 2015 – ISO/IEC 18004:2015 Information – Automatic identification and data capture techniques – QR Code barcode symbology specification
    Renames the QR Code 2005 symbol to QR Code and adds clarification to some procedures and minor corrections.
  • May 2022 – ISO/IEC 23941:2022 Information technology – Automatic identification and data capture techniques – Rectangular Micro QR Code (rMQR) bar code symbology specification[17]
    Defines the requirements for Micro QR Code.

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.[18] The open-source «ZXing» project maintains a list of QR code data types.[19]

Uses[edit]

A QR code used on a large billboard in Japan, linking to the sagasou.mobi website

QR codes have become common in consumer advertising. Typically, a smartphone is used as a QR code scanner, displaying the code and converting it to some useful form (such as a standard URL for a website, thereby obviating the need for a user to type it into a web browser).
QR code has become a focus of advertising strategy, since it provides a way to access a brand’s website more quickly than by manually entering a URL.[20][21] Beyond mere convenience to the consumer, the importance of this capability is that it increases the conversion rate: the chance that contact with the advertisement will convert to a sale. It coaxes interested prospects further down the conversion funnel with little delay or effort, bringing the viewer to the advertiser’s website immediately, whereas a longer and more targeted sales pitch may lose the viewer’s interest.

Although initially used to track parts in vehicle manufacturing, QR codes are used over a much wider range of applications. These include commercial tracking, entertainment and transport ticketing, product and loyalty marketing and in-store product labeling. Examples of marketing include where a company’s discounted and percent discount can be captured using a QR code decoder which is a mobile app, or storing a company’s information such as address and related information alongside its alpha-numeric text data as can be seen in Yellow Pages directories.

They can also be used in storing personal information for use by organizations. An example of this is Philippines National Bureau of Investigation (NBI) where NBI clearances now come with a QR code. Many of these applications target mobile-phone users (via mobile tagging). Users may receive text, add a vCard contact to their device, open a URL, or compose an e-mail or text message after scanning QR codes. They can generate and print their own QR codes for others to scan and use by visiting one of several pay or free QR code-generating sites or apps. Google had an API, now deprecated, to generate QR codes,[22] and apps for scanning QR codes can be found on nearly all smartphone devices.[23]

QR codes have been used and printed on train tickets in China since 2010.[24]

QR codes storing addresses and URLs may appear in magazines, on signs, on buses, on business cards, or on almost any object about which users might want information. Users with a camera phone equipped with the correct reader application can scan the image of the QR code to display text, contact information, connect to a wireless network, or open a web page in the phone’s browser. This act of linking from physical world objects is termed hardlinking or object hyperlinking. QR codes also may be linked to a location to track where a code has been scanned. Either the application that scans the QR code retrieves the geo information by using GPS and cell tower triangulation (aGPS) or the URL encoded in the QR code itself is associated with a location. In 2008, a Japanese stonemason announced plans to engrave QR codes on gravestones, allowing visitors to view information about the deceased, and family members to keep track of visits.[25] Psychologist Richard Wiseman was one of the first authors to include QR codes in a book, in Paranormality: Why We See What Isn’t There (2011).[26][failed verification]

QR codes have been incorporated into currency. In June 2011, The Royal Dutch Mint (Koninklijke Nederlandse Munt) issued the world’s first official coin with a QR code to celebrate the centenary of its current building and premises. The coin can be scanned by a smartphone and originally linked to a special website with contents about the historical event and design of the coin.[27] In 2014, the Central Bank of Nigeria issued a 100-naira banknote to commemorate its centennial, the first banknote to incorporate a QR code in its design. When scanned with an internet-enabled mobile device, the code goes to a website which tells the centenary story of Nigeria.[28] In 2015, the Central Bank of the Russian Federation issued a 100-rubles note to commemorate the annexation of Crimea by the Russian Federation. It contains a QR code into its design, and when scanned with an internet-enabled mobile device, the code goes to a website that details the historical and technical background of the commemorative note. In 2017, the Bank of Ghana issued a 5-cedis banknote to commemorate 60 years of Central Banking in Ghana, and contains a QR code in its design, which when scanned with an internet-enabled mobile device, that code goes to the official Bank of Ghana website.

Credit card functionality is under development. In September 2016, the Reserve Bank of India (RBI) launched the eponymously named Bharat QR, a common QR code jointly developed by all the four major card payment companies – National Payments Corporation of India that runs RuPay cards along with MasterCard, Visa and American Express. It will also have the capability of accepting payments on the unified payments interface (UPI) platform.[29][30]

Augmented reality[edit]

QR codes are used in some augmented reality systems to determine the positions of objects in 3-dimensional space.[9]

Displaying multimedia contents[edit]

QR codes also used to direct users to specific multimedia content (such as videos, audios, images, documents and any type of content accessible from the web). This type of QR code is called «Multimedia QR code».

Mobile operating systems[edit]

QR codes can be used on various mobile device operating systems. iPhones running on iOS 11 and higher[31] and some Android devices can natively scan QR codes without downloading an external app.[32] The camera app is able to scan and display the kind of QR code (only on iPhone) along with the link (both on Android and iPhone). These devices support URL redirection, which allows QR codes to send metadata to existing applications on the device. Many paid or free apps are available with the ability to scan the codes and hard-link to an external URL.

Virtual stores[edit]

QR codes have been used to establish «virtual stores», where a gallery of product information and QR codes is presented to the customer, e.g. on a train station wall. The customers scan the QR codes, and the products are delivered to their homes. This use started in South Korea,[33] and Argentina,[34] but is currently expanding globally.[35] Walmart, Procter & Gamble and Woolworths have already adopted the Virtual Store concept.[36]

QR code payment[edit]

QR codes can be used to store bank account information or credit card information, or they can be specifically designed to work with particular payment provider applications. There are several trial applications of QR code payments across the world.[37][38] In developing countries like China,[39][40] India[41] and Bangladesh QR code payment is a very popular and convenient method of making payments. Since Alipay designed a QR code payment method in 2011,[42] mobile payment has been quickly adopted in China. As of 2018, around 83% of all payments were made via mobile payment.[43]

In November 2012, QR code payments were deployed on a larger scale in the Czech Republic when an open format for payment information exchange – a Short Payment Descriptor – was introduced and endorsed by the Czech Banking Association as the official local solution for QR payments.[44][45] In 2013, the European Payment Council provided guidelines for the EPC QR code enabling SCT initiation within the Eurozone.

In 2017, Singapore created a taskforce including their Government Agencies such as the Monetary Authority of Singapore and Infocomm Media Development Authority to spearhead a system for e-payments using standardized QR code specifications. These specific dimensions are specialized for Singapore’s market.[46]

The e-payment system, Singapore Quick Response Code (SGQR), essentially merges various QR codes into one label which can be used by both parties in the payment system. This allows for various banking apps to facilitate payments between multiple customers and a merchant that displays the single QR code.[47]

A single SDQR label contains e-payments and combines multiple payment options. Once consumers spot the SGQR label, they will be able to scan it and see which payment options the merchant accepts.  The SGQR scheme is co-owned by MAS and IMDA. [48]

Website login[edit]

QR codes can be used to log into websites: a QR code is shown on the login page on a computer screen, and when a registered user scans it with a verified smartphone, they will automatically be logged in. Authentication is performed by the smartphone which contacts the server. Google tested such a login method in January 2012.[49]

Mobile ticket[edit]

There is a system whereby a QR code can be displayed on a device such as a smartphone and used as an admission ticket.[50][51][52] Its use is common for J1 League and Nippon Professional Baseball tickets in Japan.[53][54] In some cases, rights can be transferred via the Internet.

Restaurant ordering[edit]

Restaurants can present a QR code near the front door or at the table allowing guests to view an online menu, or even redirect them to an online ordering website or app, allowing them to order and/or possibly pay for their meal without having to use a cashier or waiter. QR codes can also link to daily or weekly specials that are not printed on the standardized menus,[55] and enable the establishment to update the entire menu without needing to print copies. At table-serve restaurants, QR codes enable guests to order and pay for their meals without a waiter involved – the QR code contains the table number so servers know where to bring the food.[56][57] This application has grown especially since the need for social distancing during the 2020 COVID-19 pandemic prompted reduced contact between service staff and customers.[56]

Joining a Wi‑Fi network[edit]

A QR code to automatically join a Wi‑Fi network

By specifying the SSID, encryption type, password/passphrase, and if the SSID is hidden or not, mobile device users can quickly scan and join networks without having to manually enter the data.[58] A MeCard-like format is supported by Android and iOS 11+.[59]

  • Common format: WIFI:S:<SSID>;T:<WEP|WPA|blank>;P:<PASSWORD>;H:<true|false|blank>;;
  • Sample: WIFI:S:MySSID;T:WPA;P:MyPassW0rd;;

Funerary use[edit]

A QR code which links to an obituary and can be placed on a headstone

A QR code can link to an obituary and can be placed on a headstone. In 2008, Ishinokoe in Yamanashi Prefecture, Japan began to sell tombstones with QR codes produced by IT DeSign, where the code leads to a virtual grave site of the deceased.[60][61][62] Other companies, such as Wisconsin-based Interactive Headstones, have also begun implementing QR codes into tombstones.[63] In 2014, the Jewish Cemetery of La Paz in Uruguay began implementing QR codes for tombstones.[64]

Electronic authentication[edit]

QR codes are also used to generate time-based one-time passwords (TOTP) for electronic authentication.

Loyalty programs[edit]

QR codes have been used by various retail outlets that have loyalty programs. Sometimes these programs are accessed with an app that is loaded onto a phone and includes a process triggered by a QR code scan. The QR codes for loyalty programs tend to be found printed on the receipt for a purchase or on the products themselves. Users in these schemes collect award points by scanning a code.

Counterfeit detection[edit]

Serialised QR codes have been used by brands[65] and governments[66] to let consumers, retailers and distributors verify the authenticity of the products and help with detecting counterfeit products, as part of a brand protection program.[67] However, the security level of a regular QR Code is limited since QR Codes printed on original products are easily reproduced on fake products, even though the analysis of data generated as a result of QR Code scanning can be used to detect counterfeiting and illicit activity.[68] A higher security level can be attained by embedding a digital watermark or copy detection pattern into the image of the QR Code. This makes the QR Code more secure against counterfeiting attempts, and fake products which contain a counterfeit QR Code can be detected by scanning the secure QR Code with a specific app (even though the QR Code message itself is valid).[69]

The treaty regulating apostilles (documents bearing a seal of authenticity), has been updated to allow for the issuance of digital apostilles by countries; a digital apostille is a PDF document with a cryptographic signature containing a QR code for a canonical URL of the original document, allowing users to verify the apostille from a printed version of the document.

Product tracing[edit]

Different studies have been made 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 QR Code scanning app, 52.6% of participants would use it to access labelling information.[70] A study made in South Korea showed that consumers appreciate QR code used in food traceability system, as they provide detailed information about food, as well as information that helps them in their purchasing decision.[71] If QR Codes are serialised, consumers can access a web page showing the supply chain for each ingredient, as well as information specific to each related batch, including meat processors and manufacturers, which helps address the concerns they have about the origin of their food.[72]

COVID-19 pandemic[edit]

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.[73] Local television stations have also begun to utilize 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.

In several Australian states, patrons are 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 use similar systems.[74]

QR codes are also present on COVID-19 vaccination certificates in places such as Canada, and the EU (EU Digital COVID certificate) where they can be scanned to verify the information on the certificate.[75]

Design[edit]

Unlike the older, one-dimensional barcodes that were designed to be mechanically scanned by a narrow beam of light, a QR code is detected by a 2-dimensional digital image sensor and then digitally analyzed by a programmed processor. The processor locates the three distinctive squares at the corners of the QR code image, using a smaller square (or multiple squares) near the fourth corner to normalize the image for size, orientation, and angle of viewing. The small dots throughout the QR code are then converted to binary numbers and validated with an error-correcting algorithm.

Storage[edit]

The amount of data that can be stored in the QR code symbol depends on the data type (mode, or input character set), version (1, …, 40, indicating the overall dimensions of the symbol, i.e. 4 × version number + 17 dots on each side), and error correction level. The maximum storage capacities occur for version 40 and error correction level L (low), denoted by 40-L:[11][76]

Maximum character storage capacity (40-L)
Character refers to individual values of the input mode (data type).

Input mode Max. characters Bits/char. Possible characters, default encoding
Numeric only 7,089 313 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
Alphanumeric 4,296 512 0–9, A–Z (upper-case only), space, $, %, *, +, -, ., /, :
Binary/byte 2,953 8 ISO/IEC 8859-1
Kanji/kana 1,817 13 Shift JIS X 0208

Here are some sample QR code symbols:

  • Version 1 (21×21). Content: "Ver1"

    Version 1 (21×21). Content: «Ver1»

  • Version 2 (25×25). Content: "Version 2"

    Version 2 (25×25). Content: «Version 2»

  • Version 3 (29×29). Content: "Version 3 QR Code"

    Version 3 (29×29). Content: «Version 3 QR Code»

  • Version 4 (33×33). Content: "Version 4 QR Code, up to 50 char"

    Version 4 (33×33). Content: «Version 4 QR Code, up to 50 char»

  • Version 10 (57×57). Content: "VERSION 10 QR CODE, UP TO 174 CHAR AT H LEVEL, WITH 57X57 MODULES AND PLENTY OF ERROR CORRECTION TO GO AROUND. NOTE THAT THERE ARE ADDITIONAL TRACKING BOXES" (actually encoded in all capital letters). (Tracking boxes are more commonly called alignment patterns.)

    Version 10 (57×57). Content: «VERSION 10 QR CODE, UP TO 174 CHAR AT H LEVEL, WITH 57X57 MODULES AND PLENTY OF ERROR CORRECTION TO GO AROUND. NOTE THAT THERE ARE ADDITIONAL TRACKING BOXES» (actually encoded in all capital letters). (Tracking boxes are more commonly called alignment patterns.)

  • Version 25 (117×117) Content: 1,269 characters of ASCII text describing QR Codes

    Version 25 (117×117) Content: 1,269 characters of ASCII text describing QR Codes

  • Version 40 (177×177) Content: "Version 40 QR Code can contain up to 1852 chars..." (and followed by four paragraphs of ASCII text describing QR Codes).

    Version 40 (177×177) Content: «Version 40 QR Code can contain up to 1852 chars…» (and followed by four paragraphs of ASCII text describing QR Codes).

Error correction[edit]

Example of a QR code with artistic embellishment that will still scan correctly thanks to error correction

QR codes use Reed–Solomon error correction over the finite field {displaystyle mathbb {F} _{256}}, the elements of which are encoded as bytes of 8 bits; the byte {displaystyle b_{7}b_{6}b_{5}b_{4}b_{3}b_{2}b_{1}b_{0}} with a standard numerical value {displaystyle textstyle sum _{i=0}^{7}b_{i}2^{i}} encodes the field element {displaystyle textstyle sum _{i=0}^{7}b_{i}alpha ^{i}} where {displaystyle alpha in mathbb {F} _{256}} is taken to be a primitive element satisfying {displaystyle alpha ^{8}+alpha ^{4}+alpha ^{3}+alpha ^{2}+1=0}. The Reed–Solomon code uses one of 37 different polynomials over {displaystyle mathbb {F} _{256}}, with degrees ranging from 7 to 68, depending on how many error correction bytes the code adds. It is implied by the form of Reed–Solomon used (systematic BCH view) that these polynomials are all on the form {textstyle prod _{i=0}^{n-1}(x-alpha ^{i})}, however the rules for selecting the degree n are specific to the QR standard.

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 {displaystyle mathbb {F} _{256}}, which with respect to the Reed–Solomon code are symbols, whereas it uses the term block for what with respect to the Reed–Solomon code are the codewords. The number of data versus error correction bytes within each block depends on (i) the version (side length) of the QR symbol and (ii) the error correction level, of which there are four. The higher the error correction level, the less storage capacity. The following table lists the approximate error correction capability at each of the four levels:

Level L (Low) 7% of data bytes can be restored.
Level M (Medium) 15% of data bytes can be restored.
Level Q (Quartile)[77] 25% of data bytes can be restored.
Level H (High) 30% of data bytes can be restored.

In larger QR symbols, the message is broken up into several Reed–Solomon code blocks. The block size is chosen so that no attempt is made at correcting more than 15 errors per block; this limits the complexity of the decoding algorithm. The code blocks are then interleaved together, making it less likely that localized damage to a QR symbol will overwhelm the capacity of any single block.

Due to error correction, it is possible to create artistic QR codes with embellishments to make them more readable or attractive to the human eye, and to incorporate colors, logos, and other features into the QR code block; the embellishments are treated as errors, but the codes still scan correctly.[78][79]

It is also possible to design artistic QR codes without reducing the error correction capacity by manipulating the underlying mathematical constructs.[80][81] Image processing algorithms are also used to reduce errors in QR-code.[82]

Encoding[edit]

The format information records two things: the error correction level and the mask pattern used for the symbol. Masking is used to break up patterns in the data area that might confuse a scanner, such as large blank areas or misleading features that look like the locator marks. The mask patterns are defined on a grid that is repeated as necessary to cover the whole symbol. Modules corresponding to the dark areas of the mask are inverted. The format information is protected from errors with a BCH code, and two complete copies are included in each QR symbol.[4]

The message dataset is placed from right to left in a zigzag pattern, as shown below. In larger symbols, this is complicated by the presence of the alignment patterns and the use of multiple interleaved error-correction blocks.

  • Meaning of format information. In the above figure, the format information is protected by a (15,5) BCH code, which can correct up to 3 bit errors. The total length of the code is 15 bits, of which 5 are data bits (2 EC level + 3 mask pattern) and 10 are extra bits for error correction. The format mask for these 15 bits is: [101010000010010]. Note that we map the masked values directly to its meaning here, in contrast to image 4 "Levels & Masks" where the mask pattern numbers are the result of putting the 3rd to 5th mask bit, [101], over the 3rd to 5th format info bit of the QR code.

    Meaning of format information. In the above figure, the format information is protected by a (15,5) BCH code, which can correct up to 3 bit errors. The total length of the code is 15 bits, of which 5 are data bits (2 EC level + 3 mask pattern) and 10 are extra bits for error correction. The format mask for these 15 bits is: [101010000010010]. Note that we map the masked values directly to its meaning here, in contrast to image 4 «Levels & Masks» where the mask pattern numbers are the result of putting the 3rd to 5th mask bit, [101], over the 3rd to 5th format info bit of the QR code.

  • Message placement within a QR symbol. The message is encoded using a (255,249) Reed Solomon code (shortened to (24,18) code by using "padding") which can correct up to 3 byte errors.

    Message placement within a QR symbol. The message is encoded using a (255,249) Reed Solomon code (shortened to (24,18) code by using «padding») which can correct up to 3 byte errors.

  • Larger symbol illustrating interleaved blocks. The message has 26 data bytes and is encoded using two Reed-Solomon code blocks. Each block is a (255,233) Reed Solomon code (shortened to (35,13) code), which can correct up to 11 byte errors in a single burst, containing 13 data bytes and 22 "parity" bytes appended to the data bytes. The two 35-byte Reed-Solomon code blocks are interleaved so it can correct up to 22 byte errors in a single burst (resulting in a total of 70 code bytes). The symbol achieves level H error correction.

    Larger symbol illustrating interleaved blocks. The message has 26 data bytes and is encoded using two Reed-Solomon code blocks. Each block is a (255,233) Reed Solomon code (shortened to (35,13) code), which can correct up to 11 byte errors in a single burst, containing 13 data bytes and 22 «parity» bytes appended to the data bytes. The two 35-byte Reed-Solomon code blocks are interleaved so it can correct up to 22 byte errors in a single burst (resulting in a total of 70 code bytes). The symbol achieves level H error correction.

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).[83]

Mode indicator Description Typical structure ‘[ type : sizes in bits ]’
0001 Numeric [0001 : 4] [ Character Count Indicator : variable ] [ Data Bit Stream : 313 × charcount ]
0010 Alphanumeric [0010 : 4] [ Character Count Indicator : variable ] [ Data Bit Stream : 512 × charcount ]
0100 Byte encoding [0100 : 4] [ Character Count Indicator : variable ] [ Data Bit Stream : 8 × charcount ]
1000 Kanji encoding [1000 : 4] [ Character Count Indicator : variable ] [ Data Bit Stream : 13 × charcount ]
0011 Structured append [0011 : 4] [ Symbol Position : 4 ] [ Total Symbols: 4 ] [ Parity : 8 ]
0111 ECI [0111 : 4] [ ECI Assignment number : variable ]
0101 FNC1 in first position [0101 : 4] [ Numeric/Alphanumeric/Byte/Kanji payload : variable ]
1001 FNC1 in second position [1001 : 4] [ Application Indicator : 8 ] [ Numeric/Alphanumeric/Byte/Kanji payload : variable ]
0000 End of message [0000 : 4]

Note:

  • Character Count Indicator depends on how many modules are in a QR code (Symbol Version).
  • ECI Assignment number Size:
    • 8 × 1 bits if ECI Assignment Bitstream starts with ‘0’
    • 8 × 2 bits if ECI Assignment Bitstream starts with ’10’
    • 8 × 3 bits if ECI Assignment Bitstream starts with ‘110’

Four-bit indicators are used to select the encoding mode and convey other information.

Encoding modes

Indicator Meaning
0001 Numeric encoding (10 bits per 3 digits)
0010 Alphanumeric encoding (11 bits per 2 characters)
0100 Byte encoding (8 bits per character)
1000 Kanji encoding (13 bits per character)
0011 Structured append (used to split a message across multiple QR symbols)
0111 Extended Channel Interpretation (select alternate character set or encoding)
0101 FNC1 in first position (see Code 128 for more information)
1001 FNC1 in second position
0000 End of message (Terminator)

Encoding modes can be mixed as needed within a QR symbol. (e.g., a url with a long string of alphanumeric characters )

[ 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.

Number of bits in a length field (Character Count Indicator)

Encoding Ver. 1–9 10–26 27–40
Numeric 10 12 14
Alphanumeric 9 11 13
Byte 8 16 16
Kanji 8 10 12

Alphanumeric encoding mode stores a message more compactly than the byte mode can, but cannot store lower-case 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:

V = 45 × C1 + C2

This has the exception that the last character in an alphanumeric string with an odd length is read as a 6-bit value instead.

Alphanumeric character codes

Code Character Code Character Code Character Code Character Code Character
00 0 09 9 18 I 27 R 36 Space
01 1 10 A 19 J 28 S 37 $
02 2 11 B 20 K 29 T 38 %
03 3 12 C 21 L 30 U 39 *
04 4 13 D 22 M 31 V 40 +
05 5 14 E 23 N 32 W 41
06 6 15 F 24 O 33 X 42 .
07 7 16 G 25 P 34 Y 43 /
08 8 17 H 26 Q 35 Z 44 :

Decoding example[edit]

The following images offer more information about the QR code.

  • 1 – Introduction

    1 – Introduction

  • 2 – Structure

    2 – Structure

  • 3 – Layout & Encoding

    3 – Layout & Encoding

  • 4 – Levels & Masks

    4 – Levels & Masks

  • 5 – Protocols

    5 – Protocols

Variants[edit]

Model 1[edit]

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.

  • Model 1 QR code example

    Model 1 QR code example

  • Model 1 QR code functional regions

    Model 1 QR code functional regions

Micro QR code [edit]

Micro QR code is a smaller version of the QR code standard for applications where symbol size is limited. There are four different versions (sizes) of Micro QR codes: the smallest is 11×11 modules; the largest can hold 35 numeric characters.[84]

  • Micro QR code example

    Micro QR code example

  • Micro QR code functional regions

    Micro QR code functional regions

IQR code[edit]

IQR Code is an alternative to existing QR codes developed by Denso Wave. IQR codes can be created in square or rectangular formations; this is intended for situations where a rectangular barcode would otherwise be more appropriate, such as cylindrical objects. IQR codes can fit the same amount of information in 30% less space. There are 61 versions of square IQR codes, and 15 versions of rectangular codes. For squares, the minimum size is 9 × 9 modules; rectangles have a minimum of 19 × 5 modules. IQR codes add error correction level S, which allows for 50% error correction.[85] IQR Codes have not yet been given an ISO/IEC specification, and only proprietary Denso Wave products can create or read IQR codes.[86]

Secure QR code[edit]

Secure Quick Response (SQR) code is a QR code that contains a «private data» segment after the terminator instead of the specified filler bytes «ec 11».[87] This private data segment must be deciphered with an encryption key. This can be used to store private information and to manage company’s internal information.[88]

SQR codes have been developed by the FORUS Foundation to enable secure transactions, and published under a Creative Commons Licence.
The SQR solution guarantees the integrity of the source data as well as the validity of the originating party.
The payment instruction string is made up of the electronic instruction data from the scanned QR code appended with a SHA-2 cryptographic hash.
The message digest can then be encrypted using the private key of the sender, which then creates a digital signature of the message.
This signature validates the integrity of the data and the trustworthiness of the sender. This provides non-repudiation, confirming the identity of the sender, and that it has not been tampered with during transmission.
By embedding the URL and all the variables required to perform shopping cart type e-commerce, bill payment and peer to peer payments, coupled with a digital certificate eliminates the possibility of spoofing, tampering, and man in the middle attacks.
[89]

Frame QR[edit]

Frame QR is a QR code with a «canvas area» that can be flexibly used. In the center of this code is the canvas area, where graphics, letters, and more can be flexibly arranged, making it possible to lay out the code without losing the design of illustrations, photos, etc.[90]

HCC2D[edit]

Samples of the High Capacity Colored 2-Dimensional (HCC2D) code: (a) 4-color HCC2D code and (b) 8-color HCC2D code.

Researchers have proposed a new High Capacity Colored 2-Dimensional (HCC2D) Code, which builds upon a QR code basis for preserving the QR robustness to distortions and uses colors for increasing data density (as of 2014 it is still in prototyping phase). The HCC2D code specification is described in details in Querini et al. (2014),[91] while techniques for color classification of HCC2D code cells are described in detail in Querini and Italiano (2014),[92] which is an extended version of Querini and Italiano (2013).[93]

Introducing colors into QR codes requires addressing additional issues. In particular, during QR code reading only the brightness information is taken into account, while HCC2D codes have to cope with chromatic distortions during the decoding phase. In order to ensure adaptation to chromatic distortions which arise in each scanned code, HCC2D codes make use of an additional field: the Color Palette Pattern. This is because color cells of a Color Palette Pattern are supposed to be distorted in the same way as color cells of the Encoding Region. Replicated color palettes are used for training machine learning classifiers.

JAB code[edit]

Wikipedia greetings with link encoded using eight-colour JAB code

JAB code (Just Another Barcode) is a color 2D matrix symbology made of color squares arranged in either square or rectangle grids. It was developed by Fraunhofer Institute SIT (Secure Information Technology).[94]

The code contains one primary symbol and optionally multiple secondary symbols. The primary symbol contains four finder patterns located at the corners of the symbol.[95]

The code uses either 4 or 8 colours.[96] The 4 basic colours (cyan, magenta, yellow, black) are the 4 primary colours of the subtractive CMYK color model which is the most widely used system in industry for colour printing on a white base such as paper. The other 4 colours (blue, red, green, white) are secondary colours of the CMYK model and originate as an equal mixture of a pair of basic colours.

The barcode is not subject to licensing and was submitted to ISO/IEC standardization as ISO/IEC 23634 expected to be approved at the beginning of 2021[97] and finalized in 2022.[96] The software is open-source and published under the LGPL v2.1 license.[98] The specification is freely available.[95]

Because the colour adds a third dimension to the two-dimensional matrix, a JAB code can contain more information in the same area compared to two-colour (black and white) codes – theoretically twice as much data for a 4 colour code and three times more for 8 colours assuming the same encoding algorithm. This can allow storage of an entire message in the barcode, rather than just storing partial data with a reference to a full message somewhere else (such as a link to a website), thus eliminating the need for additional always-available infrastructure beyond the printed barcode itself. It may be used to digitally sign encrypted digital version of printed legal documents, contracts and certificates (diplomas, training), medical prescriptions or provide product authenticity assurance to increase protection against counterfeits.[96]

License[edit]

The use of QR code technology is freely licensed as long as users follow the standards for QR Code documented with JIS or ISO/IEC. Non-standardized codes may require special licensing.[99]

Denso Wave owns a number of patents on QR code technology, but has chosen to exercise them in a limited fashion.[99] In order to promote widespread usage of the technology Denso Wave chose to waive its rights to a key patent in its possession for standardized codes only.[14] In the US, the granted QR code patent is US 5726435, and in Japan JP 2938338, both of which have expired. The European Patent Office granted patent EP 0672994 to Denso Wave, which was then validated into French, UK, and German patents, all of which expired in March 2015.[100]

The text QR Code itself is a registered trademark and wordmark of Denso Wave Incorporated.[101] In UK, the trademark is registered as E921775, the term QR Code, with a filing date of 3 September 1998.[102] The UK version of the trademark is based on the Kabushiki Kaisha Denso (DENSO CORPORATION) trademark, filed as Trademark 000921775, the term QR Code, on 3 September 1998 and registered on 16 December 1999 with the European Union OHIM (Office for Harmonization in the Internal Market).[103]
The U.S. Trademark for the term QR Code is Trademark 2435991 and was filed on 29 September 1998 with an amended registration date of 13 March 2001, assigned to Denso Corporation.[104]

Risks[edit]

The only context in which common QR codes can carry executable data is the URL data type. These URLs may host JavaScript code, which can be used to exploit vulnerabilities in applications on the host system, such as the reader, the web browser or the image viewer, since a reader will typically send the data to the application associated with the data type used by the QR code.

In the case of no software exploits, malicious QR codes combined with a permissive reader can still put a computer’s contents and user’s privacy at risk. This practice is known as «attagging», a portmanteau of «attack tagging».[105] They are easily created and can be affixed over legitimate QR codes.[106] On a smartphone, the reader’s permissions may allow use of the camera, full Internet access, read/write contact data, GPS, read browser history, read/write local storage, and global system changes.[107][108][109]

Risks include linking to dangerous web sites with browser exploits, enabling the microphone/camera/GPS, and then streaming those feeds to a remote server, analysis of sensitive data (passwords, files, contacts, transactions),[110] and sending email/SMS/IM messages or packets for DDoS as part of a botnet, corrupting privacy settings, stealing identity,[111] and even containing malicious logic themselves such as JavaScript[112] or a virus.[113][114] These actions could occur in the background while the user is only seeing the reader opening a seemingly harmless web page.[115] In Russia, a malicious QR code caused phones that scanned it to send premium texts at a fee of $6 each.[105] QR codes have also been linked to scams in which stickers are placed on parking meters, posing as quick payment options, as seen in Austin, San Antonio and Boston, among other cities across the United States and Australia.[116][117][118]

See also[edit]

  • Aztec Code
  • Data Matrix
  • PDF417
  • QRpedia
  • SnapTag
  • SPARQCode
  • Touchatag

References[edit]

  1. ^ Hung, Shih-Hsuan; Yao, Chih-Yuan; Fang, Yu-Jen; Tan, Ping; Lee, RuenRone; Sheffer, Alla; Chu, Hung-Kuo (1 September 2020). «Micrography QR Codes». IEEE Transactions on Visualization and Computer Graphics. 26 (9): 2834–2847. doi:10.1109/TVCG.2019.2896895. ISSN 1077-2626. PMID 30716038. S2CID 73433883.
  2. ^ Chen, Rongjun; Yu, Yongxing; Xu, Xiansheng; Wang, Leijun; Zhao, Huimin; Tan, Hong-Zhou (11 December 2019). «Adaptive Binarization of QR Code Images for Fast Automatic Sorting in Warehouse Systems». Sensors. 19 (24): 5466. Bibcode:2019Senso..19.5466C. doi:10.3390/s19245466. PMC 6960674. PMID 31835866.
  3. ^ «QR Code features». Denso-Wave. Archived from the original on 29 January 2013. Retrieved 3 October 2011.
  4. ^ a b c «QR Code Essentials». Denso ADC. 2011. Archived from the original on 12 May 2013. Retrieved 12 March 2013.
  5. ^ «QRコード開発|テクノロジー|デンソーウェーブ» [QR code development]. Denso Wave (in Japanese). Retrieved 26 October 2021.
  6. ^ «2D Barcodes». NHK World-Japan. 26 March 2020.
  7. ^ «From Japanese auto parts to ubiquity: A look at the history of QR codes». Mainichi Daily News. 9 November 2021. Retrieved 11 November 2021.
  8. ^ «The Little-Known Story of the Birth of the QR Code». 10 February 2020. Archived from the original on 4 March 2020.
  9. ^ a b Borko Furht (2011). Handbook of Augmented Reality. Springer. p. 341. ISBN 9781461400646. Archived from the original on 21 December 2016.
  10. ^ Joe Waters. «How to Use the Top QR Code Generators». Dummies.com. Archived from the original on 11 September 2017. Retrieved 5 June 2017.
  11. ^ a b «QR Code—About 2D Code». Denso-Wave. Archived from the original on 5 June 2016. Retrieved 27 May 2016.
  12. ^ «14m Americans scanned QR and bar codes with their mobiles in June 2011». 16 August 2011. Archived from the original on 5 April 2016. Retrieved 27 May 2016.
  13. ^ «U.S. and UK increase of QR code use 2020». 6 July 2021. Retrieved 13 August 2021.
  14. ^ a b «QR Code Standardization». QR Code.com. Denso-Wave. Archived from the original on 10 May 2016. Retrieved 23 May 2016.
  15. ^ «ISS QR Code|AIM Store: Historical Archive». Aimglobal.org. Archived from the original on 8 August 2016. Retrieved 26 May 2016.
  16. ^ «ISO/IEC 18004:2006 — Information technology  – Automatic identification and data capture techniques  – QR Code 2005 bar code symbology specification». www.iso.org. Archived from the original on 8 March 2017. Retrieved 7 March 2017.
  17. ^ «ISO/IEC 23941:2022 Information technology — Automatic identification and data capture techniques — Rectangular Micro QR Code (rMQR) bar code symbology specification». ISO. Retrieved 3 January 2023.
  18. ^ «Synchronization with Native Applications». NTT DoCoMo. Archived from the original on 6 August 2016. Retrieved 26 May 2016.
  19. ^ Sean Owen (17 January 2014). «Barcode contents». GitHub. Archived from the original on 15 February 2016. Retrieved 26 May 2016.
  20. ^ Rimma Kats (23 January 2012). «Starbucks promotes coffee blend via QR codes». Archived from the original on 3 June 2016. Retrieved 26 May 2016.
  21. ^ Jenny Lee (4 January 2012). «Tesco’s cool QR code advertising campaign». Archived from the original on 3 June 2016. Retrieved 26 May 2016.
  22. ^ «Getting Started with Infographics (deprecated)». google-developers.appspot.com. 26 May 2015. Archived from the original on 29 June 2016. Retrieved 27 May 2016.
  23. ^ «QR Code Readers for iPhone, Android, Blackberry and Windows Phone 7». 7 December 2010. Archived from the original on 25 August 2011.
  24. ^ «QR codes on China’s train tickets may leak personal information». Want China Times. Archived from the original on 12 December 2013. Retrieved 16 March 2013.
  25. ^ Novak, Asami (23 March 2008). «Japanese Gravestones Memorialize the Dead With QR Codes». Wired. Archived from the original on 15 February 2013. Retrieved 8 May 2013.
  26. ^ Skepticality (5 July 2011). «Paranormality». Skepticality.com. Archived from the original on 3 July 2015. Retrieved 27 June 2015.
  27. ^ «Herdenkingsmunt met QR code volop in het nieuws!» [Commemorative QR code in the news!]. Koninklijke Nederlandse Munt (in Dutch). 21 June 2011. Archived from the original on 29 June 2016. Retrieved 27 May 2016.
  28. ^ «New ₦100 Commemorative Centenary Celebration». Archived from the original on 8 September 2015. Retrieved 10 September 2015.
  29. ^ www.ETRetail.com. «With IndiaQR launch, retail payments to get digital edge — ET Retail». ETRetail.com. Archived from the original on 15 February 2017. Retrieved 15 February 2017.
  30. ^ «IndiaQR to debut on Feb 20». The Times of India. Archived from the original on 16 February 2017. Retrieved 15 February 2017.
  31. ^ Hein, Buster (21 September 2017). «How to scan QR codes with iOS 11’s Camera app». Cult of Mac. Archived from the original on 5 January 2019. Retrieved 28 May 2019.
  32. ^ Lacoma, Tyler (3 October 2018). «How to Scan a QR Code». Digital Trends. Archived from the original on 22 April 2019. Retrieved 28 May 2019.
  33. ^ «Tesco QR Code Virtual Store». 14 April 2012. Archived from the original on 25 May 2016. Retrieved 26 May 2016.
  34. ^ Sebastián Campanario (16 September 2011). «Marketing futurista: ya se puede comprar con la cámara del celular» [Futuristic marketing: it’s already possible to purchase with a cellphone’s camera] (in Spanish). Archived from the original on 23 September 2011.
  35. ^ «Marketers scatter phone-friendly codes across ads». 11 November 2010. Retrieved 26 May 2016.
  36. ^ «Top 10 QR Code Store examples». 14 April 2012. Archived from the original on 6 June 2016. Retrieved 26 May 2016.
  37. ^ «SCVNGR Unveils QR Code Payment System». Mashable. 12 October 2011. Archived from the original on 8 December 2012.
  38. ^ «MasterCard starts piloting QkR mobile payment app». 26 January 2012. Archived from the original on 8 January 2014.
  39. ^ Jacobs, Harrison. «One photo shows that China is already in a cashless future». Business Insider. Retrieved 14 October 2019.
  40. ^ Mozur, Paul (16 July 2017). «In Urban China, Cash Is Rapidly Becoming Obsolete». The New York Times. ISSN 0362-4331. Retrieved 14 October 2019.
  41. ^ «Paying With Your Mobile Wallet To Get Simpler With Interoperable QR Codes». Moneycontrol. Retrieved 22 December 2020.
  42. ^ «A Hangzhou Story: The Development of China’s Mobile Payment Revolution» (PDF).
  43. ^ «Payment methods in China: How China became a mobile-first nation». daxueconsulting.com. Retrieved 23 June 2020.
  44. ^ «Standard — Formát pro sdílení platebních údajů v rámci tuzemského platebního styku v CZK prostřednictvím QR kódů» [Standard No. 26: Format for exchanging payment information for domestic payments in CZK using QR codes] (in Czech). Czech Banking Association. November 2012. Archived from the original on 3 June 2016. Retrieved 27 May 2016.
  45. ^ «Formát pro sdílení platebních údajů v CZK — QR kódy» [Format for exchanging payment information in CZK — QR codes] (in Czech). the Czech Banking Association. August 2015. Retrieved 2020-02-17.
  46. ^ IMDA (9 November 2022). «Annex A – Fact sheet on Singapore Quick Response Code (SGQR)» (PDF).
  47. ^
  48. ^ Monetary Authority of Singapore (9 November 2022). «Singapore Quick Response Code (SGQR)».
  49. ^ «Google testing login authentication via QR codes». ZDNet. Archived from the original on 15 June 2013.
  50. ^ «Mobile ticket generation|applications|QR Code Solutions|system solutions|DENSO WAVE». www.denso-wave.com.
  51. ^ «【公式】チケットの使い方 東京ディズニーリゾート» (in Japanese).
  52. ^ «ダイレクトイン(QRコード)の使い方|USJ WEBチケットストア». USJ (in Japanese).
  53. ^ «QRチケットレス入場について». サンフレッチェ広島 オフィシャルサイト (in Japanese).
  54. ^ «スマートスタジアム». 東北楽天ゴールデンイーグルス (in Japanese).
  55. ^ Management 2020 (https://modernrestaurantmanagement.com), Modern Restaurant (22 October 2020). «Restaurant QR Codes: 2020’s Comeback Story | Restaurant QR Codes: 2020’s Comeback Story | Modern Restaurant Management | The Business of Eating & Restaurant Management News». Modern Restaurant Management. Retrieved 1 November 2020.
  56. ^ a b Kastrenakes, Jacob (29 September 2020). «Square launches QR codes that let you order from your table at a restaurant». Verge.com. VOX Media LLC. Retrieved 24 November 2020.
  57. ^ Glass, Noah (7 October 2020). «How To Prepare For Table Service 2.0». Forbes. Retrieved 24 November 2020.
  58. ^ «Share your Wi-Fi SSID & Password using a QR Code». 19 July 2015.
  59. ^ «zxing documentation: barcode contents». GitHub. zxing.
  60. ^ «モノウォッチは生まれ変わります». Archived from the original on 13 November 2015. Retrieved 10 September 2015.
  61. ^ Michael Keferl (20 March 2008). «QR code graves give a «Memorial Window»«. Japan Trends. Archived from the original on 2 May 2012.
  62. ^ «供養の窓 — 石の声 株式会社» (in Japanese). Archived from the original on 13 November 2015. Retrieved 10 September 2015.
  63. ^ «Quiring Monuments adds smartphone codes to gravestones». Puget Sound Business Journal. 26 April 2011. Archived from the original on 23 June 2015. Retrieved 10 September 2015.
  64. ^ «Uruguayan Jewish Cemetery QR-ified» (in Spanish). EL PAIS. 24 March 2014. Archived from the original on 3 August 2016.
  65. ^ «Exclusive — CHINA: Pernod Ricard to use QR codes on all China packaging». www.just-drinks.com. 17 September 2013. Retrieved 24 April 2020.
  66. ^ «Digital tax stamps will curb fake goods — URA». Daily Monitor. Retrieved 24 April 2020.
  67. ^ «The power of smart packaging». www.bakingbusiness.com. Retrieved 3 May 2020.
  68. ^ Baldini, Gianmarco; Nai Fovino, Igor; Satta, Riccardo; Tsois, Aris; Checchi, Enrico (2015). Survey of techniques for the fight against counterfeit goods and Intellectual Property Rights (IPR) infringement. Luxembourg: European Commission. Joint Research Centre, Publications Office. ISBN 978-92-79-54543-6. OCLC 948769705.
  69. ^ Carron, Cecilia (6 May 2015). «Combatting counterfeiting using QR codes». phys.org. Retrieved 16 June 2020.
  70. ^ Li, Tongzhe; Messer, Kent D.; Li, Tongzhe; Messer, Kent D. (2019). Li, Tongzhe; Messer, Kent D. (eds.). «To Scan or Not to Scan: The Question of Consumer Behavior and QR Codes on Food Packages». Journal of Agricultural and Resource Economics. doi:10.22004/ag.econ.287977. ISSN 1068-5502.
  71. ^ Kim, Yeong Gug; Woo, Eunju (1 July 2016). «Consumer acceptance of a quick response (QR) code for the food traceability system: Application of an extended technology acceptance model (TAM)». Food Research International. 85: 266–272. doi:10.1016/j.foodres.2016.05.002. ISSN 0963-9969. PMID 29544844.
  72. ^ «Behind Every Smart Product is Smart Packaging | Future Food Asia». futurefoodasia.com. Retrieved 24 June 2020.
  73. ^ Leger, Benjamin (27 October 2020). «QR codes are replacing physical menus at restaurants». [225]. Retrieved 1 November 2020.
  74. ^ Purtill, James (19 November 2020). «The proliferation of QR code check-ins is a ‘dog’s breakfast’. Is there a better way?». www.abc.net.au. Australian Broadcasting Corporation. Retrieved 15 January 2021.
  75. ^ Hristova, Bobby (28 December 2021). «Ontarians need QR code to prove vaccination next week. Here’s what you need to know». Retrieved 30 December 2021.
  76. ^ «Information capacity and versions of QR Code». Denso-Wave. Archived from the original on 29 May 2016.
  77. ^ «2D Barcode: QR-Code». Archived from the original on 15 September 2012. — TEC-IT
  78. ^ Hajra Shannon (18 October 2010). «Form Meets Function: Functionality and Form of QR Codes». Retrieved 29 July 2010.
  79. ^ Hamilton Chan (18 April 2011). «HOW TO: Make Your QR Codes More Beautiful». Mashable. Archived from the original on 10 July 2012. Retrieved 29 July 2011.
  80. ^ Russ Cox (12 April 2012). «QArt Codes: How to make pictures with QR codes, part II». Archived from the original on 21 March 2015. Retrieved 8 May 2015.
  81. ^ Russ Cox (12 April 2012). «QArt Coder». Archived from the original on 24 April 2015. Retrieved 8 May 2015.
  82. ^ Gupta, Kishor Datta; Ahsan, Md Manjurul; Andrei, Stefan (January 2018). «Extending the Storage Capacity And Noise Reduction of a Faster QR-Code». Brain Broad Research in Artificial Intelligence and Neuroscience. 9 (1): 59–71.
  83. ^ ISO/IEC 18004:2006(E) § 6.4 Data encoding; Table 3 – Number of bits in character count indicator for QR Code 2005
  84. ^ Information technology – Automatic identification and data capture techniques – QR Code 2005 bar code symbology specification, ISO/IEC 18004:2006 cor. 2009, pages 3, 6.
  85. ^ «QR Code Overview & Progress of QR Code Applications» (PDF). Archived (PDF) from the original on 20 May 2013. Retrieved 26 June 2014.
  86. ^ «iQR Code — QRcode.com — DENSO WAVE». Archived from the original on 7 September 2015. Retrieved 10 September 2015.
  87. ^ «Embedding Secret Data in QR Code». Retrieved 29 October 2018.
  88. ^ «SQRC». qrcode.com. Retrieved 26 December 2017.
  89. ^ «FORUS». www.forus.co.za. Retrieved 27 December 2020.
  90. ^ «Frame QR». qrcode.com. Retrieved 26 December 2017.
  91. ^ «2D Color Barcodes for Mobile Phones» (PDF). Archived from the original (PDF) on 4 March 2016.
  92. ^ «Reliability and data density in high capacity color barcodes» (PDF). Archived from the original (PDF) on 24 July 2015.
  93. ^ «Color classifiers for 2D color barcodes» (PDF). Fedcsis.org. 2013. Archived (PDF) from the original on 24 July 2015.
  94. ^ «JAB code website». jabcode.org. 2019.
  95. ^ a b «JAB code technical specification» (PDF). www.bsi.bund.de. 2019.
  96. ^ a b c Küch, Oliver (26 June 2020). «Color barcode becomes ISO standard» (Press release). Darmstadt: Fraunhofer Institute for Secure Information Technology. Retrieved 17 February 2021.
  97. ^ «ISO/IEC DIS 23634 Information technology — Automatic identification and data capture techniques — JAB Code polychrome bar code symbology specification». ISO/IEC. Retrieved 17 February 2021.
  98. ^ «jabcode». GitHub. 2019.
  99. ^ a b «About the patent». Denso-Wave. Archived from the original on 25 June 2016. Retrieved 26 June 2016.
  100. ^ «DPA».«INPI». Archived from the original on 13 August 2016.«UK IPO». 9 March 2013.
  101. ^ «QR Code.com». Denso-Wave. 6 November 2003. Archived from the original on 15 September 2012. Retrieved 23 April 2009.
  102. ^ «UK QR Code Trademark». Archived from the original on 15 September 2012.
  103. ^ «EU QR Code Trademark». Archived from the original on 15 September 2012.
  104. ^ «US QR Code Trademark». Archived from the original on 15 September 2012.
  105. ^ a b «Jargon Watch», Wired, vol. 20, no. 1, p. 22, January 2012.
  106. ^ «Malicious Images: What’s a QR Code». SANS Technology Institute. 3 August 2011. Archived from the original on 13 July 2012. Retrieved 31 August 2011.
  107. ^ «Barcode Scanner». 1 June 2011. Archived from the original on 15 September 2012. Retrieved 31 August 2011.
  108. ^ «QR Droid». 19 August 2011. Archived from the original on 15 September 2012. Retrieved 31 August 2011.
  109. ^ «ScanLife Barcode Reader». 24 May 2011. Archived from the original on 15 September 2012. Retrieved 31 August 2011.
  110. ^ «Consumer Alert: QR Code Safety». Better Business Bureau. 23 June 2011. Archived from the original on 15 July 2012. Retrieved 31 August 2011.
  111. ^ «AVG Cautions: Beware of Malicious QR Codes». PC World. 28 June 2011. Archived from the original on 7 September 2012. Retrieved 31 August 2011.
  112. ^ «EvilQR – When QRCode goes bad». AppSec-Labs Blog. 14 August 2011. Archived from the original on 15 September 2012. Retrieved 31 August 2011.
  113. ^ «QR Codes: A Recipe for a Mobile Malware Tsunami». Cyveillance, Inc. 20 October 2010. Archived from the original on 28 July 2012. Retrieved 31 August 2011.
  114. ^ QR Codes hold up to 2.9 KB whereas the smallest known computer virus is about one-tenth that size «The Smallest Virus I Could Manage». Virus Labs and Distribution. 1995. Archived from the original on 15 September 2012. Retrieved 31 August 2011.
  115. ^ «Beware of Malicious QR Codes». ABC. 8 June 2011. Archived from the original on 1 August 2012. Retrieved 31 August 2011.
  116. ^ Binder, Matt. «Beware the QR code scams». Mashable. Retrieved 18 January 2022.
  117. ^ Vincent, James (12 January 2022). «The latest phishing scam to watch out for: fraudulent QR codes on parking meters». The Verge. Retrieved 18 January 2022.
  118. ^ Wodinsky, Shoshana (12 January 2022). «Scammers Are Using QR Codes to Plunder Parking Meter Payments». Gizmodo.

Bibliography[edit]

  • BS ISO/IEC 18004:2006. Information technology. Automatic identification and data capture techniques. Bar code symbology. QR Code. Geneva: ISO/IEC. 2000. p. 114. OCLC 60816353.
  • BS ISO/IEC 18004:2006. Information technology. Automatic identification and data capture techniques. QR Code 2005 bar code symbology specification. London: BSI. 2007. p. 126. ISBN 978-0-580-67368-9. Archived from the original on 22 March 2015. Retrieved 26 July 2010.

External links[edit]

  • Reed Solomon Codes for Coders – an elaborate tutorial on Wikiversity, covering both QR code structure and the Reed Solomon codes used to encode the data.

A QR code (an initialism for quick response code) is a type of matrix barcode (or two-dimensional barcode)[1][2] invented in 1994 by Japanese company Denso Wave. A barcode is a machine-readable optical label that can contain information about the item to which it is attached. In practice, QR codes often contain data for a locator, identifier, or tracker that points to a website or application. QR codes use four standardized encoding modes (numeric, alphanumeric, byte/binary, and kanji) to store data efficiently; extensions may also be used.[3]

The quick response system became popular outside the automotive industry due to its fast readability and greater storage capacity compared to standard UPC barcodes. Applications include product tracking, item identification, time tracking, document management, and general marketing.[4]

A QR code consists of black squares arranged in a square grid on a white background, including some fiducial markers, which can be read by an imaging device such as a camera, and processed using Reed–Solomon error correction until the image can be appropriately interpreted. The required data is then extracted from patterns that are present in both horizontal and vertical components of the image.[4]

History[edit]

[icon]

This section needs expansion. You can help by adding to it. (October 2021)

The QR code system was invented in 1994 by Masahiro Hara from the Japanese company Denso Wave.[5][6][7] The initial design was influenced by the black and white pieces on a Go board.[8] Its purpose was to keep track of automotive parts manufactured by Denso, to replace several bar codes on each box, each of which had to be scanned separately.[9]

Adoption[edit]

A QR code being painted on the side of a building

QR codes can be displayed on buildings, as this one being painted in Cape Town

QR codes are now used in a much broader context, including both commercial tracking applications and convenience-oriented applications aimed at mobile-phone users (termed mobile tagging). QR codes may be used to display text to the user, to open a webpage on the user’s device, to add a vCard contact to the user’s device, to open a Uniform Resource Identifier (URI), to connect to a wireless network, or to compose an email or text message. There are a great many QR code generators available as software or as online tools that are either free, or require a paid subscription.[10] The QR code has become one of the most-used types of two-dimensional code.[11]

During the month of 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.[12]

In September 2020, a survey found that 18.8 percent of consumers in the United States and United Kingdom strongly agreed that they had noticed an increase of QR code use since the then-active COVID-19 related restrictions had begun several months prior.[13]

Standards[edit]

Structure of a QR code (version 7), highlighting functional elements

There are several standards that cover the encoding of data as QR codes:[14]

  • October 1997 – AIM (Association for Automatic Identification and Mobility) International[15]
  • January 1999 – JIS X 0510
  • June 2000 – ISO/IEC 18004:2000 Information technology – Automatic identification and data capture techniques – Bar code symbology – QR code (now withdrawn)
    Defines QR code models 1 and 2 symbols.
  • 1 September 2006 – ISO/IEC 18004:2006 Information technology – Automatic identification and data capture techniques – QR code 2005 bar code symbology specification (now withdrawn)[16]
    Defines QR code 2005 symbols, an extension of QR code model 2. Does not specify how to read QR code model 1 symbols, or require this for compliance.
  • 1 February 2015 – ISO/IEC 18004:2015 Information – Automatic identification and data capture techniques – QR Code barcode symbology specification
    Renames the QR Code 2005 symbol to QR Code and adds clarification to some procedures and minor corrections.
  • May 2022 – ISO/IEC 23941:2022 Information technology – Automatic identification and data capture techniques – Rectangular Micro QR Code (rMQR) bar code symbology specification[17]
    Defines the requirements for Micro QR Code.

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.[18] The open-source «ZXing» project maintains a list of QR code data types.[19]

Uses[edit]

A QR code used on a large billboard in Japan, linking to the sagasou.mobi website

QR codes have become common in consumer advertising. Typically, a smartphone is used as a QR code scanner, displaying the code and converting it to some useful form (such as a standard URL for a website, thereby obviating the need for a user to type it into a web browser).
QR code has become a focus of advertising strategy, since it provides a way to access a brand’s website more quickly than by manually entering a URL.[20][21] Beyond mere convenience to the consumer, the importance of this capability is that it increases the conversion rate: the chance that contact with the advertisement will convert to a sale. It coaxes interested prospects further down the conversion funnel with little delay or effort, bringing the viewer to the advertiser’s website immediately, whereas a longer and more targeted sales pitch may lose the viewer’s interest.

Although initially used to track parts in vehicle manufacturing, QR codes are used over a much wider range of applications. These include commercial tracking, entertainment and transport ticketing, product and loyalty marketing and in-store product labeling. Examples of marketing include where a company’s discounted and percent discount can be captured using a QR code decoder which is a mobile app, or storing a company’s information such as address and related information alongside its alpha-numeric text data as can be seen in Yellow Pages directories.

They can also be used in storing personal information for use by organizations. An example of this is Philippines National Bureau of Investigation (NBI) where NBI clearances now come with a QR code. Many of these applications target mobile-phone users (via mobile tagging). Users may receive text, add a vCard contact to their device, open a URL, or compose an e-mail or text message after scanning QR codes. They can generate and print their own QR codes for others to scan and use by visiting one of several pay or free QR code-generating sites or apps. Google had an API, now deprecated, to generate QR codes,[22] and apps for scanning QR codes can be found on nearly all smartphone devices.[23]

QR codes have been used and printed on train tickets in China since 2010.[24]

QR codes storing addresses and URLs may appear in magazines, on signs, on buses, on business cards, or on almost any object about which users might want information. Users with a camera phone equipped with the correct reader application can scan the image of the QR code to display text, contact information, connect to a wireless network, or open a web page in the phone’s browser. This act of linking from physical world objects is termed hardlinking or object hyperlinking. QR codes also may be linked to a location to track where a code has been scanned. Either the application that scans the QR code retrieves the geo information by using GPS and cell tower triangulation (aGPS) or the URL encoded in the QR code itself is associated with a location. In 2008, a Japanese stonemason announced plans to engrave QR codes on gravestones, allowing visitors to view information about the deceased, and family members to keep track of visits.[25] Psychologist Richard Wiseman was one of the first authors to include QR codes in a book, in Paranormality: Why We See What Isn’t There (2011).[26][failed verification]

QR codes have been incorporated into currency. In June 2011, The Royal Dutch Mint (Koninklijke Nederlandse Munt) issued the world’s first official coin with a QR code to celebrate the centenary of its current building and premises. The coin can be scanned by a smartphone and originally linked to a special website with contents about the historical event and design of the coin.[27] In 2014, the Central Bank of Nigeria issued a 100-naira banknote to commemorate its centennial, the first banknote to incorporate a QR code in its design. When scanned with an internet-enabled mobile device, the code goes to a website which tells the centenary story of Nigeria.[28] In 2015, the Central Bank of the Russian Federation issued a 100-rubles note to commemorate the annexation of Crimea by the Russian Federation. It contains a QR code into its design, and when scanned with an internet-enabled mobile device, the code goes to a website that details the historical and technical background of the commemorative note. In 2017, the Bank of Ghana issued a 5-cedis banknote to commemorate 60 years of Central Banking in Ghana, and contains a QR code in its design, which when scanned with an internet-enabled mobile device, that code goes to the official Bank of Ghana website.

Credit card functionality is under development. In September 2016, the Reserve Bank of India (RBI) launched the eponymously named Bharat QR, a common QR code jointly developed by all the four major card payment companies – National Payments Corporation of India that runs RuPay cards along with MasterCard, Visa and American Express. It will also have the capability of accepting payments on the unified payments interface (UPI) platform.[29][30]

Augmented reality[edit]

QR codes are used in some augmented reality systems to determine the positions of objects in 3-dimensional space.[9]

Displaying multimedia contents[edit]

QR codes also used to direct users to specific multimedia content (such as videos, audios, images, documents and any type of content accessible from the web). This type of QR code is called «Multimedia QR code».

Mobile operating systems[edit]

QR codes can be used on various mobile device operating systems. iPhones running on iOS 11 and higher[31] and some Android devices can natively scan QR codes without downloading an external app.[32] The camera app is able to scan and display the kind of QR code (only on iPhone) along with the link (both on Android and iPhone). These devices support URL redirection, which allows QR codes to send metadata to existing applications on the device. Many paid or free apps are available with the ability to scan the codes and hard-link to an external URL.

Virtual stores[edit]

QR codes have been used to establish «virtual stores», where a gallery of product information and QR codes is presented to the customer, e.g. on a train station wall. The customers scan the QR codes, and the products are delivered to their homes. This use started in South Korea,[33] and Argentina,[34] but is currently expanding globally.[35] Walmart, Procter & Gamble and Woolworths have already adopted the Virtual Store concept.[36]

QR code payment[edit]

QR codes can be used to store bank account information or credit card information, or they can be specifically designed to work with particular payment provider applications. There are several trial applications of QR code payments across the world.[37][38] In developing countries like China,[39][40] India[41] and Bangladesh QR code payment is a very popular and convenient method of making payments. Since Alipay designed a QR code payment method in 2011,[42] mobile payment has been quickly adopted in China. As of 2018, around 83% of all payments were made via mobile payment.[43]

In November 2012, QR code payments were deployed on a larger scale in the Czech Republic when an open format for payment information exchange – a Short Payment Descriptor – was introduced and endorsed by the Czech Banking Association as the official local solution for QR payments.[44][45] In 2013, the European Payment Council provided guidelines for the EPC QR code enabling SCT initiation within the Eurozone.

In 2017, Singapore created a taskforce including their Government Agencies such as the Monetary Authority of Singapore and Infocomm Media Development Authority to spearhead a system for e-payments using standardized QR code specifications. These specific dimensions are specialized for Singapore’s market.[46]

The e-payment system, Singapore Quick Response Code (SGQR), essentially merges various QR codes into one label which can be used by both parties in the payment system. This allows for various banking apps to facilitate payments between multiple customers and a merchant that displays the single QR code.[47]

A single SDQR label contains e-payments and combines multiple payment options. Once consumers spot the SGQR label, they will be able to scan it and see which payment options the merchant accepts.  The SGQR scheme is co-owned by MAS and IMDA. [48]

Website login[edit]

QR codes can be used to log into websites: a QR code is shown on the login page on a computer screen, and when a registered user scans it with a verified smartphone, they will automatically be logged in. Authentication is performed by the smartphone which contacts the server. Google tested such a login method in January 2012.[49]

Mobile ticket[edit]

There is a system whereby a QR code can be displayed on a device such as a smartphone and used as an admission ticket.[50][51][52] Its use is common for J1 League and Nippon Professional Baseball tickets in Japan.[53][54] In some cases, rights can be transferred via the Internet.

Restaurant ordering[edit]

Restaurants can present a QR code near the front door or at the table allowing guests to view an online menu, or even redirect them to an online ordering website or app, allowing them to order and/or possibly pay for their meal without having to use a cashier or waiter. QR codes can also link to daily or weekly specials that are not printed on the standardized menus,[55] and enable the establishment to update the entire menu without needing to print copies. At table-serve restaurants, QR codes enable guests to order and pay for their meals without a waiter involved – the QR code contains the table number so servers know where to bring the food.[56][57] This application has grown especially since the need for social distancing during the 2020 COVID-19 pandemic prompted reduced contact between service staff and customers.[56]

Joining a Wi‑Fi network[edit]

A QR code to automatically join a Wi‑Fi network

By specifying the SSID, encryption type, password/passphrase, and if the SSID is hidden or not, mobile device users can quickly scan and join networks without having to manually enter the data.[58] A MeCard-like format is supported by Android and iOS 11+.[59]

  • Common format: WIFI:S:<SSID>;T:<WEP|WPA|blank>;P:<PASSWORD>;H:<true|false|blank>;;
  • Sample: WIFI:S:MySSID;T:WPA;P:MyPassW0rd;;

Funerary use[edit]

A QR code which links to an obituary and can be placed on a headstone

A QR code can link to an obituary and can be placed on a headstone. In 2008, Ishinokoe in Yamanashi Prefecture, Japan began to sell tombstones with QR codes produced by IT DeSign, where the code leads to a virtual grave site of the deceased.[60][61][62] Other companies, such as Wisconsin-based Interactive Headstones, have also begun implementing QR codes into tombstones.[63] In 2014, the Jewish Cemetery of La Paz in Uruguay began implementing QR codes for tombstones.[64]

Electronic authentication[edit]

QR codes are also used to generate time-based one-time passwords (TOTP) for electronic authentication.

Loyalty programs[edit]

QR codes have been used by various retail outlets that have loyalty programs. Sometimes these programs are accessed with an app that is loaded onto a phone and includes a process triggered by a QR code scan. The QR codes for loyalty programs tend to be found printed on the receipt for a purchase or on the products themselves. Users in these schemes collect award points by scanning a code.

Counterfeit detection[edit]

Serialised QR codes have been used by brands[65] and governments[66] to let consumers, retailers and distributors verify the authenticity of the products and help with detecting counterfeit products, as part of a brand protection program.[67] However, the security level of a regular QR Code is limited since QR Codes printed on original products are easily reproduced on fake products, even though the analysis of data generated as a result of QR Code scanning can be used to detect counterfeiting and illicit activity.[68] A higher security level can be attained by embedding a digital watermark or copy detection pattern into the image of the QR Code. This makes the QR Code more secure against counterfeiting attempts, and fake products which contain a counterfeit QR Code can be detected by scanning the secure QR Code with a specific app (even though the QR Code message itself is valid).[69]

The treaty regulating apostilles (documents bearing a seal of authenticity), has been updated to allow for the issuance of digital apostilles by countries; a digital apostille is a PDF document with a cryptographic signature containing a QR code for a canonical URL of the original document, allowing users to verify the apostille from a printed version of the document.

Product tracing[edit]

Different studies have been made 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 QR Code scanning app, 52.6% of participants would use it to access labelling information.[70] A study made in South Korea showed that consumers appreciate QR code used in food traceability system, as they provide detailed information about food, as well as information that helps them in their purchasing decision.[71] If QR Codes are serialised, consumers can access a web page showing the supply chain for each ingredient, as well as information specific to each related batch, including meat processors and manufacturers, which helps address the concerns they have about the origin of their food.[72]

COVID-19 pandemic[edit]

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.[73] Local television stations have also begun to utilize 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.

In several Australian states, patrons are 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 use similar systems.[74]

QR codes are also present on COVID-19 vaccination certificates in places such as Canada, and the EU (EU Digital COVID certificate) where they can be scanned to verify the information on the certificate.[75]

Design[edit]

Unlike the older, one-dimensional barcodes that were designed to be mechanically scanned by a narrow beam of light, a QR code is detected by a 2-dimensional digital image sensor and then digitally analyzed by a programmed processor. The processor locates the three distinctive squares at the corners of the QR code image, using a smaller square (or multiple squares) near the fourth corner to normalize the image for size, orientation, and angle of viewing. The small dots throughout the QR code are then converted to binary numbers and validated with an error-correcting algorithm.

Storage[edit]

The amount of data that can be stored in the QR code symbol depends on the data type (mode, or input character set), version (1, …, 40, indicating the overall dimensions of the symbol, i.e. 4 × version number + 17 dots on each side), and error correction level. The maximum storage capacities occur for version 40 and error correction level L (low), denoted by 40-L:[11][76]

Maximum character storage capacity (40-L)
Character refers to individual values of the input mode (data type).

Input mode Max. characters Bits/char. Possible characters, default encoding
Numeric only 7,089 313 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
Alphanumeric 4,296 512 0–9, A–Z (upper-case only), space, $, %, *, +, -, ., /, :
Binary/byte 2,953 8 ISO/IEC 8859-1
Kanji/kana 1,817 13 Shift JIS X 0208

Here are some sample QR code symbols:

  • Version 1 (21×21). Content: "Ver1"

    Version 1 (21×21). Content: «Ver1»

  • Version 2 (25×25). Content: "Version 2"

    Version 2 (25×25). Content: «Version 2»

  • Version 3 (29×29). Content: "Version 3 QR Code"

    Version 3 (29×29). Content: «Version 3 QR Code»

  • Version 4 (33×33). Content: "Version 4 QR Code, up to 50 char"

    Version 4 (33×33). Content: «Version 4 QR Code, up to 50 char»

  • Version 10 (57×57). Content: "VERSION 10 QR CODE, UP TO 174 CHAR AT H LEVEL, WITH 57X57 MODULES AND PLENTY OF ERROR CORRECTION TO GO AROUND. NOTE THAT THERE ARE ADDITIONAL TRACKING BOXES" (actually encoded in all capital letters). (Tracking boxes are more commonly called alignment patterns.)

    Version 10 (57×57). Content: «VERSION 10 QR CODE, UP TO 174 CHAR AT H LEVEL, WITH 57X57 MODULES AND PLENTY OF ERROR CORRECTION TO GO AROUND. NOTE THAT THERE ARE ADDITIONAL TRACKING BOXES» (actually encoded in all capital letters). (Tracking boxes are more commonly called alignment patterns.)

  • Version 25 (117×117) Content: 1,269 characters of ASCII text describing QR Codes

    Version 25 (117×117) Content: 1,269 characters of ASCII text describing QR Codes

  • Version 40 (177×177) Content: "Version 40 QR Code can contain up to 1852 chars..." (and followed by four paragraphs of ASCII text describing QR Codes).

    Version 40 (177×177) Content: «Version 40 QR Code can contain up to 1852 chars…» (and followed by four paragraphs of ASCII text describing QR Codes).

Error correction[edit]

Example of a QR code with artistic embellishment that will still scan correctly thanks to error correction

QR codes use Reed–Solomon error correction over the finite field {displaystyle mathbb {F} _{256}}, the elements of which are encoded as bytes of 8 bits; the byte {displaystyle b_{7}b_{6}b_{5}b_{4}b_{3}b_{2}b_{1}b_{0}} with a standard numerical value {displaystyle textstyle sum _{i=0}^{7}b_{i}2^{i}} encodes the field element {displaystyle textstyle sum _{i=0}^{7}b_{i}alpha ^{i}} where {displaystyle alpha in mathbb {F} _{256}} is taken to be a primitive element satisfying {displaystyle alpha ^{8}+alpha ^{4}+alpha ^{3}+alpha ^{2}+1=0}. The Reed–Solomon code uses one of 37 different polynomials over {displaystyle mathbb {F} _{256}}, with degrees ranging from 7 to 68, depending on how many error correction bytes the code adds. It is implied by the form of Reed–Solomon used (systematic BCH view) that these polynomials are all on the form {textstyle prod _{i=0}^{n-1}(x-alpha ^{i})}, however the rules for selecting the degree n are specific to the QR standard.

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 {displaystyle mathbb {F} _{256}}, which with respect to the Reed–Solomon code are symbols, whereas it uses the term block for what with respect to the Reed–Solomon code are the codewords. The number of data versus error correction bytes within each block depends on (i) the version (side length) of the QR symbol and (ii) the error correction level, of which there are four. The higher the error correction level, the less storage capacity. The following table lists the approximate error correction capability at each of the four levels:

Level L (Low) 7% of data bytes can be restored.
Level M (Medium) 15% of data bytes can be restored.
Level Q (Quartile)[77] 25% of data bytes can be restored.
Level H (High) 30% of data bytes can be restored.

In larger QR symbols, the message is broken up into several Reed–Solomon code blocks. The block size is chosen so that no attempt is made at correcting more than 15 errors per block; this limits the complexity of the decoding algorithm. The code blocks are then interleaved together, making it less likely that localized damage to a QR symbol will overwhelm the capacity of any single block.

Due to error correction, it is possible to create artistic QR codes with embellishments to make them more readable or attractive to the human eye, and to incorporate colors, logos, and other features into the QR code block; the embellishments are treated as errors, but the codes still scan correctly.[78][79]

It is also possible to design artistic QR codes without reducing the error correction capacity by manipulating the underlying mathematical constructs.[80][81] Image processing algorithms are also used to reduce errors in QR-code.[82]

Encoding[edit]

The format information records two things: the error correction level and the mask pattern used for the symbol. Masking is used to break up patterns in the data area that might confuse a scanner, such as large blank areas or misleading features that look like the locator marks. The mask patterns are defined on a grid that is repeated as necessary to cover the whole symbol. Modules corresponding to the dark areas of the mask are inverted. The format information is protected from errors with a BCH code, and two complete copies are included in each QR symbol.[4]

The message dataset is placed from right to left in a zigzag pattern, as shown below. In larger symbols, this is complicated by the presence of the alignment patterns and the use of multiple interleaved error-correction blocks.

  • Meaning of format information. In the above figure, the format information is protected by a (15,5) BCH code, which can correct up to 3 bit errors. The total length of the code is 15 bits, of which 5 are data bits (2 EC level + 3 mask pattern) and 10 are extra bits for error correction. The format mask for these 15 bits is: [101010000010010]. Note that we map the masked values directly to its meaning here, in contrast to image 4 "Levels & Masks" where the mask pattern numbers are the result of putting the 3rd to 5th mask bit, [101], over the 3rd to 5th format info bit of the QR code.

    Meaning of format information. In the above figure, the format information is protected by a (15,5) BCH code, which can correct up to 3 bit errors. The total length of the code is 15 bits, of which 5 are data bits (2 EC level + 3 mask pattern) and 10 are extra bits for error correction. The format mask for these 15 bits is: [101010000010010]. Note that we map the masked values directly to its meaning here, in contrast to image 4 «Levels & Masks» where the mask pattern numbers are the result of putting the 3rd to 5th mask bit, [101], over the 3rd to 5th format info bit of the QR code.

  • Message placement within a QR symbol. The message is encoded using a (255,249) Reed Solomon code (shortened to (24,18) code by using "padding") which can correct up to 3 byte errors.

    Message placement within a QR symbol. The message is encoded using a (255,249) Reed Solomon code (shortened to (24,18) code by using «padding») which can correct up to 3 byte errors.

  • Larger symbol illustrating interleaved blocks. The message has 26 data bytes and is encoded using two Reed-Solomon code blocks. Each block is a (255,233) Reed Solomon code (shortened to (35,13) code), which can correct up to 11 byte errors in a single burst, containing 13 data bytes and 22 "parity" bytes appended to the data bytes. The two 35-byte Reed-Solomon code blocks are interleaved so it can correct up to 22 byte errors in a single burst (resulting in a total of 70 code bytes). The symbol achieves level H error correction.

    Larger symbol illustrating interleaved blocks. The message has 26 data bytes and is encoded using two Reed-Solomon code blocks. Each block is a (255,233) Reed Solomon code (shortened to (35,13) code), which can correct up to 11 byte errors in a single burst, containing 13 data bytes and 22 «parity» bytes appended to the data bytes. The two 35-byte Reed-Solomon code blocks are interleaved so it can correct up to 22 byte errors in a single burst (resulting in a total of 70 code bytes). The symbol achieves level H error correction.

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).[83]

Mode indicator Description Typical structure ‘[ type : sizes in bits ]’
0001 Numeric [0001 : 4] [ Character Count Indicator : variable ] [ Data Bit Stream : 313 × charcount ]
0010 Alphanumeric [0010 : 4] [ Character Count Indicator : variable ] [ Data Bit Stream : 512 × charcount ]
0100 Byte encoding [0100 : 4] [ Character Count Indicator : variable ] [ Data Bit Stream : 8 × charcount ]
1000 Kanji encoding [1000 : 4] [ Character Count Indicator : variable ] [ Data Bit Stream : 13 × charcount ]
0011 Structured append [0011 : 4] [ Symbol Position : 4 ] [ Total Symbols: 4 ] [ Parity : 8 ]
0111 ECI [0111 : 4] [ ECI Assignment number : variable ]
0101 FNC1 in first position [0101 : 4] [ Numeric/Alphanumeric/Byte/Kanji payload : variable ]
1001 FNC1 in second position [1001 : 4] [ Application Indicator : 8 ] [ Numeric/Alphanumeric/Byte/Kanji payload : variable ]
0000 End of message [0000 : 4]

Note:

  • Character Count Indicator depends on how many modules are in a QR code (Symbol Version).
  • ECI Assignment number Size:
    • 8 × 1 bits if ECI Assignment Bitstream starts with ‘0’
    • 8 × 2 bits if ECI Assignment Bitstream starts with ’10’
    • 8 × 3 bits if ECI Assignment Bitstream starts with ‘110’

Four-bit indicators are used to select the encoding mode and convey other information.

Encoding modes

Indicator Meaning
0001 Numeric encoding (10 bits per 3 digits)
0010 Alphanumeric encoding (11 bits per 2 characters)
0100 Byte encoding (8 bits per character)
1000 Kanji encoding (13 bits per character)
0011 Structured append (used to split a message across multiple QR symbols)
0111 Extended Channel Interpretation (select alternate character set or encoding)
0101 FNC1 in first position (see Code 128 for more information)
1001 FNC1 in second position
0000 End of message (Terminator)

Encoding modes can be mixed as needed within a QR symbol. (e.g., a url with a long string of alphanumeric characters )

[ 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.

Number of bits in a length field (Character Count Indicator)

Encoding Ver. 1–9 10–26 27–40
Numeric 10 12 14
Alphanumeric 9 11 13
Byte 8 16 16
Kanji 8 10 12

Alphanumeric encoding mode stores a message more compactly than the byte mode can, but cannot store lower-case 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:

V = 45 × C1 + C2

This has the exception that the last character in an alphanumeric string with an odd length is read as a 6-bit value instead.

Alphanumeric character codes

Code Character Code Character Code Character Code Character Code Character
00 0 09 9 18 I 27 R 36 Space
01 1 10 A 19 J 28 S 37 $
02 2 11 B 20 K 29 T 38 %
03 3 12 C 21 L 30 U 39 *
04 4 13 D 22 M 31 V 40 +
05 5 14 E 23 N 32 W 41
06 6 15 F 24 O 33 X 42 .
07 7 16 G 25 P 34 Y 43 /
08 8 17 H 26 Q 35 Z 44 :

Decoding example[edit]

The following images offer more information about the QR code.

  • 1 – Introduction

    1 – Introduction

  • 2 – Structure

    2 – Structure

  • 3 – Layout & Encoding

    3 – Layout & Encoding

  • 4 – Levels & Masks

    4 – Levels & Masks

  • 5 – Protocols

    5 – Protocols

Variants[edit]

Model 1[edit]

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.

  • Model 1 QR code example

    Model 1 QR code example

  • Model 1 QR code functional regions

    Model 1 QR code functional regions

Micro QR code [edit]

Micro QR code is a smaller version of the QR code standard for applications where symbol size is limited. There are four different versions (sizes) of Micro QR codes: the smallest is 11×11 modules; the largest can hold 35 numeric characters.[84]

  • Micro QR code example

    Micro QR code example

  • Micro QR code functional regions

    Micro QR code functional regions

IQR code[edit]

IQR Code is an alternative to existing QR codes developed by Denso Wave. IQR codes can be created in square or rectangular formations; this is intended for situations where a rectangular barcode would otherwise be more appropriate, such as cylindrical objects. IQR codes can fit the same amount of information in 30% less space. There are 61 versions of square IQR codes, and 15 versions of rectangular codes. For squares, the minimum size is 9 × 9 modules; rectangles have a minimum of 19 × 5 modules. IQR codes add error correction level S, which allows for 50% error correction.[85] IQR Codes have not yet been given an ISO/IEC specification, and only proprietary Denso Wave products can create or read IQR codes.[86]

Secure QR code[edit]

Secure Quick Response (SQR) code is a QR code that contains a «private data» segment after the terminator instead of the specified filler bytes «ec 11».[87] This private data segment must be deciphered with an encryption key. This can be used to store private information and to manage company’s internal information.[88]

SQR codes have been developed by the FORUS Foundation to enable secure transactions, and published under a Creative Commons Licence.
The SQR solution guarantees the integrity of the source data as well as the validity of the originating party.
The payment instruction string is made up of the electronic instruction data from the scanned QR code appended with a SHA-2 cryptographic hash.
The message digest can then be encrypted using the private key of the sender, which then creates a digital signature of the message.
This signature validates the integrity of the data and the trustworthiness of the sender. This provides non-repudiation, confirming the identity of the sender, and that it has not been tampered with during transmission.
By embedding the URL and all the variables required to perform shopping cart type e-commerce, bill payment and peer to peer payments, coupled with a digital certificate eliminates the possibility of spoofing, tampering, and man in the middle attacks.
[89]

Frame QR[edit]

Frame QR is a QR code with a «canvas area» that can be flexibly used. In the center of this code is the canvas area, where graphics, letters, and more can be flexibly arranged, making it possible to lay out the code without losing the design of illustrations, photos, etc.[90]

HCC2D[edit]

Samples of the High Capacity Colored 2-Dimensional (HCC2D) code: (a) 4-color HCC2D code and (b) 8-color HCC2D code.

Researchers have proposed a new High Capacity Colored 2-Dimensional (HCC2D) Code, which builds upon a QR code basis for preserving the QR robustness to distortions and uses colors for increasing data density (as of 2014 it is still in prototyping phase). The HCC2D code specification is described in details in Querini et al. (2014),[91] while techniques for color classification of HCC2D code cells are described in detail in Querini and Italiano (2014),[92] which is an extended version of Querini and Italiano (2013).[93]

Introducing colors into QR codes requires addressing additional issues. In particular, during QR code reading only the brightness information is taken into account, while HCC2D codes have to cope with chromatic distortions during the decoding phase. In order to ensure adaptation to chromatic distortions which arise in each scanned code, HCC2D codes make use of an additional field: the Color Palette Pattern. This is because color cells of a Color Palette Pattern are supposed to be distorted in the same way as color cells of the Encoding Region. Replicated color palettes are used for training machine learning classifiers.

JAB code[edit]

Wikipedia greetings with link encoded using eight-colour JAB code

JAB code (Just Another Barcode) is a color 2D matrix symbology made of color squares arranged in either square or rectangle grids. It was developed by Fraunhofer Institute SIT (Secure Information Technology).[94]

The code contains one primary symbol and optionally multiple secondary symbols. The primary symbol contains four finder patterns located at the corners of the symbol.[95]

The code uses either 4 or 8 colours.[96] The 4 basic colours (cyan, magenta, yellow, black) are the 4 primary colours of the subtractive CMYK color model which is the most widely used system in industry for colour printing on a white base such as paper. The other 4 colours (blue, red, green, white) are secondary colours of the CMYK model and originate as an equal mixture of a pair of basic colours.

The barcode is not subject to licensing and was submitted to ISO/IEC standardization as ISO/IEC 23634 expected to be approved at the beginning of 2021[97] and finalized in 2022.[96] The software is open-source and published under the LGPL v2.1 license.[98] The specification is freely available.[95]

Because the colour adds a third dimension to the two-dimensional matrix, a JAB code can contain more information in the same area compared to two-colour (black and white) codes – theoretically twice as much data for a 4 colour code and three times more for 8 colours assuming the same encoding algorithm. This can allow storage of an entire message in the barcode, rather than just storing partial data with a reference to a full message somewhere else (such as a link to a website), thus eliminating the need for additional always-available infrastructure beyond the printed barcode itself. It may be used to digitally sign encrypted digital version of printed legal documents, contracts and certificates (diplomas, training), medical prescriptions or provide product authenticity assurance to increase protection against counterfeits.[96]

License[edit]

The use of QR code technology is freely licensed as long as users follow the standards for QR Code documented with JIS or ISO/IEC. Non-standardized codes may require special licensing.[99]

Denso Wave owns a number of patents on QR code technology, but has chosen to exercise them in a limited fashion.[99] In order to promote widespread usage of the technology Denso Wave chose to waive its rights to a key patent in its possession for standardized codes only.[14] In the US, the granted QR code patent is US 5726435, and in Japan JP 2938338, both of which have expired. The European Patent Office granted patent EP 0672994 to Denso Wave, which was then validated into French, UK, and German patents, all of which expired in March 2015.[100]

The text QR Code itself is a registered trademark and wordmark of Denso Wave Incorporated.[101] In UK, the trademark is registered as E921775, the term QR Code, with a filing date of 3 September 1998.[102] The UK version of the trademark is based on the Kabushiki Kaisha Denso (DENSO CORPORATION) trademark, filed as Trademark 000921775, the term QR Code, on 3 September 1998 and registered on 16 December 1999 with the European Union OHIM (Office for Harmonization in the Internal Market).[103]
The U.S. Trademark for the term QR Code is Trademark 2435991 and was filed on 29 September 1998 with an amended registration date of 13 March 2001, assigned to Denso Corporation.[104]

Risks[edit]

The only context in which common QR codes can carry executable data is the URL data type. These URLs may host JavaScript code, which can be used to exploit vulnerabilities in applications on the host system, such as the reader, the web browser or the image viewer, since a reader will typically send the data to the application associated with the data type used by the QR code.

In the case of no software exploits, malicious QR codes combined with a permissive reader can still put a computer’s contents and user’s privacy at risk. This practice is known as «attagging», a portmanteau of «attack tagging».[105] They are easily created and can be affixed over legitimate QR codes.[106] On a smartphone, the reader’s permissions may allow use of the camera, full Internet access, read/write contact data, GPS, read browser history, read/write local storage, and global system changes.[107][108][109]

Risks include linking to dangerous web sites with browser exploits, enabling the microphone/camera/GPS, and then streaming those feeds to a remote server, analysis of sensitive data (passwords, files, contacts, transactions),[110] and sending email/SMS/IM messages or packets for DDoS as part of a botnet, corrupting privacy settings, stealing identity,[111] and even containing malicious logic themselves such as JavaScript[112] or a virus.[113][114] These actions could occur in the background while the user is only seeing the reader opening a seemingly harmless web page.[115] In Russia, a malicious QR code caused phones that scanned it to send premium texts at a fee of $6 each.[105] QR codes have also been linked to scams in which stickers are placed on parking meters, posing as quick payment options, as seen in Austin, San Antonio and Boston, among other cities across the United States and Australia.[116][117][118]

See also[edit]

  • Aztec Code
  • Data Matrix
  • PDF417
  • QRpedia
  • SnapTag
  • SPARQCode
  • Touchatag

References[edit]

  1. ^ Hung, Shih-Hsuan; Yao, Chih-Yuan; Fang, Yu-Jen; Tan, Ping; Lee, RuenRone; Sheffer, Alla; Chu, Hung-Kuo (1 September 2020). «Micrography QR Codes». IEEE Transactions on Visualization and Computer Graphics. 26 (9): 2834–2847. doi:10.1109/TVCG.2019.2896895. ISSN 1077-2626. PMID 30716038. S2CID 73433883.
  2. ^ Chen, Rongjun; Yu, Yongxing; Xu, Xiansheng; Wang, Leijun; Zhao, Huimin; Tan, Hong-Zhou (11 December 2019). «Adaptive Binarization of QR Code Images for Fast Automatic Sorting in Warehouse Systems». Sensors. 19 (24): 5466. Bibcode:2019Senso..19.5466C. doi:10.3390/s19245466. PMC 6960674. PMID 31835866.
  3. ^ «QR Code features». Denso-Wave. Archived from the original on 29 January 2013. Retrieved 3 October 2011.
  4. ^ a b c «QR Code Essentials». Denso ADC. 2011. Archived from the original on 12 May 2013. Retrieved 12 March 2013.
  5. ^ «QRコード開発|テクノロジー|デンソーウェーブ» [QR code development]. Denso Wave (in Japanese). Retrieved 26 October 2021.
  6. ^ «2D Barcodes». NHK World-Japan. 26 March 2020.
  7. ^ «From Japanese auto parts to ubiquity: A look at the history of QR codes». Mainichi Daily News. 9 November 2021. Retrieved 11 November 2021.
  8. ^ «The Little-Known Story of the Birth of the QR Code». 10 February 2020. Archived from the original on 4 March 2020.
  9. ^ a b Borko Furht (2011). Handbook of Augmented Reality. Springer. p. 341. ISBN 9781461400646. Archived from the original on 21 December 2016.
  10. ^ Joe Waters. «How to Use the Top QR Code Generators». Dummies.com. Archived from the original on 11 September 2017. Retrieved 5 June 2017.
  11. ^ a b «QR Code—About 2D Code». Denso-Wave. Archived from the original on 5 June 2016. Retrieved 27 May 2016.
  12. ^ «14m Americans scanned QR and bar codes with their mobiles in June 2011». 16 August 2011. Archived from the original on 5 April 2016. Retrieved 27 May 2016.
  13. ^ «U.S. and UK increase of QR code use 2020». 6 July 2021. Retrieved 13 August 2021.
  14. ^ a b «QR Code Standardization». QR Code.com. Denso-Wave. Archived from the original on 10 May 2016. Retrieved 23 May 2016.
  15. ^ «ISS QR Code|AIM Store: Historical Archive». Aimglobal.org. Archived from the original on 8 August 2016. Retrieved 26 May 2016.
  16. ^ «ISO/IEC 18004:2006 — Information technology  – Automatic identification and data capture techniques  – QR Code 2005 bar code symbology specification». www.iso.org. Archived from the original on 8 March 2017. Retrieved 7 March 2017.
  17. ^ «ISO/IEC 23941:2022 Information technology — Automatic identification and data capture techniques — Rectangular Micro QR Code (rMQR) bar code symbology specification». ISO. Retrieved 3 January 2023.
  18. ^ «Synchronization with Native Applications». NTT DoCoMo. Archived from the original on 6 August 2016. Retrieved 26 May 2016.
  19. ^ Sean Owen (17 January 2014). «Barcode contents». GitHub. Archived from the original on 15 February 2016. Retrieved 26 May 2016.
  20. ^ Rimma Kats (23 January 2012). «Starbucks promotes coffee blend via QR codes». Archived from the original on 3 June 2016. Retrieved 26 May 2016.
  21. ^ Jenny Lee (4 January 2012). «Tesco’s cool QR code advertising campaign». Archived from the original on 3 June 2016. Retrieved 26 May 2016.
  22. ^ «Getting Started with Infographics (deprecated)». google-developers.appspot.com. 26 May 2015. Archived from the original on 29 June 2016. Retrieved 27 May 2016.
  23. ^ «QR Code Readers for iPhone, Android, Blackberry and Windows Phone 7». 7 December 2010. Archived from the original on 25 August 2011.
  24. ^ «QR codes on China’s train tickets may leak personal information». Want China Times. Archived from the original on 12 December 2013. Retrieved 16 March 2013.
  25. ^ Novak, Asami (23 March 2008). «Japanese Gravestones Memorialize the Dead With QR Codes». Wired. Archived from the original on 15 February 2013. Retrieved 8 May 2013.
  26. ^ Skepticality (5 July 2011). «Paranormality». Skepticality.com. Archived from the original on 3 July 2015. Retrieved 27 June 2015.
  27. ^ «Herdenkingsmunt met QR code volop in het nieuws!» [Commemorative QR code in the news!]. Koninklijke Nederlandse Munt (in Dutch). 21 June 2011. Archived from the original on 29 June 2016. Retrieved 27 May 2016.
  28. ^ «New ₦100 Commemorative Centenary Celebration». Archived from the original on 8 September 2015. Retrieved 10 September 2015.
  29. ^ www.ETRetail.com. «With IndiaQR launch, retail payments to get digital edge — ET Retail». ETRetail.com. Archived from the original on 15 February 2017. Retrieved 15 February 2017.
  30. ^ «IndiaQR to debut on Feb 20». The Times of India. Archived from the original on 16 February 2017. Retrieved 15 February 2017.
  31. ^ Hein, Buster (21 September 2017). «How to scan QR codes with iOS 11’s Camera app». Cult of Mac. Archived from the original on 5 January 2019. Retrieved 28 May 2019.
  32. ^ Lacoma, Tyler (3 October 2018). «How to Scan a QR Code». Digital Trends. Archived from the original on 22 April 2019. Retrieved 28 May 2019.
  33. ^ «Tesco QR Code Virtual Store». 14 April 2012. Archived from the original on 25 May 2016. Retrieved 26 May 2016.
  34. ^ Sebastián Campanario (16 September 2011). «Marketing futurista: ya se puede comprar con la cámara del celular» [Futuristic marketing: it’s already possible to purchase with a cellphone’s camera] (in Spanish). Archived from the original on 23 September 2011.
  35. ^ «Marketers scatter phone-friendly codes across ads». 11 November 2010. Retrieved 26 May 2016.
  36. ^ «Top 10 QR Code Store examples». 14 April 2012. Archived from the original on 6 June 2016. Retrieved 26 May 2016.
  37. ^ «SCVNGR Unveils QR Code Payment System». Mashable. 12 October 2011. Archived from the original on 8 December 2012.
  38. ^ «MasterCard starts piloting QkR mobile payment app». 26 January 2012. Archived from the original on 8 January 2014.
  39. ^ Jacobs, Harrison. «One photo shows that China is already in a cashless future». Business Insider. Retrieved 14 October 2019.
  40. ^ Mozur, Paul (16 July 2017). «In Urban China, Cash Is Rapidly Becoming Obsolete». The New York Times. ISSN 0362-4331. Retrieved 14 October 2019.
  41. ^ «Paying With Your Mobile Wallet To Get Simpler With Interoperable QR Codes». Moneycontrol. Retrieved 22 December 2020.
  42. ^ «A Hangzhou Story: The Development of China’s Mobile Payment Revolution» (PDF).
  43. ^ «Payment methods in China: How China became a mobile-first nation». daxueconsulting.com. Retrieved 23 June 2020.
  44. ^ «Standard — Formát pro sdílení platebních údajů v rámci tuzemského platebního styku v CZK prostřednictvím QR kódů» [Standard No. 26: Format for exchanging payment information for domestic payments in CZK using QR codes] (in Czech). Czech Banking Association. November 2012. Archived from the original on 3 June 2016. Retrieved 27 May 2016.
  45. ^ «Formát pro sdílení platebních údajů v CZK — QR kódy» [Format for exchanging payment information in CZK — QR codes] (in Czech). the Czech Banking Association. August 2015. Retrieved 2020-02-17.
  46. ^ IMDA (9 November 2022). «Annex A – Fact sheet on Singapore Quick Response Code (SGQR)» (PDF).
  47. ^
  48. ^ Monetary Authority of Singapore (9 November 2022). «Singapore Quick Response Code (SGQR)».
  49. ^ «Google testing login authentication via QR codes». ZDNet. Archived from the original on 15 June 2013.
  50. ^ «Mobile ticket generation|applications|QR Code Solutions|system solutions|DENSO WAVE». www.denso-wave.com.
  51. ^ «【公式】チケットの使い方 東京ディズニーリゾート» (in Japanese).
  52. ^ «ダイレクトイン(QRコード)の使い方|USJ WEBチケットストア». USJ (in Japanese).
  53. ^ «QRチケットレス入場について». サンフレッチェ広島 オフィシャルサイト (in Japanese).
  54. ^ «スマートスタジアム». 東北楽天ゴールデンイーグルス (in Japanese).
  55. ^ Management 2020 (https://modernrestaurantmanagement.com), Modern Restaurant (22 October 2020). «Restaurant QR Codes: 2020’s Comeback Story | Restaurant QR Codes: 2020’s Comeback Story | Modern Restaurant Management | The Business of Eating & Restaurant Management News». Modern Restaurant Management. Retrieved 1 November 2020.
  56. ^ a b Kastrenakes, Jacob (29 September 2020). «Square launches QR codes that let you order from your table at a restaurant». Verge.com. VOX Media LLC. Retrieved 24 November 2020.
  57. ^ Glass, Noah (7 October 2020). «How To Prepare For Table Service 2.0». Forbes. Retrieved 24 November 2020.
  58. ^ «Share your Wi-Fi SSID & Password using a QR Code». 19 July 2015.
  59. ^ «zxing documentation: barcode contents». GitHub. zxing.
  60. ^ «モノウォッチは生まれ変わります». Archived from the original on 13 November 2015. Retrieved 10 September 2015.
  61. ^ Michael Keferl (20 March 2008). «QR code graves give a «Memorial Window»«. Japan Trends. Archived from the original on 2 May 2012.
  62. ^ «供養の窓 — 石の声 株式会社» (in Japanese). Archived from the original on 13 November 2015. Retrieved 10 September 2015.
  63. ^ «Quiring Monuments adds smartphone codes to gravestones». Puget Sound Business Journal. 26 April 2011. Archived from the original on 23 June 2015. Retrieved 10 September 2015.
  64. ^ «Uruguayan Jewish Cemetery QR-ified» (in Spanish). EL PAIS. 24 March 2014. Archived from the original on 3 August 2016.
  65. ^ «Exclusive — CHINA: Pernod Ricard to use QR codes on all China packaging». www.just-drinks.com. 17 September 2013. Retrieved 24 April 2020.
  66. ^ «Digital tax stamps will curb fake goods — URA». Daily Monitor. Retrieved 24 April 2020.
  67. ^ «The power of smart packaging». www.bakingbusiness.com. Retrieved 3 May 2020.
  68. ^ Baldini, Gianmarco; Nai Fovino, Igor; Satta, Riccardo; Tsois, Aris; Checchi, Enrico (2015). Survey of techniques for the fight against counterfeit goods and Intellectual Property Rights (IPR) infringement. Luxembourg: European Commission. Joint Research Centre, Publications Office. ISBN 978-92-79-54543-6. OCLC 948769705.
  69. ^ Carron, Cecilia (6 May 2015). «Combatting counterfeiting using QR codes». phys.org. Retrieved 16 June 2020.
  70. ^ Li, Tongzhe; Messer, Kent D.; Li, Tongzhe; Messer, Kent D. (2019). Li, Tongzhe; Messer, Kent D. (eds.). «To Scan or Not to Scan: The Question of Consumer Behavior and QR Codes on Food Packages». Journal of Agricultural and Resource Economics. doi:10.22004/ag.econ.287977. ISSN 1068-5502.
  71. ^ Kim, Yeong Gug; Woo, Eunju (1 July 2016). «Consumer acceptance of a quick response (QR) code for the food traceability system: Application of an extended technology acceptance model (TAM)». Food Research International. 85: 266–272. doi:10.1016/j.foodres.2016.05.002. ISSN 0963-9969. PMID 29544844.
  72. ^ «Behind Every Smart Product is Smart Packaging | Future Food Asia». futurefoodasia.com. Retrieved 24 June 2020.
  73. ^ Leger, Benjamin (27 October 2020). «QR codes are replacing physical menus at restaurants». [225]. Retrieved 1 November 2020.
  74. ^ Purtill, James (19 November 2020). «The proliferation of QR code check-ins is a ‘dog’s breakfast’. Is there a better way?». www.abc.net.au. Australian Broadcasting Corporation. Retrieved 15 January 2021.
  75. ^ Hristova, Bobby (28 December 2021). «Ontarians need QR code to prove vaccination next week. Here’s what you need to know». Retrieved 30 December 2021.
  76. ^ «Information capacity and versions of QR Code». Denso-Wave. Archived from the original on 29 May 2016.
  77. ^ «2D Barcode: QR-Code». Archived from the original on 15 September 2012. — TEC-IT
  78. ^ Hajra Shannon (18 October 2010). «Form Meets Function: Functionality and Form of QR Codes». Retrieved 29 July 2010.
  79. ^ Hamilton Chan (18 April 2011). «HOW TO: Make Your QR Codes More Beautiful». Mashable. Archived from the original on 10 July 2012. Retrieved 29 July 2011.
  80. ^ Russ Cox (12 April 2012). «QArt Codes: How to make pictures with QR codes, part II». Archived from the original on 21 March 2015. Retrieved 8 May 2015.
  81. ^ Russ Cox (12 April 2012). «QArt Coder». Archived from the original on 24 April 2015. Retrieved 8 May 2015.
  82. ^ Gupta, Kishor Datta; Ahsan, Md Manjurul; Andrei, Stefan (January 2018). «Extending the Storage Capacity And Noise Reduction of a Faster QR-Code». Brain Broad Research in Artificial Intelligence and Neuroscience. 9 (1): 59–71.
  83. ^ ISO/IEC 18004:2006(E) § 6.4 Data encoding; Table 3 – Number of bits in character count indicator for QR Code 2005
  84. ^ Information technology – Automatic identification and data capture techniques – QR Code 2005 bar code symbology specification, ISO/IEC 18004:2006 cor. 2009, pages 3, 6.
  85. ^ «QR Code Overview & Progress of QR Code Applications» (PDF). Archived (PDF) from the original on 20 May 2013. Retrieved 26 June 2014.
  86. ^ «iQR Code — QRcode.com — DENSO WAVE». Archived from the original on 7 September 2015. Retrieved 10 September 2015.
  87. ^ «Embedding Secret Data in QR Code». Retrieved 29 October 2018.
  88. ^ «SQRC». qrcode.com. Retrieved 26 December 2017.
  89. ^ «FORUS». www.forus.co.za. Retrieved 27 December 2020.
  90. ^ «Frame QR». qrcode.com. Retrieved 26 December 2017.
  91. ^ «2D Color Barcodes for Mobile Phones» (PDF). Archived from the original (PDF) on 4 March 2016.
  92. ^ «Reliability and data density in high capacity color barcodes» (PDF). Archived from the original (PDF) on 24 July 2015.
  93. ^ «Color classifiers for 2D color barcodes» (PDF). Fedcsis.org. 2013. Archived (PDF) from the original on 24 July 2015.
  94. ^ «JAB code website». jabcode.org. 2019.
  95. ^ a b «JAB code technical specification» (PDF). www.bsi.bund.de. 2019.
  96. ^ a b c Küch, Oliver (26 June 2020). «Color barcode becomes ISO standard» (Press release). Darmstadt: Fraunhofer Institute for Secure Information Technology. Retrieved 17 February 2021.
  97. ^ «ISO/IEC DIS 23634 Information technology — Automatic identification and data capture techniques — JAB Code polychrome bar code symbology specification». ISO/IEC. Retrieved 17 February 2021.
  98. ^ «jabcode». GitHub. 2019.
  99. ^ a b «About the patent». Denso-Wave. Archived from the original on 25 June 2016. Retrieved 26 June 2016.
  100. ^ «DPA».«INPI». Archived from the original on 13 August 2016.«UK IPO». 9 March 2013.
  101. ^ «QR Code.com». Denso-Wave. 6 November 2003. Archived from the original on 15 September 2012. Retrieved 23 April 2009.
  102. ^ «UK QR Code Trademark». Archived from the original on 15 September 2012.
  103. ^ «EU QR Code Trademark». Archived from the original on 15 September 2012.
  104. ^ «US QR Code Trademark». Archived from the original on 15 September 2012.
  105. ^ a b «Jargon Watch», Wired, vol. 20, no. 1, p. 22, January 2012.
  106. ^ «Malicious Images: What’s a QR Code». SANS Technology Institute. 3 August 2011. Archived from the original on 13 July 2012. Retrieved 31 August 2011.
  107. ^ «Barcode Scanner». 1 June 2011. Archived from the original on 15 September 2012. Retrieved 31 August 2011.
  108. ^ «QR Droid». 19 August 2011. Archived from the original on 15 September 2012. Retrieved 31 August 2011.
  109. ^ «ScanLife Barcode Reader». 24 May 2011. Archived from the original on 15 September 2012. Retrieved 31 August 2011.
  110. ^ «Consumer Alert: QR Code Safety». Better Business Bureau. 23 June 2011. Archived from the original on 15 July 2012. Retrieved 31 August 2011.
  111. ^ «AVG Cautions: Beware of Malicious QR Codes». PC World. 28 June 2011. Archived from the original on 7 September 2012. Retrieved 31 August 2011.
  112. ^ «EvilQR – When QRCode goes bad». AppSec-Labs Blog. 14 August 2011. Archived from the original on 15 September 2012. Retrieved 31 August 2011.
  113. ^ «QR Codes: A Recipe for a Mobile Malware Tsunami». Cyveillance, Inc. 20 October 2010. Archived from the original on 28 July 2012. Retrieved 31 August 2011.
  114. ^ QR Codes hold up to 2.9 KB whereas the smallest known computer virus is about one-tenth that size «The Smallest Virus I Could Manage». Virus Labs and Distribution. 1995. Archived from the original on 15 September 2012. Retrieved 31 August 2011.
  115. ^ «Beware of Malicious QR Codes». ABC. 8 June 2011. Archived from the original on 1 August 2012. Retrieved 31 August 2011.
  116. ^ Binder, Matt. «Beware the QR code scams». Mashable. Retrieved 18 January 2022.
  117. ^ Vincent, James (12 January 2022). «The latest phishing scam to watch out for: fraudulent QR codes on parking meters». The Verge. Retrieved 18 January 2022.
  118. ^ Wodinsky, Shoshana (12 January 2022). «Scammers Are Using QR Codes to Plunder Parking Meter Payments». Gizmodo.

Bibliography[edit]

  • BS ISO/IEC 18004:2006. Information technology. Automatic identification and data capture techniques. Bar code symbology. QR Code. Geneva: ISO/IEC. 2000. p. 114. OCLC 60816353.
  • BS ISO/IEC 18004:2006. Information technology. Automatic identification and data capture techniques. QR Code 2005 bar code symbology specification. London: BSI. 2007. p. 126. ISBN 978-0-580-67368-9. Archived from the original on 22 March 2015. Retrieved 26 July 2010.

External links[edit]

  • Reed Solomon Codes for Coders – an elaborate tutorial on Wikiversity, covering both QR code structure and the Reed Solomon codes used to encode the data.

Привет Хабр! В блоге на нашем сайте мы регулярно публикуем статьи про данные и всё, что с ними связано. Некоторые материалы оттуда публикуем и здесь.

В 2020 году многие россияне впервые столкнулись с QR-кодами — сначала они были нужны для регистрации выхода из дома, затем для входа в бар или клуб. Технология проста в использовании, но интересна изнутри, а придумали её совсем не для контроля и изоляции. «Код быстрого реагирования» появился как альтернатива штрихкоду, он может передавать до 4296 букв и цифр и при желании принимает форму можжевеловой изгороди. Представляем исчерпывающий гид по QR-кодам.


Как придумали?


Идея передавать информацию с помощью графических элементов, которые будут распознаваться автоматически, появилась еще в середине XX века. Филадельфийским торговцам продуктами очень не хватало удобной системы контроля и учета товаров, и они обратились в Дрексельский университет с просьбой разработать ее.

Cоздателя первого штрихового кода Нормана Вудланда вдохновила азбука Морзе: он объяснял, что просто расширил точки и тире, превратив их в широкие и узкие штрихи. Для их считывания предполагалось использовать технологию оптической звукозаписи. Из-за технических трудностей реализация замысла заняла двадцать лет: первый товар со штрихкодом (пачка жевательной резинки Wrigley) был продан в 1974.

Штрихкоды быстро нашли применение в промышленности: ими удобно было маркировать детали и комплектующие. Но не для всех компаний этого было достаточно. В японской Denso Wave, производящей запчасти для автомобилей, работники просили руководство разработать более эффективную систему, и в 1994 она появилась — в виде матричного (двумерного) кода. Его назвали Quick Response Code — код быстрого реагирования или QR-код.

Преимущества QR-кода:

  • Позволяет кодировать больше информации, чем линейные штрихкоды;
  • Легко распознается сканирующим оборудованием;
  • Может быть прочитан, даже если поврежден.

Хотя компания Denso зарегистрировала термин «QR-код» как товарный знак, исходный код самой системы открыт, а за использование кодов не нужно платить лицензионные отчисления. Все это позволило QR-кодам захватить мир.

Где используется?


Для использования QR-кода не нужно ничего, кроме смартфона с камерой и приложения (оно обычно установлено по умолчанию), поэтому черно-белые квадратики заметно облегчают жизнь там, где нужно перевести действие из офлайна в онлайн: например, быстро привести человека, увидевшего интересную вещь в реальном магазине, на сайт. Или дать ссылку на скачивание подробной инструкции прямо на коробке с товаром. А может, показать свой интернет-проект человеку, в руках у которого оказалась ваша визитка. А еще QR-коды позволяют подтвердить оригинальность электронных билетов, право на скидку или кэшбек в магазине. Музеи шифруют в QR-коды информацию, организаторы викторин и квестов прячут в них подсказки. Всё чаще QR-коды используются для онлайн-оплаты — но пока это не совсем привычно для большинства покупателей.

Сейчас о QR-кодах знают даже те, кто никогда активно не использовал онлайн-сервисы: весной в Москве они нужны были для того, чтобы выйти из дома и не заработать штраф, а сейчас, согласно указу мэра Москвы, — для регистрации посетителей ночных клубов. Каждый должен отсканировать такой код (или отправить смс, но это дольше и не так удобно), оставив таким образом свой номер телефона. Если выяснится, что кто-то из посетителей являлся носителем коронавируса, все остальные посетители постфактум получат предупреждение о возможном контакте.

Почему так выглядит и как шифрует?


У всех QR-кодов есть кое-что общее: белая рамка, три одинаковых черных квадрата по углам (каждый в двойной рамке), еще один черный квадрат (поменьше, но тоже в рамке), полосочки из черно-белых модулей. Это техническая часть кода, которая позволяет камере точно определить его расположение и оценить размер модулей. Также код содержит информацию, необходимую для его правильного распознавания: о маске, уровне коррекции и версии. Все оставшиеся поля можно использовать для передачи информации.

Каждый QR-код может содержать:

  • 7089 цифр;
  • 4296 букв и цифр латиницей;
  • 1817 иероглифов;
  • 2953 байт двоичного кода (то есть около 2953 букв кириллицей в кодировке windows-1251 или 1450 в utf-8).

Если у вас меньше информации — не беда, в коде просто останутся пустые модули. Вот, например, закодированная фраза из 178 знаков:

Если вы наведете на код камеру, то, скорее всего, ваш браузер откроет страницу поиска. В поисковой строке вы найдете наше послание.

Большинство популярных приложений для QR-кодов позволяет распознавать буквы, цифры и спецсимволы. Чисто технически с помощью QR-кодов можно передавать изображения и звуки, но такие форматы используются редко: и данные придется сильно сжимать, и приложения, способные их распознать, не получили большого распространения. Дать с помощью QR-кода ссылку на картинку или песню гораздо проще.

Составление QR-кода проходит в несколько этапов:

  1. Информация кодируется одним из способов (цифровым, буквенно-цифровым, байтовым или кандзи), превращаясь в поток битов — последовательность нулей и единиц;
  2. Формируется служебная информация, определяющая версию кода и кодировки;
  3. Полученные потоки разбивается на блоки;
  4. К каждому блоку добавляются байты коррекции в зависимости от выбранной версии кода;
  5. Два блока (исходных данных и коррекции) объединяются в один поток, чтобы получилась последовательность данных.
  6. Данные заносятся в поле кода. Для этого пространство, оставшееся после введения обязательных элементов, делится на столбики шириной в два модуля. Они заполняются «змейкой», ноль — белый модуль, единица — черный.

Все это не делается вручную: есть программы и сервисы для кодирования информации. Компания Denso Wave, где были созданы QR-коды, предлагает использовать QRdraw Ad и QR Maker Ad. Для тех, кто не хочет заниматься кодированием «с нуля» есть бесплатные и платные сервисы, в том числе с шаблонами, например: QR coder, QR Code generator, Генератор QR онлайн — да тысячи, тысячи их.

Как распознается?


Для пользователя все просто: навел камеру смартфона, получил уведомление о том, что код распознан, нажал на него — а дальше по ситуации: читаешь текст, переходишь по ссылке, добавляешь новый контакт в адресную книгу, регистрируешься в системе.

Для приложения в большинстве случаев тоже больших сложностей нет: черные и белые поля легко распознаются, квадраты в углах подсказывают, что именно нужно читать и где расположена системная информация. Затем в основной части кода белые поля превращаются в нули, черные — в единицы. Получается поток данных, из которых потом восстанавливается исходная информация.

В чём проблема?


Не всегда QR-код удается правильно распознать. Denso Wave предупреждает, что QR-код может не читаться, если был уменьшен или увеличен, если белое поле по краям заполнено буквами или изображениями, если для создания кода использованы недостаточно контрастные цвета или код нанесен на рисунок-подложку, если код нанесен на полупрозрачную или прозрачную поверхность (например, клейкую ленту). Несмотря на то, что экспериментировать с внешним видом кода можно, самым надежным остается обыкновенный черно-белый вариант.

QR-код как искусство

Хотя Denso Wave и предупреждает о том, что цветные двумерные коды, коды с картинками и прочие творческие находки не соответствуют стандартам, это не мешает ими пользоваться — или, по крайней мере, «рисовать их». Тут фантазии есть, где развернуться: от цветной ёлочки Лебедева и генераторов, которые позволяют вставить в QR-код текст или картинку, сохранив читаемость, до кодов, выложенных цветами в британских магазинах Marks&Spencer или высаженных можжевельником в Китае.

Альтернативы


При всех своих достоинствах, QR-код — не единственный. Та же Denso Wave разработала Micro QR для передачи меньшего объема информации (вот тут сравнение), SQRC (код, часть информации которого доступна всем, а часть — только пользователям, у которых есть специальный ключ для расшифровки), IQR Code (может иметь разный размер и форму), Frame QR (внутрь можно вставлять изображения). Сравните их все.

Используются и коды, которые не имеют отношения к Denso Wave. Это, например, Aztec Code (его легко узнать по квадрату в центре) на авиа- и железнодорожных билетах, MaxiCode в грузоперевозках, DataMatrix в промышленности, прямоугольный PDF417 для документов.

Российская национальная система маркировки «Честный знак» использует DataMatrix. Индивидуальный код позволяет отслеживать перемещение всех товаров от поставщика к покупателю и исключает возможность появления подделок в торговых сетях. Кроме того, специальное мобильное приложение позволяет любому покупателю убедиться в подлинности товара.

QR-коды сейчас где только не встретишь: на городских достопримечательностях, футболках, в извещениях об уплате налогов. И даже на надгробиях — на случай, если кому-то захочется узнать больше об умершем человеке. Самой же технологии, несмотря на приличный по меркам IT возраст, на кладбище истории пока рано: она явно в самом расцвете сил.

Линейные штрихкоды, кстати, тоже еще вполне живы. Они используются там, где не нужно передавать большой объем информации или переводить пользователя в онлайн. В торговых сетях, библиотеках и на складах вполне достаточно кодирования 20-30 символов. Часто преимуществом линейного штрихкода становится компактность: его можно нанести и на пачку жевательной резинки, и на плату компьютера. Но дело еще и в том, что GS1, международная организация, которая занимается созданием и внедрением стандартов для бизнеса, выделяет именно линейные коды EAN для основной информации, а QR-коды — для дополнительной. Поэтому наличие зарегистрированного штрихокда EAN необходимо для работы со всеми крупными торговыми сетями.

На тот случай если вы задумали сменить сферу или повысить свою квалификацию — у нас идёт новогодняя акция со скидками до 60%.

Узнайте больше здесь.

  • Профессия Этичный хакер
  • Обучение профессии Data Science
  • Обучение профессии Data Analyst
  • Онлайн-буткемп по Data Analytics
  • Курс «Python для веб-разработки»

Рекомендуемые статьи

  • Как стать Data Scientist без онлайн-курсов
  • 450 бесплатных курсов от Лиги Плюща
  • Как изучать Machine Learning 5 дней в неделю 9 месяцев подряд
  • Сколько зарабатывает аналитик данных: обзор зарплат и вакансий в России и за рубежом в 2020
  • Machine Learning и Computer Vision в добывающей промышленности

В 2020 году многие впервые столкнулись в QR-кодами: регистрация для выхода из дома, сдача теста на COVID-19, получение пропуска на работу или разрешения для поездки в другой город. Но не все понимают, как работает матричный штрих-код и где его можно использовать. В этой статье мы выясним, что такое QR-код, для чего он нужен, как устроен и с помощью каких программ его можно использовать и создавать.

Содержание:

  • Что такое QR-код

  • Различия между QR-кодом и штрих-кодом

  • Для чего нужен QR-код

  • Как устроены QR-коды

  • Виды QR-кодов

  • Как пользоваться QR-кодом

  • Как использовать QR-код в рекламе и маркетинге

  • Как создать QR-код

  • QR Code Generator

  • QR Code Monkey

  • QR Coder

  • QR Stuff

  • ONLINE QR Code Generator

  • Генератор QR кода

  • Заключение

Что такое QR-код

QR-код или Quick Response Code — код быстрого ответа. Это двумерный или матричным штрихкод — оптическая метка, содержащая в себе информацию об объекте, к которому она привязана.

Согласно статистике, 97% опрошенных встречали QR-коды в повседневной жизни: на чеках, квитанциях, билетах, в магазинах, наружной рекламе, в музеях, в общественном транспорте и на визитках. А 62% — использовали их для оплаты, перехода на сайт, предъявления билета, считывания контактных данных и внесения пожертвований.

Важно! В QR-код обычно закладывают до 2-3 килобайт информации. Максимальное значение — до 15 килобайт. Самый маленький QR-код имеет размер 21 х 21 пиксель, самый большой — 177 х 177 пикселей.

На сегодняшний день это один из надежных способов хранения информации, так как ее можно корректно считать, даже если какая-то деталь на изображении стерлась.

Код быстрого реагирования состоит из белой рамки, четырех квадратов по углам, а также из горизонтальных и вертикальных компонентов.

Пример QR-кода, который ведет на сайт

Пример QR-кода, который ведет на сайт

Различия между QR-кодом и штрих-кодом

Давайте рассмотрим ключевые различия двух видов кода.

Характеристики QR-код Штрих-код
Тип матрицы Двумерный Линейный
Размер До 7000 символов До 70 символов
Вид изображения Точки в квадратной сетке Параллельные линии
Цель Хранение и передача текста, URL, музыки, контактных данных, информации о продукте Хранение и передача данных о товаре: цена, артикул, производитель
Где используется В бизнесе и переговорах — как визитка. А также для передачи любой информации, которая находится в сети Магазины, кинотеатры, больницы, почтовые отделения, службы логистики

Различие в изображении кода:

Визуальное различие двух видов кода

Визуальное различие двух видов кода

Для чего нужен QR-код

Матричный код можно использовать для отправки:

  • Ссылок на сайт, приложение, изображение, музыкальную композицию, видео, документ или соцсеть.Пример на сайте «Тинькофф» — QR-код ведет в приложение:
    Пример двумерного кода на сайте
    Пример двумерного кода на сайте
  • Текста — статья, пост, интервью, описание продукта, резюме.
  • Электронного письма с шаблоном письма и адрес, на который нужно отправить email.
  • Контактных данных — номер телефона, ФИО, email и так далее. Например, их можно сразу занести в адресную книгу или перенаправить на передачу данных по указанным контактам.
  • SMS — шаблон с номером телефона.
  • Геопозиции — откроется приложение с картами, где будет обозначено место, координаты или адрес.
  • Для доступа к точке Wi-Fi.
  • События, которое сохраняется в календаре — запись на вебинар или создание напоминания о предстоящем мероприятии.
  • Акций и персональных предложений.
    Пример, как привлечь пользователей получить привилегии и уникальные предложения
    Пример, как привлечь пользователей получить привилегии и уникальные предложения
  • Рекомендаций и инструкций по применению.
  • Приглашения в чат.
  • Покупки товаров.
  • Данных о билетах.
    Пример кода, в котором содержится информация о покупке билета — сеанс, место, ряд
    Пример кода, в котором содержится информация о покупке билета — сеанс, место, ряд
  • Оплаты счетов.
  • Снятия денежных средств в банкоматах.
  • Создания уникального стиля для компаний, сувенирной продукции, промоакций для мероприятий. Например, при наведении включается ролик или картинка становится объемной — добавляя AR-эффект (технология дополненной реальности).
  • Информации о социальных проблемах.К примеру, художница в сотрудничестве с организацией, защищающей права женщин, добавили QR-код в свою работу. Ссылка открывала сайт, на котором было описание идеи и варианты помощи женщинам, подвергшимся домашнему насилию.
    Пример использования QR-кода в искусстве
    Пример использования QR-кода в искусстве. Источник

Как устроены QR-коды

QR-код содержит в себе четыре кодировки:

  • Цифровая — десятичные числа от 0 до 9. Максимальное количество символов — 7089.
  • Алфавитно-цифровая — числа от 0 до 9, заглавные латинские буквы от A до Z и символы: $, %, *, +, -, ., /, : и пробел. Максимальное количество символов — 4296.
  • Кандзи — 1817 иероглифов.
  • Двоичная система — до 2953 байтов двоичного кода.

Таким образом, вы можете передавать любой набор данных, чтобы получатель смог быстро получить и изучить информацию.

Существует две модификации основных видов кодировки:

  • Режим структурированного дополнения. Преобразует набор данных в несколько QR-кодов, позволяя считывать до 16 матричных кодов одновременно.
  • Режим FNC1. Позволяет QR-коду выполнять функции штрих-кода.

Расположение черно-белых компонентов в QR-коде имеет четкую структуру. Давайте разберемся, в чем она заключается:

  • Поисковые узоры отмечены красным цветом на скриншоте ниже. Служат для определения расположения кода.
  • Линии синхронизации — отметки синего цвета. Содержат информацию о размере матрицы.
  • Коды маски и уровня коррекции — желтый цвет. Здесь расположены данные о формате кодировки, а также контроль ошибок при расшифровке кода.
  • Код версии — зеленый оттенок. Это информация о версии QR-кода — сейчас их около 40.
  • Выравнивающий маркер — фиолетовый цвет. Показывает ориентир для сканирующих устройств — в каком направлении находятся элементы кода.
  • Отступ — белая рамка вокруг кода. В данном случае выделена голубым цветом. Без нее сканер не поймет, что именно ему нужно считывать.
  • Ячейки данных — остальная часть представляет собой основную информацию — ссылка, текст, номер телефона.

Структура компонентов в QR-коде

Структура компонентов в QR-коде

Виды QR-кодов

Существует два вида матричного кода:

  • Статический — в код нельзя внести изменения. Например, для визиток или геолокации.
  • Динамический — позволяет вносить изменения: менять или дополнять информацию в коде. Например, платежные данные, оформление заказов, описание товаров.

Вы также можете встретить цветной вариант оформления QR-кода или даже брендированный. Он используется, например, на упаковках или в буклетах, чтобы поддержать единую айдентику.

Пример брендированного QR-кода

Пример брендированного QR-кода

Как пользоваться QR-кодом

Сейчас современные смартфоны способны сканировать QR-коды через стандартный инструмент «Камера».

  1. Включите камеру.
  2. Наведите ее на QR-код.
  3. Нажмите на ссылку, которая появится на экране.

Важно! В iOS недавно появилась подобная функция — камера считывает QR-код.

Ниже скринкаст, как сканировать QR-код с телефона на Android:

Пример, как сканировать двумерный код

Если по какой-то причине ваша камера на смартфоне не читает QR-код — используйте приложение. В App Store и Google Play вариантов множество — выбирайте любое из понравившихся.

Также если вы боитесь, что QR-код перенаправит вас на сайт мошенников или с вашей карты спишется сумма, которая отличается от той, что указана в чеке — проверьте код с помощью сканера от Касперского — QR Scanner.

Если у вас под рукой нет смартфона — зайдите на сайт Decode it. Там вы сможете загрузить изображение — и получить расшифровку за считанные секунды:

Пример, как использовать сервис для расшифровки коды быстрого ответа

Пример, как использовать сервис для расшифровки коды быстрого ответа

Как использовать QR-код в рекламе и маркетинге

Двумерный код можно расположить на визитках, брошюрах, флаерах, баннерах, сайте, сувенирной продукции, упаковке, арт-объектах, в инструкциях к товару, в email и тому подобное. Все зависит от вашей фантазии и цели, которую вы хотите достигнуть при помощи QR-кода. Примеры мы разбирали в начале этого материала.

А сейчас рассмотрим варианты, когда можно и нельзя использовать коды быстрого ответа:

  • Не размещайте код на подвижных объектах. Пользователи не успеют отсканировать его, если он изображен на куртке или сумке курьера.
  • Делайте QR-коды заметными и читабельными — используйте контрастные цвета.
  • Расположите двумерный код в легкодоступном месте, с которого можно просто считать информацию.
  • Обязательно добавляйте к вшитым ссылкам UTM-метки, чтобы отслеживать переходы и целевые действия.
  • Всегда помните, что QR-код является проводником для потенциального клиента — переводит его из офлайна в онлайн. Например, расскажите клиенту, что по QR-коду он может записаться без очереди, быстро оплатить покупку либо получить скидку за заполнение формы на сайте.

Как создать QR-код

В этом разделе мы собрали популярные сервисы, в которых вы можете сгенерировать QR-код.

QR Code Generator

QR Code Generator — бесплатный генератор двумерного кода.

Обзор сервиса QR Code Generator

Плюсы:

  • Большой выбор шаблонов для создания QR-кодов.
  • Есть варианты настроек — можно создать уникальный стиль.
  • Удобный интерфейс.
  • Скачать файл можно в JPG и SVG.
  • Для крупных компаний есть возможность автоматизировать процесс и использовать API.

Минусы:

  • Требуется регистрация для получения дополнительных функций.

QR Code Monkey

QR Code Monkey — удобный генератор матричного кода.

Интерфейс сервиса QR Code Monkey

Плюсы:

  • Есть расширение для Google Chrome.
  • 22 шаблона, которые можно вписать в QR-код.
  • Есть настройки для создания уникального стиля.
  • Файл выгружается в формате PNG, SVG, PDF, EPS.

Минусы:

  • Чтобы использовать все инструменты, нужна регистрация.

QR Coder

QR Coder — простой генератор для создания черно-белого QR-кода.

Обзор QR Coder

Плюсы:

  • Быстрый сервис шифрования текста, ссылки, визитки и SMS.
  • Файл скачивается ссылкой.

Минусы:

  • Небольшой набор шаблонов и инструментов для работы с двумерным кодом.

QR Stuff

QR Stuff — многофункциональный сервис для шифрования данных в QR-код.

Интерфейс QR Stuff

Плюсы:

  • Есть возможность работы со статическим или динамическим QR-кодом.
  • Большой выбор инструментов для редактирования стиля.
  • Есть коррекция ошибок.
  • 22 шаблона для генерации двумерного кода.
  • В бесплатной версии можно скачать файл в формате PNG, после подписки — открывается доступ к векторным документам: EPS, SVG, PDF, DXF.

Минусы:

  • Нужна платная подписка — 7,5 долларов в месяц, чтобы использовать все инструменты.

ONLINE QR Code Generator

ONLINE QR Code Generator — быстрый сервис для генерации двумерного кода.

Вариант для быстрого шифрования данных

Плюсы:

  • Простой сервис для черно-белых QR-кодов.
  • Файл скачивается в формате PNG.

Минусы:

  • Нет настроек для создания индивидуального стиля.
  • Небольшой выбор шаблонов.

Генератор QR кода

Генератор QR кода — бесплатный сервис для генерации двумерного кода.

Обзор сервиса «Генератор QR кода»

Плюсы:

  • 9 шаблонов для шифрования.
  • Есть коррекция ошибок.
  • Можно выбрать тип кодировки.
  • Файл скачивается ссылкой.

Минусы:

  • Минимальное количество настроек.

Заключение

В этой статье мы рассмотрели QR-код: узнали, что это, как с ним работать и в каких программах создавать.

  • Двумерный код — это удобный формат для передачи информации и привлечения аудитории.
  • Такой код позволяет быстро передать данные потребителю.
  • С формой и цветом можно играть, а значит — есть возможность создания ссылок с уникальным дизайном.

Используйте двумерный код в своем продвижении — регистрируйтесь в сервисе SendPulse, подключайте email и SMS рассылки, приглашайте аудиторию в чаты с помощью наших чат-ботов в таких мессенджерах, как ВКонтакте, Facebook Messenger, Telegram и WhatsApp!

В период пандемии многие пользователи впервые столкнулись с QR-кодами. РБК Тренды объясняют, как они работают, где используются и какие имеют перспективы применения в будущем

1

Что такое QR-код

QR (от английского Quick Response, «быстрый отклик») — это двумерный тип штрих-кода, который легко считывается цифровым устройством и хранит информацию в виде серии пикселей в квадратной сетке, которая внешне выглядит как черно-белый узор. QR-код, в отличие от штрих-кода, читается в двух направлениях — по горизонтали и по вертикали. Это позволяет хранить в нем больше данных. При сканировании QR-кода пользователь получает доступ к этим данным мгновенно.

В наши дни QR-коды используются во множестве отраслей как для хранения данных (ссылки на сайты, номера телефонов или тексты), так и для предоставления доступа к Wi-Fi, отправки и получения платежной информации и прочих целей.

В 2020 году многие люди впервые столкнулись с QR-кодами. Сначала их ввели для контроля режима самоизоляции и передвижений, а затем начали использовать для пропуска вакцинированных в различные заведения. По данным агентства Bitly, за полтора года пандемии число считываний QR-кодов во всем мире выросло на 750%.

В последний локдаун, который начался 28 октября и продлился до 7 ноября, многие регионы России разрешили вход в культурно-развлекательные учреждения только по QR-кодам вакцинированных и переболевших коронавирусом. РБК Тренды разобрались, как развивалась эта технология, в чем заключается принцип ее работы и какие у нее перспективы.

2

История QR-кодов

В 1960-х годах, когда Япония вступила в период быстрого экономического роста, во многих районах страны начали появляться супермаркеты, торгующие широким спектром товаров. Кассирам приходилось вручную вбивать их стоимость на кассовых аппаратах. Из-за этого у многих работников развивались синдром запястного канала. Была разработана POS-система, в которой цена товара автоматически отображалась на кассовом аппарате, когда его штрих-код сканировал оптический датчик. Но по мере распространения штрих-кодов стали очевидны и их ограничения. Самым заметным из них был тот факт, что такой код может содержать не более 20 цифро-буквенных символов.

В начале 1990-х годов японская Denso Wave Inc., дочерняя структура Toyota, которая занималась разработкой считывателей штрих-кодов, решила создать новые коды, которые могли бы содержать больше информации. Чтобы ускорить чтение кода, разработчики добавили угловые метки, которые сначала видит считыватель. Затем они изучили соотношение белых и черных областей на изображениях и символах в листовках, журналах, на картонных коробках и прочей продукции. Исследователи выбрали самое непопулярное соотношение, которое не использовалось в печатной продукции и в штрих-кодах и при этом могло считываться под любым углом.

В 1994 году был представлен первый QR-код. Он мог кодировать до 7 тыс. знаков и считывался в 10 раз быстрее, чем штрих-код. Первой такие коды стала использовать автомобильная промышленность. Они значительно упростили все управленческие задачи от контроля производства до доставки и выдачи квитанций о транзакциях.

Изобретатель QR-кода Масахиро Хара

Изобретатель QR-кода Масахиро Хара

(Фото: qrcode.com)

Denso Wave открыла свою разработку для свободного использования. В 2000 году Международная организация по стандартизации внесла QR-код в список одобренных стандартов кодирования информации.

3

Как работают QR-коды

Узор QR-кода хранит зашифрованную последовательность данных в двоичном формате (1 и 0) в виде матрицы. Каждой отдельной ячейке сетки присваивается значение в зависимости от цвета (черный или белый). Затем ячейки группируются в более крупные узоры. Ключи закодированных данных содержат дубликаты, поэтому при повреждении поверхности QR-кода до определенных масштабов его можно считать.

Устройство (специальный сканер или смартфон) распознает QR-код по трем квадратным меткам, расположенным по его углам. Они указывают, в каком направлении читать код. Обнаружив их, сканер считывает содержание квадрата, а затем анализирует QR-код, представляя его в виде сетки. Процесс считывания обеспечивает специализированное программное обеспечение, способное извлекать данные из шаблонов в матрице.

Также каждый QR-код имеет полосы синхронизации, чтобы его можно было считать даже на неровной поверхности.

Кроме того, QR-код включает маркер его версии, то есть сведения о формате, в котором закодированы данные. Всего их четыре: цифровое, буквенно-цифровое, двоичное и кандзи для японских иероглифов.

QR-код имеет также блоки исправления ошибок Рида — Соломона, которые располагаются по краям. Коды Рида-Соломона представляют собой специальную группу кодов, исправляющих ошибки при чтении QR. Таким образом, даже при повреждении 30% поверхности QR-кода, сканер считывает его правильно.

Наконец, каждый QR-код отделяется от внешнего пространства белым пространством или «тихой зоной». Она нужна, чтобы сканер распознал код.

Устройство QR-кода

Устройство QR-кода

(Фото: datagenetics.com)

  1. Поисковый узор
  2. Сведения о формате
  3. Полосы синхронизации
  4. Информация о версии
  5. Тихая зона
  6. Выравнивающий узор

В смартфонах последних лет выпуска присутствует встроенный считыватель QR-кода, который расположен в камере. Для считывания достаточно навести камеру на код под любым углом. Даже если на телефоне нет встроенного считывателя QR-кода, его можно скачать в магазинах приложений. В этом случае для считывания потребуется открыть приложение.

QR-коды можно считать и на компьютере с помощью одной из специализированных программ. Например, bcTester умеет сканировать разные типы QR-кодов, а bcWebCam работает напрямую с веб-камерой.

4

Виды QR-кодов

Есть несколько типов QR-кодов, которые можно использовать для разных целей. Они включают:

  • QR-код модель 1: это прототип модели 2 и Micro QR. Он позволяет кодировать до 1167 цифр (707 символов).

QR-код модель 1

QR-код модель 1

(Фото: wikiwand.com)

  • QR-код модель 2: такой код содержит шаблон выравнивания для лучшей регулировки положения и имеет большую плотность данных, чем предшественник. Самая большая версия способна хранить до 7089 цифр (4296 символов).
  • Micro QR-код: уменьшенная версия традиционного QR-кода, который используется, когда пространство ограничено. У него присутствует только один шаблон позиционирования вместо трех. Микро-QR-коды могут различаться по размеру, самый маленький кодирует до 35 цифр (21 символа).

Micro QR-код

Micro QR-код

(Фото: wikiwand.com)

  • Код IQR: может представлять собой квадрат или прямоугольник, а также точечный рисунок. Всего насчитывается 61 формат такого кода. iQR может содержать до 40 тыс. цифр. Даже при повреждении 50% площади такой код можно считать. У обычного QR площадь повреждения не должна превышать 30%.
  • SQRC: имеет функцию ограниченного чтения, так как может содержать личную информацию. Личные данные может считать только устройство с криптографическим ключом, который обеспечивает защиту данных. Такой код печатают с помощью принтера, совместимого с SQRC, а считывают с помощью специального сканера.
  • Frame QR: код с настраиваемой рамкой, внутри которой можно заключить данные в таких форматах, как графика, иллюстрации или фотографии.

В некоторых отраслях используются коды, которые не имеют отношения к Denso Wave. Например, Aztec Code с квадратом в центре можно увидеть на авиа- и железнодорожных билетах, MaxiCode используется в грузоперевозках, DataMatrix в промышленности, а прямоугольный PDF417 — для документов.

  • PDF417 — двумерный штрих-код, созданный компанией Symbol Technologies, который имеет максимальную емкость примерно в три раза ниже, чем у QR (2710 цифр, 1850 символов).
  • Data Matrix — выглядит как QR-код, но не имеет квадратных меток в углах. Разработан компанией International Data Matrix, включает объем информации до 3116 цифр или 2355 символов.
  • Aztec Code получил свое название благодаря характерному символу в центре изображения, которое напоминает пирамиду ацтеков сверху. Код изобретен Андрю Лонгацром и Робетром Хассли и имеет разные размеры — от 13 цифр, 12 букв и до 3832 цифр, 3067 букв. Уровень возможных ошибок в таком коде может варьи­роваться от 5% до 95%.

Aztec Code

Aztec Code

(Фото: wikipedia.org)

5

Для чего нужны QR-коды

В зависимости от области применения используются статические и динамические QR-коды. Первые содержат информацию, которую нельзя редактировать после создания кода. Они подходят для личного использования, например, настройки подключения к Wi-Fi или создания визиток, идентификации сотрудников, значков событий, технической документации по продукту и т.д.

В случае с динамическом QR-кодом информацию можно обновлять, редактировать и изменять сам тип такого кода уже после его создания. Коды такого вида больше подходят для бизнеса и маркетинговых целей. В рамках рекламной кампании с помощью QR-кодов можно собирать и измерять статистику при каждом сканировании.

Бизнес, некоммерческие организации и даже отдельные пользователи могут применять QR-коды для своих задач.

  • Цифровая визитка. После сканирования человек получает доступ к цифровой визитке, которая может быть гораздо объемнее бумажной и включать ссылки на соцсети, данные о состоянии здоровья и прочую информацию. Такие визитки с указанием адреса можно даже создавать для питомцев, чтобы их вернули владельцу. Визитку можно сгенерировать самостоятельно или обратиться в компанию, которая предлагает такие услуги.

Цифровая визитка для питомца

Цифровая визитка для питомца

(Фото: qr-code-generator.com)

  • Бизнес-страница. Перейдя на бизнес-страницу, клиент сможет посмотреть график работы компании, узнать, где находится ближайшее заведение и т.д.
  • Реклама и акции. QR-коды со ссылками на сайт компании, а также скидками и купонами можно размещать прямо на рекламных щитах.
  • Платежи. Используя QR-код, организация может предоставить клиентам гибкость и удобство бесконтактной оплаты, что особенно ценно в период пандемии.
  • Информирование. QR с поддержкой PDF могут кодировать объемные статьи, в которых организация будет делиться данными о последних исследованиях или статистикой, а бренд предоставит руководство по использованию своего продукта.
  • Повышение вовлеченности и охвата. QR-коды могут включать ссылки на соцсети, а также видео, фотогалереи и аудио, в которых компания (блогер, благотворительная организация) рассказывает о своей работе, анонсирует или представляет продукт.
  • Обратная связь. Пользователи могут сканировать такой код и заполнять форму с отзывами и пожеланиями, писать на почту компании, а также выставлять компании рейтинг. QR-код с поддержкой SMS дает возможность отправить отзыв на корпоративный номер телефона даже без подключения к интернету.

Плакат с QR-кодом для обратной связи в парке

Плакат с QR-кодом для обратной связи в парке

(Фото: qrco.de)

  • Идентификация. Коды SQRC с личной информацией можно использовать, чтобы ограничить допуск в отдельные помещения или к определенной документации.
  • Утилитарные цели. Например, кодом можно заменить пригласительные билеты на большое мероприятие. В нем достаточно прописать все детали события и разослать приглашенным.

6

Как развиваются QR-коды

Генеральный директор и соучредитель агентства цифровых продуктов Very Big Things Крис Стегнер отмечает, что пандемия радикально изменила способ взаимодействия людей друг с другом и с окружающей средой, так как физическое здоровье стало главным приоритетом. Этот сдвиг быстро ускорил рост бесконтактной экономики. По мнению Стегнера, именно QR-коды позволят решить множество проблем повседневного взаимодействия людей благодаря широкому распространению смартфонов. В 2021 году количество пользователей смартфонов в мире достигло 6,4 млрд человек или 80,76% населения Земли.

По данным Juniper Research, к 2022 году владельцы смартфонов будут использовать 5,3 млрд купонов с QR-кодами, а пользователи 1 млрд смартфонов будут иметь постоянный доступ к QR-кодам. Ключевые области, на которых будет сосредоточена технология QR-кодов, — это приложения. Другие области роста — системы бесконтактных платежей, транспорт и туризм, здравоохранение и маркетинг. Например, через QR-платформу бронирования пациенты клиник смогут записываться на прием к специалистам и даже отправлять свои медданные. Постоянное взаимодействие людей с QR-кодами упростит задачу и компаниям, которые смогут ненавязчиво предлагать свои продукты в нужное время и в нужном месте. Южнокорейская Homeplus уже организовала виртуальные магазины прямо на станциях метро. Витрины содержат изображения продуктов с QR-кодом. При сканировании кода продукт добавляется в корзину в мобильном приложении магазина. После этого покупка доставляется прямо на дом.

Виртуальный магазин Homeplus

Властям это поможет выстраивать грамотную систему навигации и туризма, когда QR-коды будут выдавать информацию о маршруте и его загруженности, а при посещении исторического места — рассказывать его историю вместо гида. Также технология упрощает обратную связь. В Нью-Йорке QR-коды уже не первый год размещают на строящихся домах, чтобы любой желающий мог проверить разрешения на строительство, получить подробную информацию о текущем проекте, а также напрямую связаться с департаментом строительства и подать жалобу на нарушения.

Стегнер признает, что полностью бесконтактный опыт возможен не для всех сценариев. Но, по его словам, существует огромное число возможностей реализовать его, к примеру, в банкоматах. Пользователи смогут просто сканировать QR-код, чтобы запустить приложение банка и уже оттуда управлять терминалом. Важную роль QR-коды могут сыграть в трансформации общественных пространств. Например, их можно будет размещать на дверях лифтов, чтобы человек мог просто отсканировать код, включить лифт и выбрать на смартфоне свой этаж.

Компании уже всячески экспериментируют с QR-кодами. Немецкий звукозаписывающий лейбл Kontor Records искал новый метод продвижения своей музыки. Компания решила отправить рекламным агентствам конверт, похожий на проигрыватель винила, с QR-кодом в углу. Когда код сканировали, дисплей смартфона пользователя превращался в интерактивную иглу проигрывателя. Устройство можно было поместить на пластинку, которая была в конверте, и игла на дисплее двигалась.

Акция с QR-кодами от Kontor Records

В Kontor Records рассказали, что получатели отсканировали 71% из 900 отправленных им QR-кодов, что на 64% больше обычного показателя ответов рекламщиков.

Аббревиатура QR происходит от английской фразы Quick Response, что можно перевести как быстрый отклик.

QR код — это двухмерный штрих-код (или бар-код), предоставляющий информацию для ее быстрого распознавания с помощью сканирования камерой смартфона или планшета. Он представляет собой набор черных квадратов, упорядоченных на квадратной сетке на белом фоне, и приспособлен для быстрого считывания и распознавания с помощью камер смартфонов. Им можно зашифровывать в удобном для чтения машиной формате различную информацию.

QR-код возник в 1994 году. Тогда специалисты фирмы Denso-Wave (Япония) придумали особый метод шифрования, который позволял кодировать различные файлы.

В этот код можно «спрятать» самую разную информацию, состоящую из символов, цифр, спецсимволов. Закодировать можно что угодно: адрес сайта, электронную визитку, номера телефонов, координаты местоположения и т. д.

Один QR-код может содержать:

  • 7089 цифр;
  • 4296 букв и цифр латиницей;
  • 1817 иероглифов;
  • 2953 байт двоичного кода (порядком это 2953 букв кириллицей в кодировке windows-1251 или около 1450 в кодировке utf-8).

Для работы с таким кодом требуется специальная программа или, точнее, соответствующее приложение. Использование таких приложений поддерживают все современные смартфоны.

Навигация по материалу:

  • 1 Технические особенности QR кода
    • 1.1 Как устроены QR-коды?
    • 1.2 Где расположена информация?
    • 1.3 Micro QR code
  • 2 Как можно считать информацию с QR-кода?
    • 2.1 Как сканировать QR-код на Android и iPhone?
    • 2.2 Как считывать QR-код на ПК?
    • 2.3 Как можно оплатить по QR-коду?
  • 3 Как создать создать QR код — сервисы для генерации QR-кодов
  • 4 Преимущества использования QR-кодов
  • 5 Варианты использования QR кодов в разных странах мира
  • 6 Подведем итог

QR коды бывают разных версий и в зависимости от них имеют разный размер. От 21 на 21 пикселя без учета полей в первой версии до 177 на 177 пикселей в сороковой версии.

Существует 4 основных типа кодировок:

  • Среди них цифровая (для шифровки цифр),
  • алфавитно-цифровая (цифры и символы),
  • байтовая (данные),
  • кандзи (предназначенная для работы с иероглифами).

Для исправления ошибок в QR-коде, в случае его повреждения или нанесения дополнительных рисунков, используется код Рида-Соломона с 8-битным кодовым словом. Существует четыре уровня избыточности (7%, 15%, 25% и 30%).

Есть и другие сложные степени защиты от ошибок считывания. Особую важность они обретают в случае работы с платежными и идентификационными системами. Одной из таких степеней является перебор всех возможных вариантов считывания с подсчетом штрафных баллов по особым правилам для каждой из них. В итоге выбирается самый удачный вариант, который и принимается за истинный.

Как устроены QR-коды?

QR-коды всегда имеют квадратную форму. Сердцем кода является так называемая матрица с ее замысловатым рисунком. Черные линии и квадраты содержат данные, которые хранятся в модулях. Количество модулей зависит от того, какой объем данных необходимо сохранить.

Самый маленький QR-код (версия 1) содержит 441 модуль (21х21). Версия 40 имеет 31 329 модулей (177х177) и, соответственно, больший размер. Кроме того, QR-код содержит дополнительные данные, необходимые для корректного распознавания информации программами-сканерами мобильных телефонов.

  • Позиционирование. Данная метка, расположенная в трех углах рисунка, позволяет сканирующему устройству распознавать положение QR-кода и быстрее запускать процесс сканирования. На качество распознавания влияет ширина белой рамки вокруг QR-кода. 
  • Номер версии. QR-код содержит также информацию об используемой версии кода – в настоящее время их количество уже достигло сорока (см. рис. внизу слева). 
  • Синхронизация. Между тремя позиционными метками проходит пунктирная линия, которая задает модель матрицы. 
  • Формат. С помощью этой информации сканирующее устройство определяет используемый формат данных. Например то, что именно скрывается в коде: календарная запись, контактные данные или ссылка на ресурс в Интернете. 
  • Направление. Данная метка помогает сканирующему устройству определять, имеет ли изображение QR-кода искажение перспективы или нет. Чем больше код, тем больше такого рода меток в нем содержится. 

Где расположена информация?

Матрица, несмотря на кажущу­юся путаницу множества линий и квадратов, предоставляет широкие возможности для хранения данных. В отличие от старых штрих-кодов данные в матрице хранятся в двух измерениях – по вертикали и по горизонтали (см. рис. ниже).

Расположение информации на QR коде

Так, небольшие квадратики могут вместить около 4 тысяч буквенно-цифровых символов, то есть букв в сочетании с числами и спецсимволами. Для сравнения: наносимый на упаковках штрих-код системы EAN способен хранить только 13 чисел.

Благодаря системе коррекции ошибок прочитать QR-код можно даже в том случае, если часть кода отсутствует или повреждена. Чем выше степень коррекции ошибок, тем меньше данных можно поместить в QR-код. Кстати, QR-коды могут иметь и другой цвет – не только черно-белый. Важно лишь одно: чтобы между светлыми и темными участками был четкий контраст. 

Micro QR code

Кроме основного типа QR кода, в последнее время начал набирать популярность Micro QR. Основным преимуществом является бОльшая эффективность. В самом коде используется только одна метка позиционирования, в отличии от трех в большом варианте (большие квадраты по углам). Это позволяет высвободить дополнительное пространство, не переживая за ошибки считывания.

Пример Micro QR кода

Кроме этого, в Micro QR уменьшен размер свободной области. В обычном варианте должно использоваться 4 модуля свободного пространства, а в Micro QR только два. Свободным полем является чистая область за пределами изображения кода, а модулями — один элемент (квадратик) внутри самого кода. То есть уменьшение свободной области позволяет разместить код более красиво и опять же сэкономить место.

Как можно считать информацию с QR-кода?

Для сканирования qr-кода надо использовать программу, предварительно закачанную и установленную на смартфон. Есть множество вариантов бесплатного софта. Особой разницы между ними нет. Вам остается выбрать любое приложение, подходящее для вашей версии устройства.

Для считывания информации надо запустить программу и поднести камеру смартфона к коду. После сканирования на экране появится ссылка на данные, которые зашифрованы в изображении.

Многие устройства снабжены функцией автосканирования кодов. В этом случае вам не потребуется загружать дополнительный софт, потому что все необходимое уже есть в таком аппарате.

Как сканировать QR-код на Android и iPhone?

  1. Запустите камеру мобильного телефона или специальное приложение.
  2. Наведите объектив на QR-код таким образом, чтобы он сфокусировался на центре изображения.
  3. Как только объектив поймает фокус, пользователь будет перенаправлен по закодированному адресу.

Как сканировать QR-код на Android и iPhone

Важно! Если для считывания QR-кода используются сторонние приложения, углы квадратного шифра должны совпасть с отмеченными углами внутри приложения.

Углы квадратного шифра должны совпасть с отмеченными углами внутри приложения

Как считывать QR-код на ПК?

Для этого есть 2 варианта:

  • установить на своем ПК (ноутбуке) бесплатную программу для считывания кода;
  • не устанавливать никаких программ и просто использовать бесплатный онлайн-сервис.

Приведем ссылки для каждого из двух вариантов:

  • Скачать бесплатно на ПК программу CodeTwo QR Code Desktop Reader https://www.codetwo.com/freeware/qr-code-desktop-reader/

Перейдя по ссылке, нажмите на синюю кнопку “Скачать” и установите программу на своем ПК. Как с ней работать, довольно подробно описано на указанном сайте codetwo.

Мы не рекомендуем скачивать и устанавливать программы на ноутбук и ПК без крайней необходимости и, соответственно, предпочитаем пользоваться онлайн-сервисами:

  • Онлайн-сервис для считывания QR кода http://decodeit.ru/qr/

Перейдя по указанной ссылке,  увидим следующие возможности:

Принцип использования такого сервиса прост. Там, где есть код (на каком-то сайте, в социальной сети и т.п.), надо сохранить его как картинку на своем ПК. Для этого кликаем по коду ПКМ (правой кнопкой мыши), а в появившемся меню выбираем “Сохранить картинку как”. В итоге на ПК QR код будет сохранен в виде файла, содержащем код в виде обычной картинки.

Далее открываем онлайн-сервис и загружаем туда файл с картинкой с помощью кнопки “Выберите файл” (рисунок см. выше). После этого жмем “Отправить”. Сервис расшифровывает код и выдает нам ту информацию, которая зашифрована в коде.

Как можно оплатить по QR-коду?

QR-коды размещаются в интернете и на любых поверхностях: на чеках, квитанциях, тогда зарождается вопрос, как оплатить по QR-коду. Чтобы сделать оплату по коду, магазину необходимо создать QR-код для оплаты конкретного заказа и показать пользователю.

Оплата по QR-коду

Пользователь в свое время считывает QR-код через приложение на своем устройстве, и сразу после этого попадёт на платежную форму для оплаты этого заказа. А магазину после оплаты приходит уведомление.

Как создать создать QR код — сервисы для генерации QR-кодов

Для создания кода используется специализированное ПО (программное обеспечение). Можно найти установить подходящий софт на смартфон или воспользоваться онлайн-сервисом в интернете. Существуют много сайтов, на которых вы можете создать свой QR код.

Самые популярные генераторы QR-кодов:

  • qrcoder.ru
  • qrcc.ru
  • qr-code-generator.com
  • vkqr.ru

Генераторы QR-кодов позволяет закодировать любую информацию:

  • Любую текстовую информацию,
  • Ссылку на сайт,
  • Визитную карточку,
  • Sms-сообщение и многое другое.

Что касается текста, то для него есть ограничение на генерацию кода – не более 2953 байт, то есть не более 2953 букв кириллицы в кодировке windows-1251или около 1450 букв кириллицы в utf-8.

Как видите, в этом нет ничего сложного и, если вы не пользовались такими кодами, советую попробовать. Это иногда может быть очень удобным способом поделиться информацией. Не стоит их недооценивать. И не надо называть их штрих-кодами.

Как сделать QR-код для текста с помощью онлайн-сервиса?

Попробуем сначала самостоятельно создать код, а потом его прочитать с помощью смартфона.

Для примера возьмем произвольный текст. Затем откроем сервис онлайн для создания кода этого содержания (в данном случае используем http://qrcoder.ru/):

Генерация QR-кода для текста с помощью онлайн-сервиса

  • 1 – Открываем Генератор QR-кода по ссылке, предложенной выше.
  • 2 – Выбираем опцию «любой текст». Для него будем создавать код.
  • 3 – Копируем текст или печатаем его самостоятельно. Затем поместим текст в окно «введите текст для кодирования».
  • 4 – Выбираем размер кода или оставляем тот, который предложен по умолчанию.
  • 5  – Нажав «создать код», получаем изображение кода (6). Обратите внимание, что, скорее всего, не получится создать код, если сообщение будет слишком большое (более 2953 символа, включая буквы, пробелы, цифры, знаки препинания и вообще любой символ).
  • 7 и 8 – Здесь предоставлены ссылки на изображение кода, а также код для вставки его на блог.

Прочитать этот код можно, поднеся смартфон с открытым приложением для чтения кода к этому изображению.

Преимущества использования QR-кодов

Главным преимуществом QR кода является его “вместительность”. Этот тип кода является двухмерным в отличии от одномерного штрих-кода. В свое время переход от “полосочек” к “квадратикам” был обусловлен именно необходимостью шифровать в кодах больше информации.

Стандартный QR код может нести в себе до 4000 символов. Это позволяет зашифровать не только пару десятков символов инвентарного номера товара в магазине, но даже целые тексты, длинные реферальные ссылки и многое другое. Есть даже возможность шифрования JPEG, GIF и PNG. Правда, для этого они должны быть размером не больше 4 КБ, а это очень мало. Для передачи изображений куда проще зашифровать ссылку и разместить на специальной странице любое изображение.

Основным преимуществом QR кодов является их перспективность. С каждым днем они появляются вокруг нас все чаще и чаще. Многие рекламные компании переведены на этот код. Уже сейчас вполне нормально идти по улице и встретить QR код на столбе или стене. В этом случае, правда, стоит быть осторожным, так как никто не знает, куда он ведет. Но, если вы видите код на большом плакате в магазине, на ТВ или на упаковке товара, его можно смело сканировать.

Использование QR кода даже позволяет сэкономить на стоимости товара. Например, вы покупаете наушники и производителю не нужно класть в коробку толстые стопки инструкций на всех языках. Достаточно разместить внутри QR-код со ссылкой на страничку, где можно будет выбрать язык и получить нужную информацию. Экономия идет за счет уменьшения веса упаковки, уменьшения ее объема и, конечно, экономии на бумаге.

Возвращаясь к перспективам, можно представить варианты нашего будущего, когда дополненная реальность станет обычным делом и мы будем ходить в специальных очках. При считывании такого кода очки заменят его на нужное изображение и рядом с человеком “повиснет” экран с информацией.

Варианты использования QR кодов в разных странах мира

Среди основных можно назвать оплату товаров и услуг населением азиатских стран. В Китае почти все оплачивают покупки при помощи встроенных возможностей многофункционального приложения WeChat. С его помощью оплачиваются товары на кассе, преподносятся денежные подарки путем перевода (у китайцев очень распространены так называемые ”красные конверты”) и даже подается милостыня городским попрошайкам.

Традиционные китайские красные конверты дарятся на праздники. Благодаря WeChat они стали электронными.

Согласно данным iResearch, объем мобильных платежей в Китае в 2018 году составил 72,1 триллиона юаней или примерно 10 триллионов долларов. Львиную долю из этого составили именно платежи при помощи QR-кодов.

Широкому распространению такого вида оплаты поспособствовала китайская компания Inspiry, которая в 2003 году изобрела быстрый способ считывания кодов. Правда, в начале нулевых оплата все равно проходила только в течение 15-20 секунд. Впоследствии трудности преодолели и ускорили процесс, а рост объема платежей пошел вверх по экспоненте. Для сравнения, с 2011 года он вырос почти в 1000 раз и каждый год рос не меньше, чем на четверть.

В это же время в Европе и США люди существенно реже сталкиваются с QR кодами. Например, по данным опросов в США, только 20 процентов продавцов знает как ими пользоваться и примерно такое же количество человек хоть раз в жизни сканировало QR код. Определенные попытки продвижения есть, но они очень слабые и заключаются только в размещении специальных меток на памятниках архитектуры, в общественных местах и на рекламных материалах.

Исключениями являются единичные случаи, вроде австралийского бренда UGG и американской компании Sennheiser, которые реализовали проверку подлинности на основе QR кода. После вскрытия упаковки покупателю предлагается просканировать код. Если его нет или система выдала ошибку, покупатель может вернуть товар в магазин, так как он является контрафактным.

Россия в этом вопросе продвинулась чуть дальше. Например, у нас уже несколько лет действует стандарт на использование QR кодов в документах. Он позволяет наладить документооборот на предприятиях и обеспечить боле удобную оплату коммунальных платежей. Проблема в том, что мало кто этим пользуется.

В марте — апреле 2020 года ряд стран? включая Россию, из-за пандемии коронавируса начали внедрять системы контроля за перемещением граждан с использованием QR-кодов.

Подведем итог

  • Несмотря на то, что QR-код создавался только для маркировки товаров, он получил широкое распространение в повседневной жизни, начиная от информационных сообщений, заканчивая рекламными баннерами и счетов за коммуналку.
  • Для считывания матричного кода понадобится мобильный телефон с камерой, и в некоторых случаях специальное приложение. На сегодняшний день QR-код можно считать даже с персонального компьютера с помощью веб-камеры.
  • Создать QR-код может любой заинтересованный пользователь буквально за пару секунд. Достаточно воспользоваться специальными онлайн-сервисами, которые зашифруют введенный текст, ссылку или изображение.
  • Проверить подлинность купленного товара можно с помощью специального QR-кода в приложении «Честный знак».

Самые последние новости криптовалютного рынка и майнинга:

The following two tabs change content below.

  • Автор материала
  • Последние новости мира криптовалют

Материал подготовлен редакцией сайта «Майнинг Криптовалюты», в составе: Главный редактор — Антон Сизов, Журналисты — Игорь Лосев, Виталий Воронов, Дмитрий Марков, Елена Карпина. Мы предоставляем самую актуальную информацию о рынке криптовалют, майнинге и технологии блокчейн.
Отказ от ответственности: все материалы на сайте Mining-Cryptocurrency.ru имеют исключительно информативные цели и не являются торговой рекомендацией или публичной офертой к покупке каких-либо криптовалют или осуществлению любых иных инвестиций и финансовых операций.

Что такое QR-код, как его создать и безопасно использовать

QR-код — это двухмерный штрих-код, созданный для передачи информации. В статье мы собрали 17 способов использования QR-кодов. Рассказываем, как их создать и насколько они безопасны.

Нет времени читать статью? Найдите ее в нашем телеграм-канале и сохраните себе в «Избранном» на будущее.

Содержание статьи

Что такое QR-код?

17 способов использования QR-кодов

Оплачивать покупки в магазинах, кафе и ресторанах
Платить за товары онлайн
Забирать заказ в пункте выдачи
Помогать клиентам ориентироваться в магазине или на карте
Распространять скидки и коды купонов
Передавать контакты
Пользоваться общественным транспортом
Узнавать информацию о продукте
Отправлять сообщения и передавать информацию
Отправлять предустановленные электронные письма
Звонить по контактному номеру
Добавлять напоминания в онлайн-календарь
Другие способы использования

Как работают QR-коды?

С точки зрения программистов
С точки зрения простых пользователей

Создаем QR-код за 3 шага

1. Выбираем тип QR-кода
2. Выбираем генератор для его создания
3. Создаем QR-код

Насколько безопасно использовать QR-коды?

Советы по безопасному использованию QR-кодов

QR-код — это двухмерный штрих-код, передающий какую-то информацию. Для его считывания нужен смартфон или планшет с установленным сканером — сервисом, распознающим кодировку по трём угловым меткам.

QR-код создают для передачи данных — ссылок, файлов, паролей от Wi-Fi, счетов на оплату, имейлов, смс и т. д. Закодировать можно практически любую информацию, если она оформлена в виде текстового сообщения, аудиофайла и даже картинки.

Что такое QR-код?

Изображение: Markus Winkler для Unsplash

17 способов использования QR-кодов

Обычно QR-код используют для быстрого перехода из офлайна в онлайн. Например, потенциальный клиент может отсканировать QR-код с понравившегося товара и сразу заказать его по ссылке.

Вот еще несколько примеров, как можно использовать QR-коды.

Оплачивать покупки в магазинах, кафе и ресторанах

Dunkin’ Donuts предлагает своим посетителям расплачиваться по QR-коду. Предварительно нужно скачать приложение, привязать к своему аккаунту специальную карту посетителей кафе и пополнить ее.

В Dunkin' Donuts можно расплачиваться без банковских карт и наличных денег — с помощью QR-кодов в приложении.

В Dunkin’ Donuts можно расплачиваться без банковских карт и наличных денег — с помощью QR-кодов в приложении. Изображение: YouTube

Через сгенерированный приложением QR-код также можно получать баллы за покупки.

Платить за товары онлайн

Так, Amazon предлагает клиентам, закупаться в физических магазинах, но платить за товары онлайн.

Как это происходит: покупатель приезжает в физический магазин, открывает приложение и проводит полученный QR-код через сканер на входе.

Дальше совершает покупки как в обычном магазине — только все товары, положенные им в физическую корзину, появляются и в его виртуальной корзине. Платить на месте не нужно — касс нет: Amazon присылает электронный инвойс и списывает деньги с аккаунта покупателя.

Amazon предлагает клиентам, закупаться в физических магазинах, но платить за товары онлайн

Amazon go позволяет прийти в физический магазин по QR-коду, забрать продукты, а оплатить их позже онлайн. Изображение: Simon Bak для Unsplash

Забирать заказ в пункте выдачи

Особенно актуально это было в период пандемии: покупатели не могли зайти внутрь торгового центра, поэтому покупки они совершали онлайн, а потом приезжали в пункт выдачи, чтобы забрать их. Во многих пунктах действовала система выдачи товара по QR-коду.

Покупатели могли сделать заказ онлайн и забрать его в пункте выдачи по индивидуальному QR-коду.

Покупатели могли сделать заказ онлайн и забрать его в пункте выдачи по индивидуальному QR-коду. Изображение: Clique Retire для Unsplash

Помогать клиентам ориентироваться в магазине или на карте

Некоторые компании используют QR-коды, чтобы помочь клиентам сориентироваться внутри большого супермаркета или торгового центра. Плакаты с QR-кодами размещают в проходах или рядом с информационным стендом.

Такие коды также работают, если клиенту нужно найти магазин на карте. Компания размещает QR-код на сайте, странице в соцсети или на уличном стенде. Покупателю не нужно вводить адрес вручную — он может просто отсканировать код.

«Отсканируйте этот код чтобы найти нас на картах Google»

«Отсканируйте этот код чтобы найти нас на картах Google». Изображение: Marlise Optometrists

Распространять скидки и коды купонов

Вместо того, чтобы запоминать комбинацию цифр и букв, пользователь сканирует QR-код и попадает в раздел с онлайн-кассой, где промокод уже введён.

Передавать контакты

QR-код можно использовать вместо картонной визитки со всеми контактами. Просто дайте отсканировать QR-код другому человеку и он получит доступ ко всей нужной информации. 

QR-код размещают и на визитках: перейдя по нему человек найдет всю нужную информацию.

QR-код размещают и на визитках: перейдя по нему человек найдет всю нужную информацию. Изображение: Twitter

Пользоваться общественным транспортом

Так, в Шанхае оплачивать проезд с помощью QR-коды из приложения можно с 2018 года.

в Шанхае оплачивать проезд с помощью QR-коды из приложения можно с 2018 года

Изображение: Jonas Leupe для Unsplash

Узнавать информацию о продукте

Многие бренды размещают QR-коды на своей продукции. Покупатели могут узнать больше о составе, способе применения, инструкциях по стирке или способе производства.

Некоторые бренды размещают QR-коды на своей продукции, чтобы подтвердить ее подлинность. Так они борются с контрафактом.

Некоторые бренды размещают QR-коды на своей продукции, чтобы подтвердить ее подлинность. Так они борются с контрафактом. Изображение: arif ubayy для Unsplash

Отправлять сообщения и передавать информацию

Музеи так кодируют данные об экспонатах, организаторы квестов — подсказки, а рестораны предлагают узнать меню по QR-коду.

Кафе предлагают отсканировать QR-код, чтобы узнать меню и цены.

Кафе предлагают отсканировать QR-код, чтобы узнать меню и цены. Изображение: DisneyFoodBlog

Отправлять предустановленные электронные письма

После сканирования QR-кода откроется ваша электронная почта — нажимаете «Отправить», и письмо улетает.

Звонить по контактному номеру

Бизнес может оставить такой QR-код на упаковке товара — если у клиента возникнут вопросы, он может позвонить в поддержку, отсканировав номер.

Добавлять напоминания в онлайн-календарь

Удобная штука для экспертов и бизнес-школ. Пользователь сканирует QR-код, и напоминание о вебинаре автоматически подгружается в календарь.

Другие способы использования

Еще по QR-коду можно:

  • Подключаться к Wi-Fi без пароля.
  • Находить сообщество или группу в соцсетях.
  • Загружать приложения.
  • Делиться видео на YouTube.
  • Арендовать машину, велосипед, самокат.

Как работают QR-коды?

QR-код — это белый квадрат со множеством точек и тремя идентичными чёрными метками по углам. Каждая из них обрамлена двойной рамкой.

Стандартно метки оформляют в виде квадратов, но некоторые программы допускают создание QR-кодов с искаженными квадратами, кругами и даже ромбами.

Стандартно метки оформляют в виде квадратов, но некоторые программы допускают создание QR-кодов с искаженными квадратами, кругами и даже ромбами.

Изображение: Qrcode-tiger

Каждая точка или метка — это элементы технической части кода, которые помогают камере идентифицировать положение QR-кода и соотнести размеры его модулей.

Ещё в коде скрыты данные, которые не видны обычному пользователю, — маска, уровень коррекции и версия. Все эти данные нужны, чтобы устройство правильно считало QR-код.

Кроме технической информации в QR-коде скрыта информация для пользователей — цифры, буквы или байты двоичного кода.

С помощью QR-кода можно передать 4296 букв и цифр, 7089 цифр или 2953 байта двоичного кода.

С помощью QR-кода можно передать 4296 букв и цифр, 7089 цифр или 2953 байта двоичного кода. Изображение: Proxyclick Visitor Management System для Unsplash

С точки зрения программистов

Принцип работы QR-кодов такой:

1. Система переводит информацию в двоичный код и формирует файл со служебной информацией — здесь хранятся сведения о версии кода и используемой кодировке.

Система переводит информацию в двоичный код и формирует файл со служебной информацией — здесь хранятся сведения о версии кода и используемой кодировке.

2. Далее система делит сформированные потоки на отдельные блоки и добавляет к ним несколько байтов для коррекции.

3. Потом система объединяет поток с основным кодом и поток с коррекционными байтами в единый поток — так формируется последовательность данных.

4. Сформированные данные записывают в поле кода. Система делит всё свободное пространство на столбцы шириной в 2 модуля: 0 — белого цвета, 1 — чёрного.

Все эти манипуляции скрыты от пользователя — специальные программы и сервисы кодируют данные автоматически. Для кодирования можно использовать любой платный или бесплатный генератор.

С точки зрения простых пользователей

С точки зрения пользователя всё намного проще:

Установил сканер QR-кодов → открыл приложение → навел камеру → получил сигнал о распознавании кода.

Установил сканер QR-кодов → открыл приложение → навел камеру → получил сигнал о распознавании кода.

Изображение: ODIN

Единственное, с чем может столкнуться пользователь — невозможно распознать QR-код. Такое бывает, если пользователь уменьшил или увеличил QR-код, или в пространство сканера попала лишняя информация. Сканер не распознает QR-код, если по углам есть лишние буквы или цифры.

Создаем QR-код за 3 шага

1. Выбираем тип QR-кода

Генераторы делают кодировку двух типов — статическую и динамическую. Сначала определите, какой из них вам нужен:

  • Статический QR-код — это бесплатный и постоянный код, который нельзя изменить или перекодировать после сохранения. Как правило, статические QR-коды одноразовые — они не могут вместить большой объем данных. Их используют для связывания чего-то постоянного: имейлов, ссылок, текстов, паролей Wi-Fi.
  • Динамический QR-код — это изменяемый, многофункциональный, отслеживаемый код, который можно интегрировать с Google Analytics и другими системами, встроить на сайт и даже напечатать. Динамические QR-коды можно отредактировать даже после распечатки. Их можно защитить паролем или установить срок действия. Динамические QR-коды только платные.

2. Выбираем генератор для его создания

Большинство генераторов идентичны — просты в настройке, с понятным интерфейсом и бесплатными шаблонами.

Почти все из них гарантируют конфиденциальность, не хранят информацию, полученную при сканировании, и могут отслеживаться разными системами аналитики. Их даже можно персонализировать — добавить логотип или фирменные цвета.

Вот некоторые из них: QR Coder, QR сс, VK QR, STQR, QR TIGER и т. д.

Выбирайте генератор, который лучше всего подойдёт под ваши цели.Мы рекомендуем при выборе учитывать следующие три вещи:

  • Достоверность. Главная задача генератора — создать качественный, работающий QR-код. Поэтому сначала проверьте домен генератора, куда вы собираетесь вводить данные. Выбирайте тот, у которого есть SSL-сертификат или безопасное, защищенное соединение с сервером.
  • Чёткость. Ещё один важный фактор — четкость отображения информации. Протестируйте генератор — получившийся код должен быть чётким.
  • Бренд. Посмотрите, кто ещё использует этот генератор — старайтесь выбирать сайты, которыми пользуются крупные бренды.

3. Создаем QR-код

Разберём, как это сделать на примере QR TIGER. Генератор мультиязычный, с понятным интерфейсом — на главном экране пошаговая инструкция.

Открывайте генератор и действуйте по этой инструкции:

Вставьте ссылку и выберите тип QR-кода, который вы хотите сгенерировать (статический или динамический QR-код), а затем жмите кнопку «Сгенерировать QR-код». 

Вставьте ссылку и выберите тип QR-кода, который вы хотите сгенерировать (статический или динамический QR-код), а затем жмите кнопку «Сгенерировать QR-код».

Затем настройте свой QR-код — выберите узор, тип квадратов, цвета. Если нужно прикрепите логотип в формате jpeg или png. Вы даже можете использовать один из готовых шаблонов.

Затем настройте свой QR-код — выберите узор, тип квадратов, цвета.

Затем протестируйте QR-код, и если всё в порядке — скачайте картинку. Разместите свой QR-код на упаковке, раздаточных материалах или цифровых платформах.

Насколько безопасно использовать QR-коды?

QR-код — это просто шлюз, который беспрепятственно переносит пользователей из офлайна в онлайн. Он просто направляет пользователя к данным, закодированным в их собственных смартфонах.

Эти данные могут быть в виде ссылки, файла PDF, целевой страницы, анкеты, видео или аудио и т. д. Варианты использования почти бесконечны.

Поэтому с технологической точки зрения QR-код безопасен — он не представляет никакой угрозы, пока пользователь им не воспользуется.

с технологической точки зрения QR-код безопасен — он не представляет никакой угрозы, пока пользователь им не воспользуется

Всегда существует опасность, что кто-то использует QR-код для распространения вредоносного ПО, взлома сайта и даже кражи персональных данных пользователя.

Вот несколько вредоносных способов использования QR-кодов:

  • Фишинговые атаки: переход по вредоносной ссылке аналогичен сканированию вредоносного QR-кода, ведущего к той же ссылке.

Мошенники используют тактику социальной инженерии — соединяют QR-коды с подозрительным текстом фрейма. Например, заманивают людей через спецпредложение: «сканируйте, чтобы получить X». Человек сканирует код, а хакер получает полный доступ к устройству.

  • Замена подлинных QR-кодов в общественных местах вредоносными кодами. Простой трюк с QR-кодами, который используют киберпреступники, заключается в замене оригинальных кодов, размещенных компанией в определенной точке взаимодействия, на поддельные.

Когда пользователи сканируют такой код, они переходят на фишинговый сайт и получают вирус.

  • Фишинговые атаки QR-кода на имейлы. Когда пользователь отсканирует код, он попадёт на копию сайта компании, с почты которой прислали код.

Сайт запросит регистрацию, пользователь введёт свои персональные данные → хакеры получат доступ к этой информации.

  • Кражи. Мошенники могут использовать QR-коды для оплаты и собирать деньги пользователей на неправильный счёт.
  • Кликджекинг с использованием QR-кодов. Другая тактика заключается в том, чтобы направлять пользователей, которые сканируют QR-код, на с виду нормальный сайт с кнопками и полезным контентом.

Когда пользователь нажимает на одну из кнопок, он запускает процесс загрузки вируса на своё устройство и теряет к нему доступ.

Советы по безопасному использованию QR-кодов

1. Перед сканированием убедитесь, что QR-код безопасен. Используйте для считывания кодов сканеры со встроенным антивирусом. Например, Kaspersky QR Scanner, NeoReader или Bar-Code reader.

2. Проверьте URL-адрес куда ведёт код. При сканировании QR-кода вы получаете всплывающее уведомление на экране с URL-адресом. Вам нужно проверить URL-адрес на отсутствие вредоносных признаков.

Нажимайте только на те ссылки, у которых есть SSL-сертификат (https:// перед ссылкой) и зашифрованное соединение.

3. Визуально проверьте код на наличие подозрительных элементов: небрендированных цветов, ошибок в логотипе, сомнительных текстов фреймов и т. д.

Если вас что-то настораживает, не сканируйте код, а свяжитесь с той компанией, которая вам его отправила.

Высоких вам конверсий! 

08-11-2022

Не знаете что такое QR — код?  Кью ар код (QR-код) – это изображение с матричным кодом быстрого реагирования. Буквально означает «Quick Response» или «Быстрый ответ». Изобрели необычную кодировку на территории Японии, в 90-х годах. Первоначально он предназначался для маркировки товаров, и использовался как более продвинутый штрих-код, содержащий больше информации о том или ином товаре.

При наведении камеры современного смартфона на QR-код у пользователя открывается сайт или приложение, которое зашифровано в черно-белом квадрате.

Это интересно: Внутри QR-кода можно закодировать более 4000 цифр и букв, в то время как стандартный штрих-код позволяет передать лишь 20-30 цифр.

Отличия QR-кода и штрих-кода

QR-код Штрих-код
Позволяет зашифровать более 4000 символов. Позволяет зашифровать лишь 20-30 цифр.
Можно передавать не только цифры и буквы, но и другую информацию. Позволяет передать только цифры.
QR-код шифруется «квадратиками». Штрих-код шифруется «палочками».
  • Для чего нужен QR код?
  • Как использовать QR-код?
    • Считывание QR-кода с помощью смартфона
    • Считывание QR-кода на ПК
    • Как использовать QR-код для проверки подлинности товаров
  • Как и зачем создавать QR-код?
  • Создание и считывание QR-кода на онлайн-сервисах
    • Создание QR-кода для текста онлайн
    • Создание QR-кода для ссылки онлайн
  • Итоги и выводы

QR-код можно использовать для быстрого перехода на сайт, ознакомления с новой информацией. Не каждый пользователь будет вводить адрес веб-сайта, а навести камеру смартфона на QR-код быстро и легко.

В изображении можно закодировать текст, картинку, ссылку и т.д. Подобную кодировку используют даже на архитектурных и исторических памятниках, чтобы туристы могли получить больше информации.

Для чего нужен QR код?

Сейчас QR-коды применяют для:

  • получения скидок в магазинах;
  • перехода по ссылке;
  • скачивания файла;
  • шифровки адреса веб-сайта;
  • получения электронных билетов;
  • предоставления визиток;
  • кодирования продукции, то есть в качестве более продвинутого штрих-кода.

Чтобы получить зашифрованную информацию, достаточно запустить камеру смартфона и навести ее на матричный код. Мобильное устройство автоматически откроет ссылку, картинку или предоставит другую закодированную информацию.

Важно! Не все мобильные устройства могут считать QR-код. Для таких устройств были разработаны специальные приложения, которые распознают закодированную информацию. Таких приложений много: например-«Сканер штрих-кода»

  1. Запустите камеру мобильного телефона или специальное приложение.
  2. Наведите объектив на QR-код таким образом, чтобы он сфокусировался на центре изображения.
  3. Как только объектив поймает фокус, пользователь будет перенаправлен по закодированному адресу.

Считывание QR-кода с помощью смартфона

Важно! Если считывание QR-кода осуществляется с помощью сторонних приложений, углы квадратного шифра должны совпасть с отмеченными углами внутри приложения.

Считывание QR-кода с помощью смартфона - 2

Считать любое изображение с компьютера можно с помощью специальных  онлайн-сервисов, например, такого как qr.smartbobr.ru/skanirovat-qr-kod.html. Этот сайт предлагает воспользоваться веб-камерой ноутбука, или загрузить заранее скачанную картинку.

Считывание QR-кода на ПК

Кроме того можно установить программу «CodeTwo QR Code Desktop Reader». Она абсолютно бесплатна, занимает мало места и обладает хорошим функционалом. С ее помощью можно считать QR-код на сайте, сфотографировать его через веб-камеру, или загрузить заранее скачанное изображение.

Проверить подлинность товара по матричному коду можно с помощью приложения «Честный знак». Достаточно открыть его и навести камеру мобильного устройства на QR-код товара.

Если продукция подлинна, то пользователь увидит надпись «товар подлинный».

Если же перед ним подделка, покупатель будет иметь полное право оставить жалобу в графе «Претензии».

Интересно! С 2024 года вся товарная продукция, реализуемая на территории Российской Федерации, будет зарегистрирована в единой системе цифровой маркировки.

Закодированная в изображении информация может быть полезна при:

  • создании визиток;
  • привлечении новых посетителей на сайт;
  • рекламной рассылке;
  • ведении социальных сетей;
  • оформлении исторических памятников.

QR-код позволяет быстро перенаправить потенциального клиента, пользователя, покупателя на нужный информационный ресурс.

Как и зачем создавать QR-код?

Матричный код за пару кликов создается на специальных онлайн-сервисах.

Например:

  • qrcoder.ru;
  • the-qrcode-generator.com;
  • smartbobr.ru;
  • tec-it.com.

Все что требуется от пользователя, написать желаемый текст, ссылку или вставить картинку, которую он планирует закодировать в QR-код.

Пошаговая инструкция

  1. Перейти на сайт qrcoder.ru.
  2. Выбрать графу «Любой текст».
  3. Ввести желаемое объявление или информацию.
  4. Выбрать размер картинки.
  5. Нажать кнопку «Создать код».
  6. Скачать изображение с готовым матричным кодом, нажав правой кнопкой мыши на картинку, либо перейдя по ссылке.

Создание QR-кода для текста онлайн

Создать закодированную ссылку можно в точности так же как и при работе с текстом, надо лишь выбрать графу «Ссылку на сайт».

Также создать QR-код со ссылкой можно на других сервисах. Например, на qr.smartbobr.ru.

Создание QR-кода для ссылки онлайн

Пошаговая инструкция

  1. Ввести адрес веб-страницы в поле «Текст или ссылка».
  2. Выбрать размер отступа, цвет фона и цвет самого изображения.
  3. Продвинутые пользователи могут воспользоваться дополнительными параметрами.
  4. Нажать кнопку «Скачать QR-код».
  1. Несмотря на то, что QR-код создавался только для маркировки товаров, он получил широкое распространение в повседневной жизни, начиная от информационных сообщений, заканчивая рекламными баннерами и счетов за коммуналку.
  2. Для считывания матричного кода понадобится мобильный телефон с камерой, и в некоторых случаях специальное приложение. На сегодняшний день QR-код можно считать даже с персонального компьютера с помощью веб-камеры.
  3. Создать QR-код может любой заинтересованный пользователь буквально за пару секунд. Достаточно воспользоваться специальными онлайн-сервисами, которые зашифруют введенный текст, ссылку или изображение.
  4. Проверить подлинность купленного товара можно с помощью специального QR-кода в приложении «Честный знак».

  • Как карандаш по английскому пишется слово
  • Как казнили в ссср рассказ палача
  • Как итоговое сочинение влияет на поступление в вуз
  • Как исторические события влияют на судьбу человека сочинение аргументы
  • Как исторические события влияют на судьбу человека итоговое сочинение