WO2022022566A1 - 图形码识别方法、装置和电子设备 - Google Patents

图形码识别方法、装置和电子设备 Download PDF

Info

Publication number
WO2022022566A1
WO2022022566A1 PCT/CN2021/108926 CN2021108926W WO2022022566A1 WO 2022022566 A1 WO2022022566 A1 WO 2022022566A1 CN 2021108926 W CN2021108926 W CN 2021108926W WO 2022022566 A1 WO2022022566 A1 WO 2022022566A1
Authority
WO
WIPO (PCT)
Prior art keywords
graphic code
application
identified
target
identification
Prior art date
Application number
PCT/CN2021/108926
Other languages
English (en)
French (fr)
Inventor
孙晓濛
Original Assignee
维沃移动通信有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2022022566A1 publication Critical patent/WO2022022566A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods 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/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods 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/1404Methods for optical code recognition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods 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/1404Methods for optical code recognition
    • G06K7/1439Methods for optical code recognition including a method step for retrieval of the optical code

Definitions

  • the present application belongs to the field of communication technologies, and in particular relates to a method, device and electronic device for identifying a graphic code.
  • QR codes today's mobile phones mainly rely on the following three ways to identify QR codes:
  • the camera that comes with the mobile app recognizes the QR code.
  • QR code When there is a real QR code, it is necessary to distinguish which software can recognize the QR code. If you open the wrong app, you need to copy the link or re-open the correct app to identify it; the operation is complicated, and it is suitable for some people who are not familiar with scanning code payment. It may not be possible for a human to complete a payment or collection action quickly.
  • the purpose of the embodiments of the present application is to provide a method, device and electronic device for identifying a graphic code, which can solve the problem of complicated operation of the existing graphic code identification scheme.
  • an embodiment of the present application provides a method for identifying a graphic code, the method comprising:
  • the target graphic code includes at least one graphic code
  • the set of application identifiers includes at least two application identifiers, and the application programs corresponding to the application identifiers are capable of identifying graphic codes.
  • an embodiment of the present application provides a graphic code identification device, the device comprising:
  • the first acquisition module is used to acquire the set of application identifiers corresponding to the target graphic code;
  • the target graphic code includes at least one graphic code;
  • a first determining module configured to determine a target application identifier from the set of application identifiers, and determine a graphic code to be identified from the at least one graphic code
  • a first identification module configured to identify the graphic code to be identified by using the application program corresponding to the target application identification
  • the set of application identifiers includes at least two application identifiers, and the application programs corresponding to the application identifiers are capable of identifying graphic codes.
  • embodiments of the present application provide an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being The processor implements the steps of the method according to the first aspect when executed.
  • an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method according to the first aspect are implemented .
  • an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, and implement the first aspect the method described.
  • an application identifier set corresponding to a target graphic code is obtained; the target graphic code includes at least one graphic code; the target application identifier is determined from the application identifier set, and the target application identifier is determined from the at least one graphic code.
  • the program can recognize the graphic code; it can realize that it is no longer necessary to save the graphic code or long-press the graphic code to be recognized before recognizing the graphic code, which reduces unnecessary operations, thereby improving the application program for identifying the graphic code.
  • FIG. 1 is a schematic flowchart of a method for identifying a graphic code according to an embodiment of the present application
  • FIG. 2 is a schematic diagram of a function startup of an embodiment of the present application
  • FIG. 3 is a schematic diagram of calling out an application identifier set according to an embodiment of the present application
  • FIG. 4 is a schematic diagram of graphic code related information according to an embodiment of the present application.
  • FIG. 5 is a schematic diagram of displaying an application identifier set according to an embodiment of the present application.
  • FIG. 6 is a schematic diagram of obtaining a graphic code according to an embodiment of the present application.
  • FIG. 7 is a schematic diagram of including two graphic codes within the scope of a camera according to an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a graphic code identification device according to an embodiment of the present application.
  • FIG. 9 is a first structural schematic diagram of an electronic device according to an embodiment of the present application.
  • FIG. 10 is a second schematic structural diagram of an electronic device according to an embodiment of the present application.
  • first, second and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between “first”, “second”, etc.
  • the objects are usually of one type, and the number of objects is not limited.
  • the first object may be one or more than one.
  • “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the associated objects are in an "or” relationship.
  • the graphic code identification method includes:
  • Step 11 Acquire a set of application identifiers corresponding to the target graphic code; the target graphic code includes at least one graphic code.
  • the graphic code can be a two-dimensional code or a barcode.
  • Step 12 Determine the target application identifier from the set of application identifiers, and determine the graphic code to be identified from the at least one graphic code.
  • the set of application identifiers includes at least two application identifiers, and the application programs corresponding to the application identifiers are capable of identifying graphic codes. Further, each application program corresponding to the application identifier can identify at least one graphic code in the target graphic code.
  • Step 13 Identify the graphic code to be identified by using the application program corresponding to the target application identifier.
  • Step 13 may specifically be: when the user indicates permission, use the application program corresponding to the target application identification to identify the graphic code to be identified; but it is not limited to this.
  • the determining the target application identifier from the set of application identifiers includes: according to the first input, determining the target application identifier from the set of application identifiers displayed on the preset interface; or, according to the first preset parameter, the target application identifier is determined from the application identifier set; wherein, the first preset parameter includes: at least one of graphic code related information on the current display interface, application history usage information and application balance information.
  • the preset interface is different from the system desktop and the currently displayed interface, and may be a pop-up interface.
  • the first input may be a selection operation such as clicking, which is not limited here.
  • the information related to the graphic code can be the information related to the application program used to identify the graphic code, such as the identity information of the application program to be used. ⁇ "; the displayed information includes the graphic code related information "application B"; the application history usage information may specifically be the application usage rule information; the application balance information specifically refers to the user balance under the current account where the application is logged in.
  • the determining the target application identifier from the set of application identifiers displayed on the preset interface according to the first input includes: displaying the set of application identifiers on the preset interface according to the second input; The first input of the set of application identifiers determines the target application identifier.
  • the second input can start the display of the preset interface, and the second input can be a sliding operation of the preset track, but it is not limited thereto.
  • the method further includes: sorting the set of application identifiers on the preset interface according to a second preset parameter. display; wherein, the second preset parameter includes: at least one of graphic code related information on the current display interface, application history usage information and application balance information.
  • the top ranking may be displayed at a position that is easily triggered by the user;
  • the graphic code related information may be information related to the application program to be used to identify the graphic code, such as the identity information of the application program to be used, Use the current display interface to display "Use application B to identify the QR code payment below"; then the displayed information includes the graphic code related information "application B";
  • the application history usage information can specifically be the use of the application Regular information;
  • application balance information specifically refers to the user's balance under the current account logged in by the application.
  • the determining the graphic code to be identified from the at least one graphic code includes: according to a preset operation, determining the graphic code to be identified from the at least one graphic code; or, from the In at least one graphic code, it is determined that the graphic code corresponding to the target application identifier is the graphic code to be identified.
  • the preset operation may be a preset drag operation, such as dragging the target application logo onto a graphic code, then the graphic code is the graphic code to be identified; the at least one graphic code may be displayed on the current display interface, or Scanned by camera.
  • the method further includes: displaying first prompt information; receiving a third input for the first prompt information; When the third input indication is permitted, use the application program corresponding to the target application identification to identify the graphic code to be identified; wherein the first prompt information is used to prompt the user to use the target application identification
  • the corresponding application program identifies the graphic code to be identified.
  • the method further includes: receiving a fourth input; in response to the fourth input, returning to execute the The target application identifier is determined from the set of application identifiers, and the operation of the graphic code to be identified is determined from the at least one graphic code.
  • the user can be provided with an opportunity to modify the target application identifier, so as to better meet the user's needs.
  • the historical usage information, sorting order, etc. of the previously confirmed target application identifier will be updated accordingly.
  • the method further includes: in the case of failure to identify, displaying second prompt information, and returning to execute the The operation of determining the target application identifier from the application identifier set, and determining the graphic code to be recognized from the at least one graphic code; wherein, the second prompt information is used to prompt the user to identify the application program corresponding to the target application identifier The graphic code to be recognized failed.
  • the recognition fails, the historical usage information, sorting order, etc. of the previously confirmed target application identifier will be updated correspondingly; if the recognition is successful, it will jump to the function interface corresponding to the graphic code to be recognized.
  • the user can be provided with an opportunity to be re-identified in the case of failure of identification, improve the user's use experience, and better meet the user's needs.
  • the graphic code identification method provided by the embodiments of the present application is described below with an example, where a two-dimensional code is used as an example for the graphic code, and a mobile phone is used as an example for the electronic device.
  • a graphic code identification method mainly involves:
  • this solution can trigger the scanning of the two-dimensional code by placing the app on the two-dimensional code that needs to be scanned when switching the app to complete the two-dimensional code identification;
  • this scheme involves the following three aspects:
  • the mobile phone's own QR code identification (hereinafter referred to as the home screen) is supported, and other settings are determined by the user.
  • Application A can be recommended, and application B is commonly used as a two-dimensional code recognition tool; as shown in FIG. 2 , the wake-up gesture is the above-mentioned second input, and the following second input swipe up is used as the wake-up gesture.
  • the configured QR code recognition software is automatically recommended; if the QR code contains key information such as application A, application B, software download, etc., there is no need for the user to manually Drag and drop the software to automatically pop up the recognized result and jump to the corresponding interface; as shown in Figure 4, if "application A" appears in the figure, application A can be used to automatically identify the QR code in the figure (specifically , the QR code recognition will be triggered after the upper swipe, because the keyword contains application A, automatic recognition will be triggered, and the QR code recognition will be completed directly);
  • the recognizable two-dimensional code software can be displayed according to the user's historical usage order and other information (ie, the above-mentioned second preset parameters). Manually drag it to the application that needs to scan the QR code; as shown in Figure 5, drag the corresponding logo (home screen) automatically carried by the mobile phone to the position to be scanned.
  • the third aspect is the method of identifying physical QR codes
  • the intelligent recognition QR code function Specifically, it can be triggered by double-clicking the screen on the mobile phone. At the same time, turn on the rear camera of the mobile phone. After triggering, as shown in Figure 6, the acquired QR code and the configured QR code recognition software can be displayed;
  • the QR code enters the camera and intelligently recognizes it according to the QR code information in the image.
  • the payment scenarios are described below:
  • the merchant's multiple payment QR codes are closely spaced, and there are 2 QR codes within the camera range.
  • the corresponding QR code can be scanned first according to the user's payment operation habits in the last week, as shown in the figure. As shown in 7, for example: in the past week, if you have used App A 20 times and App B 5 times, the payment recognition of App A will be used first this time; if the user wants to adjust (execute the above return operation), the payment can be canceled, and then the user can manually trigger the payment Recognition of other payment QR codes; specifically, the display order of application identifiers can be adjusted in combination with historical behavior and application balance, and the highest comprehensive ranking can be displayed in a position that is easy for users to trigger.
  • the QR code can be scanned by applications with high frequency according to the user's payment operation habits in the last week, without the need for the user to manually drag and drop the QR code.
  • Gesture trigger swipe up (other gestures can be set) and then trigger the intelligent recognition QR code mode.
  • Character recognition based on keyword recognition information, intelligently completes the QR code recognition action.
  • Drag and drop operation determine the drag and drop application, and recognize the QR code information in the background to complete the automatic jump.
  • the two-dimensional code identification action can be completed without interrupting the existing operation interface of the two-dimensional code identification application.
  • this solution can gradually increase the ability to quickly recognize small programs and recognize barcodes; and can gradually improve the accuracy of recommendation and recognition according to user habits to ensure the success rate of one-time recognition.
  • an application identifier set corresponding to a target graphic code is obtained; the target graphic code includes at least one graphic code; the target application identifier is determined from the application identifier set, and the target application identifier is determined from the at least one graphic code.
  • the program can recognize the graphic code; it can realize that it is no longer necessary to save the graphic code or long-press the graphic code to be recognized before recognizing the graphic code, which reduces unnecessary operations, thereby improving the application program for identifying the graphic code.
  • the execution body may be a graphic code identification device, or a control module in the graphic code identification device for executing the graphic code identification method.
  • the graphic code identification device provided by the embodiment of the present application is described by taking the graphic code identification device executing the graphic code identification method as an example.
  • the embodiment of the present application also provides a graphic code identification device, as shown in FIG. 8 , including:
  • the first obtaining module 81 is used to obtain the set of application identifiers corresponding to the target graphic code; the target graphic code includes at least one graphic code;
  • a first determining module 82 configured to determine a target application identifier from the application identifier set, and determine a graphic code to be identified from the at least one graphic code
  • the first identification module 83 is used to identify the graphic code to be identified by using the application program corresponding to the target application identification;
  • the set of application identifiers includes at least two application identifiers, and the application programs corresponding to the application identifiers are capable of identifying graphic codes.
  • the first determination module includes: a first determination sub-module, configured to determine the target application identifier from the set of application identifiers displayed on the preset interface according to the first input; or, according to the first preset parameter, The target application identifier is determined from the application identifier set; wherein, the first preset parameter includes at least one of graphic code related information on the current display interface, application history usage information and application balance information.
  • the graphic code identification device further includes: a first display module for, according to the first input, before determining the target application identifier from the set of application identifiers displayed on the preset interface, according to the second preset parameter , the set of application identifiers is sorted and displayed on the preset interface; wherein, the second preset parameter includes: at least one of graphic code related information on the current display interface, application history usage information and application balance information kind.
  • the first determination module includes: a second determination sub-module, configured to determine a graphic code to be identified from the at least one graphic code according to a preset operation; or, from the at least one graphic code, It is determined that the graphic code corresponding to the target application identifier is the graphic code to be identified.
  • the graphic code identification device further includes: a second display module for displaying first prompt information before identifying the graphic code to be identified by using the application program corresponding to the target application identification
  • the first receiving module is used to receive the third input for the first prompt information
  • the first execution module is used to use the application program corresponding to the target application identifier under the condition that the third input indicates permission, to The graphic code to be identified is identified; wherein, the first prompt information is used to prompt the user to identify the graphic code to be identified by using the target application to identify the corresponding application program.
  • the graphic code identification device further includes: a second receiving module for receiving a fourth input after identifying the graphic code to be identified by using the application program corresponding to the target application identification ; a second execution module, configured to, in response to the fourth input, return to execute the operation of determining a target application identifier from the application identifier set, and determining a graphic code to be identified from the at least one graphic code.
  • the graphic code identification device further includes: a third execution module, configured to identify the graphic code to be identified after identifying the graphic code to be identified by using the application program corresponding to the target application identification
  • the second prompt information is displayed, and the operation of determining the target application identifier from the application identifier set and determining the graphic code to be identified from the at least one graphic code is returned to be executed; wherein, the The second prompt information is used to prompt the user that the application program corresponding to the target application identifier fails to recognize the graphic code to be recognized.
  • an application identifier set corresponding to a target graphic code is obtained; the target graphic code includes at least one graphic code; the target application identifier is determined from the application identifier set, and the target application identifier is determined from the at least one graphic code.
  • the program can recognize the graphic code; it can realize that it is no longer necessary to save the graphic code or long-press the graphic code to be recognized before recognizing the graphic code, which reduces unnecessary operations, thereby improving the application program for identifying the graphic code.
  • the graphic code identification device in this embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal.
  • the apparatus may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant).
  • UMPC ultra-mobile personal computer
  • netbook or a personal digital assistant
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • Network Attached Storage NAS
  • personal computer personal computer, PC
  • television television
  • teller machine or self-service machine etc.
  • the graphic code identification device in the embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
  • the graphic code identification device provided in the embodiments of the present application can implement the various processes in the method embodiments shown in FIG. 1 to FIG. 8 , and to avoid repetition, details are not described here.
  • an embodiment of the present application further provides an electronic device 90, including a processor 91, a memory 92, a program or instruction stored in the memory 92 and executable on the processor 91,
  • an electronic device 90 including a processor 91, a memory 92, a program or instruction stored in the memory 92 and executable on the processor 91,
  • the program or instruction is executed by the processor 91, each process of the above-mentioned embodiment of the graphic code identification method is realized, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.
  • the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 10 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 1010, etc. part.
  • the electronic device 100 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, so as to manage charging, discharging, and power management through the power management system. consumption management and other functions.
  • a power source such as a battery
  • the structure of the electronic device shown in FIG. 10 does not constitute a limitation on the electronic device, and the electronic device may include more or less components than the one shown, or combine some components, or arrange different components, which will not be repeated here. .
  • the processor 1010 is configured to obtain an application identifier set corresponding to a target graphic code; the target graphic code includes at least one graphic code; the target application identifier is determined from the application identifier set, and is obtained from the at least one graphic code. Determine the graphic code to be identified; use the application program corresponding to the target application identification to identify the graphic code to be identified; wherein, the application identification set includes at least two application identifications, and the application identification corresponding to the application identification The program can recognize the graphic code.
  • an application identifier set corresponding to a target graphic code is obtained; the target graphic code includes at least one graphic code; the target application identifier is determined from the application identifier set, and the target application identifier is determined from the at least one graphic code.
  • the program can recognize the graphic code; it can realize that it is no longer necessary to save the graphic code or long-press the graphic code to be recognized before recognizing the graphic code, which reduces unnecessary operations, thereby improving the application program for identifying the graphic code.
  • the processor 1010 is specifically configured to: determine the target application identifier from the application identifier set displayed on the preset interface according to the first input; or, according to the first preset parameter, determine the target application identifier from the application identifier set ; wherein, the first preset parameter includes: at least one of graphic code related information on the current display interface, application history usage information and application balance information.
  • the processor 1010 is further configured to: before determining the target application identifier from the set of application identifiers displayed on the preset interface according to the first input, use the display unit 106 to display the preset application identifier according to the second preset parameter.
  • the interface sorts and displays the set of application identifiers; wherein, the second preset parameter includes: at least one of graphic code related information, application history usage information and application balance information on the currently displayed interface.
  • the processor 1010 is specifically configured to: according to a preset operation, determine the graphic code to be identified from the at least one graphic code; or, from the at least one graphic code, determine the target application identifier corresponding to the The graphic code is the graphic code to be identified.
  • the processor 1010 is further configured to: use the display unit 106 to display the first prompt information before using the target application to identify the corresponding application program and identify the to-be-recognized graphic code; use the user input unit 107 Receive a third input for the first prompt information; when the third input indicates permission, use the application program corresponding to the target application identifier to identify the graphic code to be identified; wherein, the first A prompt message is used to prompt the user to identify the graphic code to be identified by using the target application to identify the corresponding application program.
  • the processor 1010 is further configured to: use the user input unit 107 to receive a fourth input after identifying the graphic code to be identified by using the target application to identify the corresponding application; Four inputs, return to perform the operation of determining the target application identifier from the application identifier set, and determining the graphic code to be identified from the at least one graphic code.
  • the processor 1010 is further configured to: use the display unit 106 to display a second prompt after identifying the graphic code to be identified by using the target application to identify the corresponding application, and in the case of a failure to identify information, and return to execute the operation of determining the target application identifier from the application identifier set, and determining the graphic code to be recognized from the at least one graphic code; wherein, the second prompt information is used to prompt the user to The application program corresponding to the target application identifier fails to recognize the graphic code to be recognized.
  • the two-dimensional code identification action can be completed without interrupting the existing operation interface of the two-dimensional code identification application.
  • the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042. Such as camera) to obtain still pictures or video image data for processing.
  • the display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 107 includes a touch panel 1071 and other input devices 1072 .
  • the touch panel 1071 is also called a touch screen.
  • the touch panel 1071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which are not described herein again.
  • Memory 109 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems.
  • the processor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the like, and the modem processor mainly processes wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 1010.
  • Embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, each process of the above embodiment of the graphic code identification method is implemented, and can achieve The same technical effect, in order to avoid repetition, will not be repeated here.
  • the processor is the processor in the electronic device described in the foregoing embodiments.
  • the readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
  • An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used for running a program or an instruction to implement the above embodiment of the method for identifying a graphic code and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
  • the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
  • the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation.
  • the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of this application.
  • a storage medium such as ROM/RAM, magnetic disk, CD-ROM

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Electromagnetism (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)
  • Stored Programmes (AREA)

