A two-dimensional code fusion method, device, storage medium and electronic equipment

CN116151296BActive Publication Date: 2026-10-16HANGZHOU JIQI CAT TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202310145007.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-21
Publication Date
2026-10-16
Estimated Expiration
2043-02-21

AI Technical Summary

Technical Problem

[0006]鉴于现有技术的上述缺点、不足,本发明提供一种二维码融合方法、装置、存储介质和电子设备,其解决了现有技术中存在着的用户体验不佳的技术问题

Benefits of technology

[0010]Therefore, this application embodiment obtains a first QR code to be merged and a second QR code to be merged, processes the first QR code to be merged to obtain a processed first QR code to be merged, processes the second QR code to be merged to obtain a processed second QR code to be merged, determines a coverage area from the processed second QR code to be merged for merging the processed first QR code to be merged, and finally merges the coverage area of ​​the processed first QR code to be merged into the processed second QR code to obtain a merged QR code. Thus, through the above technical solution, the first and second QR codes to be merged can be merged, thereby enabling multiple software platforms to scan the same merged QR code to enter the specified application content, thereby simplifying user operations and improving user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116151296B_ABST
    Figure CN116151296B_ABST
Patent Text Reader

Abstract

The application relates to a two-dimensional code fusion method and device, a storage medium and electronic equipment. The two-dimensional code fusion method comprises the following steps: acquiring a first to-be-fused two-dimensional code and a second to-be-fused two-dimensional code respectively; processing the first to-be-fused two-dimensional code to obtain a processed first to-be-fused two-dimensional code; processing the second to-be-fused two-dimensional code to obtain a processed second to-be-fused two-dimensional code; determining a covering area for fusing the processed first to-be-fused two-dimensional code from the processed second to-be-fused two-dimensional code; and fusing the covering area of the processed first to-be-fused two-dimensional code into the processed second to-be-fused two-dimensional code based on the covering area to obtain a fused two-dimensional code, so that the user experience can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer technology, and in particular to a QR code fusion method, apparatus, storage medium, and electronic device. Background Technology

[0002] Currently, different software platforms generate proprietary QR codes (e.g., WeChat official account QR codes and Alipay mini-program QR codes), which can be scanned and recognized through specific software platforms to read the QR code content. Typically, the content read is a link to a webpage or an application function.

[0003] Furthermore, existing QR code solutions are typically limited to single-application scanning scenarios. For example, WeChat official account QR codes can only be accessed by scanning with WeChat; similarly, Alipay mini-program QR codes can only be accessed by scanning with Alipay.

[0004] Therefore, in order to support users on multiple platforms to use the software normally, it is necessary to provide users with multiple QR codes that are unique to each platform, and clearly indicate which platform software should scan the corresponding platform's QR code. However, this method causes certain operational complexity and confusion for users. Summary of the Invention

[0005] (a) Technical problems to be solved

[0006] In view of the above-mentioned shortcomings and deficiencies of the prior art, the present invention provides a QR code fusion method, apparatus, storage medium and electronic device, which solves the technical problem of poor user experience in the prior art.

[0007] (II) Technical Solution

[0008] To achieve the above objectives, the main technical solutions adopted by the present invention include:

[0009] In a first aspect, embodiments of the present invention provide a QR code fusion method, comprising: acquiring a first QR code to be fused and a second QR code to be fused respectively; processing the first QR code to be fused to obtain a processed first QR code to be fused; processing the second QR code to be fused to obtain a processed second QR code to be fused; determining a coverage area from the processed second QR code to be fused for fusion of the processed first QR code to be fused; and fusion the coverage area of ​​the processed first QR code to be fused into the processed second QR code to be fused based on the coverage area, thereby obtaining a fused QR code.

[0010] Therefore, this application embodiment obtains a first QR code to be merged and a second QR code to be merged, processes the first QR code to be merged to obtain a processed first QR code to be merged, processes the second QR code to be merged to obtain a processed second QR code to be merged, determines a coverage area from the processed second QR code to be merged for merging the processed first QR code to be merged, and finally merges the coverage area of ​​the processed first QR code to be merged into the processed second QR code to obtain a merged QR code. Thus, through the above technical solution, the first and second QR codes to be merged can be merged, thereby enabling multiple software platforms to scan the same merged QR code to enter the specified application content, thereby simplifying user operations and improving user experience.

