A kind of targeted graphical code recognition methods and device
Technical field
The application is related to field of computer technology, more particularly to a kind of targeted graphical code recognition methods and device.
Background technology
Graphic code is a kind of coded system (for example, bar code, Quick Response Code etc.) using special pattern recording data information,
And the data message included in graphic code can be extracted by the graphic code identification function identification of terminal device.Graphic code is answered
With quite varied, for example, payment, advertisement pushing, web site url etc..Terminal device is wrapped by identifying that graphic code is obtained in graphic code
During the data message contained, it is frequently encountered multiple graphic codes while enters the situation of identification range.At present, in identification range
The multiple graphic codes occurred simultaneously, terminal device can typically lock one of graphic code at random and be identified, and extraction is wherein wrapped
The data message contained.But the targeted graphical code that the graphic code of terminal device locking identification may need with user is not met.
The content of the invention
The embodiment of the present application provides a kind of targeted graphical code recognition methods and device, can effectively improve targeted graphical code
Recognition efficiency.
The embodiment of the present application provides a kind of targeted graphical code recognition methods, including:
The graphic code in target image is determined, wherein, the target image is the image in graphic code identification region;
It is any graphic code at least two graphic code if the target image includes at least two graphic codes
Addition can trigger control;
By responding the trigger action to can trigger control corresponding to the targeted graphical code at least two graphic code,
The targeted graphical code is identified.
The embodiment of the present application also provides a kind of targeted graphical code recognition device, including:Determining unit, control adding device and
Recognition unit, wherein:
The determining unit, the graphic code in target image is determined, wherein, the target image is graphic code identification region
In image;
The control adding device, it is at least two figure if the target image includes at least two graphic codes
Any graphic code addition in shape code can trigger control;
The recognition unit, by response to can trigger control corresponding to the targeted graphical code at least two graphic code
The trigger action of part, the targeted graphical code is identified.
The embodiment of the present application also provides a kind of targeted graphical code recognition device, including:Memory and processor, wherein:
The memory, storage program;
The processor, performs the program of the memory storage, and specifically performs:
The graphic code in target image is determined, wherein, the target image is the image in graphic code identification region;
It is any graphic code at least two graphic code if the target image includes at least two graphic codes
Addition can trigger control;
By responding the trigger action to can trigger control corresponding to the targeted graphical code at least two graphic code,
The targeted graphical code is identified.
The embodiment of the present application also provides a kind of computer-readable recording medium, the computer-readable recording medium storage one
Individual or multiple programs, one or more of programs are when the electronic equipment for being included multiple application programs performs so that described
Electronic equipment performs following methods:
The graphic code in target image is determined, wherein, the target image is the image in graphic code identification region;
It is any graphic code at least two graphic code if the target image includes at least two graphic codes
Addition can trigger control;
By responding the trigger action to can trigger control corresponding to the targeted graphical code at least two graphic code,
The targeted graphical code is identified.
The embodiment of the present application provides a kind of targeted graphical code method, including:
The graphic code in target image is determined, wherein, the target image is the image in graphic code identification region;
If the target image includes at least two graphic codes, receive to the target figure at least two graphic code
The identification instruction of shape code;
Instructed according to the identification, the targeted graphical code is identified.
The embodiment of the present application also provides a kind of targeted graphical code recognition device, including:Determining unit, receiving unit and identification
Unit, wherein:
The determining unit, the graphic code in target image is determined, wherein, the target image is graphic code identification region
In image;
The receiving unit, if the target image includes at least two graphic codes, receive at least two figure
The identification instruction of targeted graphical code in shape code;
The recognition unit, instructed according to the identification, the targeted graphical code is identified.
The embodiment of the present application also provides a kind of targeted graphical code recognition device, including:Memory and processor, wherein:
The memory, storage program;
The processor, performs the program of the memory storage, and specifically performs:
The graphic code in target image is determined, wherein, the target image is the image in graphic code identification region;
If the target image includes at least two graphic codes, receive to the target figure at least two graphic code
The identification instruction of shape code;
Instructed according to the identification, the targeted graphical code is identified.
The embodiment of the present application also provides a kind of computer-readable recording medium, the computer-readable recording medium storage one
Individual or multiple programs, one or more of programs are when the electronic equipment for being included multiple application programs performs so that described
Electronic equipment performs following methods:
The graphic code in target image is determined, wherein, the target image is the image in graphic code identification region;
If the target image includes at least two graphic codes, receive to the target figure at least two graphic code
The identification instruction of shape code;
Instructed according to the identification, the targeted graphical code is identified.
Above-mentioned at least one technical scheme that the embodiment of the present application uses can reach following beneficial effect:
If it is determined that the target image of graphic code identification region includes at least two graphic codes, respectively at least two figures
Any graphic code addition in code can trigger control, and then corresponding to the targeted graphical code at least two graphic codes by responding
Triggerable control trigger action, realize at least two graphic codes in the target image fast and effeciently to targeted graphical
Code is identified, so as to effectively improve the recognition efficiency of targeted graphical code.
Brief description of the drawings
Accompanying drawing described herein is used for providing further understanding of the present application, forms the part of the application, this Shen
Schematic description and description please is used to explain the application, does not form the improper restriction to the application.In the accompanying drawings:
Fig. 1 is a kind of schematic flow sheet for targeted graphical code recognition methods that the embodiment of the present application provides;
Fig. 2 is the schematic diagram for the barcode scanning page that the embodiment of the present application provides;
Fig. 3 is the schematic diagram for the barcode scanning page after the triggerable control of graphic code addition that the embodiment of the present application provides;
Fig. 4 is the schematic diagram for clicking the barcode scanning page after targeted graphical code that the embodiment of the present application provides;
Fig. 5 is a kind of schematic flow sheet for targeted graphical code recognition methods that the embodiment of the present application provides;
Fig. 6 is a kind of schematic flow sheet for targeted graphical code recognition methods that the embodiment of the present application provides
Fig. 7 is the structural representation for a kind of electronic equipment that the embodiment of the present application provides;
Fig. 8 is a kind of structural representation for targeted graphical code recognition device that the embodiment of the present application provides;
Fig. 9 is the structural representation for a kind of electronic equipment that the embodiment of the present application provides;
Figure 10 is a kind of structural representation for targeted graphical code recognition device that the embodiment of the present application provides.
Embodiment
In order to realize the purpose of the application, the embodiment of the present application provides a kind of targeted graphical code recognition methods and device, institute
The method of stating includes:After it is determined that the target image of graphic code identification region includes at least two graphic codes, respectively at least
Any graphic code addition in two graphic codes can trigger control, and then by responding to the target figure at least two graphic codes
The trigger action of control is can trigger corresponding to shape code, it is fast and effeciently right at least two graphic codes in the target image to realize
Targeted graphical code is identified, so as to effectively improve the recognition efficiency of targeted graphical code.
Technical scheme is clearly and completely retouched with reference to the application specific embodiment and corresponding accompanying drawing
State.Obviously, described embodiment is only some embodiments of the present application, rather than whole embodiments.Based in the application
Embodiment, the every other embodiment that those of ordinary skill in the art are obtained under the premise of creative work is not made,
Belong to the scope of the application protection.
Below in conjunction with accompanying drawing, the technical scheme that each embodiment of the application provides is described in detail.
Embodiment 1
Fig. 1 is a kind of schematic flow sheet for targeted graphical code recognition methods that the embodiment of the present application provides.Methods described can
With as follows.
Step 102:Determine the graphic code in target image.
Wherein, target image is the image in graphic code identification region.
In the embodiment of the present application, the graphic code in target image is determined, including:
The graphic code in target image is determined by graphic code scanning or AR scannings.
In the embodiment of the present application, graphic code includes following at least one:Bar code, Quick Response Code, AR identification codes.
When user needs to identify graphic code to obtain the data message included in graphic code, user can be by triggering eventually
Barcode scanning function in end equipment, for example, clicking sweeping in terminal device sweeps functionality controls, the barcode scanning page corresponding to opening.
Fig. 2 is the schematic diagram for the barcode scanning page that the embodiment of the present application provides.
As shown in Fig. 2 comprising at least barcode scanning control and AR controls in the barcode scanning page, user can be by triggering barcode scanning control
Or AR controls, realize cutting between the barcode scanning page corresponding to the barcode scanning page corresponding to graphic code scanning or the scanning of AR identification codes
Change.
For the ease of statement, for graphic code scanning corresponding to the barcode scanning page and AR scanning corresponding to the barcode scanning page, below
The abbreviation barcode scanning page.
Include graphic code identification region in the barcode scanning page, user can be by adjusting position and the focal length of camera, will
Camera alignment patterns code so that graphic code is shown in the graphic code identification region in the barcode scanning page, is swept by camera
Retouch the target image for obtaining and including graphic code.
In addition, user can also be selected by clicking the photograph album control in the barcode scanning page from the local photograph album of terminal device
Take the target image including graphic code.
The target image for including graphic code determined for terminal device, the target figure is determined by graphic code identification function
As the graphic code included, and determine the position of graphic code and number in target image.
, can be according to each graphic code after terminal device determines position and the number of the graphic code that target image includes
Position, each graphic code point of addition is identified respectively, for example, using each graphic code in marking frame positioning target image
Position so that user is according to the station location marker, the clear position for quickly determining each graphic code in the target image.
It should be noted that except that can use in marking frame positioning target image in addition to the position of each graphic code, also
The position of each graphic code in target image can be positioned by the way of station location marker, is not specifically limited here.
Step 104:If target image includes at least two graphic codes, for any figure at least two graphic code
Code addition can trigger control.
After terminal device determines that the target image includes at least two graphic codes, in order to can from this at least two
The targeted graphical code of user's needs is quick and precisely recognized in graphic code, it is necessary to at least two graphic codes in the target image
Respective handling being carried out, being respectively that the addition of each graphic code can trigger control so that user can be by can trigger control
Trigger action, actively selection triggering need the targeted graphical code identified.
It should be noted that control is can trigger corresponding to graphic code can add in the graphic code, can also add
Predetermined position around the graphic code, is not specifically limited here.
After each graphic code point of addition in target image identifies and can trigger control, the target image is shown
Show in the barcode scanning page.
Fig. 3 is the schematic diagram for the barcode scanning page after the triggerable control of graphic code addition that the embodiment of the present application provides.
As shown in figure 3, graphic code is Quick Response Code, include two Quick Response Codes in the target image that scan page is shown, respectively
By the position of two Quick Response Codes in marking frame positioning target image, i.e. the peripheral square box of each Quick Response Code in Fig. 3;Each two
Tie up the circular control that can trigger that control is each Quick Response Code middle body shown in Fig. 3 corresponding to code.
Step 106:By responding the triggering to can trigger control corresponding to the targeted graphical code at least two graphic codes
Operation, targeted graphical code is identified.
For the target image being shown in the barcode scanning page, user can determine to wrap in the target image by station location marker
The position of each graphic code included, and then user can actively trigger user in target image and need the targeted graphical code that identifies right
The triggerable control answered so that trigger action of the terminal device by response for triggerable control corresponding to targeted graphical code,
Targeted graphical code is identified.
It should be noted that user can determine target by the background parts in target image unless each outside graphic code
Graphic code, it can also can also by other means determine mesh by inquiring that graphic code provider determines targeted graphical code under line
Mark on a map shape code, be not specifically limited here.
In the embodiment of the present application, trigger action includes one of the following:Click, double-click, slide.
In the embodiment of the present application, in response to can trigger control corresponding to the targeted graphical code at least two graphic codes
During trigger action, in addition to:
Down state is set to by can trigger control corresponding to other graphic codes outside targeted graphical code.
Fig. 4 is the schematic diagram for clicking the barcode scanning page after targeted graphical code that the embodiment of the present application provides.
As shown in figure 4, can trigger control corresponding to user click targeted graphical code, terminal device is responded to targeted graphical code
Single-click operation, identify targeted graphical code during, terminal device can also by target image in addition to targeted graphical code
Other graphic codes corresponding to can trigger control be set to down state so that in the identification process to targeted graphical code, keep away
Exempt to identify mistake caused by can trigger control corresponding to user's false triggering other graphic codes.
In the embodiment of the present application, in the barcode scanning page, it can also include:Again barcode scanning control.
When there is no what user's needs identified at least two graphic codes that the target image shown in the barcode scanning page includes
During targeted graphical code, user can re-execute barcode scanning operation by triggering the barcode scanning control again in the barcode scanning page.
In the embodiment of the present application, targeted graphical code is identified, including:
Obtain the recognition result page corresponding to targeted graphical code;
The recognition result page corresponding to targeted graphical code is shown to user.
The terminal device response of trigger action in to(for) triggerable control corresponding to targeted graphical code, identifies targeted graphical code
In the data message that includes, that is, obtain the recognition result page corresponding to targeted graphical code, and then by corresponding to the targeted graphical code
The push displaying of recognition result page user oriented.
In the embodiment of the present application, the recognition result page includes one of the following:Pay the page, the advertisement pushing page, website chain
Connect the page.
The technical scheme that the embodiment of the present application is recorded, it is determined that the target image of graphic code identification region includes at least two
After individual graphic code, any graphic code addition in respectively at least two graphic codes can trigger control, and then pass through response pair
The trigger action of control is can trigger corresponding to targeted graphical code at least two graphic codes, is realized in the target image at least
Fast and effeciently targeted graphical code is identified in two graphic codes, so as to effectively improve the recognition efficiency of targeted graphical code.
Embodiment 2
Based on same inventive concept, Fig. 5 is a kind of stream for targeted graphical code recognition methods that the embodiment of the present application provides
Journey schematic diagram.Methods described can be with as follows.
Step 502:Determine the graphic code in target image.
Wherein, target image is the image in graphic code identification region.
In the embodiment of the present application, the graphic code in target image is determined, including:
The graphic code in target image is determined by graphic code scanning or AR scannings.
In the embodiment of the present application, graphic code includes following at least one:Bar code, Quick Response Code, AR identification codes.
When user needs to identify graphic code to obtain the data message included in graphic code, user can be by triggering eventually
Barcode scanning function in end equipment, for example, clicking sweeping in terminal device sweeps functionality controls, the barcode scanning page corresponding to opening.
The barcode scanning page that the embodiment of the present application provides is identical with the barcode scanning page in above-described embodiment 1 shown in Fig. 2.
As shown in Fig. 2 comprising at least barcode scanning control and AR controls in the barcode scanning page, user can be by triggering barcode scanning control
Or AR controls, realize cutting between the barcode scanning page corresponding to the barcode scanning page corresponding to graphic code scanning or the scanning of AR identification codes
Change.
For the ease of statement, for graphic code scanning corresponding to the barcode scanning page and AR scanning corresponding to the barcode scanning page, below
The abbreviation barcode scanning page.
Include graphic code identification region in the barcode scanning page, user can be by adjusting position and the focal length of camera, will
Camera alignment patterns code so that graphic code is shown in the graphic code identification region in the barcode scanning page, is swept by camera
Retouch the target image for obtaining and including graphic code.
In addition, user can also be selected by clicking the photograph album control in the barcode scanning page from the local photograph album of terminal device
Take the target image including graphic code.
Step 504:If target image includes at least two graphic codes, receive to the target at least two graphic code
The identification instruction of graphic code.
After terminal device determines that the target image includes at least two graphic codes, in order to can from this at least two
The targeted graphical code of user's needs is quick and precisely recognized in graphic code, it is necessary to at least two graphic codes in the target image
Carry out respective handling so that user can actively select to need the targeted graphical code identified.
In the embodiment of the present application, in addition to:Control is can trigger for any graphic code addition at least two graphic codes.
, can be according to each graphic code after terminal device determines position and the number of the graphic code that target image includes
Position, each graphic code point of addition is identified respectively, for example, using each graphic code in marking frame positioning target image
Position so that user is according to the station location marker, the clear position for quickly determining each graphic code in the target image.
It should be noted that except that can use in marking frame positioning target image in addition to the position of each graphic code, also
The position of each graphic code in target image can be positioned by the way of station location marker, is not specifically limited here.
Determine in target image after the position of each graphic code, terminal device can add with and then for each graphic code
Control is can trigger, user can trigger control by triggering, realize the identification to the graphic code corresponding to some graphic code.
It should be noted that control is can trigger corresponding to graphic code can add in the graphic code, can also add
Predetermined position around the graphic code, is not specifically limited here.
After each graphic code point of addition in target image identifies and can trigger control, the target image is shown
Show in the barcode scanning page.
What the embodiment of the present application provided add for graphic code can trigger in the barcode scanning page and above-described embodiment 1 after control
Shown in Fig. 3 for graphic code add can trigger control after the barcode scanning page it is identical.
As shown in figure 3, graphic code is Quick Response Code, include two Quick Response Codes in the target image that scan page is shown, respectively
By the position of two Quick Response Codes in marking frame positioning target image, i.e. the peripheral square box of each Quick Response Code in Fig. 3;Each two
Tie up the circular control that can trigger that control is each Quick Response Code middle body shown in Fig. 3 corresponding to code.
In the embodiment of the present application, the identification instruction to the targeted graphical code at least two graphic codes is received, including:
Receive the knowledge triggered to the trigger action that control is can trigger corresponding to the targeted graphical code at least two graphic codes
Do not instruct.
In the embodiment of the present application, trigger action includes one of the following:Click, double-click, slide.
For the target image being shown in the barcode scanning page, user can determine to wrap in the target image by station location marker
The position of each graphic code included, and then the targeted graphical that user can need to identify by actively triggering user in target image
Control is can trigger corresponding to code so that terminal device receives the identification instruction of trigger action triggering.
It should be noted that user can determine target by the background parts in target image unless each outside graphic code
Graphic code, it can also can also by other means determine mesh by inquiring that graphic code provider determines targeted graphical code under line
Mark on a map shape code, be not specifically limited here.
In the embodiment of the present application, receiving to can trigger control corresponding to the targeted graphical code at least two graphic code
After the identification instruction of the trigger action triggering of part, in addition to:
Down state is set to by can trigger control corresponding to other graphic codes outside targeted graphical code.
The barcode scanning page received after identification instructs provided in the embodiment of the present application and Fig. 4 institutes in above-described embodiment 1
Show that the barcode scanning page after click targeted graphical code is identical.
As shown in figure 4, after terminal device determines to receive the identification instruction to targeted graphical code, can be by target image
In can trigger control corresponding to other graphic codes in addition to targeted graphical code and be set to down state so as to targeted graphical
In the identification process of code, avoid identifying mistake caused by can trigger control corresponding to other graphic codes of user's false triggering.
In the embodiment of the present application, in the barcode scanning page, it can also include:Again barcode scanning control.
When there is no what user's needs identified at least two graphic codes that the target image shown in the barcode scanning page includes
During targeted graphical code, user can re-execute barcode scanning operation by triggering the barcode scanning control again in the barcode scanning page.
Step 506:Instructed according to identification, targeted graphical code is identified.
In the embodiment of the present application, instructed according to identification, targeted graphical code is identified, including:
Obtain the recognition result page corresponding to targeted graphical code;
The recognition result page corresponding to targeted graphical code is shown to user.
In the embodiment of the present application, the recognition result page includes one of the following:Pay the page, the advertisement pushing page, website chain
Connect the page.
After terminal device determines to receive the identification instruction to targeted graphical code, the number included in targeted graphical code is identified
It is believed that breath, that is, obtain the recognition result page corresponding to targeted graphical code, and then by recognition result page corresponding to the targeted graphical code
User oriented push displaying.
The technical scheme that the embodiment of the present application is recorded, however, it is determined that the target image of graphic code identification region includes at least two
Individual graphic code, instructed by the identification received to the targeted graphical code at least two graphic code, and then referred to according to the identification
Make, fast and effeciently targeted graphical code is identified in multiple graphic codes in the target image, so as to effectively improve target
The recognition efficiency of graphic code.
Embodiment 3
The present invention design described in detail based on previous embodiment 1 and/or embodiment 2, for the ease of more preferable
Understand technical characteristic, means and the effect of the application, an object of the application graphic code recognition methods be described further below,
So as to form another embodiment of the application.
Targeted graphical code identification process is known with targeted graphical code in embodiment 1 and/or embodiment 2 in the embodiment of the present application 3
Other process is similar, and some other step not made referrals in embodiment 3 may refer to the phase in embodiment 1 and/or embodiment 2
Description is closed, here is omitted.
Before being described in detail to the implementation of the program, first the implement scene of the program is simply introduced.
The implement scene is the scene that barcode scanning is paid, and user obtains target image, target image by terminal device scans
The graphic code included is the Quick Response Code provided under businessman's line.
Based on above-mentioned scene, Fig. 6 is a kind of flow signal for targeted graphical code recognition methods that the embodiment of the present application provides
Figure.Methods described can be with as follows.
Step 601:Sweeping in user's triggering terminal equipment sweeps functionality controls, the barcode scanning page corresponding to opening, and will be eventually
The camera alignment of end equipment has the place of Quick Response Code, adjusts position and the focal length of camera so that Quick Response Code is shown in barcode scanning
In graphic code identification region in the page.
Step 602:Being obtained by camera includes the target image of Quick Response Code.
Step 603:The number for the Quick Response Code that target image includes is determined, and it is determined that target image includes one two
When tieing up code, step 604 is performed;When it is determined that target image includes at least two Quick Response Codes, step 605 is performed.
Step 604:The Quick Response Code that recognition target image includes, obtains the page corresponding to the Quick Response Code, Jin Erxiang
User shows the page corresponding to the Quick Response Code.
Step 605:Any Quick Response Code addition at least two Quick Response Codes included for target image can trigger control,
And any Quick Response Code is shown as added with the target image that can trigger control to user in the barcode scanning page.
Step 606:Needed in user click target image at least two Quick Response Codes corresponding to the target Quick Response Code that identifies
It can trigger control.
Step 607:The identification instruction that control triggering is can trigger corresponding to user click targeted graphical code is received, according to the knowledge
Do not instruct, target Quick Response Code is identified, obtain the recognition result page corresponding to target Quick Response Code, and then exhibition is pushed to user
Show the recognition result page corresponding to target Quick Response Code.
Embodiment 4
Fig. 7 is the structural representation for a kind of electronic equipment that the embodiment of the present application provides.As shown in fig. 7, in hardware view,
The electronic equipment includes processor, alternatively also includes internal bus, network interface, memory.Wherein, memory may include
Internal memory, such as high-speed random access memory (Random-Access Memory, RAM), it is also possible to also deposited including non-volatile
Reservoir (non-volatile memory), for example, at least 1 magnetic disk storage etc..Certainly, the electronic equipment is also possible that it
Hardware required for his business.
Processor, network interface and memory can be connected with each other by internal bus, and the internal bus can be ISA
(Industry Standard Architecture, industry standard architecture) bus, PCI (Peripheral
Component Interconnect, Peripheral Component Interconnect standard) bus or EISA (Extended Industry Standard
Architecture, EISA) bus etc..The bus can be divided into address bus, data/address bus, control always
Line etc..For ease of representing, only represented in Fig. 6 with a four-headed arrow, it is not intended that an only bus or a type of
Bus.
Memory, for depositing program.Specifically, program can include program code, and described program code includes calculating
Machine operational order.Memory can include internal memory and nonvolatile memory, and provide instruction and data to processor.
Processor read from nonvolatile memory corresponding to computer program into internal memory then run, in logical layer
Targeted graphical code recognition device is formed on face.Processor, the program that memory is deposited is performed, and specifically for performing following grasp
Make:
The graphic code in target image is determined, wherein, target image is the image in graphic code identification region;
It is that any graphic code addition at least two graphic codes can touch if target image includes at least two graphic codes
Send out control;
By responding the trigger action to can trigger control corresponding to the targeted graphical code at least two graphic codes, to mesh
Shape code of marking on a map is identified.
The above-mentioned method performed such as the embodiment of the present application 1 and/or embodiment 3 can apply in processor, or by
Device is managed to realize.Processor is probably a kind of IC chip, has the disposal ability of signal.In implementation process, above-mentioned side
Each step of method can be completed by the integrated logic circuit of the hardware in processor or the instruction of software form.Above-mentioned place
Reason device can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit
(Network Processor, NP) etc.;Can also be digital signal processor (Digital Signal Processor,
DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate
Array (Field-Programmable Gate Array, FPGA) either other PLDs, discrete gate or crystalline substance
Body pipe logical device, discrete hardware components.Can realize or perform disclosed each method in the embodiment of the present application, step and
Logic diagram.General processor can be microprocessor or the processor can also be any conventional processor etc..With reference to
The step of method disclosed in the embodiment of the present application, can be embodied directly in hardware decoding processor and perform completion, or with decoding
Hardware and software module combination in processor perform completion.Software module can be located at random access memory, flash memory, read-only storage
In the ripe storage medium in this area such as device, programmable read only memory or electrically erasable programmable memory, register.Should
Storage medium is located at memory, and processor reads the information in memory, with reference to the step of its hardware completion above method.
The electronic equipment can also carry out the method that Fig. 1 and/or Fig. 6 is performed, and realize above-described embodiment 1 and/or embodiment 3
Function, the embodiment of the present application will not be repeated here.
The embodiment of the present application also proposed a kind of computer-readable recording medium, the computer-readable recording medium storage one
Individual or multiple programs, one or more programs include instruction, and the instruction is held when the electronic equipment for being included multiple application programs
During row, the electronic equipment can be made to perform the targeted graphical code recognition methods in Fig. 1 and/or embodiment illustrated in fig. 5, and specifically use
In execution:
The graphic code in target image is determined, wherein, target image is the image in graphic code identification region;
It is that any graphic code addition at least two graphic codes can touch if target image includes at least two graphic codes
Send out control;
By responding the trigger action to can trigger control corresponding to the targeted graphical code at least two graphic codes, to mesh
Shape code of marking on a map is identified.
Fig. 8 is a kind of structural representation for targeted graphical code recognition device that the embodiment of the present application provides.Device 800 wraps
Include:Determining unit 801, control adding device 802 and recognition unit 803, wherein:
Determining unit 801, the graphic code in target image is determined, wherein, target image is in graphic code identification region
Image;
Control adding device 802, it is appointing at least two graphic codes if target image includes at least two graphic codes
The addition of one graphic code can trigger control;
Recognition unit 803, by responding to can trigger control corresponding to the targeted graphical code at least two graphic codes
Trigger action, targeted graphical code is identified.
Optionally it is determined that unit 801 determines the graphic code in target image, including:
The graphic code in target image is determined by graphic code scanning or AR scannings.
Alternatively, device 800 also includes:Processing unit, wherein:
Processing unit, the triggering that control is can trigger corresponding to the targeted graphical code at least two graphic codes is grasped in response
When making, down state is set to by can trigger control corresponding to other graphic codes outside targeted graphical code.
Alternatively, targeted graphical code is identified recognition unit 803, including:
Obtain the recognition result page corresponding to targeted graphical code;
The recognition result page corresponding to targeted graphical code is shown to user.
Alternatively, the recognition result page includes one of the following:Pay the page, the advertisement pushing page, the web site url page.
Alternatively, trigger action includes at least one following:Click, double-click, slide.
Alternatively, graphic code includes following at least one:Bar code, Quick Response Code, AR identification codes.
According to targeted graphical code recognition device, determining unit determines the graphic code in target image, wherein, target image is
Image in graphic code identification region;If target image includes at least two graphic codes, adding device is at least two figures
Any graphic code addition in code can trigger control;Recognition unit is by responding to the targeted graphical code at least two graphic codes
The trigger action of corresponding triggerable control, targeted graphical code is identified, enabling in the target image at least two
Fast and effeciently targeted graphical code is identified in individual graphic code, effectively improves the recognition efficiency of targeted graphical code.
Embodiment 5
Fig. 9 is the structural representation for a kind of electronic equipment that the embodiment of the present application provides.As shown in figure 9, in hardware view,
The electronic equipment includes processor, alternatively also includes internal bus, network interface, memory.Wherein, memory may include
Internal memory, such as high-speed random access memory (Random-Access Memory, RAM), it is also possible to also deposited including non-volatile
Reservoir (non-volatile memory), for example, at least 1 magnetic disk storage etc..Certainly, the electronic equipment is also possible that it
Hardware required for his business.
Processor, network interface and memory can be connected with each other by internal bus, and the internal bus can be ISA
(Industry Standard Architecture, industry standard architecture) bus, PCI (Peripheral
Component Interconnect, Peripheral Component Interconnect standard) bus or EISA (Extended Industry Standard
Architecture, EISA) bus etc..The bus can be divided into address bus, data/address bus, control always
Line etc..For ease of representing, only represented in Fig. 6 with a four-headed arrow, it is not intended that an only bus or a type of
Bus.
Memory, for depositing program.Specifically, program can include program code, and described program code includes calculating
Machine operational order.Memory can include internal memory and nonvolatile memory, and provide instruction and data to processor.
Processor read from nonvolatile memory corresponding to computer program into internal memory then run, in logical layer
Targeted graphical code recognition device is formed on face.Processor, the program that memory is deposited is performed, and specifically for performing following grasp
Make:
The graphic code in target image is determined, wherein, target image is the image in graphic code identification region;
If target image includes at least two graphic codes, receive to the targeted graphical code at least two graphic code
Identification instruction;
Instructed according to identification, targeted graphical code is identified.
The above-mentioned method performed such as the embodiment of the present application 2 and/or embodiment 3 can apply in processor, or by
Device is managed to realize.Processor is probably a kind of IC chip, has the disposal ability of signal.In implementation process, above-mentioned side
Each step of method can be completed by the integrated logic circuit of the hardware in processor or the instruction of software form.Above-mentioned place
Reason device can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit
(Network Processor, NP) etc.;Can also be digital signal processor (Digital Signal Processor,
DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate
Array (Field-Programmable Gate Array, FPGA) either other PLDs, discrete gate or crystalline substance
Body pipe logical device, discrete hardware components.Can realize or perform disclosed each method in the embodiment of the present application, step and
Logic diagram.General processor can be microprocessor or the processor can also be any conventional processor etc..With reference to
The step of method disclosed in the embodiment of the present application, can be embodied directly in hardware decoding processor and perform completion, or with decoding
Hardware and software module combination in processor perform completion.Software module can be located at random access memory, flash memory, read-only storage
In the ripe storage medium in this area such as device, programmable read only memory or electrically erasable programmable memory, register.Should
Storage medium is located at memory, and processor reads the information in memory, with reference to the step of its hardware completion above method.
The electronic equipment can also carry out the method that Fig. 5 and/or Fig. 6 is performed, and realize above-described embodiment 2 and/or embodiment 3
Function, the embodiment of the present application will not be repeated here.
The embodiment of the present application also proposed a kind of computer-readable recording medium, the computer-readable recording medium storage one
Individual or multiple programs, one or more programs include instruction, and the instruction is held when the electronic equipment for being included multiple application programs
During row, the electronic equipment can be made to perform the targeted graphical code recognition methods in Fig. 1 and/or embodiment illustrated in fig. 5, and specifically use
In execution:
The graphic code in target image is determined, wherein, target image is the image in graphic code identification region;
If target image includes at least two graphic codes, receive to the targeted graphical code at least two graphic code
Identification instruction;
Instructed according to identification, targeted graphical code is identified.
Figure 10 is a kind of structural representation for targeted graphical code recognition device that the embodiment of the present application provides.Device 1000 wraps
Include:Determining unit 1001, receiving unit 1002 and recognition unit 1002, wherein:
Determining unit 1001, the graphic code in target image is determined, wherein, target image is in graphic code identification region
Image;
Receiving unit 1002, if target image includes at least two graphic codes, receive at least two graphic code
Targeted graphical code identification instruction;
Recognition unit 1003, instructed according to identification, targeted graphical code is identified.
Optionally it is determined that unit 1001 determines the graphic code in target image, including:
The graphic code in the target image is determined by graphic code scanning or AR scannings.
Alternatively, device 1000 also includes:Control adding device, wherein:
Control adding device, before the instruction of the identification to the targeted graphical code at least two graphic codes is received, for this
Any graphic code addition at least two graphic codes can trigger control.
Alternatively, receiving unit 1002 receives the identification instruction to the targeted graphical code at least two graphic codes, including:
Receive the knowledge triggered to the trigger action that control is can trigger corresponding to the targeted graphical code at least two graphic codes
Do not instruct.
Alternatively, trigger action includes one of the following:Click, double-click, slide.
Alternatively, device 1000 also includes:Processing unit, wherein:
Processing unit, the triggering that control is can trigger corresponding to the targeted graphical code at least two graphic codes is grasped receiving
After the identification for making to trigger instructs, unavailable shape is set to by can trigger control corresponding to other graphic codes outside targeted graphical code
State.
Alternatively, targeted graphical code is identified recognition unit 1003, including:
Obtain the recognition result page corresponding to targeted graphical code;
The recognition result page corresponding to targeted graphical code is shown to user.
Alternatively, the recognition result page includes one of the following:Pay the page, the advertisement pushing page, the web site url page.
Alternatively, graphic code includes following at least one:Bar code, Quick Response Code, AR identification codes.
According to targeted graphical code recognition device, determining unit, the graphic code in target image is determined, wherein, target image
For the image in graphic code identification region;If target image includes at least two graphic codes, receiving unit is received at least two
The identification instruction of targeted graphical code in individual graphic code;Recognition unit, instructed according to identification, targeted graphical code be identified,
Make it possible to that fast and effeciently targeted graphical code is identified in multiple graphic codes in the target image, effectively improve target
The recognition efficiency of graphic code.
In the 1990s, the improvement for a technology can clearly distinguish be on hardware improvement (for example,
Improvement to circuit structures such as diode, transistor, switches) or software on improvement (improvement for method flow).So
And as the development of technology, the improvement of current many method flows can be considered as directly improving for hardware circuit.
Designer nearly all obtains corresponding hardware circuit by the way that improved method flow is programmed into hardware circuit.Cause
This, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, PLD
(Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate
Array, FPGA)) it is exactly such a integrated circuit, its logic function is determined by user to device programming.By designer
Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD, without asking chip maker to design and make
Special IC chip.Moreover, nowadays, substitution manually makes IC chip, this programming is also used instead mostly " patrols
Volume compiler (logic compiler) " software realizes that software compiler used is similar when it writes with program development,
And the source code before compiling also write by handy specific programming language, this is referred to as hardware description language
(Hardware Description Language, HDL), and HDL is also not only a kind of, but have 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(Ruby
Hardware Description Language) etc., VHDL (Very-High-Speed are most generally used at present
Integrated Circuit Hardware Description Language) and Verilog.Those skilled in the art also should
This understands, it is only necessary to method flow slightly programming in logic and is programmed into integrated circuit with above-mentioned several hardware description languages,
Can is readily available the hardware circuit for realizing the logical method flow.
Controller can be implemented in any suitable manner, for example, controller can take such as microprocessor or processing
Device and storage can by the computer of the computer readable program code (such as software or firmware) of (micro-) computing device
Read medium, gate, switch, application specific integrated circuit (Application Specific Integrated Circuit,
ASIC), the form of programmable logic controller (PLC) and embedded microcontroller, the example of controller include but is not limited to following microcontroller
Device:ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320, are deposited
Memory controller is also implemented as a part for the control logic of memory.It is also known in the art that except with
Pure computer readable program code mode realized beyond controller, completely can be by the way that method and step is carried out into programming in logic to make
Controller is obtained in the form of gate, switch, application specific integrated circuit, programmable logic controller (PLC) and embedded microcontroller etc. to come in fact
Existing identical function.Therefore this controller is considered a kind of hardware component, and various for realizing to including in it
The device of function can also be considered as the structure in hardware component.Or even, can be by for realizing that the device of various functions regards
For that not only can be the software module of implementation method but also can be the structure in hardware component.
System, device, module or the unit that above-described embodiment illustrates, it can specifically be realized by computer chip or entity,
Or realized by the product with certain function.One kind typically realizes that equipment is computer.Specifically, computer for example may be used
Think personal computer, laptop computer, cell phone, camera phone, smart phone, personal digital assistant, media play
It is any in device, navigation equipment, electronic mail equipment, game console, tablet PC, wearable device or these equipment
The combination of equipment.
For convenience of description, it is divided into various units during description apparatus above with function to describe respectively.Certainly, this is being implemented
The function of each unit can be realized in same or multiple softwares and/or hardware during application.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more
The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net
Network interface and internal memory.
Internal memory may include computer-readable medium in volatile memory, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only storage (ROM) or flash memory (flash RAM).Internal memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer-readable instruction, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moved
State random access memory (DRAM), other kinds of random access memory (RAM), read-only storage (ROM), electric erasable
Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM),
Digital versatile disc (DVD) or other optical storages, magnetic cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus
Or any other non-transmission medium, the information that can be accessed by a computing device available for storage.Define, calculate according to herein
Machine computer-readable recording medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability
Comprising so that process, method, commodity or equipment including a series of elements not only include those key elements, but also wrapping
Include the other element being not expressly set out, or also include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that wanted including described
Other identical element also be present in the process of element, method, commodity or equipment.
The application can be described in the general context of computer executable instructions, such as program
Module.Usually, program module includes performing particular task or realizes routine, program, object, the group of particular abstract data type
Part, data structure etc..The application can also be put into practice in a distributed computing environment, in these DCEs, by
Task is performed and connected remote processing devices by communication network.In a distributed computing environment, program module can be with
In the local and remote computer-readable storage medium including storage device.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment
Divide mutually referring to what each embodiment stressed is the difference with other embodiment.It is real especially for system
For applying example, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method
Part explanation.
Embodiments herein is the foregoing is only, is not limited to the application.For those skilled in the art
For, the application can have various modifications and variations.All any modifications made within spirit herein and principle, it is equal
Replace, improve etc., it should be included within the scope of claims hereof.