Abstract

本申请公开了一种图形码识别方法、装置和电子设备。其中,图形码识别方法包括:获取目标图形码对应的应用标识集合;目标图形码包括至少一个图形码;从应用标识集合中确定目标应用标识,并从至少一个图形码中确定待识别的图形码;利用目标应用标识对应的应用程序,对待识别的图形码进行识别;其中,应用标识集合包括至少两个应用标识,应用标识对应的应用程序能够识别图形码。

Description

图形码识别方法、装置和电子设备
相关申请的交叉引用
本申请主张在2020年7月30日在中国提交的中国专利申请号No.202010749010.0的优先权,其全部内容通过引用包含于此。
技术领域
本申请属于通信技术领域,具体涉及一种图形码识别方法、装置和电子设备。
背景技术
随着如今智能手机的普及,各类应用程序app已经跃然成为人们日常生活中各种需求的载体。而扫描二维码作为付款、收款、交友、下载app、识别信息的快速手段,快速操作完成二维码识别成为了其中关键性的动作。
具体的,现如今的手机,识别二维码主要依赖如下三种方式:
1.手机app自带的摄像头识别二维码。
2.将二维码保存到手机相册中,打开相册进行图像识别。
3.在微信等自带二维码识别的软件中,长按图片进行图像识别。
针对上述三种方式,在实现本申请过程中,发明人发现现有技术中至少存在如下问题:
1.无二维码实物时,且该软件无识别二维码功能时需保存二维码图片,然后打开对应有识别功能的app进行图像识别;识别完成后部分情况下还需二次跳转至浏览器打开才能完成;操作步骤繁琐,冗长;即使对于自带二维码识别的软件,也需长按图片进行图像识别,使用不便。
2.存在二维码实物时需区分该二维码是哪个软件可识别的,若打开错误的app后还需复制链接或重新打开正确app识别;操作复杂,针对一些对扫码支付不熟悉的人来说可能无法快速完成付款或收款动作。
由上可知,现有的图形码识别方案存在操作繁琐、不便于使用等问题。
发明内容
本申请实施例的目的是提供一种图形码识别方法、装置和电子设备,能够解决现有的图形码识别方案操作繁琐的问题。
为了解决上述技术问题,本申请是这样实现的:
第一方面,本申请实施例提供了一种图形码识别方法,该方法包括:
获取目标图形码对应的应用标识集合;所述目标图形码包括至少一个图形码;
从所述应用标识集合中确定目标应用标识,并从所述至少一个图形码中确定待识别的图形码;
利用所述目标应用标识对应的应用程序,对所述待识别的图形码进行识别;
其中,所述应用标识集合包括至少两个应用标识,所述应用标识对应的应用程序能够识别图形码。
第二方面,本申请实施例提供了一种图形码识别装置,该装置包括:
第一获取模块,用于获取目标图形码对应的应用标识集合;所述目标图形码包括至少一个图形码;
第一确定模块,用于从所述应用标识集合中确定目标应用标识,并从所述至少一个图形码中确定待识别的图形码;
第一识别模块,用于利用所述目标应用标识对应的应用程序,对所述待识别的图形码进行识别;
其中,所述应用标识集合包括至少两个应用标识,所述应用标识对应的应用程序能够识别图形码。
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信 接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。
在本申请实施例中,通过获取目标图形码对应的应用标识集合;所述目标图形码包括至少一个图形码;从所述应用标识集合中确定目标应用标识,并从所述至少一个图形码中确定待识别的图形码;利用所述目标应用标识对应的应用程序,对所述待识别的图形码进行识别;其中,所述应用标识集合包括至少两个应用标识,所述应用标识对应的应用程序能够识别图形码;能够实现不再需要在识别图形码之前先将图形码进行保存或者长按要识别的图形码,减少了不必要的操作,从而提高了用于识别图形码的应用程序的唤醒效率,简化了操作流程;此外,针对一些对扫码支付不熟悉的人来说,能够直接提供可以扫码使用的应用程序,从而快速完成付款或收款动作,便于用户使用,很好的解决了现有的图形码识别方案操作繁琐的问题。
附图说明
图1是本申请实施例的图形码识别方法流程示意图;
图2是本申请实施例的功能开启示意图;
图3是本申请实施例的应用标识集合调出示意图;
图4是本申请实施例的图形码相关信息示意图;
图5是本申请实施例的应用标识集合显示示意图;
图6是本申请实施例的图形码获取示意图;
图7是本申请实施例的摄像头范围内包含2个图形码示意图;
图8是本申请实施例的图形码识别装置结构示意图;
图9是本申请实施例的电子设备结构示意图一;
图10是本申请实施例的电子设备结构示意图二。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造 性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的图形码识别方法进行详细地说明。
如图1所示,本申请实施例提供的所述图形码识别方法,包括:
步骤11:获取目标图形码对应的应用标识集合;所述目标图形码包括至少一个图形码。
图形码可以为二维码或条形码等。
步骤12:从所述应用标识集合中确定目标应用标识,并从所述至少一个图形码中确定待识别的图形码。
其中,所述应用标识集合包括至少两个应用标识,所述应用标识对应的应用程序能够识别图形码。进一步的,每个所述应用标识对应的应用程序都能够识别所述目标图形码中的至少一个图形码。
步骤13:利用所述目标应用标识对应的应用程序,对所述待识别的图形码进行识别。
步骤13具体的可以是:在用户指示允许的情况下,利用所述目标应用标识对应的应用程序,对所述待识别的图形码进行识别;但并不以此为限。
本申请实施例中,所述从所述应用标识集合中确定目标应用标识,包括:根据第一输入,从显示于预设界面的应用标识集合中确定目标应用标识;或者,根据第一预设参数,从应用标识集合中确定目标应用标识;其中,所述第一预设参数包括:当前显示界面上的图形码相关信息、应用历史使用信息和应用余额信息中的至少一种。
其中,预设界面不同于***桌面和当前显示界面,可以为弹出的界面。 第一输入可以为点击等选择操作,在此不作限定。图形码相关信息可以为与识别图形码所需使用的应用程序相关的信息,比如所需使用的应用程序的身份信息,利用当前显示界面上显示有“使用应用程序B识别下方二维码支付···”;则显示的信息中包含了图形码相关信息“应用程序B”;应用历史使用信息具体可以为应用的使用规律信息;应用余额信息具体是指应用登录的当前账号下的用户余额。
这样能够满足用户的个性化需求以及简便操作的需求。
具体的,所述根据第一输入,从显示于预设界面的应用标识集合中确定目标应用标识,包括:根据第二输入,在预设界面对所述应用标识集合进行显示;根据针对显示的所述应用标识集合的第一输入,确定目标应用标识。
其中,第二输入能够启动预设界面的显示,第二输入可以为预设轨迹的滑动操作,但并不以此为限。
这样能够进一步满足用户的个性化需求。
进一步的,在根据第一输入,从显示于预设界面的应用标识集合中确定目标应用标识之前,还包括:根据第二预设参数,在所述预设界面对所述应用标识集合进行排序显示;其中,所述第二预设参数包括:当前显示界面上的图形码相关信息、应用历史使用信息和应用余额信息中的至少一种。
本申请实施例中可以将排序靠前的显示在用户易触发的位置;图形码相关信息可以为与识别图形码所需使用的应用程序相关的信息,比如所需使用的应用程序的身份信息,利用当前显示界面上显示有“使用应用程序B识别下方二维码支付···”;则显示的信息中包含了图形码相关信息“应用程序B”;应用历史使用信息具体可以为应用的使用规律信息;应用余额信息具体是指应用登录的当前账号下的用户余额。
这样能够满足用户的个性化需求。
本申请实施例中,所述从所述至少一个图形码中确定待识别的图形码,包括:根据预设操作,从所述至少一个图形码中确定待识别的图形码;或者,从所述至少一个图形码中,确定所述目标应用标识对应的图形码为待识别的图形码。
关于预设操作可以是预设拖动操作,比如将目标应用标识拖到一个图形 码上,那么这个图形码为待识别的图形码;关于至少一个图形码可以是当前显示界面上显示的,或者通过摄像头扫描得到的。
这样能够精准的实现确定待识别的图形码,并满足用户的个性化需求。
进一步的,在利用所述目标应用标识对应的应用程序,对所述待识别的图形码进行识别之前,还包括:显示第一提示信息;接收针对所述第一提示信息的第三输入;在第三输入指示允许的情况下,利用所述目标应用标识对应的应用程序,对所述待识别的图形码进行识别;其中,所述第一提示信息用于提示用户将利用所述目标应用标识对应的应用程序,对所述待识别的图形码进行识别。
这样能够更好的满足用户需求。
本申请实施例中,在利用所述目标应用标识对应的应用程序,对所述待识别的图形码进行识别之后,还包括:接收第四输入;响应于所述第四输入,返回执行所述从所述应用标识集合中确定目标应用标识,并从所述至少一个图形码中确定待识别的图形码的操作。
这样可以提供给用户修改目标应用标识的机会,更好的满足用户需求。此外,执行返回操作之后,会对应更新之前确认的目标应用标识的历史使用信息、排序顺序等。
进一步的,在利用所述目标应用标识对应的应用程序,对所述待识别的图形码进行识别之后,还包括:在识别失败的情况下,显示第二提示信息,并返回执行所述从所述应用标识集合中确定目标应用标识,并从所述至少一个图形码中确定待识别的图形码的操作;其中,所述第二提示信息用于提示用户所述目标应用标识对应的应用程序识别所述待识别的图形码失败。
其中,在识别失败的情况下,会对应更新之前确认的目标应用标识的历史使用信息、排序顺序等;在识别成功的情况下,跳转至待识别的图形码对应的功能界面。
这样可以在识别失败的情况下给用户提供再次识别的机会,提高用户的使用感受,更好的满足用户需求。
下面对本申请实施例提供的所述图形码识别方法进行举例说明,其中,图形码以二维码为例,电子设备以手机为例。
针对上述技术问题,为了提升用户在日常生活中快速完成识别二维码的操作,让用户更加便捷的通过识别二维码完成付款、收款、交友、下载app等操作;本申请实施例提供了一种图形码识别方法,主要涉及:
(1)针对大部分用户手机app长时间在后台启动,本方案可以通过切换app时将app置于需要扫描的二维码上,触发二维码扫描,完成二维码识别;
(2)针对需打开二维码识别框方可完成识别的场景下,借用app后台切换场景;可以双击触发二维码自动识别。若使用了错误app识别二维码,则可执行app切换,而无需打开后再找到二维码识别工具才完成识别。
具体的,本方案涉及以下三方面:
第一方面,功能开启;
可在设置中增加一项“二维码智能识别”功能;点击开启后可正常使用该功能;并增加允许识别二维码的软件app。默认支持手机自带二维码识别(以下称为主屏幕),其他视用户设置。可推荐应用程序A,应用程序B常用二维码识别工具;如图2所示,关于唤醒手势即上述第二输入,以下第二输入以上划作为唤醒手势。
第二方面,识别图片或软件内二维码方法;
场景1
(1)在浏览器中打开某信息时,发现需扫描二维码下载app;
(2)使用配置的手势(即图2中的唤醒手势),快速调起二维码识别软件,选择已配置的二维码识别工具拽至该图片上;弹出是否识别图中二维码,点击确认,完成二维码识别;
(3)识别完成时,自动打开软件商店触发app下载。
场景2
(1)在浏览器或其他app中,发现需要扫描二维码关注应用程序A公众号或应用程序A小程序;
(2)使用配置手势调起已配置的二维码识别软件,根据二维码关键信息(即上述图形码相关信息)-应用程序A公众号,自动推荐应用程序A,弹出是否识别图中二维码,点击确认;完成二维码识别;
(3)识别完成后,自动打开应用程序A,弹出公众号或小程序信息。
具体操作介绍:
1.发现需要识别的二维码,但该应用无识别二维码功能;
2.根据配置的快速唤醒手势,调起已配置的二维码识别软件,如图3所示(图示为上划快速唤醒);
3.基于文字和图像识别的二维码中关键信息,自动推荐已配置的二维码识别软件;如二维码中包含应用程序A、应用程序B、软件下载等关键信息,则无需用户手动拖拽软件,自动弹出已识别结果,并跳转至相应界面;如图4所示,图中出现“应用程序A”,则可自动采用应用程序A对图中的二维码进行识别(具体的,上划后触发二维码识别,因关键字包含应用程序A,触发自动识别,直接完成二维码识别动作);
4.当识别二维码缺少关键信息时,可根据用户历史使用顺序等信息(即上述第二预设参数),显示可识别的二维码软件。手动拖拽至需扫描二维码的应用上;如图5所示,将手机自动携带的扫描对应的标识(主屏幕)拖拽至需扫描的位置。
5.还可进一步弹出是否识别二维码确认框,识别完成后跳转至对应操作。
第三方面,识别实物二维码方法;
1.调起智能识别二维码功能。具体可在手机双击屏幕触发。同时打开手机后置摄像头,触发后如图6所示,可显示获取的二维码以及已配置的二维码识别软件;
2.二维码进入摄像头,根据图像中的二维码信息进行智能识别,以下针对支付场景进行说明:
场景1
商家的多个收款二维码间隔距离较近,摄像头范围内包含2个二维码,开启智能推荐后,可根据用户最近1周内支付操作习惯,优先扫描对应的二维码,如图7所示,比如:最近一周,使用应用程序A20次,应用程序B5次,则此次优先使用应用程序A支付识别;若用户希望调整(执行上述返回操作)可取消支付,然后用户可手动触发其他支付二维码识别;具体可结合历史行为、应用余额调整应用标识的显示顺序,将综合排序高的显示在用户易触发的位置。
场景2
若商家一个二维码支持多种支付方式,则开启智能推荐后,同样可根据用户最近一周的支付操作习惯,优先采用使用频率高的应用扫描该二维码,无需用户手动拖拽。
3.自动识别摄像头内的二维码,识别完成后跳转至对应操作。
4.当执行返回操作后,若拖拽了错误的应用无法完成识别或跳转时,则可提示请用户选择其他软件识别;重新拖拽正确软件完成识别即可。
由上可知,本申请实施例中涉及以下操作:
1.手势触发,上划(可设定其他手势均可)后触发智能识别二维码模式。
2.文字识别,基于关键字识别信息,智能完成二维码识别动作。
3.图像识别,后置摄像头识别二维码技术。
4.拖拽操作,判定拖拽应用,并后台识别二维码信息完成自动跳转。
5.快速(手机自动识别推荐)添加可识别二维码应用,避免部分用户不清楚具体哪些app可识别二维码。
6.智能推荐,基于用户历史使用习惯,快速推荐合适的二维码识别软件。
综上,本申请实施例提供的方案可:
(1)提高用户唤醒识别二维码工具的效率,降低识别错误时切换的成本;
(2)减少用户保存图片至相册后再打开app识别的成本;
(3)可不打断识别二维码应用现有的操作界面,完成二维码识别动作。
在此说明,除识别二维码外,本方案可逐步增加快速识别小程序,识别条形码的能力;并可以根据用户习惯逐步提升推荐和识别准确度,保证一次识别成功率。
在本申请实施例中,通过获取目标图形码对应的应用标识集合;所述目标图形码包括至少一个图形码;从所述应用标识集合中确定目标应用标识,并从所述至少一个图形码中确定待识别的图形码;利用所述目标应用标识对应的应用程序,对所述待识别的图形码进行识别;其中,所述应用标识集合包括至少两个应用标识,所述应用标识对应的应用程序能够识别图形码;能够实现不再需要在识别图形码之前先将图形码进行保存或者长按要识别的图形码,减少了不必要的操作,从而提高了用于识别图形码的应用程序的唤醒 效率,简化了操作流程;此外,针对一些对扫码支付不熟悉的人来说,能够直接提供可以扫码使用的应用程序,从而快速完成付款或收款动作,便于用户使用,很好的解决了现有的图形码识别方案操作繁琐的问题。
需要说明的是,本申请实施例提供的图形码识别方法,执行主体可以为图形码识别装置,或者该图形码识别装置中的用于执行图形码识别方法的控制模块。本申请实施例中以图形码识别装置执行图形码识别方法为例,说明本申请实施例提供的图形码识别装置。
本申请实施例还提供了一种图形码识别装置,如图8所示,包括:
第一获取模块81,用于获取目标图形码对应的应用标识集合;所述目标图形码包括至少一个图形码;
第一确定模块82,用于从所述应用标识集合中确定目标应用标识,并从所述至少一个图形码中确定待识别的图形码;
第一识别模块83,用于利用所述目标应用标识对应的应用程序,对所述待识别的图形码进行识别;
其中,所述应用标识集合包括至少两个应用标识,所述应用标识对应的应用程序能够识别图形码。
具体的,所述第一确定模块,包括:第一确定子模块,用于根据第一输入,从显示于预设界面的应用标识集合中确定目标应用标识;或者,根据第一预设参数,从应用标识集合中确定目标应用标识;其中,所述第一预设参数包括:当前显示界面上的图形码相关信息、应用历史使用信息和应用余额信息中的至少一种。
进一步的,所述的图形码识别装置,还包括:第一显示模块,用于在根据第一输入,从显示于预设界面的应用标识集合中确定目标应用标识之前,根据第二预设参数,在所述预设界面对所述应用标识集合进行排序显示;其中,所述第二预设参数包括:当前显示界面上的图形码相关信息、应用历史使用信息和应用余额信息中的至少一种。
其中,所述第一确定模块,包括:第二确定子模块,用于根据预设操作,从所述至少一个图形码中确定待识别的图形码;或者,从所述至少一个图形码中,确定所述目标应用标识对应的图形码为待识别的图形码。
进一步的,所述的图形码识别装置,还包括:第二显示模块,用于在利用所述目标应用标识对应的应用程序,对所述待识别的图形码进行识别之前,显示第一提示信息;第一接收模块,用于接收针对所述第一提示信息的第三输入;第一执行模块,用于在第三输入指示允许的情况下,利用所述目标应用标识对应的应用程序,对所述待识别的图形码进行识别;其中,所述第一提示信息用于提示用户将利用所述目标应用标识对应的应用程序,对所述待识别的图形码进行识别。
更进一步的,所述的图形码识别装置,还包括:第二接收模块,用于在利用所述目标应用标识对应的应用程序,对所述待识别的图形码进行识别之后,接收第四输入;第二执行模块,用于响应于所述第四输入,返回执行所述从所述应用标识集合中确定目标应用标识,并从所述至少一个图形码中确定待识别的图形码的操作。
本申请实施例中,所述的图形码识别装置,还包括:第三执行模块,用于在利用所述目标应用标识对应的应用程序,对所述待识别的图形码进行识别之后,在识别失败的情况下,显示第二提示信息,并返回执行所述从所述应用标识集合中确定目标应用标识,并从所述至少一个图形码中确定待识别的图形码的操作;其中,所述第二提示信息用于提示用户所述目标应用标识对应的应用程序识别所述待识别的图形码失败。
在本申请实施例中,通过获取目标图形码对应的应用标识集合;所述目标图形码包括至少一个图形码;从所述应用标识集合中确定目标应用标识,并从所述至少一个图形码中确定待识别的图形码;利用所述目标应用标识对应的应用程序,对所述待识别的图形码进行识别;其中,所述应用标识集合包括至少两个应用标识,所述应用标识对应的应用程序能够识别图形码;能够实现不再需要在识别图形码之前先将图形码进行保存或者长按要识别的图形码,减少了不必要的操作,从而提高了用于识别图形码的应用程序的唤醒效率,简化了操作流程;此外,针对一些对扫码支付不熟悉的人来说,能够直接提供可以扫码使用的应用程序,从而快速完成付款或收款动作,便于用户使用,很好的解决了现有的图形码识别方案操作繁琐的问题。
本申请实施例中的图形码识别装置可以是装置,也可以是终端中的部件、 集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的图形码识别装置可以为具有操作***的装置。该操作***可以为安卓(Android)操作***,可以为ios操作***,还可以为其他可能的操作***,本申请实施例不作具体限定。
本申请实施例提供的图形码识别装置能够实现图1至图8的方法实施例现的各个过程,为避免重复,这里不再赘述。
可选的,如图9所示,本申请实施例还提供一种电子设备90,包括处理器91,存储器92,存储在存储器92上并可在所述处理器91上运行的程序或指令,该程序或指令被处理器91执行时实现上述图形码识别方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。
图10为实现本申请实施例的一种电子设备的硬件结构示意图。
该电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、以及处理器1010等部件。
本领域技术人员可以理解,电子设备100还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理***与处理器1010逻辑相连,从而通过电源管理***实现管理充电、放电、以及功耗管理等功能。图10中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,处理器1010,用于获取目标图形码对应的应用标识集合;所述目标图形码包括至少一个图形码;从所述应用标识集合中确定目标应用标识, 并从所述至少一个图形码中确定待识别的图形码;利用所述目标应用标识对应的应用程序,对所述待识别的图形码进行识别;其中,所述应用标识集合包括至少两个应用标识,所述应用标识对应的应用程序能够识别图形码。
在本申请实施例中,通过获取目标图形码对应的应用标识集合;所述目标图形码包括至少一个图形码;从所述应用标识集合中确定目标应用标识,并从所述至少一个图形码中确定待识别的图形码;利用所述目标应用标识对应的应用程序,对所述待识别的图形码进行识别;其中,所述应用标识集合包括至少两个应用标识,所述应用标识对应的应用程序能够识别图形码;能够实现不再需要在识别图形码之前先将图形码进行保存或者长按要识别的图形码,减少了不必要的操作,从而提高了用于识别图形码的应用程序的唤醒效率,简化了操作流程;此外,针对一些对扫码支付不熟悉的人来说,能够直接提供可以扫码使用的应用程序,从而快速完成付款或收款动作,便于用户使用,很好的解决了现有的图形码识别方案操作繁琐的问题。
可选的,处理器1010具体用于:根据第一输入,从显示于预设界面的应用标识集合中确定目标应用标识;或者,根据第一预设参数,从应用标识集合中确定目标应用标识;其中,所述第一预设参数包括:当前显示界面上的图形码相关信息、应用历史使用信息和应用余额信息中的至少一种。
可选的,处理器1010还用于:在根据第一输入,从显示于预设界面的应用标识集合中确定目标应用标识之前,根据第二预设参数,利用显示单元106在所述预设界面对所述应用标识集合进行排序显示;其中,所述第二预设参数包括:当前显示界面上的图形码相关信息、应用历史使用信息和应用余额信息中的至少一种。
可选的,处理器1010具体用于:根据预设操作,从所述至少一个图形码中确定待识别的图形码;或者,从所述至少一个图形码中,确定所述目标应用标识对应的图形码为待识别的图形码。
可选的,处理器1010还用于:在利用所述目标应用标识对应的应用程序,对所述待识别的图形码进行识别之前,利用显示单元106显示第一提示信息;利用用户输入单元107接收针对所述第一提示信息的第三输入;在第三输入指示允许的情况下,利用所述目标应用标识对应的应用程序,对所述待识别 的图形码进行识别;其中,所述第一提示信息用于提示用户将利用所述目标应用标识对应的应用程序,对所述待识别的图形码进行识别。
可选的,处理器1010还用于:在利用所述目标应用标识对应的应用程序,对所述待识别的图形码进行识别之后,利用用户输入单元107接收第四输入;响应于所述第四输入,返回执行所述从所述应用标识集合中确定目标应用标识,并从所述至少一个图形码中确定待识别的图形码的操作。
可选的,处理器1010还用于:在利用所述目标应用标识对应的应用程序,对所述待识别的图形码进行识别之后,在识别失败的情况下,利用显示单元106显示第二提示信息,并返回执行所述从所述应用标识集合中确定目标应用标识,并从所述至少一个图形码中确定待识别的图形码的操作;其中,所述第二提示信息用于提示用户所述目标应用标识对应的应用程序识别所述待识别的图形码失败。
本申请实施例提供的方案可:
(1)提高用户唤醒识别二维码工具的效率,降低识别错误时切换的成本;
(2)减少用户保存图片至相册后再打开app识别的成本;
(3)可不打断识别二维码应用现有的操作界面,完成二维码识别动作。
应理解的是,本申请实施例中,输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元106可包括显示面板1061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板1061。用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器109可用于存储软件程序以及各种数据,包括但不限于应用程序和操作***。处理器1010可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作***、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1010中。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述图形码识别方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述图形码识别方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为***级芯片、***芯片、芯片***或片上***芯片等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空 调器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (19)

  1. 一种图形码识别方法,包括:
    获取目标图形码对应的应用标识集合;所述目标图形码包括至少一个图形码;
    从所述应用标识集合中确定目标应用标识,并从所述至少一个图形码中确定待识别的图形码;
    利用所述目标应用标识对应的应用程序,对所述待识别的图形码进行识别;
    其中,所述应用标识集合包括至少两个应用标识,所述应用标识对应的应用程序能够识别图形码。
  2. 根据权利要求1所述的图形码识别方法,其中,所述从所述应用标识集合中确定目标应用标识,包括:
    根据第一输入,从显示于预设界面的应用标识集合中确定目标应用标识;或者,
    根据第一预设参数,从应用标识集合中确定目标应用标识;
    其中,所述第一预设参数包括:当前显示界面上的图形码相关信息、应用历史使用信息和应用余额信息中的至少一种。
  3. 根据权利要求2所述的图形码识别方法,其中,在根据第一输入,从显示于预设界面的应用标识集合中确定目标应用标识之前,还包括:
    根据第二预设参数,在所述预设界面对所述应用标识集合进行排序显示;
    其中,所述第二预设参数包括:当前显示界面上的图形码相关信息、应用历史使用信息和应用余额信息中的至少一种。
  4. 根据权利要求1所述的图形码识别方法,其中,所述从所述至少一个图形码中确定待识别的图形码,包括:
    根据预设操作,从所述至少一个图形码中确定待识别的图形码;或者,
    从所述至少一个图形码中,确定所述目标应用标识对应的图形码为待识别的图形码。
  5. 根据权利要求1所述的图形码识别方法,其中,在利用所述目标应用 标识对应的应用程序,对所述待识别的图形码进行识别之前,还包括:
    显示第一提示信息;
    接收针对所述第一提示信息的第三输入;
    在第三输入指示允许的情况下,利用所述目标应用标识对应的应用程序,对所述待识别的图形码进行识别;
    其中,所述第一提示信息用于提示用户将利用所述目标应用标识对应的应用程序,对所述待识别的图形码进行识别。
  6. 根据权利要求1所述的图形码识别方法,其中,在利用所述目标应用标识对应的应用程序,对所述待识别的图形码进行识别之后,还包括:
    接收第四输入;
    响应于所述第四输入,返回执行所述从所述应用标识集合中确定目标应用标识,并从所述至少一个图形码中确定待识别的图形码的操作。
  7. 根据权利要求1所述的图形码识别方法,其中,在利用所述目标应用标识对应的应用程序,对所述待识别的图形码进行识别之后,还包括:
    在识别失败的情况下,显示第二提示信息,并返回执行所述从所述应用标识集合中确定目标应用标识,并从所述至少一个图形码中确定待识别的图形码的操作;
    其中,所述第二提示信息用于提示用户所述目标应用标识对应的应用程序识别所述待识别的图形码失败。
  8. 一种图形码识别装置,包括:
    第一获取模块,用于获取目标图形码对应的应用标识集合;所述目标图形码包括至少一个图形码;
    第一确定模块,用于从所述应用标识集合中确定目标应用标识,并从所述至少一个图形码中确定待识别的图形码;
    第一识别模块,用于利用所述目标应用标识对应的应用程序,对所述待识别的图形码进行识别;
    其中,所述应用标识集合包括至少两个应用标识,所述应用标识对应的应用程序能够识别图形码。
  9. 根据权利要求8所述的图形码识别装置,其中,所述第一确定模块, 包括:
    第一确定子模块,用于根据第一输入,从显示于预设界面的应用标识集合中确定目标应用标识;或者,
    根据第一预设参数,从应用标识集合中确定目标应用标识;
    其中,所述第一预设参数包括:当前显示界面上的图形码相关信息、应用历史使用信息和应用余额信息中的至少一种。
  10. 根据权利要求9所述的图形码识别装置,还包括:
    第一显示模块,用于在根据第一输入,从显示于预设界面的应用标识集合中确定目标应用标识之前,根据第二预设参数,在所述预设界面对所述应用标识集合进行排序显示;
    其中,所述第二预设参数包括:当前显示界面上的图形码相关信息、应用历史使用信息和应用余额信息中的至少一种。
  11. 根据权利要求8所述的图形码识别装置,其中,所述第一确定模块,包括:
    第二确定子模块,用于根据预设操作,从所述至少一个图形码中确定待识别的图形码;或者,
    从所述至少一个图形码中,确定所述目标应用标识对应的图形码为待识别的图形码。
  12. 根据权利要求8所述的图形码识别装置,还包括:
    第二显示模块,用于在利用所述目标应用标识对应的应用程序,对所述待识别的图形码进行识别之前,显示第一提示信息;
    第一接收模块,用于接收针对所述第一提示信息的第三输入;
    第一执行模块,用于在第三输入指示允许的情况下,利用所述目标应用标识对应的应用程序,对所述待识别的图形码进行识别;
    其中,所述第一提示信息用于提示用户将利用所述目标应用标识对应的应用程序,对所述待识别的图形码进行识别。
  13. 根据权利要求8所述的图形码识别装置,还包括:
    第二接收模块,用于在利用所述目标应用标识对应的应用程序,对所述待识别的图形码进行识别之后,接收第四输入;
    第二执行模块,用于响应于所述第四输入,返回执行所述从所述应用标识集合中确定目标应用标识,并从所述至少一个图形码中确定待识别的图形码的操作。
  14. 根据权利要求8所述的图形码识别装置,还包括:
    第三执行模块,用于在利用所述目标应用标识对应的应用程序,对所述待识别的图形码进行识别之后,在识别失败的情况下,显示第二提示信息,并返回执行所述从所述应用标识集合中确定目标应用标识,并从所述至少一个图形码中确定待识别的图形码的操作;
    其中,所述第二提示信息用于提示用户所述目标应用标识对应的应用程序识别所述待识别的图形码失败。
  15. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-7任一项所述的图形码识别方法的步骤。
  16. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-7任一项所述的图形码识别方法的步骤。
  17. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1-7任一项所述的图形码识别方法。
  18. 一种计算机程序产品,所述计算机程序产品被至少一个处理器执行以实现如权利要求1-7任一项所述的图形码识别方法。
  19. 一种电子设备,被配置成用于执行如权利要求1-7任一项所述的图形码识别方法的步骤。