[0011] In one possible embodiment, the first QR code to be merged and the second QR code to be merged correspond to the same service.

[0012] In one possible embodiment, the first QR code to be merged is processed to obtain a processed first QR code to be merged, including: replacing the style of the first QR code to be merged to obtain a style-replaced first QR code to be merged; cropping out a first QR code information area from the style-replaced first QR code to be merged; adjusting the size of the first QR code information area to obtain a size-adjusted first QR code information area; and setting the background of the size-adjusted first QR code information area to be transparent to obtain the processed first QR code to be merged.

[0013] In one possible embodiment, the second QR code to be merged is processed to obtain a processed second QR code to be merged, including: cutting out a second QR code information area from the second QR code to be merged; adjusting the size of the second QR code information area to obtain a size-adjusted second QR code information area; and removing non-critical information in the second QR code information area to obtain the processed second QR code to be merged.

[0014] In one possible embodiment, non-critical information includes logo information and border information.

[0015] In one possible embodiment, the processed second QR code to be fused includes an outer region and a central region surrounded by the outer region, with the coverage area being a portion of the central region.

[0016] Secondly, embodiments of the present invention provide a QR code fusion device, comprising: an acquisition module for acquiring a first QR code to be fused and a second QR code to be fused; a first processing module for processing the first QR code to be fused to obtain a processed first QR code to be fused; a second processing module for processing the second QR code to be fused to obtain a processed second QR code to be fused; a determination module for determining a coverage area from the processed second QR code to be fused for fusion of the processed first QR code to be fused; and a fusion module for fusion of the coverage area of ​​the processed first QR code to be fused into the processed second QR code to be fused, based on the coverage area, to obtain a fused QR code.

[0017] In one possible embodiment, the first QR code to be merged and the second QR code to be merged correspond to the same service.

[0018] Thirdly, embodiments of this application provide a storage medium storing a computer program, which, when executed by a processor, performs the method described in the first aspect or any optional implementation thereof.

[0019] Fourthly, embodiments of this application provide an electronic device, including: a processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. When the electronic device is running, the processor communicates with the memory via the bus. When the machine-readable instructions are executed by the processor, they perform the method described in the first aspect or any optional implementation of the first aspect.

[0020] Fifthly, this application provides a computer program product that, when run on a computer, causes the computer to perform the method in the first aspect or any possible implementation thereof.

[0021] To make the above-mentioned objectives, features and advantages to be achieved by the embodiments of this application more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description

[0022] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments of this application will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0023] Figure 1 A flowchart of a QR code fusion method provided in an embodiment of this application is shown;

[0024] Figure 2A A schematic diagram of a WeChat official account QR code provided in an embodiment of this application is shown;

[0025] Figure 2B This illustration shows a processed WeChat official account QR code provided in an embodiment of this application;

[0026] Figure 3A A schematic diagram of an Alipay mini-program QR code provided in an embodiment of this application is shown;

[0027] Figure 3B This illustration shows a processed Alipay mini-program QR code provided in an embodiment of this application;

[0028] Figure 4 A schematic diagram of a fused QR code provided in an embodiment of this application is shown;

[0029] Figure 5 A structural block diagram of a QR code fusion device provided in an embodiment of this application is shown. Detailed Implementation

[0030] To better explain and facilitate understanding of the present invention, the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.

[0031] To address the inconvenience of user operation in existing technologies, this application provides a QR code fusion scheme. This involves acquiring a first QR code to be fused and a second QR code to be fused, processing the first QR code to obtain a processed first QR code to be fused, and processing the second QR code to obtain a processed second QR code to be fused. A coverage area for fusion with the processed first QR code to be fused is determined from the processed second QR code to be fused. Finally, based on this coverage area, the coverage area of ​​the processed first QR code to be fused is fused into the processed second QR code to obtain a fused QR code. This solution allows the first and second QR codes to be fused, enabling multiple software platforms to scan the same fused QR code to access designated application content, thus simplifying user operation and improving user experience.

[0032] It should be noted that the specific QR codes of the first and second QR codes to be merged can be set according to actual needs, and the embodiments of this application are not limited thereto.

[0033] For example, the first QR code to be integrated can be a WeChat official account QR code, and the second QR code to be integrated can be an Alipay mini-program QR code.

