Sweeping, 10 billion "codes" can be scanned worldwide every day!Will the QR code be used by humans?

Author:Peninsula Metropolis Daily Time:2022.09.02

Reporter Yu Meijun

Payment code, health code, venue code, car code ... Today, the QR code, as a carrier of mobile payment, information query, identity recognition, has been widely used in our daily food and transportation.

According to statistics, 10 billion QR codes are scanned around the world every day. Such a huge amount can't help but worry. Will the QR code be consumed on the day? How can it be recognized by mobile phones?

my country's two -dimensional code application accounts for more than 90 % of the world's

The two -dimensional code can be called the "ID card" of all things. Today, we have entered the "scanning era": travel and transportation can scan the code and ride a bicycle. We need to show a health code when I go to work.

QR code has been widely used in many areas such as mobile payment, document management, electronic ticketing, logistics tracking, and catering services.

Zhang Chao, Dean of Zhongguancun Industrial and Information Technology Research Institute, said: "From the perspective of the industrial chain, it is at least a trillion -dollar industry. Although China is not the birthplace of QR code technology, it has become a QR code The largest application country. As of the first half of 2018, it can be said that more than 90%of the world's QR code applications are in China. "

The QR code is the key entry of online and offline connections. The economy and ecology formed with the QR code as the carrier has spawned new industries, new formats, and new models to create new economy.

According to the "Economic Influence Report" released by WeChat in January 2020, in 2019, the economic scale of the code brought by WeChat ecology reached 8.58 trillion yuan, and WeChat drove 26.01 million economic employment opportunities on the code.

The "2020 Economic War Report" jointly released by Tsinghua University China Economic and Social Data Research Center and Tencent shows that in the first quarter of 2020, the economic transaction volume on "code" increased by 25.86%year -on -year. From January 23 to May 6 of that year, the total number of individual government -enterprise individuals reached 140 billion times, and the per capita scanned code was 116 times. The super "code" tried to save a total of 29.2 hours, saving a total of 35.04 billion hours.

Wu Jing, a researcher at the Science and Technology Strategic Consultation Research Institute of the Chinese Academy of Sciences, said that WeChat QR code ecology, as a connector of real world and virtual world in the digital economy, is a key entrance to online and offline integration. One of the ways.

In the future, the ecological network on the WeChat code will continue to expand and improve, and ultimately realize the "connecting unlimited value on the code".

How does the mobile phone read the QR code

Why is the QR code so amazing, can you get a variety of information? How does QR code be recognized by mobile phones? What does the black dots and white dots on the code represent?

Whether they are mobile phones or computers, their processors can only identify 0 and 1. In order to enable the machine to identify the information, a single number, letter, symbols, Chinese characters, etc. are needed one by one, they can be represented by 0 and 1.

When making a two -dimensional code, the information is converted into a specific 0 and 1 binary encoding, and then uses white dots to represent 0, and use black spots to represent 1. They are arranged according to certain rules. Coupled with three large black blocks used for positioning, you can get the final two -dimensional code.

To put it simply, the QR code is to translate the information you want to express into two small cubes: black and white, and then fill it into a generous block. A little similar to the answer card during the exam, translated our language and translated into machine recognizable languages. One 0 is a small white square, and the other is a small black block. Therefore, in the eyes of the computer, the QR code is a combination of 1 and 0.

The two -dimensional code image is complicated. Few people deliberately thanks to the two different QR codes. This involves a question: Will the QR code be repeated? The answer is: not! Because the QR code is a kind The encoding is generated according to the information you provided, so the information you use when you generate a QR code is different, and the QR code that will eventually appear will not be the same.

Those dirty codes can be scanned

Some people may ask, why are there three black large blocks on each QR code? Why can the mobile phone successfully read the QR code data, whether it is right, sideways or on the side of scanning code?

Experts explain that when we scan the QR code, the mobile phone first positions the position of the QR code. The three large black blocks in the upper left, upper right, and lower left position are used to locate. In other words, the mobile phone can identify the correct direction of the QR code through three large black blocks. In addition to these three large blocks, some QR codes also have dotted lines and slightly smaller blocks, which are also used to locate.

After the mobile phone is completed, it is necessary to analyze the approximate situation of this QR code. Therefore, in the surrounding area of ​​the generous block, it also includes information such as QR code and data coding. The remaining area is the area where the data is stored.

We also found in life that the QR code is blocked or missing, and it does not affect the scanning code. What is going on?

It turns out that the QR code still has a fault tolerance mechanism. Its mystery is hidden in the area of ​​storage data. It is divided into two parts, one is the data that the QR code needs to be stored, and the other part is used to correct it. The proportion of QR codes is missing or dirty than 30 %, and the QR code reader can still accurately read information.

Will the QR code be used?

We know that if a random QR code appears, if it does not scan for a long time, it will be invalid and need to be re -assigned by the system. Then, there are so many types of QR codes, will it be swept away one day?

Experts say that the QR code does be scanned one day, because all the two -dimensional code size is fixed. In a limited area, different arrangements must be presented. It takes a long time to sweep the light one by one. The current QR code has 40 official versions, the smallest is 21 × 21, and the maximum is 177 × 177 matrix. Among them, the WeChat business card is the matrix specification of 37 × 37, and the WeChat payment code is a matrix specification of 25 × 25. To facilitate understanding, we use squares as matrix units.

How to calculate the number of QR codes generated in the matrix? For example: a four -house grid, each grid has two colors. There are two possibilities of one grid, two possibilities, two plaids are four possibilities, three plaids are 8 possibilities, and four plaids are 16 possibilities. Therefore, the four palaces can form 16 graphics.

By push: 25 × 25 WeChat payment code, each row has 25 square meters, a total of 25 columns, except for the positioning blocks and redundant blocks, etc., there are 478 squares left. According to binary, each block has only two choices: black or white, so 478 small blocks can theoretically combine a two -dimensional code of "2 of 2".

How many years do WeChat uses a two -dimensional code of 25 × 25? Suppose WeChat will use 600 billion QR codes a year. Let's calculate: (478 squares 2)/600 billion = 1.301 × (10 132) years, it is an amazing astronomical number.

Assuming that humans use a two -dimensional code of 25 × 25 specifications a day, you must use 7.806 × (133 regions). To exaggerate, perhaps the day when humans do not exist, the QR code of this rule will not be used up. Moreover, there are 40 versions of the current QR code. If there is a demand in the future, we can develop more. Therefore, now the world consumes 10 billion QR codes worldwide, just nine cattle and one hairy. There is no need to worry about the day when the QR code is consumed.

- END -

Gene editing short -tailed fine hair sheep's new species is the first successful quality

The short -tailed fine -tailed sheep (left) edited by the gene is compared with th...

Just tonight, don't miss it

Notice! Notice!Just tonight! Intersection IntersectionAccording to Xinhua News Age...