One-code multi-content two-dimensional code generating method, reading method, using method and terminal
By converting black and white QR codes into color QR codes and using color information to represent the second data information, the problem of limited data capacity and inability to implement permission management in the existing QR code is solved, and efficient data capacity increase and permission management are achieved.
Patent Information
- Application Number
- CN202311383030.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-24
- Publication Date
- 2025-04-25
AI Technical Summary
The data capacity of existing QR codes is limited, and it is impossible to effectively manage the permissions of different information in the QR code.
By converting the black and white QR code into a color QR code, the second data information is represented by color information, so that a variety of information is included in the same QR code, and different data are obtained through different decoding methods to realize permission management.
The data capacity of QR code has been increased, and the permission management of QR code data is realized through different scanning methods, improving data security.
Smart Images

Figure CN119886193A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of two-dimensional codes, and more specifically, to a one-code multi-content two-dimensional code generation method, a reading method, a use method and a terminal. Background Art
[0002] QR codes have been widely used in modern life, but the data capacity of existing QR codes is limited, usually within 500 Chinese characters or 1,850 characters. Therefore, the content expressed by existing QR codes is limited, usually payment information or web links, etc. Therefore, how to expand the capacity of QR codes to display more information is a problem that needs to be solved.
[0003] In addition, existing QR codes usually only correspond to one decoding method. After mastering the decoding method, all the information represented by the QR code can be obtained, and it is impossible to implement permission management for different information in the QR code. Summary of the invention
[0004] The technical problem to be solved by the present invention is to provide a method for generating, reading, using and terminal of a one-code multi-content two-dimensional code.
[0005] The technical solution adopted by the present invention to solve the technical problem is: constructing a method for generating a one-code multi-content two-dimensional code, comprising:
[0006] Acquire first data information and second data information;
[0007] Convert the first data information into a black and white two-dimensional code according to a first conversion algorithm;
[0008] The black part of the black-and-white two-dimensional code is dyed according to the second conversion algorithm and the second data information, and the generated color two-dimensional code includes the first data information and the second data information.
[0009] Further, in the one-code multi-content two-dimensional code generation method of the present invention, coloring the black part of the black and white two-dimensional code according to the second conversion algorithm and the second data information includes:
[0010] The second conversion algorithm converts the second data information into color information according to the distribution of black blocks of the black and white two-dimensional code, and uses the color information to dye the black part of the black and white two-dimensional code.
[0011] Furthermore, in the one-code multi-content two-dimensional code generation method described in the present invention, the color information includes at least two colors, and each color corresponds to a preset coding information.
[0012] In addition, the present invention also provides a one-code multi-content two-dimensional code reading method, comprising:
[0013] Obtaining a color two-dimensional code, wherein the color two-dimensional code includes first data information and second data information;
[0014] Parsing the contrasting color information of the color QR code;
[0015] The contrast color information is decoded using a first decoding algorithm to obtain first data information.
[0016] In addition, the present invention also provides a one-code multi-content two-dimensional code reading method, comprising:
[0017] Get the color QR code;
[0018] Obtaining color information of the color QR code;
[0019] The color information is decoded using a second decoding algorithm to obtain first data information and second data information.
[0020] Further, in the one-code multi-content two-dimensional code reading method of the present invention, the using a second decoding algorithm to decode the color information to obtain the first data information and the second data information includes:
[0021] The second decoding algorithm decodes the color information according to the correspondence between the color and the preset coding information to obtain the first data information and the second data information, and each color corresponds to a preset coding information.
[0022] In addition, the present invention also provides a method for using a one-code multi-content two-dimensional code, including:
[0023] Acquire first data information and second data information;
[0024] Convert the first data information into a black and white two-dimensional code according to a first conversion algorithm;
[0025] Coloring the black part of the black and white two-dimensional code according to the second conversion algorithm and the second data information, and generating a color two-dimensional code including the first data information and the second data information;
[0026] After acquiring the color two-dimensional code, decoding the color two-dimensional code using the first decoding method or the second decoding method;
[0027] The first decoding method is: parsing the contrasting color information of the color two-dimensional code, and using a first decoding algorithm to decode the contrasting color information to obtain first data information;
[0028] The second decoding method is: acquiring color information of the color two-dimensional code, and using a second decoding algorithm to decode the color information to obtain first data information and second data information.
[0029] Further, in the one-code multi-content two-dimensional code use method of the present invention, coloring the black part of the black and white two-dimensional code according to the second conversion algorithm and the second data information includes:
[0030] The second conversion algorithm converts the second data information into color information according to the distribution of black blocks of the black and white two-dimensional code, and uses the color information to dye the black part of the black and white two-dimensional code; the color information includes at least two colors, each color corresponds to a preset coding information.
[0031] Further, in the one-code multi-content two-dimensional code use method of the present invention, the using a second decoding algorithm to decode the color information to obtain the first data information and the second data information includes:
[0032] The second decoding algorithm decodes the color information according to the correspondence between the color and the preset coding information to obtain the first data information and the second data information, and each color corresponds to a preset coding information.
[0033] In addition, the present invention also provides an intelligent terminal, including a code scanning module, a memory and a processor;
[0034] The code scanning module is used to obtain a color QR code;
[0035] A computer program is stored in the memory, and the processor executes the steps of the one-code multiple-content QR code generation method as described above by calling the computer program stored in the memory; or executes the steps of the one-code multiple-content QR code reading method as described above; or executes the steps of the one-code multiple-content QR code use method as described above.
[0036] The implementation of the one-code multi-content two-dimensional code generation method, reading method, use method and terminal of the present invention has the following beneficial effects: the present invention uses a color two-dimensional code to not only increase the data capacity of the two-dimensional code, but also the color two-dimensional code can obtain different data using different scanning methods, thereby realizing the authority management of the two-dimensional code data. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] The present invention will be further described below with reference to the accompanying drawings and embodiments, in which:
[0038] Figure 1 It is a flow chart of a method for generating a one-code multi-content two-dimensional code provided by an embodiment of the present invention;
[0039] Figure 2 It is a flow chart of a method for reading a one-code multi-content two-dimensional code provided by an embodiment of the present invention;
[0040] Figure 3 It is a flow chart of a method for reading a one-code multi-content two-dimensional code provided by an embodiment of the present invention;
[0041] Figure 4 It is a flow chart of a method for using a one-code, multi-content QR code provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0042] In order to have a clearer understanding of the technical features, purposes and effects of the present invention, specific embodiments of the present invention are now described in detail with reference to the accompanying drawings.
[0043] A QR code is a black and white graphic that records data symbol information and is distributed in a plane (two-dimensional direction) according to a certain pattern using certain geometric figures. In coding, the concept of "0" and "1" bit streams that constitute the internal logic basis of the computer is cleverly used, and several geometric figures corresponding to binary are used to represent text numerical information. It is automatically read through image input devices or photoelectric scanning devices to realize automatic information processing. It has some common features of barcode technology: each code system has its own specific character set, each character occupies a certain width, has certain verification functions, etc., and also has the function of automatically identifying information in different rows and processing graphic rotation change points. The capacity of a QR code refers to the maximum amount of data that a QR code can store.
[0044] In a preferred embodiment, reference Figure 1 The one-code multi-content two-dimensional code generation method of this embodiment includes the following steps:
[0045] Step S11: Acquire first data information and second data information.
[0046] Specifically, the first data information and the second data information belong to different information. In this embodiment, the first data information and the second data information need to be displayed in the form of a QR code, and the first data information and the second data information need to be included in the same QR code at the same time, and the first data information and the second data information need to be included in different dimensions of the QR code.
[0047] Step S12: converting the first data information into a black and white two-dimensional code according to a first conversion algorithm.
[0048] Specifically, the first conversion algorithm is an algorithm for converting data information into a two-dimensional code. There are many first conversion algorithms in the prior art, and reference can be made to the prior art. In this embodiment, the first data information is converted into a black-and-white two-dimensional code according to the first conversion algorithm. The black-and-white two-dimensional code is composed of only black and white, wherein the black part represents the first data information, that is, the first data information can be obtained by reading and decoding the black part in the black-and-white two-dimensional code.
[0049] Step S13: coloring the black part of the black-and-white two-dimensional code according to the second conversion algorithm and the second data information, and generating a color two-dimensional code including the first data information and the second data information.
[0050] Specifically, after the first data information is converted into a black-and-white two-dimensional code, the black-and-white two-dimensional code includes the first data information, and the second data information needs to be further integrated into the black-and-white two-dimensional code. This embodiment provides a second conversion algorithm, and the second conversion algorithm is used to dye the black part of the black-and-white two-dimensional code. Dyeing refers to dyeing part or all of the black part of the black-and-white two-dimensional code into color.
[0051] Furthermore, when dyeing the black part of the black and white two-dimensional code, the second conversion algorithm converts the second data information into color information according to the distribution of black blocks of the black and white two-dimensional code, and uses the color information to dye the black part of the black and white two-dimensional code. It should be noted that the color information includes at least two colors, and each color corresponds to a preset coding information. For example, in a black and white two-dimensional code, white represents 0 and black represents 1; the color information includes red, orange, yellow, green, cyan, blue, and purple, wherein the preset coding information corresponding to red, orange, yellow, green, cyan, blue, and purple are 2, 3, 4, 5, 6, 7, and 8, respectively. It can be understood that the more colors used in the color information, the greater the data capacity that the color two-dimensional code can contain.
[0052] It can be seen that when the second conversion algorithm is used to dye the black and white two-dimensional code in this embodiment, only the black part of the black and white two-dimensional code is dyed, so the black two-dimensional code data will not be destroyed, that is, the first data information contained in the black two-dimensional code will not be destroyed. In addition, by dyeing the black and white two-dimensional code, the second data information is displayed through color without destroying the black two-dimensional code, so that the first data information and the second data information are displayed in the same two-dimensional code.
[0053] Based on the black and white QR code, this embodiment further uses color to represent the coded information, so that the color QR code can further increase the data capacity based on the original black and white QR code, and realize the inclusion of two kinds of information in different dimensions of the same QR code, thereby improving information security.
[0054] In a preferred embodiment, reference Figure 2 The two-dimensional code read by the one-code multiple-content two-dimensional code reading method of this embodiment is the color two-dimensional code generated by the one-code multiple-content two-dimensional code generation method in the above embodiment. Specifically, the one-code multiple-content two-dimensional code reading method includes the following steps:
[0055] Step S21: Obtain a color two-dimensional code, where the color two-dimensional code includes first data information and second data information.
[0056] Specifically, when the smart terminal obtains the color QR code, the color QR code can be obtained through the camera of the smart terminal, or the color QR code can be received through the communication unit of the smart terminal. The color QR code includes the first data information and the second data information. It can be understood that the color QR code is not a QR code displayed in color in the prior art.
[0057] Step S22: parse out the contrast color information of the color two-dimensional code.
[0058] Specifically, since this embodiment needs to read the first data information contained in the color two-dimensional code, and the first data information is contained in the black and white two-dimensional code, when the first data information is obtained, the contrast color information of the color two-dimensional code needs to be parsed. The contrast color information refers to the contrast information of the colored area and the white area in the color two-dimensional code, that is, the information represented by the colored area in the color two-dimensional code is 1, and the information represented by the white area is 0. It can be understood that at this time, it does not matter what color the color area is, but only whether the area is colored or white, so the contrast color information of the color two-dimensional code is essentially the same as the contrast information of the black and white two-dimensional code.
[0059] Step S23: using a first decoding algorithm to decode the contrast color information to obtain first data information.
[0060] Specifically, corresponding to the color QR code generated by the one-code multi-content QR code generation method in the above-mentioned embodiment, the first decoding algorithm of this embodiment corresponds to the first conversion algorithm, that is, the first decoding algorithm is the inverse process of the first conversion algorithm, wherein the first conversion algorithm is used to convert the first data information into a black and white QR code, and the first decoding algorithm is used to decode the contrasting color information (equivalent to the black and white QR code) to obtain the first data information.
[0061] When reading the first data information in the color two-dimensional code, this embodiment needs to first obtain the contrasting color information of the color two-dimensional code, and then obtain the first data information from the contrasting color information. It can also be further explained that this embodiment can read part of the information in the two-dimensional code separately, thereby ensuring the security of other information in the two-dimensional code.
[0062] In a preferred embodiment, reference Figure 3 The two-dimensional code read by the one-code multiple-content two-dimensional code reading method of this embodiment is the color two-dimensional code generated by the one-code multiple-content two-dimensional code generation method in the above embodiment. Specifically, the one-code multiple-content two-dimensional code reading method includes the following steps:
[0063] Step S31: Obtain a color QR code.
[0064] Specifically, when the smart terminal obtains the color QR code, the color QR code can be obtained through the camera of the smart terminal, or the color QR code can be received through the communication unit of the smart terminal. The color QR code includes the first data information and the second data information. It can be understood that the color QR code is not a QR code displayed in color in the prior art.
[0065] Step S32: Obtain color information of the color two-dimensional code.
[0066] Specifically, since this embodiment needs to read the first data information and the second data information contained in the color two-dimensional code, and the first information in the color two-dimensional code is contained in the black and white two-dimensional code, and the second data information is contained in the color part, it is necessary to obtain the color information of the color two-dimensional code. The color information includes color information and location information of the location where the color information is located.
[0067] Step S33: Decode the color information using a second decoding algorithm to obtain first data information and second data information.
[0068] Specifically, when the second decoding algorithm is used to decode the color information to obtain the first data information and the second data information, the second decoding algorithm decodes the color information according to the correspondence between the color and the preset coding information to obtain the first data information and the second data information, and each color corresponds to a preset coding information. Further, the second decoding algorithm obtains the first data information and the second data information according to the color information and the position information of the position where the color information is located.
[0069] Alternatively, after obtaining the color information, the second data information can be decoded using the color information, and then the color QR code can be converted into a black and white QR code, and the black and white QR code can be decoded using the first decoding algorithm to obtain the first data information, and finally the first data information and the second data information can be obtained.
[0070] This embodiment uses the second decoding algorithm, which can decode the first data information and the second data information at the same time. Compared with the prior art two-dimensional code that can only decode one kind of data, this embodiment can implement the authority management of different data and improve data security.
[0071] In a preferred embodiment, reference Figure 4 The method for using a one-code multi-content two-dimensional code of this embodiment includes the following steps:
[0072] Step S41: Acquire first data information and second data information.
[0073] Specifically, the first data information and the second data information belong to different information. In this embodiment, the first data information and the second data information need to be displayed in the form of a QR code, and the first data information and the second data information need to be included in the same QR code at the same time, and the first data information and the second data information need to be included in different dimensions of the QR code.
[0074] Step S42: converting the first data information into a black and white two-dimensional code according to a first conversion algorithm.
[0075] Specifically, the first conversion algorithm is an algorithm for converting data information into a two-dimensional code. There are many first conversion algorithms in the prior art, and reference can be made to the prior art. In this embodiment, the first data information is converted into a black-and-white two-dimensional code according to the first conversion algorithm. The black-and-white two-dimensional code is composed of only black and white, wherein the black part represents the first data information, that is, the first data information can be obtained by reading and decoding the black part in the black-and-white two-dimensional code.
[0076] Step S43: coloring the black part of the black-and-white two-dimensional code according to the second conversion algorithm and the second data information, and generating a color two-dimensional code including the first data information and the second data information.
[0077] Specifically, after the first data information is converted into a black-and-white two-dimensional code, the black-and-white two-dimensional code includes the first data information, and the second data information needs to be further integrated into the black-and-white two-dimensional code. This embodiment provides a second conversion algorithm, and the second conversion algorithm is used to dye the black part of the black-and-white two-dimensional code. Dyeing refers to dyeing part or all of the black part of the black-and-white two-dimensional code into color.
[0078] Furthermore, when dyeing the black part of the black and white two-dimensional code, the second conversion algorithm converts the second data information into color information according to the distribution of black blocks of the black and white two-dimensional code, and uses the color information to dye the black part of the black and white two-dimensional code. It should be noted that the color information includes at least two colors, and each color corresponds to a preset coding information. For example, in a black and white two-dimensional code, white represents 0 and black represents 1; the color information includes red, orange, yellow, green, cyan, blue, and purple, wherein the preset coding information corresponding to red, orange, yellow, green, cyan, blue, and purple are 2, 3, 4, 5, 6, 7, and 8, respectively. It can be understood that the more colors used in the color information, the greater the data capacity that the color two-dimensional code can contain.
[0079] It can be seen that when the second conversion algorithm is used to dye the black and white two-dimensional code in this embodiment, only the black part of the black and white two-dimensional code is dyed, so the black two-dimensional code data will not be destroyed, that is, the first data information contained in the black two-dimensional code will not be destroyed. In addition, by dyeing the black and white two-dimensional code, the second data information is displayed through color without destroying the black two-dimensional code, so that the first data information and the second data information are displayed in the same two-dimensional code.
[0080] Step S44: After acquiring the color two-dimensional code, the color two-dimensional code is decoded using the first decoding method or the second decoding method.
[0081] Specifically, when the smart terminal obtains the color QR code, the color QR code can be obtained through the camera of the smart terminal, or the color QR code can be received through the communication unit of the smart terminal. The color QR code includes the first data information and the second data information. It can be understood that the color QR code is not a QR code displayed in color in the prior art.
[0082] Step S45: The first decoding method is: parsing the contrasting color information of the color two-dimensional code, and using the first decoding algorithm to decode the contrasting color information to obtain the first data information.
[0083] Specifically, since the present embodiment needs to read the first data information contained in the color two-dimensional code, and the first data information is contained in the black and white two-dimensional code, when it is thought of obtaining the first data information, the contrast color information of the color two-dimensional code needs to be parsed. The contrast color information refers to the contrast information of the color area and the white area in the color two-dimensional code, that is, the information represented by the color area in the color two-dimensional code is 1, and the information represented by the white area is 0. It can be understood that at this time, it does not matter what color the color area is, but only cares whether the area is colored or white, so the contrast color information of the color two-dimensional code is essentially the same as the contrast information of the black and white two-dimensional code. Further, corresponding to the color two-dimensional code generated by the one-code multi-content two-dimensional code generation method of the above embodiment, the first decoding algorithm of the present embodiment corresponds to the first conversion algorithm, that is, the first decoding algorithm is the inverse process of the first conversion algorithm, wherein the first conversion algorithm is used to convert the first data information into a black and white two-dimensional code, and the first decoding algorithm is used to decode the contrast color information (equivalent to the black and white two-dimensional code) to obtain the first data information.
[0084] Step S46: The second decoding method is: obtaining color information of the color two-dimensional code, and using a second decoding algorithm to decode the color information to obtain the first data information and the second data information.
[0085] Specifically, since this embodiment needs to read the first data information and the second data information contained in the color two-dimensional code, and the first information in the color two-dimensional code is contained in the black and white two-dimensional code, and the second data information is contained in the color part, it is necessary to obtain the color information of the color two-dimensional code. The color information includes color information and position information of the location where the color information is located. Further, the second decoding algorithm decodes the color information according to the correspondence between the color and the preset coding information to obtain the first data information and the second data information, and each color corresponds to a preset coding information. Further, the second decoding algorithm obtains the first data information and the second data information according to the color information and the position information of the location where the color information is located.
[0086] The use of a color QR code in this embodiment not only increases the data capacity of the QR code, but also allows the color QR code to obtain different data using different scanning methods, thereby achieving authority management of the QR code data and improving data security.
[0087] In a preferred embodiment, the smart terminal of this embodiment includes a code scanning module, a memory and a processor, wherein the code scanning module is used to obtain a color two-dimensional code, and the code scanning module is a camera or a communication module. Alternatively, the smart terminal can be a smart phone, a smart watch, a platform computer, a laptop computer, a desktop computer, a home appliance, a vehicle-mounted terminal, etc.
[0088] Furthermore, a computer program is stored in the memory of the smart terminal, and the processor executes the steps of the one-code multiple-content two-dimensional code generation method as in the above embodiment by calling the computer program stored in the memory. Or executes the steps of the one-code multiple-content two-dimensional code reading method as in the above embodiment. Or executes the steps of the one-code multiple-content two-dimensional code use method as in the above embodiment.
[0089] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0090] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0091] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0092] The above embodiments are only for illustrating the technical concept and features of the present invention, and their purpose is to enable people familiar with the technology to understand the content of the present invention and implement it accordingly, and they cannot limit the scope of protection of the present invention. All equivalent changes and modifications made to the scope of the claims of the present invention should fall within the scope of the claims of the present invention.
Claims
1. A method for generating a one-code multi-content two-dimensional code, characterized in that: include: Acquire first data information and second data information; Convert the first data information into a black and white two-dimensional code according to a first conversion algorithm; The black part of the black-and-white two-dimensional code is dyed according to the second conversion algorithm and the second data information, and the generated color two-dimensional code includes the first data information and the second data information.
2. The method for generating a one-code multiple-content two-dimensional code according to claim 1, characterized in that: The dyeing of the black part of the black and white two-dimensional code according to the second conversion algorithm and the second data information includes: The second conversion algorithm converts the second data information into color information according to the distribution of black blocks of the black and white two-dimensional code, and uses the color information to dye the black part of the black and white two-dimensional code.
3. The method for generating a one-code multiple-content two-dimensional code according to claim 2, characterized in that: The color information includes at least two colors, and each color corresponds to a preset coding information.
4. A method for reading a one-code multi-content two-dimensional code, characterized in that: include: Obtaining a color two-dimensional code, wherein the color two-dimensional code includes first data information and second data information; Parsing the contrasting color information of the color QR code; The contrast color information is decoded using a first decoding algorithm to obtain first data information.
5. A method for reading a one-code multi-content two-dimensional code, characterized in that: include: Get the color QR code; Obtaining color information of the color QR code; The color information is decoded using a second decoding algorithm to obtain first data information and second data information.
6. The one-code multi-content two-dimensional code reading method according to claim 5, characterized in that: The using a second decoding algorithm to decode the color information to obtain the first data information and the second data information comprises: The second decoding algorithm decodes the color information according to the correspondence between the color and the preset coding information to obtain the first data information and the second data information, and each color corresponds to a preset coding information.
7. A method for using a one-code multiple-content QR code, characterized in that: include: Acquire first data information and second data information; Convert the first data information into a black and white two-dimensional code according to a first conversion algorithm; Coloring the black part of the black and white two-dimensional code according to the second conversion algorithm and the second data information, and generating a color two-dimensional code including the first data information and the second data information; After acquiring the color two-dimensional code, decoding the color two-dimensional code using the first decoding method or the second decoding method; The first decoding method is: parsing the contrasting color information of the color two-dimensional code, and using a first decoding algorithm to decode the contrasting color information to obtain first data information; The second decoding method is: acquiring color information of the color two-dimensional code, and using a second decoding algorithm to decode the color information to obtain first data information and second data information.
8. The method for using a one-code multiple-content two-dimensional code according to claim 7, characterized in that: The dyeing of the black part of the black and white two-dimensional code according to the second conversion algorithm and the second data information includes: The second conversion algorithm converts the second data information into color information according to the distribution of black blocks of the black and white two-dimensional code, and uses the color information to dye the black part of the black and white two-dimensional code; the color information includes at least two colors, each color corresponds to a preset coding information.
9. The method for using a one-code multiple-content two-dimensional code according to claim 7, characterized in that: The using a second decoding algorithm to decode the color information to obtain the first data information and the second data information comprises: The second decoding algorithm decodes the color information according to the correspondence between the color and the preset coding information to obtain the first data information and the second data information, and each color corresponds to a preset coding information.
10. An intelligent terminal, characterized in that: It includes a code scanning module, a memory and a processor; The code scanning module is used to obtain a color QR code; A computer program is stored in the memory, and the processor executes the steps of the one-code multi-content two-dimensional code generation method as described in any one of claims 1 to 3 by calling the computer program stored in the memory; or executes the steps of the one-code multi-content two-dimensional code reading method as described in any one of claims 4 to 6; or executes the steps of the one-code multi-content two-dimensional code use method as described in any one of claims 7 to 9.