[0034] For example, the first QR code to be integrated could be a WeChat official account QR code, and the second QR code to be integrated could be a Douyin QR code.

[0035] For example, the first QR code to be integrated could be an Alipay mini-program QR code, and the second QR code to be integrated could be a Meituan QR code;

[0036] For example, the first QR code to be integrated could be a Douyin QR code, and the second QR code to be integrated could be a Meituan QR code, etc.

[0037] To better understand the above technical solutions, exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention can be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that the present invention can be understood more clearly and thoroughly, and that the scope of the present invention can be fully conveyed to those skilled in the art.

[0038] It should be noted that, for ease of understanding of the technical solution of this application, the following description uses a WeChat official account QR code as the first QR code to be integrated and an Alipay mini-program QR code as the second QR code to be integrated. Of course, it can be understood that the first QR code to be integrated and / or the second QR code to be integrated can be replaced with other QR codes, and the embodiments of this application are not limited thereto.

[0039] Please see Figure 1 , Figure 1 A flowchart of a QR code fusion method provided in an embodiment of this application is shown. Figure 1 The QR code fusion method shown can be executed by a QR code fusion device, and the QR code fusion device can be as follows: Figure 5 The QR code fusion device shown is described. The specific device can be configured according to actual needs, and this application embodiment is not limited thereto. For example, the QR code fusion device can be a computer or a server, etc. Specifically, the QR code fusion method includes:

[0040] Step S110: Obtain the WeChat Official Account QR code and the Alipay Mini Program QR code respectively. The WeChat Official Account QR code and the Alipay Mini Program QR code can correspond to the same service or different services.

[0041] It should be understood that the specific methods for obtaining the WeChat official account QR code and the Alipay mini program QR code can be set according to actual needs, and the embodiments of this application are not limited thereto.

[0042] Optionally, the server can generate a standard WeChat Official Account QR code with parameters by calling the WeChat Open Platform's Application Programming Interface (API). The relevant request parameters for the WeChat Official Account QR code are shown in Table 1 below.

[0043] Table 1

[0044]

[0045]

[0046] Optionally, the server generates a standard Alipay mini-program QR code with parameters by calling the Alipay Open Platform API. The relevant request parameters for the Alipay mini-program QR code are shown in Table 2 below.

[0047] Table 2

[0048]

[0049] It should also be understood that the specific services corresponding to the WeChat official account QR code and the Alipay mini program QR code can be set according to actual needs, and the embodiments of this application are not limited thereto.

[0050] For example, the QR codes on WeChat official accounts and Alipay mini-programs both correspond to the same service: self-service reusable bags. Users can scan the code using the Alipay app to retrieve the reusable bags, and vice versa.

[0051] Step S120: Process the WeChat official account QR code to obtain the processed WeChat official account QR code.

[0052] It should be understood that the specific process of processing the WeChat official account QR code can be set according to actual needs, and the embodiments of this application are not limited thereto.

[0053] Optionally, the content information of the WeChat Official Account QR code is extracted, and a new WeChat Official Account QR code with a replaced style is generated based on the content information. The first QR code information area is then cropped from the new QR code. For example, since the first QR code information area is set within a first preset boundary (e.g., since the background of the first QR code information area is white, and the first preset boundary is also white, it is invisible to the naked eye), the WeChat Official Account QR code within the boundary can be cropped out. Furthermore, the size of the first QR code information area is adjusted to obtain a sized first QR code information area, and the background of the sized first QR code information area is set to transparent (i.e., the white background is removed and set to a transparent color), resulting in the processed WeChat Official Account QR code.

[0054] It should also be understood that the specific process of regenerating the WeChat Official Account QR code with a different style based on the content information in the WeChat Official Account QR code can be set according to actual needs, and the embodiments of this application are not limited thereto.

[0055] Optionally, based on a fixed fault tolerance rate, the content information in the WeChat official account QR code can be converted into the original QR code, and the style of the original QR code can be replaced to obtain the WeChat official account QR code with the style replaced, thereby reducing the recognition rate of this QR code by the Alipay application.

[0056] It should also be understood that the specific process of style replacement can be set according to actual needs, and the embodiments of this application are not limited thereto.