PCT/CN2021/108926 2020-07-30 2021-07-28 图形码识别方法、装置和电子设备 WO2022022566A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010749010.0A CN111881703A (zh) 2020-07-30 2020-07-30 图形码识别方法、装置和电子设备
CN202010749010.0 2020-07-30

Publications (1)

Publication Number Publication Date
WO2022022566A1 true WO2022022566A1 (zh) 2022-02-03

Family

ID=73204264

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/108926 WO2022022566A1 (zh) 2020-07-30 2021-07-28 图形码识别方法、装置和电子设备

Country Status (2)

Country Link
CN (1) CN111881703A (zh)
WO (1) WO2022022566A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111881703A (zh) * 2020-07-30 2020-11-03 维沃移动通信(杭州)有限公司 图形码识别方法、装置和电子设备
CN112699363A (zh) * 2020-12-29 2021-04-23 维沃移动通信(杭州)有限公司 图形码识别方法、装置及电子设备
CN112800803B (zh) * 2021-04-09 2021-07-30 腾讯科技(深圳)有限公司 图形码识别方法、装置、设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107844728A (zh) * 2017-10-27 2018-03-27 珠海市魅族科技有限公司 识别二维码的方法及装置、计算机装置和计算机可读存储介质
CN109165651A (zh) * 2018-06-29 2019-01-08 努比亚技术有限公司 一种识别码识别方法、终端及计算机可读存储介质
CN111026464A (zh) * 2019-11-06 2020-04-17 维沃移动通信有限公司 一种识别方法及电子设备
CN111881703A (zh) * 2020-07-30 2020-11-03 维沃移动通信(杭州)有限公司 图形码识别方法、装置和电子设备

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107644188A (zh) * 2017-09-30 2018-01-30 联想(北京)有限公司 一种信息识别方法及电子设备
CN109992176A (zh) * 2017-12-28 2019-07-09 北京搜狗科技发展有限公司 一种信息识别码的扫描方法和装置
CN110516495B (zh) * 2018-05-22 2023-11-21 维沃移动通信有限公司 一种扫码方法和移动终端
CN109472179A (zh) * 2018-10-23 2019-03-15 努比亚技术有限公司 二维码识别方法、终端及计算机可读存储介质
CN111444737A (zh) * 2020-03-25 2020-07-24 维沃移动通信有限公司 一种图形码识别方法及电子设备

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107844728A (zh) * 2017-10-27 2018-03-27 珠海市魅族科技有限公司 识别二维码的方法及装置、计算机装置和计算机可读存储介质
CN109165651A (zh) * 2018-06-29 2019-01-08 努比亚技术有限公司 一种识别码识别方法、终端及计算机可读存储介质
CN111026464A (zh) * 2019-11-06 2020-04-17 维沃移动通信有限公司 一种识别方法及电子设备
CN111881703A (zh) * 2020-07-30 2020-11-03 维沃移动通信(杭州)有限公司 图形码识别方法、装置和电子设备

