CN111860011A - A kind of target graphic code identification method and device - Google Patents
A kind of target graphic code identification method and device Download PDFInfo
- Publication number
- CN111860011A CN111860011A CN202010648350.4A CN202010648350A CN111860011A CN 111860011 A CN111860011 A CN 111860011A CN 202010648350 A CN202010648350 A CN 202010648350A CN 111860011 A CN111860011 A CN 111860011A
- Authority
- CN
- China
- Prior art keywords
- graphic code
- target
- graphic
- code
- codes
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/10544—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum
- G06K7/10712—Fixed beam scanning
- G06K7/10722—Photodetector array or CCD scanning
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/14—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/14—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
- G06K7/1404—Methods for optical code recognition
- G06K7/1439—Methods for optical code recognition including a method step for retrieval of the optical code
- G06K7/1443—Methods for optical code recognition including a method step for retrieval of the optical code locating of the code in an image
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Electromagnetism (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Toxicology (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本申请公开了一种目标图形码识别方法和装置,该方法包括:若图形码识别区域的目标图像中包括至少两个图形码,分别为至少两个图形码中的任一图形码添加可触发控件,进而通过响应对至少两个图形码中的目标图形码对应的可触发控件的触发操作,实现对目标图像中的至少两个图形码中的目标图形码的识别。
The present application discloses a method and device for identifying a target graphic code. The method includes: if a target image in a graphic code identification area includes at least two graphic codes, adding a triggerable graphic code to any one of the at least two graphic codes respectively. The control, and further realizes the recognition of the target graphic code in the at least two graphic codes in the target image by responding to the triggering operation of the triggerable control corresponding to the target graphic code in the at least two graphic codes.
Description
本文件是申请号为“201710705652.9”、申请日为“2017年08月17日”、申请名称为“一种目标图形码识别方法和装置”的专利申请的分案申请。This document is a divisional application of the patent application with the application number of "201710705652.9", the application date of "August 17, 2017", and the application title of "A method and device for identifying a target graphic code".
技术领域technical field
本申请涉及计算机技术领域,尤其涉及一种目标图形码识别方法和装置。The present application relates to the field of computer technology, and in particular, to a method and device for identifying a target graphic code.
背景技术Background technique
图形码是一种利用特定图形记录数据信息的编码方式(例如,条形码、二维码等),并可以通过终端设备的图形码识别功能识别提取出图形码中包含的数据信息。图形码的应用十分广泛,例如,支付、广告推送、网站链接等。终端设备通过识别图形码获取图形码中包含的数据信息时,经常会遇到多个图形码同时进入识别范围的情况。目前,对于识别范围内同时出现的多个图形码,终端设备一般会随机锁定其中一个图形码进行识别,提取其中包含的数据信息。但是,终端设备锁定识别的图形码可能与用户需要的目标图形码不符合。A graphic code is an encoding method (eg, barcode, two-dimensional code, etc.) that records data information by using a specific graphic, and the data information contained in the graphic code can be identified and extracted through the graphic code recognition function of the terminal device. Graphical codes are widely used, for example, payment, advertising push, website link, etc. When the terminal device obtains the data information contained in the graphic code by identifying the graphic code, it often encounters a situation that multiple graphic codes enter the identification range at the same time. Currently, for multiple graphic codes that appear simultaneously within the identification range, the terminal device generally randomly locks one of the graphic codes for identification, and extracts the data information contained therein. However, the graphic code identified by the terminal device locking may not match the target graphic code required by the user.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种目标图形码识别方法和装置,能够有效提高目标图形码的识别效率。The embodiments of the present application provide a method and device for identifying a target graphic code, which can effectively improve the identification efficiency of the target graphic code.
本申请实施例提供一种目标图形码识别方法,包括:An embodiment of the present application provides a method for identifying a target graphic code, including:
确定目标图像中的图形码,其中,所述目标图像为图形码识别区域中的图像;Determine the graphic code in the target image, wherein, the target image is the image in the graphic code identification area;
若所述目标图像中包括至少两个图形码,为所述至少两个图形码中的任一图形码添加可触发控件;If the target image includes at least two graphic codes, add a triggerable control to any graphic code in the at least two graphic codes;
通过响应对所述至少两个图形码中的目标图形码对应的可触发控件的触发操作,对所述目标图形码进行识别。The target graphic code is identified by responding to the triggering operation of the triggerable control corresponding to the target graphic code in the at least two graphic codes.
本申请实施例还提供一种目标图形码识别装置,包括:确定单元、控件添加单元和识别单元,其中:The embodiment of the present application also provides a target graphic code identification device, including: a determination unit, a control adding unit, and an identification unit, wherein:
所述确定单元,确定目标图像中的图形码,其中,所述目标图像为图形码识别区域中的图像;The determining unit determines the graphic code in the target image, wherein the target image is the image in the graphic code identification area;
所述控件添加单元,若所述目标图像中包括至少两个图形码,为所述至少两个图形码中的任一图形码添加可触发控件;The control adding unit, if the target image includes at least two graphic codes, adds a triggerable control for any graphic code in the at least two graphic codes;
所述识别单元,通过响应对所述至少两个图形码中的目标图形码对应的可触发控件的触发操作,对所述目标图形码进行识别。The identifying unit identifies the target graphic code by responding to the triggering operation of the triggerable control corresponding to the target graphic code in the at least two graphic codes.
本申请实施例还提供一种目标图形码识别装置,包括:存储器和处理器,其中:The embodiment of the present application also provides a target graphic code identification device, including: a memory and a processor, wherein:
所述存储器,存储程序;the memory stores a program;
所述处理器,执行所述存储器存储的程序,并具体执行:The processor executes the program stored in the memory, and specifically executes:
确定目标图像中的图形码,其中,所述目标图像为图形码识别区域中的图像;Determine the graphic code in the target image, wherein, the target image is the image in the graphic code identification area;
若所述目标图像中包括至少两个图形码,为所述至少两个图形码中的任一图形码添加可触发控件;If the target image includes at least two graphic codes, add a triggerable control to any graphic code in the at least two graphic codes;
通过响应对所述至少两个图形码中的目标图形码对应的可触发控件的触发操作,对所述目标图形码进行识别。The target graphic code is identified by responding to the triggering operation of the triggerable control corresponding to the target graphic code in the at least two graphic codes.
本申请实施例还提供一种计算机可读存储介质,所述计算机可读存储介质存储一个或多个程序,所述一个或多个程序当被包括多个应用程序的电子设备执行时,使得所述电子设备执行以下方法:Embodiments of the present application also provide a computer-readable storage medium, where the computer-readable storage medium stores one or more programs, and the one or more programs, when executed by an electronic device including multiple application programs, make all the programs The electronic device performs the following methods:
确定目标图像中的图形码,其中,所述目标图像为图形码识别区域中的图像;Determine the graphic code in the target image, wherein, the target image is the image in the graphic code identification area;
若所述目标图像中包括至少两个图形码,为所述至少两个图形码中的任一图形码添加可触发控件;If the target image includes at least two graphic codes, add a triggerable control to any graphic code in the at least two graphic codes;
通过响应对所述至少两个图形码中的目标图形码对应的可触发控件的触发操作,对所述目标图形码进行识别。The target graphic code is identified by responding to the triggering operation of the triggerable control corresponding to the target graphic code in the at least two graphic codes.
本申请实施例提供一种目标图形码方法,包括:The embodiment of the present application provides a target graphic code method, including:
确定目标图像中的图形码,其中,所述目标图像为图形码识别区域中的图像;Determine the graphic code in the target image, wherein, the target image is the image in the graphic code identification area;
若所述目标图像中包括至少两个图形码,接收对所述至少两个图形码中的目标图形码的识别指令;If the target image includes at least two graphic codes, receiving an identification instruction for the target graphic code in the at least two graphic codes;
根据所述识别指令,对所述目标图形码进行识别。According to the identification instruction, the target graphic code is identified.
本申请实施例还提供一种目标图形码识别装置,包括:确定单元、接收单元和识别单元,其中:The embodiment of the present application also provides a target graphic code identification device, including: a determination unit, a receiving unit and an identification unit, wherein:
所述确定单元,确定目标图像中的图形码,其中,所述目标图像为图形码识别区域中的图像;The determining unit determines the graphic code in the target image, wherein the target image is the image in the graphic code identification area;
所述接收单元,若所述目标图像中包括至少两个图形码,接收对所述至少两个图形码中的目标图形码的识别指令;The receiving unit, if the target image includes at least two graphic codes, receives an identification instruction for the target graphic code in the at least two graphic codes;
所述识别单元,根据所述识别指令,对所述目标图形码进行识别。The identifying unit identifies the target graphic code according to the identifying instruction.
本申请实施例还提供一种目标图形码识别装置,包括:存储器和处理器,其中:The embodiment of the present application also provides a target graphic code identification device, including: a memory and a processor, wherein:
所述存储器,存储程序;the memory stores a program;
所述处理器,执行所述存储器存储的程序,并具体执行:The processor executes the program stored in the memory, and specifically executes:
确定目标图像中的图形码,其中,所述目标图像为图形码识别区域中的图像;Determine the graphic code in the target image, wherein, the target image is the image in the graphic code identification area;
若所述目标图像中包括至少两个图形码,接收对所述至少两个图形码中的目标图形码的识别指令;If the target image includes at least two graphic codes, receiving an identification instruction for the target graphic code in the at least two graphic codes;
根据所述识别指令,对所述目标图形码进行识别。According to the identification instruction, the target graphic code is identified.
本申请实施例还提供一种计算机可读存储介质,所述计算机可读存储介质存储一个或多个程序,所述一个或多个程序当被包括多个应用程序的电子设备执行时,使得所述电子设备执行以下方法:Embodiments of the present application also provide a computer-readable storage medium, where the computer-readable storage medium stores one or more programs, and the one or more programs, when executed by an electronic device including multiple application programs, make all the programs The electronic device performs the following methods:
确定目标图像中的图形码,其中,所述目标图像为图形码识别区域中的图像;Determine the graphic code in the target image, wherein, the target image is the image in the graphic code identification area;
若所述目标图像中包括至少两个图形码,接收对所述至少两个图形码中的目标图形码的识别指令;If the target image includes at least two graphic codes, receiving an identification instruction for the target graphic code in the at least two graphic codes;
根据所述识别指令,对所述目标图形码进行识别。According to the identification instruction, the target graphic code is identified.
本申请实施例采用的上述至少一个技术方案能够达到以下有益效果:The above-mentioned at least one technical solution adopted in the embodiments of the present application can achieve the following beneficial effects:
若确定图形码识别区域的目标图像中包括至少两个图形码,分别为至少两个图形码中的任一图形码添加可触发控件,进而通过响应对至少两个图形码中的目标图形码对应的可触发控件的触发操作,实现在目标图像中的至少两个图形码中快速有效地对目标图形码进行识别,从而有效提高目标图形码的识别效率。If it is determined that the target image in the graphic code identification area includes at least two graphic codes, a triggerable control is added to any graphic code in the at least two graphic codes, and then the target graphic codes in the at least two graphic codes are corresponding to the at least two graphic codes by responding. The triggering operation of the triggerable control realizes the rapid and effective identification of the target graphic code in at least two graphic codes in the target image, thereby effectively improving the recognition efficiency of the target graphic code.
附图说明Description of drawings
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described herein are used to provide further understanding of the present application and constitute a part of the present application. The schematic embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation of the present application. In the attached image:
图1为本申请实施例提供的一种目标图形码识别方法的流程示意图;1 is a schematic flowchart of a method for identifying a target graphic code according to an embodiment of the present application;
图2为本申请实施例提供的扫码页面的示意图;2 is a schematic diagram of a scan code page provided by an embodiment of the present application;
图3为本申请实施例提供的为图形码添加可触发控件之后的扫码页面的示意图;3 is a schematic diagram of a scan code page after adding a triggerable control to a graphic code provided by an embodiment of the present application;
图4为本申请实施例提供的单击目标图形码之后的扫码页面的示意图;4 is a schematic diagram of a scan code page after clicking a target graphic code provided by an embodiment of the present application;
图5为本申请实施例提供的一种目标图形码识别方法的流程示意图;5 is a schematic flowchart of a method for identifying a target graphic code according to an embodiment of the present application;
图6为本申请实施例提供的一种目标图形码识别方法的流程示意图FIG. 6 is a schematic flowchart of a method for identifying a target graphic code according to an embodiment of the present application
图7为本申请实施例提供的一种电子设备的结构示意图;FIG. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
图8为本申请实施例提供的一种目标图形码识别装置的结构示意图;8 is a schematic structural diagram of an apparatus for identifying a target graphic code according to an embodiment of the present application;
图9为本申请实施例提供的一种电子设备的结构示意图;FIG. 9 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图10为本申请实施例提供的一种目标图形码识别装置的结构示意图。FIG. 10 is a schematic structural diagram of an apparatus for identifying a target graphic code according to an embodiment of the present application.
具体实施方式Detailed ways
为了实现本申请的目的,本申请实施例提供一种目标图形码识别方法和装置,所述方法包括:在确定图形码识别区域的目标图像中包括至少两个图形码之后,分别为至少两个图形码中的任一图形码添加可触发控件,进而通过响应对至少两个图形码中的目标图形码对应的可触发控件的触发操作,实现在目标图像中的至少两个图形码中快速有效地对目标图形码进行识别,从而有效提高目标图形码的识别效率。In order to achieve the purpose of the present application, an embodiment of the present application provides a method and device for identifying a target graphic code. The method includes: after determining that a target image of a graphic code identification area includes at least two graphic codes, at least two graphic codes are respectively A triggerable control is added to any graphic code in the graphic code, and then by responding to the triggering operation of the triggerable control corresponding to the target graphic code in the at least two graphic codes, the at least two graphic codes in the target image are realized quickly and effectively. It can identify the target graphic code effectively, thereby effectively improving the recognition efficiency of the target graphic code.
下面结合本申请具体实施例及相应的附图对本申请技术方案进行清楚、完整地描述。显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions of the present application will be clearly and completely described below with reference to the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of this application.
以下结合附图,详细说明本申请各实施例提供的技术方案。The technical solutions provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
实施例1Example 1
图1为本申请实施例提供的一种目标图形码识别方法的流程示意图。所述方法可以如下所示。FIG. 1 is a schematic flowchart of a method for identifying a target graphic code according to an embodiment of the present application. The method can be as follows.
步骤102:确定目标图像中的图形码。Step 102: Determine the graphic code in the target image.
其中,目标图像为图形码识别区域中的图像。Wherein, the target image is the image in the recognition area of the graphic code.
本申请实施例中,确定目标图像中的图形码,包括:In the embodiment of the present application, determining the graphic code in the target image includes:
通过图形码扫描或AR扫描确定目标图像中的图形码。Determine the graphic code in the target image by graphic code scanning or AR scanning.
本申请实施例中,图形码包括下述至少一种:条形码、二维码、AR标识码。In the embodiment of the present application, the graphic code includes at least one of the following: barcode, two-dimensional code, and AR identification code.
当用户需要识别图形码来获取图形码中包含的数据信息时,用户可以通过触发终端设备中的扫码功能,例如,单击终端设备中的扫一扫功能控件,打开对应的扫码页面。When the user needs to identify the graphic code to obtain the data information contained in the graphic code, the user can trigger the scan code function in the terminal device, for example, click the scan function control in the terminal device to open the corresponding scan code page.
图2为本申请实施例提供的扫码页面的示意图。FIG. 2 is a schematic diagram of a scan code page provided by an embodiment of the present application.
如图2所示,扫码页面中至少包括扫码控件和AR控件,用户可以通过触发扫码控件或AR控件,实现在图形码扫描对应的扫码页面或AR标识码扫描对应的扫码页面之间的切换。As shown in Figure 2, the scan code page includes at least code scan controls and AR controls. Users can trigger the scan code controls or AR controls to scan the code scan page corresponding to the graphic code scan or scan the code scan page corresponding to the AR identification code scan. switch between.
为了便于表述,对于图形码扫描对应的扫码页面和AR扫描对应的扫码页面,以下简称扫码页面。For ease of expression, the scan code page corresponding to the graphic code scan and the code scan page corresponding to the AR scan are hereinafter referred to as the scan code page.
在扫码页面中包括图形码识别区域,用户可以通过调整摄像头的位置和焦距,将摄像头对准图形码,使得图形码显示在该扫码页面中的图形码识别区域中,通过摄像头扫描获取包括图形码的目标图像。The scan code page includes a graphic code identification area. Users can adjust the position and focal length of the camera and align the camera with the graphic code, so that the graphic code is displayed in the graphic code identification area on the scan code page. The target image of the graphic code.
此外,用户还可以通过单击扫码页面中的相册控件,从终端设备的本地相册中选取包括图形码的目标图像。In addition, the user can also select the target image including the graphic code from the local album of the terminal device by clicking the album control on the scan code page.
对于终端设备确定的包括图形码的目标图像,通过图形码识别功能确定该目标图像中包括的图形码,以及确定目标图像中图形码的位置和个数。For a target image including a graphic code determined by the terminal device, the graphic code identification function is used to determine the graphic code included in the target image, and to determine the position and number of graphic codes in the target image.
终端设备确定目标图像中包括的图形码的位置和个数之后,可以根据各个图形码的位置,分别对各个图形码添加位置标识,例如,使用标识框定位目标图像中各个图形码的位置,使得用户根据该位置标识,清楚快捷地确定该目标图像中各个图形码的位置。After the terminal device determines the position and number of the graphic codes included in the target image, it can add a position mark to each graphic code according to the position of each graphic code, for example, use the identification frame to locate the position of each graphic code in the target image, so that The user can clearly and quickly determine the position of each graphic code in the target image according to the position identification.
需要说明的是,除了可以使用标识框定位目标图像中各个图形码的位置之外,还可以采用位置标识的方式定位目标图像中各个图形码的位置,这里不做具体限定。It should be noted that, in addition to using the identification frame to locate the position of each graphic code in the target image, the position of each graphic code in the target image can also be located by means of position identification, which is not specifically limited here.
步骤104:若目标图像中包括至少两个图形码,为该至少两个图形码中的任一图形码添加可触发控件。Step 104: If the target image includes at least two graphic codes, add a triggerable control for any graphic code in the at least two graphic codes.
当终端设备确定该目标图像中包括至少两个图形码之后,为了可以从该至少两个图形码中快速准确识别到用户需要的目标图形码,需要对该目标图像中的至少两个图形码进行相应处理,分别为每一个图形码添加可触发控件,使得用户可以通过对可触发控件的触发操作,主动选择触发需要识别的目标图形码。After the terminal device determines that the target image includes at least two graphic codes, in order to quickly and accurately identify the target graphic code required by the user from the at least two graphic codes, the at least two graphic codes in the target image need to be processed. Correspondingly, a triggerable control is added to each graphic code, so that the user can actively select the target graphic code to be identified for triggering by triggering the triggerable control.
需要说明的是,图形码对应的可触发控件可以添加在该图形码中,也可以添加在该图形码周围的预设位置处,这里不做具体限定。It should be noted that the triggerable control corresponding to the graphic code may be added in the graphic code, or may be added at a preset position around the graphic code, which is not specifically limited here.
在对目标图像中的各个图形码添加位置标识和可触发控件之后,将该目标图像显示在扫码页面中。After adding a position mark and triggerable controls to each graphic code in the target image, the target image is displayed on the code scanning page.
图3为本申请实施例提供的为图形码添加可触发控件之后的扫码页面的示意图。FIG. 3 is a schematic diagram of a scan code page after adding a triggerable control to a graphic code according to an embodiment of the present application.
如图3所示,图形码为二维码,在扫描页显示的目标图像中包括两个二维码,分别通过标识框定位目标图像中两个二维码的位置,即图3中每个二维码外围的方形框;各个二维码对应的可触发控件为图3所示各个二维码中央部分的圆形控件。As shown in Figure 3, the graphic code is a two-dimensional code, and the target image displayed on the scanned page includes two two-dimensional codes, and the positions of the two two-dimensional codes in the target image are respectively located through the identification frame, that is, each of the two two-dimensional codes in Figure 3 The square frame around the two-dimensional code; the triggerable controls corresponding to each two-dimensional code are the circular controls in the central part of each two-dimensional code shown in FIG. 3 .
步骤106:通过响应对至少两个图形码中的目标图形码对应的可触发控件的触发操作,对目标图形码进行识别。Step 106: Identify the target graphic code by responding to the triggering operation of the triggerable control corresponding to the target graphic code in the at least two graphic codes.
对于显示在扫码页面中的目标图像,用户可以通过位置标识确定该目标图像中包括的各个图形码的位置,进而用户可以主动触发目标图像中用户需要识别的目标图形码对应的可触发控件,使得终端设备通过响应对于目标图形码对应的可触发控件的触发操作,对目标图形码进行识别。For the target image displayed on the scan code page, the user can determine the position of each graphic code included in the target image through the location identifier, and then the user can actively trigger the triggerable control corresponding to the target graphic code that the user needs to identify in the target image. The terminal device can identify the target graphic code by responding to the triggering operation of the triggerable control corresponding to the target graphic code.
需要说明的是,用户可以通过目标图像中除各个图形码之外的背景部分确定目标图形码,也可以通过线下询问图形码提供方确定目标图形码,还可以通过其他方式确定目标图形码,这里不做具体限定。It should be noted that the user can determine the target graphic code through the background part other than each graphic code in the target image, can also determine the target graphic code by asking the graphic code provider offline, and can also determine the target graphic code in other ways. There is no specific limitation here.
本申请实施例中,触发操作包括下述之一:单击、双击、滑动。In the embodiment of the present application, the trigger operation includes one of the following: single click, double click, and slide.
本申请实施例中,在响应对至少两个图形码中的目标图形码对应的可触发控件的触发操作时,还包括:In the embodiment of the present application, when responding to the triggering operation on the triggerable controls corresponding to the target graphic codes in the at least two graphic codes, the method further includes:
将目标图形码之外的其他图形码对应的可触发控件置为不可用状态。Set the triggerable controls corresponding to other graphic codes other than the target graphic code to an unavailable state.
图4为本申请实施例提供的单击目标图形码之后的扫码页面的示意图。FIG. 4 is a schematic diagram of a code scanning page after clicking a target graphic code according to an embodiment of the present application.
如图4所示,用户单击目标图形码对应的可触发控件,终端设备响应对目标图形码的单击操作,识别目标图形码的过程中,终端设备还可以将目标图像中除目标图形码之外的其他图形码对应的可触发控件置为不可用状态,使得在对目标图形码的识别过程中,避免用户误触发其他图形码对应的可触发控件造成的识别错误。As shown in Figure 4, the user clicks the triggerable control corresponding to the target graphic code, the terminal device responds to the click operation on the target graphic code, and in the process of recognizing the target graphic code, the terminal device can also remove the target graphic code from the target image. The triggerable controls corresponding to other graphic codes are set to an unavailable state, so that in the process of identifying the target graphic code, identification errors caused by the user mistakenly triggering the triggerable controls corresponding to other graphic codes are avoided.
本申请实施例中,在扫码页面中,还可以包括:重新扫码控件。In this embodiment of the present application, the scan code page may further include: a code scan control again.
当扫码页面中显示的目标图像中包括的至少两个图形码中没有用户需要识别的目标图形码时,用户可以通过触发扫码页面中的重新扫码控件,重新执行扫码操作。When the at least two graphic codes included in the target image displayed on the scan code page do not have the target graphic code that the user needs to identify, the user can perform the scan code scan operation again by triggering the rescan code control on the scan code page.
本申请实施例中,对目标图形码进行识别,包括:In the embodiment of the present application, identifying the target graphic code includes:
获取目标图形码对应的识别结果页面;Obtain the recognition result page corresponding to the target graphic code;
向用户展示目标图形码对应的识别结果页面。Display the recognition result page corresponding to the target graphic code to the user.
在终端设备响应对于目标图形码对应的可触发控件的触发操作,识别目标图形码中包含的数据信息,即获取目标图形码对应的识别结果页面,进而将该目标图形码对应的识别结果页面向用户推送展示。In response to the trigger operation of the triggerable control corresponding to the target graphic code, the terminal device recognizes the data information contained in the target graphic code, that is, obtains the recognition result page corresponding to the target graphic code, and then sends the recognition result page corresponding to the target graphic code to the target graphic code. User push display.
本申请实施例中,识别结果页面包括下述之一:支付页面、广告推送页面、网站链接页面。In the embodiment of the present application, the identification result page includes one of the following: a payment page, an advertisement push page, and a website link page.
本申请实施例记载的技术方案,在确定图形码识别区域的目标图像中包括至少两个图形码之后,分别为至少两个图形码中的任一图形码添加可触发控件,进而通过响应对至少两个图形码中的目标图形码对应的可触发控件的触发操作,实现在目标图像中的至少两个图形码中快速有效地对目标图形码进行识别,从而有效提高目标图形码的识别效率。In the technical solution described in the embodiment of the present application, after it is determined that the target image in the identification area of the graphic code includes at least two graphic codes, a triggerable control is added to any graphic code in the at least two graphic codes, and then a triggerable control is added to the at least two graphic codes through a response. The trigger operation of the triggerable control corresponding to the target graphic code in the two graphic codes realizes the rapid and effective identification of the target graphic code in at least two graphic codes in the target image, thereby effectively improving the recognition efficiency of the target graphic code.
实施例2Example 2
基于同一个发明构思,图5为本申请实施例提供的一种目标图形码识别方法的流程示意图。所述方法可以如下所示。Based on the same inventive concept, FIG. 5 is a schematic flowchart of a method for identifying a target graphic code according to an embodiment of the present application. The method can be as follows.
步骤502:确定目标图像中的图形码。Step 502: Determine the graphic code in the target image.
其中,目标图像为图形码识别区域中的图像。Wherein, the target image is the image in the recognition area of the graphic code.
本申请实施例中,确定目标图像中的图形码,包括:In the embodiment of the present application, determining the graphic code in the target image includes:
通过图形码扫描或AR扫描确定目标图像中的图形码。Determine the graphic code in the target image by graphic code scanning or AR scanning.
本申请实施例中,图形码包括下述至少一种:条形码、二维码、AR标识码。In the embodiment of the present application, the graphic code includes at least one of the following: barcode, two-dimensional code, and AR identification code.
当用户需要识别图形码来获取图形码中包含的数据信息时,用户可以通过触发终端设备中的扫码功能,例如,单击终端设备中的扫一扫功能控件,打开对应的扫码页面。When the user needs to identify the graphic code to obtain the data information contained in the graphic code, the user can trigger the scan code function in the terminal device, for example, click the scan function control in the terminal device to open the corresponding scan code page.
本申请实施例提供的扫码页面与上述实施例1中图2所示的扫码页面相同。The code scanning page provided in the embodiment of the present application is the same as the code scanning page shown in FIG. 2 in the above-mentioned Embodiment 1.
如图2所示,扫码页面中至少包括扫码控件和AR控件,用户可以通过触发扫码控件或AR控件,实现在图形码扫描对应的扫码页面或AR标识码扫描对应的扫码页面之间的切换。As shown in Figure 2, the scan code page includes at least code scan controls and AR controls. Users can trigger the scan code controls or AR controls to scan the code scan page corresponding to the graphic code scan or scan the code scan page corresponding to the AR identification code scan. switch between.
为了便于表述,对于图形码扫描对应的扫码页面和AR扫描对应的扫码页面,以下简称扫码页面。For ease of expression, the scan code page corresponding to the graphic code scan and the code scan page corresponding to the AR scan are hereinafter referred to as the scan code page.
在扫码页面中包括图形码识别区域,用户可以通过调整摄像头的位置和焦距,将摄像头对准图形码,使得图形码显示在该扫码页面中的图形码识别区域中,通过摄像头扫描获取包括图形码的目标图像。The scan code page includes a graphic code identification area. Users can adjust the position and focal length of the camera and align the camera with the graphic code, so that the graphic code is displayed in the graphic code identification area on the scan code page. The target image of the graphic code.
此外,用户还可以通过单击扫码页面中的相册控件,从终端设备的本地相册中选取包括图形码的目标图像。In addition, the user can also select the target image including the graphic code from the local album of the terminal device by clicking the album control on the scan code page.
步骤504:若目标图像中包括至少两个图形码,接收对该至少两个图形码中的目标图形码的识别指令。Step 504: If the target image includes at least two graphic codes, receive an identification instruction of the target graphic codes in the at least two graphic codes.
当终端设备确定该目标图像中包括至少两个图形码之后,为了可以从该至少两个图形码中快速准确识别到用户需要的目标图形码,需要对该目标图像中的至少两个图形码进行相应处理,使得用户可以主动选择需要识别的目标图形码。After the terminal device determines that the target image includes at least two graphic codes, in order to quickly and accurately identify the target graphic code required by the user from the at least two graphic codes, the at least two graphic codes in the target image need to be processed. Corresponding processing enables the user to actively select the target graphic code to be identified.
本申请实施例中,还包括:为至少两个图形码中的任一图形码添加可触发控件。In the embodiment of the present application, the method further includes: adding a triggerable control to any one of the at least two graphic codes.
终端设备确定目标图像中包括的图形码的位置和个数之后,可以根据各个图形码的位置,分别对各个图形码添加位置标识,例如,使用标识框定位目标图像中各个图形码的位置,使得用户根据该位置标识,清楚快捷地确定该目标图像中各个图形码的位置。After the terminal device determines the position and number of the graphic codes included in the target image, it can add a position mark to each graphic code according to the position of each graphic code, for example, use the identification frame to locate the position of each graphic code in the target image, so that The user can clearly and quickly determine the position of each graphic code in the target image according to the position identification.
需要说明的是,除了可以使用标识框定位目标图像中各个图形码的位置之外,还可以采用位置标识的方式定位目标图像中各个图形码的位置,这里不做具体限定。It should be noted that, in addition to using the identification frame to locate the position of each graphic code in the target image, the position of each graphic code in the target image can also be located by means of position identification, which is not specifically limited here.
确定出目标图像中各个图形码的位置之后,终端设备可以进而为各个图形码添加可触发控件,用户通过触发某一个图形码对应的可触发控件,实现对该图形码的识别。After determining the position of each graphic code in the target image, the terminal device can further add triggerable controls to each graphic code, and the user can recognize a graphic code by triggering the triggerable control corresponding to a graphic code.
需要说明的是,图形码对应的可触发控件可以添加在该图形码中,也可以添加在该图形码周围的预设位置处,这里不做具体限定。It should be noted that the triggerable control corresponding to the graphic code may be added in the graphic code, or may be added at a preset position around the graphic code, which is not specifically limited here.
在对目标图像中的各个图形码添加位置标识和可触发控件之后,将该目标图像显示在扫码页面中。After adding a position mark and triggerable controls to each graphic code in the target image, the target image is displayed on the code scanning page.
本申请实施例提供的为图形码添加可触发控件之后的扫码页面与上述实施例1中图3所示的为图形码添加可触发控件之后的扫码页面相同。The scan code page provided by the embodiment of the present application after adding triggerable controls to the graphic code is the same as the scan code page after adding triggerable controls to the graphic code as shown in FIG. 3 in Embodiment 1 above.
如图3所示,图形码为二维码,在扫描页显示的目标图像中包括两个二维码,分别通过标识框定位目标图像中两个二维码的位置,即图3中每个二维码外围的方形框;各个二维码对应的可触发控件为图3所示各个二维码中央部分的圆形控件。As shown in Figure 3, the graphic code is a two-dimensional code, and the target image displayed on the scanned page includes two two-dimensional codes, and the positions of the two two-dimensional codes in the target image are respectively located through the identification frame, that is, each of the two two-dimensional codes in Figure 3 The square frame around the two-dimensional code; the triggerable controls corresponding to each two-dimensional code are the circular controls in the central part of each two-dimensional code shown in FIG. 3 .
本申请实施例中,接收对至少两个图形码中的目标图形码的识别指令,包括:In the embodiment of the present application, receiving an identification instruction for a target graphic code in at least two graphic codes includes:
接收对至少两个图形码中的目标图形码对应的可触发控件的触发操作触发的识别指令。An identification instruction triggered by a triggering operation of a triggerable control corresponding to a target graphic code in the at least two graphic codes is received.
本申请实施例中,触发操作包括下述之一:单击、双击、滑动。In the embodiment of the present application, the trigger operation includes one of the following: single click, double click, and slide.
对于显示在扫码页面中的目标图像,用户可以通过位置标识确定该目标图像中包括的各个图形码的位置,进而用户可以通过主动触发目标图像中用户需要识别的目标图形码对应的可触发控件,使得终端设备接收到该触发操作触发的识别指令。For the target image displayed on the scan code page, the user can determine the position of each graphic code included in the target image through the location identifier, and then the user can actively trigger the triggerable control corresponding to the target graphic code that the user needs to identify in the target image. , so that the terminal device receives the identification instruction triggered by the trigger operation.
需要说明的是,用户可以通过目标图像中除各个图形码之外的背景部分确定目标图形码,也可以通过线下询问图形码提供方确定目标图形码,还可以通过其他方式确定目标图形码,这里不做具体限定。It should be noted that the user can determine the target graphic code through the background part other than each graphic code in the target image, can also determine the target graphic code by asking the graphic code provider offline, and can also determine the target graphic code in other ways. There is no specific limitation here.
本申请实施例中,在接收对所述至少两个图形码中的目标图形码对应的可触发控件的触发操作触发的识别指令之后,还包括:In the embodiment of the present application, after receiving the identification instruction triggered by the trigger operation of the triggerable control corresponding to the target graphic code in the at least two graphic codes, the method further includes:
将目标图形码之外的其他图形码对应的可触发控件置为不可用状态。Set the triggerable controls corresponding to other graphic codes other than the target graphic code to an unavailable state.
本申请实施例中提供的接收到识别指令之后的扫码页面与上述实施例1中图4所示点击目标图形码之后的扫码页面相同。The scan code page provided in the embodiment of the present application after receiving the identification instruction is the same as the scan code page after clicking the target graphic code shown in FIG. 4 in the above-mentioned embodiment 1.
如图4所示,终端设备确定接收到对目标图形码的识别指令之后,可以将目标图像中除目标图形码之外的其他图形码对应的可触发控件置为不可用状态,使得在对目标图形码的识别过程中,避免用户误触发其他图形码对应的可触发控件造成的识别错误。As shown in FIG. 4 , after the terminal device determines that it has received the identification instruction for the target graphic code, it can set the triggerable controls corresponding to other graphic codes in the target image except the target graphic code to an unavailable state, so that when the target graphic code is detected During the identification process of the graphic code, the identification error caused by the user mistakenly triggering the triggerable controls corresponding to other graphic codes is avoided.
本申请实施例中,在扫码页面中,还可以包括:重新扫码控件。In this embodiment of the present application, the scan code page may further include: a code scan control again.
当扫码页面中显示的目标图像中包括的至少两个图形码中没有用户需要识别的目标图形码时,用户可以通过触发扫码页面中的重新扫码控件,重新执行扫码操作。When the at least two graphic codes included in the target image displayed on the scan code page do not have the target graphic code that the user needs to identify, the user can perform the scan code scan operation again by triggering the rescan code control on the scan code page.
步骤506:根据识别指令,对目标图形码进行识别。Step 506: Identify the target graphic code according to the identification instruction.
本申请实施例中,根据识别指令,对目标图形码进行识别,包括:In the embodiment of the present application, the target graphic code is identified according to the identification instruction, including:
获取目标图形码对应的识别结果页面;Obtain the recognition result page corresponding to the target graphic code;
向用户展示目标图形码对应的识别结果页面。Display the recognition result page corresponding to the target graphic code to the user.
本申请实施例中,识别结果页面包括下述之一:支付页面、广告推送页面、网站链接页面。In the embodiment of the present application, the identification result page includes one of the following: a payment page, an advertisement push page, and a website link page.
终端设备确定接收到对目标图形码的识别指令之后,识别目标图形码中包含的数据信息,即获取目标图形码对应的识别结果页面,进而将该目标图形码对应的识别结果页面向用户推送展示。After the terminal device determines to receive the recognition instruction for the target graphic code, it recognizes the data information contained in the target graphic code, that is, obtains the recognition result page corresponding to the target graphic code, and then pushes and displays the recognition result page corresponding to the target graphic code to the user. .
本申请实施例记载的技术方案,若确定图形码识别区域的目标图像中包括至少两个图形码,通过接收对该至少两个图形码中的目标图形码的识别指令,进而根据该识别指令,在目标图像中的多个图形码中快速有效地对目标图形码进行识别,从而有效提高目标图形码的识别效率。According to the technical solutions described in the embodiments of the present application, if it is determined that the target image in the identification area of the graphic code includes at least two graphic codes, by receiving the identification instruction of the target graphic code in the at least two graphic codes, and then according to the identification instruction, The target graphic code is quickly and effectively identified among the multiple graphic codes in the target image, thereby effectively improving the recognition efficiency of the target graphic code.
实施例3Example 3
基于前述实施例1和/或实施例2详细叙述的本申请的发明构思,为了便于更好的理解本申请的技术特征、手段和效果,下面对本申请的目标图形码识别方法做进一步说明,从而形成本申请的又一个实施例。Based on the inventive concept of the present application described in detail in the foregoing embodiment 1 and/or embodiment 2, in order to facilitate a better understanding of the technical features, means and effects of the present application, the target graphic code identification method of the present application is further described below, thereby Yet another embodiment of the present application is formed.
本申请实施例3中目标图形码识别过程与实施例1和/或实施例2中目标图形码识别过程相似,实施例3中没有介绍到的其他一些步骤可以参见实施例1和/或实施例2中的相关描述,此处不再赘述。The identification process of the target graphic code in Embodiment 3 of the present application is similar to the identification process of the target graphic code in Embodiment 1 and/or Embodiment 2. For other steps not introduced in Embodiment 3, refer to Embodiment 1 and/or Embodiment The relevant descriptions in 2 will not be repeated here.
在对该方案的实现方式进行详细介绍前,先对该方案的实施场景进行简单介绍。Before introducing the implementation manner of the solution in detail, the implementation scenario of the solution is briefly introduced.
该实施场景为扫码支付的场景,用户通过终端设备扫描获取目标图像,目标图像中包括的图形码为商家线下提供的二维码。This implementation scenario is a code-scanning payment scenario. The user scans and obtains the target image through the terminal device, and the graphic code included in the target image is the QR code provided by the merchant offline.
基于上述场景,图6为本申请实施例提供的一种目标图形码识别方法的流程示意图。所述方法可以如下所示。Based on the above scenario, FIG. 6 is a schematic flowchart of a method for identifying a target graphic code according to an embodiment of the present application. The method can be as follows.
步骤601:用户触发终端设备中的扫一扫功能控件,打开对应的扫码页面,并将终端设备的摄像头对准有二维码的地方,调整摄像头的位置和焦距,使得二维码显示在扫码页面中的图形码识别区域中。Step 601: The user triggers the scan function control in the terminal device, opens the corresponding scan code page, aligns the camera of the terminal device to the place where the two-dimensional code is located, and adjusts the position and focal length of the camera, so that the two-dimensional code is displayed on the screen. In the graphic code identification area on the scan code page.
步骤602:通过摄像头获取包括二维码的目标图像。Step 602: Acquire a target image including a two-dimensional code through a camera.
步骤603:确定目标图像中包括的二维码的个数,并在确定目标图像中包括一个二维码时,执行步骤604;在确定目标图像中包括至少两个二维码时,执行步骤605。Step 603: Determine the number of two-dimensional codes included in the target image, and when it is determined that the target image includes one two-dimensional code, go to step 604; when it is determined that the target image includes at least two two-dimensional codes, go to step 605 .
步骤604:识别目标图像中包括的一个二维码,获取该二维码对应的页面,进而向用户展示该二维码对应的页面。Step 604: Identify a two-dimensional code included in the target image, acquire a page corresponding to the two-dimensional code, and then display the page corresponding to the two-dimensional code to the user.
步骤605:为目标图像中包括的至少两个二维码中的任一二维码添加可触发控件,并在扫码页面中向用户展示为任一二维码添加有可触发控件的目标图像。Step 605: Add a triggerable control to any one of the at least two two-dimensional codes included in the target image, and display the target image with the triggerable control added to any two-dimensional code on the scan code page to the user .
步骤606:用户单击目标图像中至少两个二维码中需要识别的目标二维码对应的可触发控件。Step 606: The user clicks the triggerable control corresponding to the target two-dimensional code to be identified in the at least two two-dimensional codes in the target image.
步骤607:接收用户单击目标图形码对应的可触发控件触发的识别指令,根据该识别指令,对目标二维码进行识别,获取目标二维码对应的识别结果页面,进而向用户推送展示目标二维码对应的识别结果页面。Step 607: Receive an identification instruction triggered by the user clicking a triggerable control corresponding to the target graphic code, identify the target two-dimensional code according to the identification instruction, obtain the identification result page corresponding to the target two-dimensional code, and then push the display target to the user The recognition result page corresponding to the QR code.
实施例4Example 4
图7为本申请实施例提供的一种电子设备的结构示意图。如图7所示,在硬件层面,该电子设备包括处理器,可选地还包括内部总线、网络接口、存储器。其中,存储器可能包含内存,例如高速随机存取存储器(Random-Access Memory,RAM),也可能还包括非易失性存储器(non-volatile memory),例如至少1个磁盘存储器等。当然,该电子设备还可能包括其他业务所需要的硬件。FIG. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in FIG. 7 , at the hardware level, the electronic device includes a processor, and optionally an internal bus, a network interface, and a memory. The memory may include memory, such as high-speed random-access memory (Random-Access Memory, RAM), or may also include non-volatile memory (non-volatile memory), such as at least one disk memory. Of course, the electronic equipment may also include hardware required for other services.
处理器、网络接口和存储器可以通过内部总线相互连接,该内部总线可以是ISA(Industry Standard Architecture,工业标准体系结构)总线、PCI(PeripheralComponent Interconnect,外设部件互连标准)总线或EISA(Extended IndustryStandardArchitecture,扩展工业标准结构)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图6中仅用一个双向箭头表示,但并不表示仅有一根总线或一种类型的总线。The processor, the network interface, and the memory can be connected to each other through an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect, peripheral component interconnect standard) bus or an EISA (Extended Industry Standard Architecture) bus. , extended industry standard structure) bus and so on. The bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one bidirectional arrow is shown in FIG. 6, but it does not mean that there is only one bus or one type of bus.
存储器,用于存放程序。具体地,程序可以包括程序代码,所述程序代码包括计算机操作指令。存储器可以包括内存和非易失性存储器,并向处理器提供指令和数据。memory for storing programs. Specifically, the program may include program code, and the program code includes computer operation instructions. The memory may include memory and non-volatile memory and provide instructions and data to the processor.
处理器从非易失性存储器中读取对应的计算机程序到内存中然后运行,在逻辑层面上形成目标图形码识别装置。处理器,执行存储器所存放的程序,并具体用于执行以下操作:The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it, forming a target graphic code identification device on a logical level. The processor executes the program stored in the memory, and is specifically used to perform the following operations:
确定目标图像中的图形码,其中,目标图像为图形码识别区域中的图像;Determine the graphic code in the target image, wherein, the target image is the image in the graphic code identification area;
若目标图像中包括至少两个图形码,为至少两个图形码中的任一图形码添加可触发控件;If the target image includes at least two graphic codes, add a triggerable control for any graphic code in the at least two graphic codes;
通过响应对至少两个图形码中的目标图形码对应的可触发控件的触发操作,对目标图形码进行识别。The target graphic code is identified by responding to the triggering operation of the triggerable control corresponding to the target graphic code in the at least two graphic codes.
上述如本申请实施例1和/或实施例3执行的方法可以应用于处理器中,或者由处理器实现。处理器可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)、网络处理器(Network Processor,NP)等;还可以是数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。The above-mentioned method performed by Embodiment 1 and/or Embodiment 3 of the present application may be applied to a processor, or implemented by a processor. A processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above-mentioned method can be completed by a hardware integrated logic circuit in a processor or an instruction in the form of software. The above-mentioned processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; it may also be a digital signal processor (Digital Signal Processor, DSP), dedicated integrated Circuit (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The methods, steps, and logic block diagrams disclosed in the embodiments of this application can be implemented or executed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in conjunction with the embodiments of the present application may be directly embodied as executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules may be located in random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers and other storage media mature in the art. The storage medium is located in the memory, and the processor reads the information in the memory, and completes the steps of the above method in combination with its hardware.
该电子设备还可执行图1和/或图6执行的方法,并实现上述实施例1和/或实施例3的功能,本申请实施例在此不再赘述。The electronic device may also perform the method performed in FIG. 1 and/or FIG. 6 , and implement the functions of the foregoing Embodiment 1 and/or Embodiment 3, and details are not described herein again in this embodiment of the present application.
本申请实施例还提出了一种计算机可读存储介质,该计算机可读存储介质存储一个或多个程序,该一个或多个程序包括指令,该指令当被包括多个应用程序的电子设备执行时,能够使该电子设备执行图1和/或图5所示实施例中的目标图形码识别方法,并具体用于执行:The embodiments of the present application also provide a computer-readable storage medium, where the computer-readable storage medium stores one or more programs, and the one or more programs include instructions, and the instructions are executed by an electronic device including multiple application programs. , the electronic device can be made to execute the target graphic code identification method in the embodiment shown in FIG. 1 and/or FIG. 5 , and is specifically used to execute:
确定目标图像中的图形码,其中,目标图像为图形码识别区域中的图像;Determine the graphic code in the target image, wherein, the target image is the image in the graphic code identification area;
若目标图像中包括至少两个图形码,为至少两个图形码中的任一图形码添加可触发控件;If the target image includes at least two graphic codes, add a triggerable control for any graphic code in the at least two graphic codes;
通过响应对至少两个图形码中的目标图形码对应的可触发控件的触发操作,对目标图形码进行识别。The target graphic code is identified by responding to the triggering operation of the triggerable control corresponding to the target graphic code in the at least two graphic codes.
图8为本申请实施例提供的一种目标图形码识别装置的结构示意图。装置800包括:确定单元801、控件添加单元802和识别单元803,其中:FIG. 8 is a schematic structural diagram of an apparatus for identifying a target graphic code according to an embodiment of the present application. The
确定单元801,确定目标图像中的图形码,其中,目标图像为图形码识别区域中的图像;Determine
控件添加单元802,若目标图像中包括至少两个图形码,为至少两个图形码中的任一图形码添加可触发控件;The
识别单元803,通过响应对至少两个图形码中的目标图形码对应的可触发控件的触发操作,对目标图形码进行识别。The identifying
可选地,确定单元801确定目标图像中的图形码,包括:Optionally, the determining
通过图形码扫描或AR扫描确定目标图像中的图形码。Determine the graphic code in the target image by graphic code scanning or AR scanning.
可选地,装置800还包括:处理单元,其中:Optionally, the
处理单元,在响应对至少两个图形码中的目标图形码对应的可触发控件的触发操作时,将目标图形码之外的其他图形码对应的可触发控件置为不可用状态。The processing unit, in response to the triggering operation on the triggerable controls corresponding to the target graphic codes in the at least two graphic codes, sets the triggerable controls corresponding to other graphic codes except the target graphic codes to an unavailable state.
可选地,识别单元803对目标图形码进行识别,包括:Optionally, the
获取目标图形码对应的识别结果页面;Obtain the recognition result page corresponding to the target graphic code;
向用户展示目标图形码对应的识别结果页面。Display the recognition result page corresponding to the target graphic code to the user.
可选地,识别结果页面包括下述之一:支付页面、广告推送页面、网站链接页面。Optionally, the identification result page includes one of the following: a payment page, an advertisement push page, and a website link page.
可选地,触发操作包括下述至少之一:单击、双击、滑动。Optionally, the trigger operation includes at least one of the following: single click, double click, and slide.
可选地,图形码包括下述至少一种:条形码、二维码、AR标识码。Optionally, the graphic code includes at least one of the following: barcode, two-dimensional code, and AR identification code.
根据目标图形码识别装置,确定单元确定目标图像中的图形码,其中,目标图像为图形码识别区域中的图像;若目标图像中包括至少两个图形码,添加单元为至少两个图形码中的任一图形码添加可触发控件;识别单元通过响应对至少两个图形码中的目标图形码对应的可触发控件的触发操作,对目标图形码进行识别,使得能够在目标图像中的至少两个图形码中快速有效地对目标图形码进行识别,有效提高目标图形码的识别效率。According to the target graphic code identification device, the determining unit determines the graphic code in the target image, wherein the target image is an image in the graphic code identification area; if the target image includes at least two graphic codes, the adding unit is one of the at least two graphic codes. A triggerable control is added to any of the graphic codes of the The target graphic code is quickly and effectively identified in each graphic code, and the recognition efficiency of the target graphic code is effectively improved.
实施例5Example 5
图9为本申请实施例提供的一种电子设备的结构示意图。如图9所示,在硬件层面,该电子设备包括处理器,可选地还包括内部总线、网络接口、存储器。其中,存储器可能包含内存,例如高速随机存取存储器(Random-Access Memory,RAM),也可能还包括非易失性存储器(non-volatile memory),例如至少1个磁盘存储器等。当然,该电子设备还可能包括其他业务所需要的硬件。FIG. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in FIG. 9 , at the hardware level, the electronic device includes a processor, and optionally an internal bus, a network interface, and a memory. The memory may include memory, such as high-speed random-access memory (Random-Access Memory, RAM), or may also include non-volatile memory (non-volatile memory), such as at least one disk memory. Of course, the electronic equipment may also include hardware required for other services.
处理器、网络接口和存储器可以通过内部总线相互连接,该内部总线可以是ISA(Industry Standard Architecture,工业标准体系结构)总线、PCI(PeripheralComponent Interconnect,外设部件互连标准)总线或EISA(Extended Industry StandardArchitecture,扩展工业标准结构)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图6中仅用一个双向箭头表示,但并不表示仅有一根总线或一种类型的总线。The processor, the network interface, and the memory can be connected to each other through an internal bus, which can be an ISA (Industry Standard Architecture, industry standard architecture) bus, a PCI (Peripheral Component Interconnect, peripheral component interconnect standard) bus or an EISA (Extended Industry Standard) bus. StandardArchitecture, extended industry standard structure) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one bidirectional arrow is shown in FIG. 6, but it does not mean that there is only one bus or one type of bus.
存储器,用于存放程序。具体地,程序可以包括程序代码,所述程序代码包括计算机操作指令。存储器可以包括内存和非易失性存储器,并向处理器提供指令和数据。memory for storing programs. Specifically, the program may include program code, and the program code includes computer operation instructions. The memory may include memory and non-volatile memory and provide instructions and data to the processor.
处理器从非易失性存储器中读取对应的计算机程序到内存中然后运行,在逻辑层面上形成目标图形码识别装置。处理器,执行存储器所存放的程序,并具体用于执行以下操作:The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it, forming a target graphic code identification device on a logical level. The processor executes the program stored in the memory, and is specifically used to perform the following operations:
确定目标图像中的图形码,其中,目标图像为图形码识别区域中的图像;Determine the graphic code in the target image, wherein, the target image is the image in the graphic code identification area;
若目标图像中包括至少两个图形码,接收对该至少两个图形码中的目标图形码的识别指令;If the target image includes at least two graphic codes, receiving an identification instruction of the target graphic codes in the at least two graphic codes;
根据识别指令,对目标图形码进行识别。According to the identification instruction, the target graphic code is identified.
上述如本申请实施例2和/或实施例3执行的方法可以应用于处理器中,或者由处理器实现。处理器可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)、网络处理器(Network Processor,NP)等;还可以是数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。The above-mentioned method performed by Embodiment 2 and/or Embodiment 3 of the present application may be applied to a processor, or implemented by a processor. A processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above-mentioned method can be completed by a hardware integrated logic circuit in a processor or an instruction in the form of software. The above-mentioned processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; it may also be a digital signal processor (Digital Signal Processor, DSP), dedicated integrated Circuit (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The methods, steps, and logic block diagrams disclosed in the embodiments of this application can be implemented or executed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in conjunction with the embodiments of the present application may be directly embodied as executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules may be located in random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers and other storage media mature in the art. The storage medium is located in the memory, and the processor reads the information in the memory, and completes the steps of the above method in combination with its hardware.
该电子设备还可执行图5和/或图6执行的方法,并实现上述实施例2和/或实施例3的功能,本申请实施例在此不再赘述。The electronic device may also perform the method performed in FIG. 5 and/or FIG. 6 , and implement the functions of the foregoing Embodiment 2 and/or Embodiment 3, which are not described herein again in this embodiment of the present application.
本申请实施例还提出了一种计算机可读存储介质,该计算机可读存储介质存储一个或多个程序,该一个或多个程序包括指令,该指令当被包括多个应用程序的电子设备执行时,能够使该电子设备执行图1和/或图5所示实施例中的目标图形码识别方法,并具体用于执行:The embodiments of the present application also provide a computer-readable storage medium, where the computer-readable storage medium stores one or more programs, and the one or more programs include instructions, and the instructions are executed by an electronic device including multiple application programs. , the electronic device can be made to execute the target graphic code identification method in the embodiment shown in FIG. 1 and/or FIG. 5 , and is specifically used to execute:
确定目标图像中的图形码,其中,目标图像为图形码识别区域中的图像;Determine the graphic code in the target image, wherein, the target image is the image in the graphic code identification area;
若目标图像中包括至少两个图形码,接收对该至少两个图形码中的目标图形码的识别指令;If the target image includes at least two graphic codes, receiving an identification instruction of the target graphic codes in the at least two graphic codes;
根据识别指令,对目标图形码进行识别。According to the identification instruction, the target graphic code is identified.
图10为本申请实施例提供的一种目标图形码识别装置的结构示意图。装置1000包括:确定单元1001、接收单元1002和识别单元1002,其中:FIG. 10 is a schematic structural diagram of an apparatus for identifying a target graphic code according to an embodiment of the present application. The
确定单元1001,确定目标图像中的图形码,其中,目标图像为图形码识别区域中的图像;Determining
接收单元1002,若目标图像中包括至少两个图形码,接收对该至少两个图形码中的目标图形码的识别指令;The receiving
识别单元1003,根据识别指令,对目标图形码进行识别。The
可选地,确定单元1001确定目标图像中的图形码,包括:Optionally, the determining
通过图形码扫描或AR扫描确定所述目标图像中的图形码。The graphic code in the target image is determined by graphic code scanning or AR scanning.
可选地,装置1000还包括:控件添加单元,其中:Optionally, the
控件添加单元,在接收对至少两个图形码中的目标图形码的识别指令之前,为该至少两个图形码中的任一图形码添加可触发控件。The control adding unit adds a triggerable control to any one of the at least two graphic codes before receiving the identification instruction for the target graphic code in the at least two graphic codes.
可选地,接收单元1002接收对至少两个图形码中的目标图形码的识别指令,包括:Optionally, the receiving
接收对至少两个图形码中的目标图形码对应的可触发控件的触发操作触发的识别指令。An identification instruction triggered by a triggering operation of a triggerable control corresponding to a target graphic code in the at least two graphic codes is received.
可选地,触发操作包括下述之一:单击、双击、滑动。Optionally, the trigger operation includes one of the following: single click, double click, and slide.
可选地,装置1000还包括:处理单元,其中:Optionally, the
处理单元,在接收对至少两个图形码中的目标图形码对应的可触发控件的触发操作触发的识别指令之后,将目标图形码之外的其他图形码对应的可触发控件置为不可用状态。The processing unit, after receiving the identification instruction triggered by the triggering operation of the triggerable controls corresponding to the target graphic codes in the at least two graphic codes, sets the triggerable controls corresponding to other graphic codes other than the target graphic codes to an unavailable state .
可选地,识别单元1003对目标图形码进行识别,包括:Optionally, the
获取目标图形码对应的识别结果页面;Obtain the recognition result page corresponding to the target graphic code;
向用户展示目标图形码对应的识别结果页面。Display the recognition result page corresponding to the target graphic code to the user.
可选地,识别结果页面包括下述之一:支付页面、广告推送页面、网站链接页面。Optionally, the identification result page includes one of the following: a payment page, an advertisement push page, and a website link page.
可选地,图形码包括包括下述至少一种:条形码、二维码、AR标识码。Optionally, the graphic code includes at least one of the following: barcode, two-dimensional code, and AR identification code.
根据目标图形码识别装置,确定单元,确定目标图像中的图形码,其中,目标图像为图形码识别区域中的图像;若目标图像中包括至少两个图形码,接收单元接收对至少两个图形码中的目标图形码的识别指令;识别单元,根据识别指令,对目标图形码进行识别,使得能够在目标图像中的多个图形码中快速有效地对目标图形码进行识别,有效提高目标图形码的识别效率。According to the target graphic code identification device, the determining unit determines the graphic code in the target image, wherein the target image is an image in the graphic code identification area; if the target image includes at least two graphic codes, the receiving unit receives the at least two graphic codes. The identification instruction of the target graphic code in the code; the identification unit, according to the identification instruction, identifies the target graphic code, so that the target graphic code can be quickly and effectively identified among multiple graphic codes in the target image, and the target graphic code can be effectively improved. code recognition efficiency.
在20世纪90年代,对于一个技术的改进可以很明显地区分是硬件上的改进(例如,对二极管、晶体管、开关等电路结构的改进)还是软件上的改进(对于方法流程的改进)。然而,随着技术的发展,当今的很多方法流程的改进已经可以视为硬件电路结构的直接改进。设计人员几乎都通过将改进的方法流程编程到硬件电路中来得到相应的硬件电路结构。因此,不能说一个方法流程的改进就不能用硬件实体模块来实现。例如,可编程逻辑器件(Programmable Logic Device,PLD)(例如现场可编程门阵列(Field Programmable GateArray,FPGA))就是这样一种集成电路,其逻辑功能由用户对器件编程来确定。由设计人员自行编程来把一个数字系统“集成”在一片PLD上,而不需要请芯片制造厂商来设计和制作专用的集成电路芯片。而且,如今,取代手工地制作集成电路芯片,这种编程也多半改用“逻辑编译器(logic compiler)”软件来实现,它与程序开发撰写时所用的软件编译器相类似,而要编译之前的原始代码也得用特定的编程语言来撰写,此称之为硬件描述语言(Hardware Description Language,HDL),而HDL也并非仅有一种,而是有许多种,如ABEL(Advanced Boolean Expression Language)、AHDL(Altera Hardware DescriptionLanguage)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(RubyHardware Description Language)等,目前最普遍使用的是VHDL(Very-High-SpeedIntegrated Circuit Hardware Description Language)与Verilog。本领域技术人员也应该清楚,只需要将方法流程用上述几种硬件描述语言稍作逻辑编程并编程到集成电路中,就可以很容易得到实现该逻辑方法流程的硬件电路。In the 1990s, improvements in a technology could be clearly differentiated between improvements in hardware (eg, improvements to circuit structures such as diodes, transistors, switches, etc.) or improvements in software (improvements in method flow). However, with the development of technology, the improvement of many methods and processes today can be regarded as a direct improvement of the hardware circuit structure. Designers almost get the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be realized by hardware entity modules. For example, a Programmable Logic Device (PLD) (eg, Field Programmable Gate Array (FPGA)) is an integrated circuit whose logic function is determined by user programming of the device. It is programmed by the designer to "integrate" a digital system on a PLD without having to ask the chip manufacturer to design and manufacture a dedicated integrated circuit chip. And, instead of making integrated circuit chips by hand, these days, much of this programming is done using software called a "logic compiler", which is similar to the software compiler used in program development and writing, but before compiling The original code also has to be written in a specific programming language, which is called Hardware Description Language (HDL), and there is not only one HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language) , AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (RubyHardware Description Language), etc. The most commonly used are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. It should also be clear to those skilled in the art that a hardware circuit for implementing the logic method process can be easily obtained by simply programming the method process in the above-mentioned several hardware description languages and programming it into the integrated circuit.
控制器可以按任何适当的方式实现,例如,控制器可以采取例如微处理器或处理器以及存储可由该(微)处理器执行的计算机可读程序代码(例如软件或固件)的计算机可读介质、逻辑门、开关、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑控制器和嵌入微控制器的形式,控制器的例子包括但不限于以下微控制器:ARC 625D、Atmel AT91SAM、Microchip PIC18F26K20以及Silicone Labs C8051F320,存储器控制器还可以被实现为存储器的控制逻辑的一部分。本领域技术人员也知道,除了以纯计算机可读程序代码方式实现控制器以外,完全可以通过将方法步骤进行逻辑编程来使得控制器以逻辑门、开关、专用集成电路、可编程逻辑控制器和嵌入微控制器等的形式来实现相同功能。因此这种控制器可以被认为是一种硬件部件,而对其内包括的用于实现各种功能的装置也可以视为硬件部件内的结构。或者甚至,可以将用于实现各种功能的装置视为既可以是实现方法的软件模块又可以是硬件部件内的结构。The controller may be implemented in any suitable manner, for example, the controller may take the form of eg a microprocessor or processor and a computer readable medium storing computer readable program code (eg software or firmware) executable by the (micro)processor , logic gates, switches, application specific integrated circuits (ASICs), programmable logic controllers and embedded microcontrollers, examples of controllers include but are not limited to the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicon Labs C8051F320, the memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that, in addition to implementing the controller in the form of pure computer-readable program code, the controller can be implemented as logic gates, switches, application-specific integrated circuits, programmable logic controllers and embedded devices by logically programming the method steps. The same function can be realized in the form of a microcontroller, etc. Therefore, such a controller can be regarded as a hardware component, and the devices included therein for realizing various functions can also be regarded as a structure within the hardware component. Or even, the means for implementing various functions can be regarded as both a software module implementing a method and a structure within a hardware component.
上述实施例阐明的系统、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机。具体的,计算机例如可以为个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任何设备的组合。The systems, devices, modules or units described in the above embodiments may be specifically implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer can be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or A combination of any of these devices.
为了描述的方便,描述以上装置时以功能分为各种单元分别描述。当然,在实施本申请时可以把各单元的功能在同一个或多个软件和/或硬件中实现。For the convenience of description, when describing the above device, the functions are divided into various units and described respectively. Of course, when implementing the present application, the functions of each unit may be implemented in one or more software and/or hardware.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may 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.) having computer-usable program code embodied therein.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present 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 flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flows of the flowcharts and/or the block or blocks of the block diagrams.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。Memory may include non-persistent memory in computer readable media, random access memory (RAM) and/or non-volatile memory in the form of, for example, read only memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media includes both persistent and non-permanent, removable and non-removable media, and storage of information may be implemented by any method or technology. Information may be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Flash Memory or other memory technology, Compact Disc Read Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, excludes transitory computer-readable media, such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device comprising a series of elements includes not only those elements, but also Other elements not expressly listed or inherent to such a process, method, article of manufacture or apparatus are also included. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in the process, method, article of manufacture or device that includes the element.
本申请可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本申请,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including storage devices.
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment in this specification is described in a progressive manner, and the same and similar parts between the various embodiments may be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, as for the system embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and for related parts, please refer to the partial descriptions of the method embodiments.
以上所述仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。The above descriptions are merely examples of the present application, and are not intended to limit the present application. Various modifications and variations of this application are possible for those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included within the scope of the claims of this application.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010648350.4A CN111860011A (en) | 2017-08-17 | 2017-08-17 | A kind of target graphic code identification method and device |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710705652.9A CN107609437B (en) | 2017-08-17 | 2017-08-17 | Target graphic code identification method and device |
| CN202010648350.4A CN111860011A (en) | 2017-08-17 | 2017-08-17 | A kind of target graphic code identification method and device |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710705652.9A Division CN107609437B (en) | 2017-08-17 | 2017-08-17 | Target graphic code identification method and device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN111860011A true CN111860011A (en) | 2020-10-30 |
Family
ID=61065152
Family Applications (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010648350.4A Pending CN111860011A (en) | 2017-08-17 | 2017-08-17 | A kind of target graphic code identification method and device |
| CN201710705652.9A Active CN107609437B (en) | 2017-08-17 | 2017-08-17 | Target graphic code identification method and device |
Family Applications After (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710705652.9A Active CN107609437B (en) | 2017-08-17 | 2017-08-17 | Target graphic code identification method and device |
Country Status (3)
| Country | Link |
|---|---|
| CN (2) | CN111860011A (en) |
| TW (1) | TW201913449A (en) |
| WO (1) | WO2019034039A1 (en) |
Families Citing this family (17)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111860011A (en) * | 2017-08-17 | 2020-10-30 | 阿里巴巴集团控股有限公司 | A kind of target graphic code identification method and device |
| CN108446579B (en) * | 2018-03-15 | 2020-07-28 | 维沃移动通信有限公司 | Method and terminal for identifying graphic code |
| CN110516495B (en) * | 2018-05-22 | 2023-11-21 | 维沃移动通信有限公司 | A code scanning method and mobile terminal |
| CN109615360A (en) | 2018-09-29 | 2019-04-12 | 阿里巴巴集团控股有限公司 | A kind of encoding of graphs methods of exhibiting and device |
| CN109409161B (en) | 2018-10-22 | 2020-08-11 | 腾讯科技(深圳)有限公司 | Graphic code identification method, device, terminal and storage medium |
| CN110674662B (en) * | 2019-09-17 | 2023-09-01 | 维沃移动通信有限公司 | Scanning method and terminal equipment |
| KR102273198B1 (en) * | 2019-10-22 | 2021-07-05 | 라인플러스 주식회사 | Method and device for recognizing visually coded patterns |
| CN110956052A (en) * | 2019-11-26 | 2020-04-03 | 维沃移动通信有限公司 | Information processing method and electronic equipment |
| CN114818765B (en) * | 2020-04-03 | 2024-06-14 | 支付宝(杭州)信息技术有限公司 | Identification method and device |
| CN111611821B (en) * | 2020-04-22 | 2023-03-21 | 浙江大华技术股份有限公司 | Two-dimensional code identification method and device, computer equipment and readable storage medium |
| CN111553673B (en) * | 2020-05-07 | 2021-09-24 | 支付宝(杭州)信息技术有限公司 | A kind of information display method and device based on graphic code recognition |
| CN112749769B (en) * | 2020-08-19 | 2024-06-14 | 腾讯科技(深圳)有限公司 | Graphic code detection method, graphic code detection device, computer equipment and storage medium |
| CN112183149B (en) * | 2020-09-29 | 2023-01-31 | 维沃移动通信(杭州)有限公司 | Graphic code processing method and device |
| CN114415871A (en) * | 2022-01-04 | 2022-04-29 | 维沃移动通信有限公司 | Graphic code management method and device |
| CN117787310A (en) * | 2022-09-06 | 2024-03-29 | 博泰车联网(南京)有限公司 | Picture operation method, electronic device and storage medium |
| CN115760110B (en) * | 2022-12-05 | 2025-10-17 | 维沃移动通信有限公司 | Information identification method, device, electronic equipment and medium |
| CN116228533A (en) * | 2022-12-22 | 2023-06-06 | 五八有限公司 | Graphic code display method, device, electronic device and storage medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103400099A (en) * | 2013-07-29 | 2013-11-20 | 宇龙计算机通信科技(深圳)有限公司 | Terminal and QR code recognition method |
| CN104573597A (en) * | 2013-10-10 | 2015-04-29 | 腾讯科技(深圳)有限公司 | Two-dimension code identification method and identification device |
| US20160127293A1 (en) * | 2013-12-17 | 2016-05-05 | Tencent Technology (Shenzhen) Company Limited | Method and system for graphic code processing |
| CN105631378A (en) * | 2014-10-29 | 2016-06-01 | 宇龙计算机通信科技(深圳)有限公司 | Two-dimensional code scanning method, two-dimensional code scanning device and terminal comprising two-dimensional code scanning device |
| WO2017080007A1 (en) * | 2015-11-10 | 2017-05-18 | 福建优安米信息科技有限公司 | Intelligent analysis and processing system of identification code and processing method therefor |
Family Cites Families (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7325737B2 (en) * | 2005-11-30 | 2008-02-05 | Symbol Technologies, Inc. | Methods and apparatus for identifying candidate barcode fields |
| CN101063999B (en) * | 2006-04-29 | 2010-09-15 | 银河联动信息技术(北京)有限公司 | Synthesis system and method of two-dimension code and sign |
| US20130341401A1 (en) * | 2012-06-26 | 2013-12-26 | Symbol Technologies, Inc. | Methods and apparatus for selecting barcode symbols |
| PL3866051T3 (en) * | 2012-11-15 | 2024-04-22 | Hand Held Products, Inc. | Mobile computer configured to read multiple decodable indicia |
| CN103870488B (en) * | 2012-12-13 | 2018-04-27 | 联想(北京)有限公司 | File acquisition method and electronic equipment |
| US9010642B2 (en) * | 2013-05-29 | 2015-04-21 | Symbol Technologies, Inc. | Transparent display for data collection engine |
| US8985461B2 (en) * | 2013-06-28 | 2015-03-24 | Hand Held Products, Inc. | Mobile device having an improved user interface for reading code symbols |
| US9773142B2 (en) * | 2013-07-22 | 2017-09-26 | Hand Held Products, Inc. | System and method for selectively reading code symbols |
| JP6511893B2 (en) * | 2015-03-23 | 2019-05-15 | 日本電気株式会社 | Image processing apparatus, image processing method, and program |
| CN106874817A (en) * | 2016-07-27 | 2017-06-20 | 阿里巴巴集团控股有限公司 | Two-dimensional code identification method, equipment and mobile terminal |
| CN111860011A (en) * | 2017-08-17 | 2020-10-30 | 阿里巴巴集团控股有限公司 | A kind of target graphic code identification method and device |
-
2017
- 2017-08-17 CN CN202010648350.4A patent/CN111860011A/en active Pending
- 2017-08-17 CN CN201710705652.9A patent/CN107609437B/en active Active
-
2018
- 2018-05-24 TW TW107117717A patent/TW201913449A/en unknown
- 2018-08-14 WO PCT/CN2018/100362 patent/WO2019034039A1/en not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103400099A (en) * | 2013-07-29 | 2013-11-20 | 宇龙计算机通信科技(深圳)有限公司 | Terminal and QR code recognition method |
| CN104573597A (en) * | 2013-10-10 | 2015-04-29 | 腾讯科技(深圳)有限公司 | Two-dimension code identification method and identification device |
| US20160127293A1 (en) * | 2013-12-17 | 2016-05-05 | Tencent Technology (Shenzhen) Company Limited | Method and system for graphic code processing |
| CN105631378A (en) * | 2014-10-29 | 2016-06-01 | 宇龙计算机通信科技(深圳)有限公司 | Two-dimensional code scanning method, two-dimensional code scanning device and terminal comprising two-dimensional code scanning device |
| WO2017080007A1 (en) * | 2015-11-10 | 2017-05-18 | 福建优安米信息科技有限公司 | Intelligent analysis and processing system of identification code and processing method therefor |
Also Published As
| Publication number | Publication date |
|---|---|
| CN107609437B (en) | 2020-06-30 |
| TW201913449A (en) | 2019-04-01 |
| CN107609437A (en) | 2018-01-19 |
| WO2019034039A1 (en) | 2019-02-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107609437B (en) | Target graphic code identification method and device | |
| CN107274442B (en) | Image identification method and device | |
| TWI709933B (en) | Virtual card opening method, system, payment system and card issuing system | |
| CN107480587B (en) | Method and device for model configuration and image recognition | |
| CN107450981A (en) | A kind of block chain common recognition method and apparatus | |
| TWI742324B (en) | Information processing method, device and equipment based on scanning DOI | |
| JP2019511046A (en) | Information display method and device | |
| CN112560530B (en) | Two-dimensional code processing method, device, medium and electronic device | |
| CN108830266B (en) | Method, device and device for image recognition | |
| CN108596581B (en) | Verification method and device for resource transfer and electronic payment verification method and device | |
| WO2019169965A1 (en) | Code-scanning image recognition method, apparatus and device | |
| WO2024041316A1 (en) | Payment processing method and apparatus | |
| CN114638278A (en) | A data cleaning method, device and system | |
| CN114926437A (en) | Image quality evaluation method and device | |
| CN110780963A (en) | Content display method and device and electronic equipment | |
| US11164056B2 (en) | Method and system for applying barcode, and server | |
| TWI812895B (en) | Data display, payment method, device, equipment and media | |
| WO2016134637A1 (en) | Bar code recognition method and device | |
| CN118552190B (en) | Rights and interests processing method and device based on internet of things (IoT) equipment | |
| CN111860285B (en) | User registration method, device, electronic equipment and storage medium | |
| CN110018922B (en) | Interactive display method and device of chart information and electronic equipment | |
| CN107734079B (en) | A method and device for processing user information in an electronic mailbox | |
| CN120929906A (en) | Data processing method, electronic device and computer readable storage medium | |
| CN116204691A (en) | Code data storage method and device | |
| CN114676016A (en) | Anomaly detection method and device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| WD01 | Invention patent application deemed withdrawn after publication | ||
| WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20201030 |