[0057] Optionally, the square-patterned data in the original QR code can be converted into dot-patterned data. For example, in... Figure 2A This application provides an embodiment of a WeChat official account QR code, which is illustrated in the diagram below. Figure 2B In the case of a schematic diagram showing a processed WeChat official account QR code provided in an embodiment of this application, it can be combined with... Figure 2A and Figure 2B Let's understand the process of style replacement.

[0058] It should also be understood that the specific size of the first QR code information area can be set according to actual needs, and the embodiments of this application are not limited thereto.

[0059] Optionally, the size of the first QR code information area can be reduced to 280*280 pixels.

[0060] Step S130: Process the Alipay mini-program QR code to obtain the processed Alipay mini-program QR code.

[0061] It should be understood that the specific process of processing the Alipay mini-program QR code can be set according to actual needs, and the embodiments of this application are not limited thereto.

[0062] Optionally, a second QR code information area can be cropped from the Alipay mini-program QR code. For example, since the second QR code information area is located within a second preset boundary (e.g., since the background of the second QR code information area is white, and the second preset boundary is also white, it is not visible to the naked eye), the second QR code information area within the second preset boundary can be cropped out. Furthermore, the size of the second QR code information area can be adjusted to obtain a resized second QR code information area. The second QR code information area may include non-critical information and critical information used to identify the Alipay mini-program QR code; that is, the Alipay application can access the specified application content by scanning only the critical information, while the non-critical information can be used for decoration and to improve accuracy. Finally, the non-critical information in the second QR code information area can be removed to obtain a processed Alipay mini-program QR code.

[0063] It should also be understood that the specific size of the second QR code information area can be set according to actual needs, and the embodiments of this application are not limited thereto.

[0064] Optionally, the size of the second QR code information area can be reduced to 600*600 pixels.

[0065] It should also be understood that the specific information contained in the non-critical information can be set according to actual needs, and the embodiments of this application are not limited thereto.

[0066] Optionally, non-critical information may include logo information and border information. For example, in... Figure 3A This application provides an embodiment of an Alipay mini-program QR code, which is illustrated in the diagram below. Figure 3B In the case of a schematic diagram showing a processed Alipay mini-program QR code provided in an embodiment of this application, as shown... Figure 3A As shown, the three square areas in the upper left, upper right, and lower left corners of this Alipay mini-program also have borders, which can be removed. Additionally, the Alipay mini-program's logo in the lower right corner can also be removed to obtain the desired result. Figure 3B The processed Alipay mini-program QR code shown is shown.

[0067] Step S140: Determine the coverage area from the processed Alipay mini-program QR code to be used for merging the processed WeChat official account QR code.

[0068] Specifically, such as Figure 3BAs shown, the processed Alipay mini-program QR code can include an outer area and a central area surrounded by the outer area, and the coverage area is a part of the central area. That is, it is only necessary to ensure that the processed WeChat official account is within the outer area.

[0069] Step S150: Based on the coverage area, merge the coverage area of ​​the processed WeChat official account QR code into the processed Alipay mini program QR code to obtain the merged QR code.

[0070] It should be understood that the merged QR code may also be called by other names, and the embodiments of this application are not limited to this.

[0071] For example, because the merged QR code looks like a tiger's head, it can also be called a tiger code.

[0072] It should also be understood that the specific process of merging the coverage area of ​​the processed WeChat official account QR code into the processed Alipay mini program QR code based on the coverage area can be set according to actual needs, and the embodiments of this application are not limited thereto.

[0073] Optionally, the processed Alipay mini-program QR code is read into the canvas, and the processed WeChat official account QR code is read into memory. The top-left corner of the processed WeChat official account QR code is placed at a preset distance (e.g., 160, 160 pixels) from the top corner of the processed Alipay mini-program QR code. An "application icon" is added to the bottom-right corner of the canvas. Finally, the canvas elements are merged to save the new image. See details for further information. Figure 4 The merged QR code shown.

[0074] In addition, a preset icon can be set in the lower right corner of the merged QR code.

[0075] Therefore, this embodiment of the application obtains WeChat official account QR codes and Alipay mini-program QR codes separately, processes the WeChat official account QR code to obtain a processed WeChat official account QR code, processes the Alipay mini-program QR code to obtain a processed Alipay mini-program QR code, determines the coverage area from the processed Alipay mini-program QR code for merging the processed WeChat official account QR code, and finally merges the coverage area of ​​the processed WeChat official account QR code into the processed Alipay mini-program QR code based on the coverage area to obtain a merged QR code. Thus, through the above technical solution, WeChat official account QR codes and Alipay mini-program QR codes can be merged, enabling multiple software platforms to scan the same merged QR code to enter the specified application content, thereby simplifying user operations and improving user experience.