Also Published As

Publication number Publication date
CN111881703A (zh) 2020-11-03

Similar Documents

Publication Publication Date Title
WO2022022566A1 (zh) 图形码识别方法、装置和电子设备
CN105630327B (zh) 便携式电子设备和控制可选元素的显示的方法
CN111866270B (zh) 应用程序控制方法、装置和电子设备
CN106201219A (zh) 应用程序功能快捷调用方法及***
CN113220178B (zh) 应用程序的控制方法和装置
WO2022242586A1 (zh) 应用界面显示方法、装置和电子设备
WO2022213945A1 (zh) 应用提醒方法、装置及电子设备
WO2023005828A1 (zh) 消息显示方法、装置和电子设备
CN105335198A (zh) 字体添加方法及装置
CN112486444A (zh) 投屏方法、装置、设备和可读存储介质
CN111813299A (zh) 信息分享方法、信息分享装置和电子设备
WO2022242542A1 (zh) 应用图标的管理方法和电子设备
WO2016173307A1 (zh) 一种消息复制方法和装置、以及智能终端
WO2022233276A1 (zh) 显示方法、装置和电子设备
CN113311968A (zh) 应用程序关联方法及装置
CN111813305A (zh) 应用程序启动方法及装置
CN112099702A (zh) 应用运行方法、装置和电子设备
CN113836089A (zh) 一种应用程序显示方法、装置、电子设备和可读存储介质
CN113114845B (zh) 通知消息显示方法和装置
CN113703634A (zh) 界面显示方法和装置
WO2023093590A1 (zh) 显示控制方法、装置、电子设备及介质
CN112416172A (zh) 电子设备控制方法、装置及电子设备
WO2023131092A1 (zh) 信息显示方法及其装置
WO2023083090A1 (zh) 信息显示方法、装置、电子设备及可读存储介质
WO2023103901A1 (zh) 应用管理方法、装置和电子设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21848646

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21848646

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 21848646

Country of ref document: EP

Kind code of ref document: A1