[0076] It should be understood that the above QR code fusion method is merely exemplary, and those skilled in the art can make various modifications based on the above method, and the modified solutions also fall within the protection scope of this application.

[0077] Please see Figure 5 , Figure 5 A structural block diagram of a QR code fusion device 500 provided in an embodiment of this application is shown. It should be understood that the QR code fusion device 500 is capable of performing the various steps in the above method embodiments. The specific functions of the QR code fusion device 500 can be found in the description above; detailed descriptions are omitted here to avoid repetition. The QR code fusion device 500 includes at least one software function module that can be stored in a memory or embedded in the operating system (OS) of the QR code fusion device 500 in the form of software or firmware. Specifically, the QR code fusion device 500 includes:

[0078] The acquisition module 510 is used to acquire the first QR code to be merged and the second QR code to be merged, respectively.

[0079] The first processing module 520 is used to process the first QR code to be merged to obtain the processed first QR code to be merged.

[0080] The second processing module 530 is used to process the second QR code to be merged to obtain the processed second QR code to be merged.

[0081] The determining module 540 is used to determine the coverage area for merging the processed first QR code from the processed second QR code to be merged;

[0082] The fusion module 550 is used to fuse the coverage area of ​​the first QR code to be fused after processing into the second QR code to be fused after processing, based on the coverage area, to obtain the fused QR code.

[0083] In one possible embodiment, the first QR code to be merged and the second QR code to be merged correspond to the same service.

[0084] In one possible embodiment, the first processing module 520 is specifically used for: replacing the style of the first QR code to be merged to obtain the first QR code to be merged after style replacement; cropping out the first QR code information area from the first QR code to be merged after style replacement; adjusting the size of the first QR code information area to obtain the first QR code information area after size adjustment; and setting the background of the first QR code information area after size adjustment to transparent to obtain the processed first QR code to be merged.

[0085] In one possible embodiment, the second processing module 530 is specifically used for: cutting out a second QR code information area from the second QR code to be merged; adjusting the size of the second QR code information area to obtain a second QR code information area after size adjustment; and eliminating non-critical information in the second QR code information area to obtain a processed second QR code to be merged.

[0086] In one possible embodiment, non-critical information includes logo information and border information.

[0087] In one possible embodiment, the processed second QR code to be fused includes an outer region and a central region surrounded by the outer region, with the coverage area being a portion of the central region.

[0088] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working process of the device described above can be referred to the corresponding process in the aforementioned method, and will not be elaborated further here.

[0089] Since the apparatus described in the above embodiments of the present invention is an apparatus used to implement the methods of the above embodiments of the present invention, those skilled in the art can understand the specific structure and variations of the apparatus based on the methods described in the above embodiments of the present invention, and therefore will not be described again here. All apparatuses used in the methods of the above embodiments of the present invention fall within the scope of protection of the present invention.

[0090] This application provides a storage medium storing a computer program, which is executed by a processor to perform the methods described in the embodiments.

[0091] This application also provides a computer program product that, when run on a computer, causes the computer to perform the method described in the method embodiment.

[0092] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0093] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, as well as combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions.

[0094] It should be noted that any reference numerals placed between parentheses in the claims should not be construed as limiting the claims. The word "comprising" does not exclude the presence of components or steps not listed in the claims. The word "a" or "an" preceding a component does not exclude the presence of a plurality of such components. The invention can be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In claims that enumerate several means, several of these means may be embodied by the same hardware. The use of the terms first, second, third, etc., is merely for convenience of expression and does not indicate any order. These terms can be understood as part of the component names.

[0095] Furthermore, it should be noted that in the description of this specification, the terms "one embodiment," "some embodiments," "embodiment," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Furthermore, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.

[0096] Although preferred embodiments of the invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the claims should be interpreted to include both the preferred embodiments and all changes and modifications falling within the scope of the invention.

[0097] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the claims of this invention and their equivalents, then this invention should also include these modifications and variations.

Claims

1. A QR code fusion method, characterized in that, include: Obtain the first and second QR codes to be merged respectively; The first QR code to be merged is processed to obtain a processed first QR code to be merged; wherein, the processing of the first QR code to be merged includes: based on a fixed fault tolerance rate, converting the content information in the first QR code to be merged into the original QR code, and performing style replacement on the original QR code, converting the square-style data into the dot-style data; the style replacement is used to reduce the recognition rate of this QR code; The second QR code to be merged is processed to obtain a processed second QR code to be merged; wherein, the processing of the second QR code to be merged includes cropping out the second QR code information area from the second QR code to be merged, and removing the LOGO information and border information in the second QR code information area; Determine the coverage area for fusing the processed first QR code from the processed second QR code to be fused; Based on the coverage area, the coverage area of ​​the first QR code to be merged after processing is merged into the second QR code to be merged after processing, to obtain the merged QR code; The step of processing the first QR code to be merged to obtain the processed first QR code to be merged includes: The style of the first QR code to be merged is replaced to obtain the first QR code to be merged after style replacement. The first QR code information area is cut out from the first QR code to be merged after the style replacement; The size of the first QR code information area is adjusted to obtain the first QR code information area after size adjustment. The background of the first QR code information area after size adjustment is set to transparent to obtain the first QR code to be merged after processing.

2. The QR code fusion method according to claim 1, characterized in that, The first QR code to be integrated and the second QR code to be integrated correspond to the same service.

3. The QR code fusion method according to claim 1 or 2, characterized in that, The step of processing the second QR code to be merged to obtain the processed second QR code to be merged includes: Cut out the second QR code information area from the second QR code to be merged; The size of the second QR code information area is adjusted to obtain the second QR code information area after size adjustment; Non-critical information in the second QR code information area is removed to obtain the processed second QR code to be merged.

4. The QR code fusion method according to claim 3, characterized in that, The non-critical information includes logo information and border information.

5. The QR code fusion method according to claim 1, characterized in that, The processed second QR code to be merged includes an outer region and a central region surrounded by the outer region, and the covered area is a portion of the central region.

6. A QR code fusion device, characterized in that, include: The acquisition module is used to acquire the first QR code to be merged and the second QR code to be merged, respectively. The first processing module is used to process the first QR code to be merged to obtain a processed first QR code to be merged; wherein, processing the first QR code to be merged includes: converting the content information in the first QR code to be merged into the original QR code based on a fixed fault tolerance rate, and performing style replacement on the original QR code, converting the square-style data into the dot-style data; the style replacement is used to reduce the recognition rate of this QR code; The second processing module is used to process the second QR code to be merged to obtain the processed second QR code to be merged; wherein, processing the second QR code to be merged includes cropping out the second QR code information area from the second QR code to be merged, and removing the LOGO information and border information in the second QR code information area; The determining module is used to determine the coverage area for fusing the processed first QR code from the processed second QR code to be fused; The fusion module is used to fuse the coverage area of ​​the processed first QR code to be fused into the processed second QR code to be fused based on the coverage area, so as to obtain the fused QR code; The first processing module is specifically used to replace the style of the first QR code to be merged, to obtain a style-replaced first QR code to be merged; to cut out a first QR code information area from the style-replaced first QR code to be merged; to adjust the size of the first QR code information area, to obtain a size-adjusted first QR code information area; and to set the background of the size-adjusted first QR code information area to be transparent, to obtain the processed first QR code to be merged.

7. The QR code fusion device according to claim 6, characterized in that, The first QR code to be integrated and the second QR code to be integrated correspond to the same service.

8. A storage medium having a computer program stored thereon, characterized in that, The computer program is executed by the processor to perform the QR code fusion method as described in any one of claims 1-5.

9. An electronic device comprising a processor, a memory, and a computer program stored in the memory, characterized in that, The processor executes the computer program to implement the QR code fusion method as described in any one of claims 1-5.

Citation Information

Patent Citations

  • Two-dimensional code mixed generation method

    CN105894071A

  • Combined two-dimensional code anti-fake system and method, combined two-dimensional code and combined two-dimensional code reading device

    CN108229969A

  • Color two-dimensional barcode generation apparatus, color two-dimensional barcode reading device, method for generating color two-dimensional barcode, method for reading color two-dimensional barcode, and computer program

    JP2013041496A