WO2022143336A1 - Graphic code recognition method and apparatus, and electronic device - Google Patents

Graphic code recognition method and apparatus, and electronic device Download PDF

Info

Publication number
WO2022143336A1
WO2022143336A1 PCT/CN2021/140446 CN2021140446W WO2022143336A1 WO 2022143336 A1 WO2022143336 A1 WO 2022143336A1 CN 2021140446 W CN2021140446 W CN 2021140446W WO 2022143336 A1 WO2022143336 A1 WO 2022143336A1
Authority
WO
WIPO (PCT)
Prior art keywords
graphic code
image
application program
information
image information
Prior art date
Application number
PCT/CN2021/140446
Other languages
French (fr)
Chinese (zh)
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 WO2022143336A1 publication Critical patent/WO2022143336A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/36User authentication by graphic or iconic representation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons

Definitions

  • the present application belongs to the technical field of information identification, and in particular relates to a method, device and electronic device for identifying a graphic code.
  • the recognition of graphic codes needs to be based on the corresponding application programs. Different applications can only recognize the corresponding graphic codes. For graphic codes of other applications viewed in an application, you need to open the Identify the corresponding application. For example, when a user encounters an online graphic code image corresponding to application B when using application A, long-pressing the image to identify the graphic code cannot achieve the user’s expected effect. The picture is saved locally, and then the scanning portal of application B is opened to identify the picture of the graphic code saved to the local, the operation process is very cumbersome.
  • the purpose of the embodiments of the present application is to provide a method, device and electronic device for identifying a graphic code, so as to solve the problem of complicated operation process when identifying a graphic code across applications.
  • an embodiment of the present application provides a method for identifying a graphic code, the method comprising:
  • a second application program corresponding to the application program information is invoked to identify the graphic code.
  • an embodiment of the present application provides a graphic code identification device, including:
  • an acquisition module configured to acquire image information of a first image displayed on a first application program interface, where the first image includes a graphic code, and the image information includes application program information corresponding to the graphic code;
  • a display module for displaying the image information
  • a receiving module for receiving the first input of the image information
  • a response module configured to call a second application program corresponding to the application program information to identify the graphic code in response to the first input.
  • 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 embodiment of the present application provides a computer program product, the computer program product is stored in a non-volatile storage medium, and the computer program product is executed by at least one processor to implement the first aspect. method described.
  • an embodiment of the present application provides a communication device configured to execute the method described in the first aspect.
  • the electronic device acquires the first image including the graphic code browsed by the user on the first application program interface, acquires and displays the image information of the first image, and the user performs the first input on the image information,
  • the electronic device invokes the second application program corresponding to the graphic code to identify the graphic code, so as to quickly and conveniently realize the cross-application identification of the graphic code.
  • Fig. 1 is one of the schematic flow charts of the graphic code identification method of the embodiment of the present application.
  • FIG. 2 is a schematic diagram of a first window of an embodiment of the present application.
  • Fig. 3 is one of the schematic diagrams of images of the embodiment of the present application.
  • FIG. 4 is the second schematic diagram of the image of the embodiment of the present application.
  • FIG. 5 is one of the schematic diagrams of the first image according to the embodiment of the present application.
  • FIG. 6 is the second schematic diagram of the first image according to the embodiment of the present application.
  • FIG. 7 is the second schematic flow chart of the method for identifying a graphic code according to an embodiment of the present application.
  • Fig. 8 is the third schematic flow chart of the graphic code identification method according to the embodiment of the present application.
  • FIG. 9 is a schematic diagram of a graphic code identification device according to an embodiment of the present application.
  • FIG. 10 is one of the schematic structural diagrams of the electronic device according to the embodiment of the present application.
  • FIG. 11 shows the second schematic structural diagram of the electronic device according to the embodiment of the present application.
  • an embodiment of the present invention provides a method for identifying a graphic code, including:
  • Step 101 Acquire image information of a first image displayed on a first application program interface, where the first image includes a graphic code, and the image information includes application program information corresponding to the graphic code.
  • the first application may be the application currently being used by the user on the electronic device, and when the user browses the interface of the first application, the electronic device may acquire the first image displayed on the current interface of the first application, and Obtain image information of the first image.
  • the first image is an image including a graphic code, and the graphic code may be a two-dimensional code or other identification codes.
  • the electronic device After acquiring the first image, acquires image information of the first image, and the image information may include: application program information corresponding to the graphic code in the first image, the application program information It is the relevant information of the application program that can recognize the graphic code.
  • Step 102 Display the image information.
  • the image information After acquiring the image information of the first image displayed on the first application program interface, the image information is displayed.
  • the image information may be displayed through the first window in the form of a window, or the image information may be directly displayed on the current interface.
  • the image information may further include target event information indicated by the graphic code, that is, the functional usage of the graphic code, such as: adding friends, receiving payments, and the like.
  • the first window may be a functional control having a display function and a jump function, and the first window may be displayed in the form of a pop-up window.
  • the first window is displayed on the current display interface of the electronic device, as shown in FIG. 2 , for example: the user is browsing the first image 21 in the first application program, and the first image 21 includes text content and graphic codes,
  • the electronic device After acquiring the image information of the first image 21 (including the application program information corresponding to the graphic code in the first image 21 and the target event information indicated by the graphic code), the electronic device displays the first window on the current display interface. 22 .
  • the first window 22 includes image information of the first image 21 .
  • the icon 221 of the application program corresponding to the graphic code of the first image 21 and the target event "add friend" of the graphic code are included.
  • the application program information corresponding to the graphic code when displayed in the first window, it may be displayed as an icon of the application program, or the name of the application program may be displayed or displayed through a specific image or character.
  • the first window when the image information is displayed through the first window, the first window is a control with a jump function; when the image information is directly displayed on the first application program interface, the carrier of the image information It is a control with a jump function, so that the user can realize application jump after touching the image information.
  • Step 103 Receive a first input of the image information.
  • the first window is a control with display and jump functions, and the first input can be any user's click, double-click, long-press, etc. on the first window.
  • the display carrier of the image information is a control with a jump function, and the first input can be the user's click, double-click, long Press and so on any form of operation.
  • the specific operation form of the first input can be set according to operation requirements.
  • the first input is used to jump from the current first application program interface to the second application program corresponding to the graphic code in the first image.
  • Step 104 In response to the first input, call a second application program corresponding to the application program information to identify the graphic code.
  • the electronic device After receiving the first input, the electronic device calls the second application program corresponding to the graphic code to identify the graphic code in the first image, and realizes the jump from the first application program to the second application program.
  • the electronic device detects that the user is currently browsing the first image in the display interface of the first instant messaging application, and The first image includes a graphic code, then the first image is a graphic code image, the electronic device decodes the first image, and the application corresponding to the graphic code obtained in the first image is a second instant messaging application, And the graphic code is used to add a friend in the second instant application, that is, only the second instant messaging application can decode the graphic code and perform a corresponding operation of adding a friend.
  • the electronic device can display the first window on the current display interface, and display the icon of the second instant messaging application and the target event information of "add friend" in the first window (or directly display all the information on the current display interface. the image information), the user clicks on the first window, the electronic device starts the second instant messaging application, identifies the graphic code of the first image through the second instant messaging application, and displays an interface for adding friends, The jump from the first application program to the second application program is realized, and the cross-application identification of the graphic code is realized.
  • the electronic device acquires the first image including the graphic code browsed by the user on the first application program interface, acquires and displays the image information of the first image, and the user performs the first input on the image information,
  • the electronic device invokes the second application program corresponding to the graphic code to identify the graphic code, so as to quickly and conveniently realize the cross-application identification of the graphic code.
  • the method before acquiring the image information of the first image displayed by the first application program interface, the method further includes: acquiring the image displayed by the first application program; identifying the image to determine whether the image includes An image of a graphic code; if the image does not include a graphic code, no identification operation is performed; if the image includes a graphic code, the image is the first image, and image information of the first image is obtained.
  • the electronic device needs to obtain the recognition authority for the image displayed by the first application; only after obtaining the authorization, it can obtain the image browsed by the user in the first application, and identify the browsed image.
  • a general graphic code decoding method can be used to decode the image. If the decoding process is successful, the image includes a graphic code, such as the image shown in Figure 3, the image can be identified. , to obtain its image content; if the decoding process fails, it is determined that the image does not include a graphic code, such as the image shown in FIG. 4 , the image is just an ordinary image. It should be noted that the electronic device will not acquire the content of the user's browsing image by any method other than the decoding processing method, which can effectively prevent the leakage of user information.
  • the obtaining the image information of the first image displayed on the first application program interface may include: decoding the graphics code included in the first image, and obtaining the image corresponding to the graphics code. code-matched application program information; perform identification processing on the text content in the first image to obtain the target event information.
  • the first image includes a graphic code and text content
  • the electronic device can obtain application program information corresponding to the graphic code and target event information indicated by the graphic code by decoding and identifying the content of the first image.
  • the application program information matching the graphic code means that the application program indicated by the application program information can identify the graphic code.
  • decoding the graphics code in the first image can obtain decoded content, where the decoded content can be a string of characters, and the obtaining application program information matching the graphics code includes:
  • the first number of characters (for example, the first ten characters) of the decoded content is used to determine whether the type of the decoded content is a link or a text, and if the decoded content is a link, the character string at the specific position of the decoded content is compared with the text.
  • the application program information is matched with the graphic code identification function of the application program, and the application program information matching the decoded content and the graphic code identification entry of the application program are determined.
  • the matching relationship between the characteristic string and the application can be stored in the database.
  • the corresponding application is the first instant messaging application; if the string is "000000", the corresponding application The application is a second instant messaging application. If the decoded content is text, for example, the content obtained after decoding the graphic code is the text content of "I wish you good health", no application matching is performed.
  • the decoded result can be displayed on the current interface, and the user can copy the The decoding result can also generate a graphic code from the text of the decoding result, where the application program corresponding to the character string "u.xxxxxx.com” is "Application A”, and the corresponding graphic code identification entry is "Application A-scan ".
  • performing recognition processing on the text content in the first image to obtain the target event information may include: using a Recurrent Neural Network (RNN) to perform intention on the text content in the first image Recognition, for example, the text content of the first image 51 in FIG. 5 "scan the graphic code pattern above, add me as a friend” to perform identification processing, and the behavioral intention of the graphic code can be obtained as "add a friend”; for example, the first image If the text content in it is "I wish you good health", the behavioral intention of obtaining the graphic code is "Blessing".
  • RNN Recurrent Neural Network
  • the application program information and target event information corresponding to the graphic code can be obtained, and by displaying the image information on the current interface, the user can be informed of the first image code. and know which application programs need to be used to identify the graphic code in the first image.
  • the graphic code includes a target area for indicating the image information; further, the acquiring the image information of the first image displayed on the first application program interface includes: The region performs decoding processing to obtain the application program information and the target event information.
  • the graphic code of the first image includes a target area for indicating image information, and the target area may be the outermost circle of the graphic code or other specific areas.
  • the electronic device After acquiring the first image, the electronic device decodes and identifies the target area in the first image, and can obtain application program information and target event information corresponding to the graphic code.
  • the business side is required to additionally add an identification code for indicating the application program information and target event information corresponding to the graphic code in the target area of the graphic code itself when generating the graphic code, so that the electronic device passes through.
  • the image information corresponding to the graphic code can be obtained by decoding the target area of the graphic code.
  • the graphic code generator can apply for additional content rights before generating the graphic code.
  • the electronic device After the application is successful, the electronic device generates a unique identification code for the corresponding graphic code generator and issues it, and the graphic code generator generates the unique identification code when generating the graphic code.
  • the code is added to the target area of the graphic code, and the unique identification code matches the unique corresponding application information and target event information.
  • the electronic device acquires the first image, by decoding the target area of the graphic code in the first image, it can obtain the application program information and target event information uniquely corresponding to the graphic code, and determine the graphic code corresponding to the application program. Identify the entrance.
  • the first image 61 in FIG. 6 is the graphic code image of application B for adding friends
  • the target area 62 of the graphic code of the first image 61 is a circle surrounding the outermost layer of the graphic code.
  • the electronic device recognizes the target area 62 by decoding, and the application program corresponding to the obtained graphic code is "application B", the target event is "add friend”, and the graphic code identification entry is " App B - Scan”.
  • an identification code area for indicating image information is additionally added to the target area other than the graphic code itself, and the application corresponding to the graphic code can be obtained by decoding and identifying the target area of the graphic code in the first image.
  • the application corresponding to the graphic code can be obtained by decoding and identifying the target area of the graphic code in the first image.
  • program information and target event information by displaying image information on the current interface, the user can know the function of the graphic code and which application programs need to be used to identify the graphic code.
  • the above-mentioned methods of acquiring the image information of the first image displayed on the first application program interface can be performed independently by using one of the methods, for example: obtaining the application program information by decoding the graphics code in the first image , the target event information is obtained by recognizing the text content in the first image; or, the application program information and the target event information are obtained by decoding and recognizing the target area of the graphic code in the first image.
  • the above-mentioned method of obtaining the image information of the first image displayed on the first application program interface can also be implemented in two ways. When the target area is not included, the application program information is obtained by decoding the graphic code, and the target event information is obtained by recognizing the text content.
  • the image information can be displayed through a first window, and the first window can be displayed in the form of a bubble, including two parts, one of which is used to display graphics
  • the icon of the application program corresponding to the graphic code, and the other part is used to display the target event corresponding to the graphic code.
  • the user can delete the first window by performing a second input on the first window, for example: the user drags the first window outside the display range of the current display interface, or presses the first window for a long time, and a deletion prompt pops up, etc. .
  • the image information is displayed through the first window, and the direct interaction between the graphic code content and the user is completed, so that the user has a basic understanding of the graphic code content and improves the interactive experience.
  • invoking a second application program corresponding to the application program information to identify the graphic code in response to the first input includes: starting the application program in response to the first input The second application program corresponding to the information; the graphic code is identified through the graphic code identification function of the second application program.
  • the electronic device After receiving the first input of the image information from the user, the electronic device automatically starts the second application program, and opens the graphic code identification entry (such as scanning) in the second application program to scan the first image Identify the graphic code inside, and perform the operation corresponding to the target event indicated by the graphic code. After the graphic code is identified, the identification result can be displayed on the current display interface.
  • the process that the electronic device starts the second application and recognizes the first image can be displayed on the display interface of the electronic device in real time.
  • the corresponding application program after receiving the first input from the user, the corresponding application program is automatically invoked to recognize the graphic code in the first image and display the recognition result, and one-key jumping to the first image suitable for recognition can be realized by clicking on the image information.
  • One image application program and complete the identification of the graphic code which greatly saves the user's operation cost of identifying the graphic code across applications, and the user no longer needs to save the image and then open the corresponding application identification window and other complex operation behaviors, simplifying the operation process, Save jumping time.
  • the method further comprises: storing the first image when receiving the first input of the image information; After identification, the stored first image is deleted.
  • the electronic device automatically saves the current first image when receiving the user's first input, and automatically deletes the first image after jumping to the second application program to recognize the graphic code. Screenshot recognition is not required, saving the internal storage space of electronic devices.
  • Step 701 The electronic device identifies whether the image currently browsed by the user in the first application program interface is the first image including the graphic code;
  • Step 702 if the graphic code is not included, do not perform any identification operation, if the image includes the graphic code, decode and identify the graphic code, and obtain the decoded content;
  • Step 703 Judge the first ten characters of the decoded content obtained by decoding the graphic code, determine the second application program information corresponding to the graphic code, and determine the graphic code identification entry;
  • Step 704 identify the text content in the image, and determine the target event information indicated by the graphic code
  • Step 705 Display the obtained second application information and target event information through the first window
  • Step 706 The user clicks on the first window and jumps to the second application program to complete the identification of the graphic code.
  • This implementation can realize the identification and matching of the graphic code intention, and use the first window to display the image information, so that the first window can jump to the corresponding application program most suitable for identifying the graphic code and complete the graphic code.
  • Recognition realizes the operation of the user to identify the graphic code with one key, saves the complex operation behavior and saves the user's time.
  • the image information may be displayed through the first window, or may be directly displayed on the current interface of the electronic device, and the display carrier of the image information has a jump function.
  • Step 801 The electronic device identifies whether the image currently browsed by the user in the first application program interface is the first image including the graphic code;
  • Step 802 if the graphic code is not included, do not perform any identification operation, if the image includes the graphic code, decode and identify the graphic code, and obtain image information;
  • Step 803 Identify the target area of the graphic code, and obtain application program information and target event information corresponding to the graphic code;
  • Step 804 Display the obtained second application information and target event information through the first window
  • Step 805 The user clicks on the first window and jumps to the second application program to complete the graphic code recognition.
  • an additional target area is added to the graphic code to indicate image information corresponding to the graphic code.
  • the electronic device decodes and processes the target area to obtain application program information and target event information corresponding to the graphic code, and uses The first window displays the application program information and target event information, so that the first window can jump to the corresponding application program most suitable for identifying the graphic code and complete the identification of the graphic code, so that the user can recognize the graphic code with one click. operation, eliminating the need for complex operation behavior and saving user time.
  • the image information can be displayed through the first window, or can be directly displayed on the current interface of the electronic device, and the display carrier of the image information has a jump function.
  • the electronic device acquires the first image including the graphic code browsed by the user on the first application program interface, acquires and displays the image information of the first image, and the user performs the first input on the image information, the electronic device
  • the second application program corresponding to the graphic code is invoked to identify the graphic code, thereby realizing the cross-application identification of the graphic code quickly and conveniently.
  • 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.
  • an embodiment of the present application also provides a graphic code identification device 900, including:
  • an acquisition module 910 configured to acquire image information of a first image displayed on a first application program interface, where the first image includes a graphic code, and the image information includes application program information corresponding to the graphic code;
  • a display module 920 configured to display the image information
  • a receiving module 930 configured to receive a first input of the image information
  • the response module 940 is configured to, in response to the first input, call a second application program corresponding to the application program information to identify the graphic code.
  • the image information further includes target event information indicated by the graphic code.
  • the obtaining module 910 includes:
  • a first obtaining unit configured to decode the graphics code included in the first image to obtain application program information matching the graphics code
  • the second obtaining unit is configured to perform identification processing on the text content in the first image to obtain the target event information.
  • the graphic code includes a target area for indicating the image information
  • the obtaining module 910 includes:
  • a third obtaining unit configured to perform decoding processing on the target area to obtain the application program information and the target event information.
  • the response module 940 includes:
  • a response unit configured to start a second application program corresponding to the application program information in response to the first input
  • the identification unit is configured to identify the graphic code through the graphic code identification function of the second application program.
  • the device further includes:
  • a storage module configured to store the first image when receiving the first input of the image information
  • a deletion module configured to delete the stored first image after calling a second application program corresponding to the application program information to identify the graphic code.
  • the image information of the first image is acquired and displayed by acquiring the first image including the graphic code browsed by the user on the first application program interface.
  • the device invokes the second application program corresponding to the graphic code to identify the graphic code, so as to quickly and conveniently realize the cross-application identification of 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 embodiment of the present application can implement each process implemented by the graphic code identification device in the method embodiments of FIG. 1 to FIG. 8 , and to avoid repetition, details are not repeated here.
  • an embodiment of the present application further provides an electronic device 1000, including a processor 1001, a memory 1002, a program or instruction stored in the memory 1002 and executable on the processor 1001,
  • a processor 1001 a memory 1002
  • a program or instruction stored in the memory 1002 and executable on the processor 1001 When the program or instruction is executed by the processor 1001, each process of the above embodiment of the graphic code identification method is implemented, and the same technical effect can be achieved. 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. 11 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 1100 includes but is not limited to: a radio frequency unit 1101, a network module 1102, an audio output unit 1103, an input unit 1104, a sensor 1105, a display unit 1106, a user input unit 1107, an interface unit 1108, a memory 1109, and a processor 1110, etc. part.
  • the electronic device 1100 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 1110 through a power management system, so that the power management system can manage charging, discharging, and power consumption. consumption management and other functions.
  • a power source such as a battery
  • the structure of the electronic device shown in FIG. 11 does not constitute a limitation on the electronic device.
  • the electronic device may include more or less components than those shown in the figure, or combine some components, or arrange different components, which will not be repeated here. .
  • the processor 1110 is configured to acquire image information of a first image displayed on a first application program interface, where the first image includes a graphic code, and the image information includes application program information corresponding to the graphic code;
  • a display unit 1106, configured to display the image information
  • a user input unit 1107 configured to receive a first input of the image information
  • the processor 1110 is further configured to, in response to the first input, call a second application program corresponding to the application program information to identify the graphic code.
  • the electronic device acquires the first image including the graphic code browsed by the user on the first application program interface, acquires and displays the image information of the first image, and the user performs the first input on the image information,
  • the electronic device invokes the second application program corresponding to the graphic code to identify the graphic code, so as to quickly and conveniently realize the cross-application identification of the graphic code.
  • the image information further includes target event information indicated by the graphic code.
  • the processor 1110 is further configured to: decode the graphics code included in the first image to obtain application information matching the graphics code;
  • the graphic code includes a target area for indicating the image information
  • the processor 1110 is further configured to: perform decoding processing on the target area to obtain the application program information and the target event information.
  • the processor 1110 is further configured to: in response to the first input, start a second application program corresponding to the application program information; code for identification.
  • the memory 1109 is configured to: when receiving the first input of the image information, store the first image;
  • the processor 1110 is further configured to delete the stored first image after calling a second application program corresponding to the application program information to identify the graphic code.
  • the electronic device acquires the first image including the graphic code browsed by the user on the first application program interface, acquires and displays the image information of the first image, and the user performs the first input on the image information,
  • the electronic device invokes the second application program corresponding to the graphic code to identify the graphic code, so as to quickly and conveniently realize the cross-application identification of the graphic code.
  • the input unit 1104 may include a graphics processor (Graphics Processing Unit, GPU) 11041 and a microphone 11042. Such as camera) to obtain still pictures or video image data for processing.
  • the display unit 1106 may include a display panel 11061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 1107 includes a touch panel 11071 and other input devices 11072 .
  • the touch panel 11071 is also called a touch screen.
  • the touch panel 11071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 11072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
  • Memory 1109 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems.
  • the processor 1110 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and application programs, and the like, and the modem processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 1110.
  • 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.
  • An embodiment of the present application further provides a computer program product, the computer program product is stored in a non-volatile storage medium, and the computer program product is executed by at least one processor to implement the above-mentioned embodiment of the graphic code identification method.
  • Each process can achieve the same technical effect. In order to avoid repetition, it will not be repeated here.
  • 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

Abstract

Disclosed in the present application are a graphic code recognition method and apparatus, and an electronic device. The method comprises: obtaining image information of a first image displayed on a first application interface, the first image comprising a graphic code, and the image information comprising application information corresponding to the graphic code; displaying the image information; receiving a first input to the image information; and in response to the first input, calling a second application corresponding to the application information to recognize the graphic code.

Description

图形码识别方法、装置及电子设备Graphical code identification method, device and electronic equipment
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请主张在2020年12月29日在中国提交的中国专利申请No.202011596041.3的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202011596041.3 filed in China on Dec. 29, 2020, the entire contents of which are hereby incorporated by reference.
技术领域technical field
本申请属于信息识别技术领域,具体涉及一种图形码识别方法、装置及电子设备。The present application belongs to the technical field of information identification, and in particular relates to a method, device and electronic device for identifying a graphic code.
背景技术Background technique
目前对于图形码的识别需要基于相应的应用程序,不同的应用程序只能识别与其对应的图形码,对于在某个应用程序内查看到的其他应用程序的图形码,需要在保存图片后,打开相应的应用程序进行识别,例如:用户在使用应用A时遇到应用B对应的在线图形码图片,此时长按图片进行图形码识别无法达到用户预期效果,因此需要用户手动截图或将在线图形码图片保存至本地,之后再打开应用B的扫描入口对保存至本地的图形码图片进行识别,操作过程非常繁琐。At present, the recognition of graphic codes needs to be based on the corresponding application programs. Different applications can only recognize the corresponding graphic codes. For graphic codes of other applications viewed in an application, you need to open the Identify the corresponding application. For example, when a user encounters an online graphic code image corresponding to application B when using application A, long-pressing the image to identify the graphic code cannot achieve the user’s expected effect. The picture is saved locally, and then the scanning portal of application B is opened to identify the picture of the graphic code saved to the local, the operation process is very cumbersome.
发明内容SUMMARY OF THE INVENTION
本申请实施例的目的是提供一种图形码识别方法、装置及电子设备,用以解决跨应用进行图形码识别时操作过程繁琐的问题。The purpose of the embodiments of the present application is to provide a method, device and electronic device for identifying a graphic code, so as to solve the problem of complicated operation process when identifying a graphic code across applications.
为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:
第一方面,本申请实施例提供了一种图形码识别方法,该方法包括:In a first aspect, an embodiment of the present application provides a method for identifying a graphic code, the method comprising:
获取在第一应用程序界面显示的第一图像的图像信息,所述第一图像包括图形码,所述图像信息包括所述图形码对应的应用程序信息;acquiring image information of a first image displayed on a first application program interface, where the first image includes a graphic code, and the image information includes application program information corresponding to the graphic code;
显示所述图像信息;displaying the image information;
接收对所述图像信息的第一输入;receiving a first input to the image information;
响应于所述第一输入,调用与所述应用程序信息对应的第二应用程序对所述图形码进行识别。In response to the first input, a second application program corresponding to the application program information is invoked to identify the graphic code.
第二方面,本申请实施例提供了一种图形码识别装置,包括:In a second aspect, an embodiment of the present application provides a graphic code identification device, including:
获取模块,用于获取在第一应用程序界面显示的第一图像的图像信息,所述第一图像包括图形码,所述图像信息包括所述图形码对应的应用程序信息;an acquisition module, configured to acquire image information of a first image displayed on a first application program interface, where the first image includes a graphic code, and the image information includes application program information corresponding to the graphic code;
显示模块,用于显示所述图像信息;a display module for displaying the image information;
接收模块,用于接收对所述图像信息的第一输入;a receiving module for receiving the first input of the image information;
响应模块,用于响应于所述第一输入,调用与所述应用程序信息对应的第二应用程序对所述图形码进行识别。A response module, configured to call a second application program corresponding to the application program information to identify the graphic code in response to the first input.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, 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.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, 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 .
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In a fifth aspect, 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.
第六方面,本申请实施例提供了一种计算机程序产品,所述计算机程序产品被存储在非易失的存储介质中,所述计算机程序产品被至少一个处理器执行以实现如第一方面所述的方法。In a sixth aspect, an embodiment of the present application provides a computer program product, the computer program product is stored in a non-volatile storage medium, and the computer program product is executed by at least one processor to implement the first aspect. method described.
第七方面,本申请实施例提供了一种通信设备,被配置为执行如第一方面所述的方法。In a seventh aspect, an embodiment of the present application provides a communication device configured to execute the method described in the first aspect.
本申请的实施例,电子设备获取用户在第一应用程序界面浏览的包括图形码的第一图像,获取并显示所述第一图像的图像信息,用户通过对所述图像信息进行第一输入,电子设备调用与图形码对应的第二应用程序对所述图 形码进行识别,快速便捷的实现对图形码的跨应用识别。In the embodiment of the present application, the electronic device acquires the first image including the graphic code browsed by the user on the first application program interface, acquires and displays the image information of the first image, and the user performs the first input on the image information, The electronic device invokes the second application program corresponding to the graphic code to identify the graphic code, so as to quickly and conveniently realize the cross-application identification of the graphic code.
附图说明Description of drawings
图1是本申请实施例的图形码识别方法的流程示意图之一;Fig. 1 is one of the schematic flow charts of the graphic code identification method of the embodiment of the present application;
图2是本申请实施例的第一窗口的示意图;2 is a schematic diagram of a first window of an embodiment of the present application;
图3是本申请实施例的图像示意图之一;Fig. 3 is one of the schematic diagrams of images of the embodiment of the present application;
图4是本申请实施例的图像示意图之二;FIG. 4 is the second schematic diagram of the image of the embodiment of the present application;
图5是本申请实施例的第一图像的示意图之一;FIG. 5 is one of the schematic diagrams of the first image according to the embodiment of the present application;
图6是本申请实施例的第一图像的示意图之二;FIG. 6 is the second schematic diagram of the first image according to the embodiment of the present application;
图7是本申请实施例的图形码识别方法的流程示意图之二;7 is the second schematic flow chart of the method for identifying a graphic code according to an embodiment of the present application;
图8是本申请实施例的图形码识别方法的流程示意图之三;Fig. 8 is the third schematic flow chart of the graphic code identification method according to the embodiment of the present application;
图9是本申请实施例的图形码识别装置的示意图;9 is a schematic diagram of a graphic code identification device according to an embodiment of the present application;
图10是本申请实施例的电子设备的结构示意图之一;FIG. 10 is one of the schematic structural diagrams of the electronic device according to the embodiment of the present application;
图11表示本申请实施例的电子设备的结构示意图之二。FIG. 11 shows the second schematic structural diagram of the electronic device according to the embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
本申请的说明书和权利要求书中的术语“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本发明的描述中,除非另有说明,“多个”的含义是两个或两个以上。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The features of the terms "first" and "second" in the description and claims of this application may expressly or implicitly include one or more of such features. In the description of the present invention, unless otherwise specified, "plurality" means two or more. In addition, "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.
在本发明的描述中,需要理解的是,术语“中心”、“纵向”、“横向”、“长度”、“宽度”、“厚度”、“上”、“下”、“前”、“后”、“左”、“右”、“竖直”、“水 平”、“顶”、“底”“内”、“外”、“顺时针”、“逆时针”、“轴向”、“径向”、“周向”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", " Rear, Left, Right, Vertical, Horizontal, Top, Bottom, Inner, Outer, Clockwise, Counterclockwise, Axial, The orientations or positional relationships indicated by "radial direction", "circumferential direction", etc. are based on the orientations or positional relationships shown in the accompanying drawings, which are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying the indicated devices or elements. It must have a specific orientation, be constructed and operate in a specific orientation, and therefore should not be construed as a limitation of the present invention.
下面结合附图描述本发明实施例的图形码识别方法、装置及电子设备。The graphic code identification method, device, and electronic device according to the embodiments of the present invention are described below with reference to the accompanying drawings.
如图1所示,本发明实施例提供一种图形码识别方法,包括:As shown in FIG. 1, an embodiment of the present invention provides a method for identifying a graphic code, including:
步骤101、获取在第一应用程序界面显示的第一图像的图像信息,所述第一图像包括图形码,所述图像信息包括所述图形码对应的应用程序信息。Step 101: Acquire image information of a first image displayed on a first application program interface, where the first image includes a graphic code, and the image information includes application program information corresponding to the graphic code.
所述第一应用程序可以为用户在电子设备当前正在使用的应用程序,用户在浏览所述第一应用程序的界面时,电子设备可以获取在第一应用程序当前界面显示的第一图像,并获取所述第一图像的图像信息。所述第一图像为包括图形码的图像,所述图形码可以为二维码也可以为其他识别码。The first application may be the application currently being used by the user on the electronic device, and when the user browses the interface of the first application, the electronic device may acquire the first image displayed on the current interface of the first application, and Obtain image information of the first image. The first image is an image including a graphic code, and the graphic code may be a two-dimensional code or other identification codes.
所述电子设备在获取到所述第一图像后,获取所述第一图像的图像信息,所述图像信息可以包括:所述第一图像内的图形码对应的应用程序信息,该应用程序信息为能够识别该图形码的应用程序的相关信息。After acquiring the first image, the electronic device acquires image information of the first image, and the image information may include: application program information corresponding to the graphic code in the first image, the application program information It is the relevant information of the application program that can recognize the graphic code.
步骤102、显示所述图像信息。Step 102: Display the image information.
在获取到所述第一应用程序界面显示的第一图像的图像信息后,显示所述图像信息。其中,可以以窗口的形式通过第一窗口显示所述图像信息,也可以直接在当前界面显示所述图像信息。After acquiring the image information of the first image displayed on the first application program interface, the image information is displayed. The image information may be displayed through the first window in the form of a window, or the image information may be directly displayed on the current interface.
可选地,所述图像信息还可以包括所述图形码指示的目标事件信息,即该图形码的功能用途,例如:添加好友、收付款等。Optionally, the image information may further include target event information indicated by the graphic code, that is, the functional usage of the graphic code, such as: adding friends, receiving payments, and the like.
以所述图像信息通过第一窗口显示为例,所述第一窗口可以为具有显示功能以及跳转功能的功能控件,所述第一窗口可以以弹窗的形式显示。所述第一窗口显示在电子设备当前的显示界面,如图2所示,例如:用户正在第一应用程序内浏览第一图像21,所述第一图像21内包括文字内容还包图形码,电子设备在获取到所述第一图像21的图像信息(包括第一图像21内的图形码对应的应用程序信息,还包括图形码指示的目标事件信息)后,在当 前显示界面显示第一窗口22,所述第一窗口22包括所述第一图像21的图像信息。如图2所示,包括了第一图像21的图形码对应的应用程序的图标221以及该图形码的目标事件“添加好友”。Taking the display of the image information through a first window as an example, the first window may be a functional control having a display function and a jump function, and the first window may be displayed in the form of a pop-up window. The first window is displayed on the current display interface of the electronic device, as shown in FIG. 2 , for example: the user is browsing the first image 21 in the first application program, and the first image 21 includes text content and graphic codes, After acquiring the image information of the first image 21 (including the application program information corresponding to the graphic code in the first image 21 and the target event information indicated by the graphic code), the electronic device displays the first window on the current display interface. 22 . The first window 22 includes image information of the first image 21 . As shown in FIG. 2 , the icon 221 of the application program corresponding to the graphic code of the first image 21 and the target event "add friend" of the graphic code are included.
可选地,所述图形码对应的应用程序信息在所述第一窗口内显示时,可以显示为该应用程序的图标,也可以显示该应用程序的名称或者通过特定图像或者字符显示。其中,在所述图像信息通过第一窗口显示时,所述第一窗口为具有跳转功能的控件;在所述图像信息直接显示在所述第一应用程序界面时,所述图像信息的载体为具有跳转功能的控件,以使用户触控所述图像信息后能够实现应用程序跳转。Optionally, when the application program information corresponding to the graphic code is displayed in the first window, it may be displayed as an icon of the application program, or the name of the application program may be displayed or displayed through a specific image or character. Wherein, when the image information is displayed through the first window, the first window is a control with a jump function; when the image information is directly displayed on the first application program interface, the carrier of the image information It is a control with a jump function, so that the user can realize application jump after touching the image information.
需要说明的是,在显示所述图像信息时,可以仅显示所述图形码对应的应用程序信息,也可以同时显示所述应用程序信息和所述图形码指示的目标事件信息。It should be noted that, when displaying the image information, only the application program information corresponding to the graphic code may be displayed, or the application program information and the target event information indicated by the graphic code may be displayed simultaneously.
步骤103、接收对所述图像信息的第一输入。Step 103: Receive a first input of the image information.
在所述图像信息通过第一窗口显示时,所述第一窗口为具有显示以及跳转功能的控件,所述第一输入可以为用户对所述第一窗口的点击、双击、长按等任意形式的操作;在所述图像信息直接显示在当前界面时,所述图像信息的显示载体为具有跳转功能的控件,所述第一输入可以为用户对所述图像信息的点击、双击、长按等任意形式的操作。所述第一输入的具体操作形式可以根据操作需求设置。所述第一输入用于由当前的第一应用程序界面跳转至与第一图像中的图形码对应的第二应用程序。When the image information is displayed through the first window, the first window is a control with display and jump functions, and the first input can be any user's click, double-click, long-press, etc. on the first window. When the image information is directly displayed on the current interface, the display carrier of the image information is a control with a jump function, and the first input can be the user's click, double-click, long Press and so on any form of operation. The specific operation form of the first input can be set according to operation requirements. The first input is used to jump from the current first application program interface to the second application program corresponding to the graphic code in the first image.
步骤104、响应于所述第一输入,调用与所述应用程序信息对应的第二应用程序对所述图形码进行识别。Step 104: In response to the first input, call a second application program corresponding to the application program information to identify the graphic code.
电子设备接收到所述第一输入后,调用与所述图形码对应的第二应用程序识别所述第一图像中的图形码,实现由第一应用程序到第二应用程序的跳转。以所述第一应用程序为第一即时通讯应用,第二应用程序为第二即时通讯应用为例,电子设备检测到用户当前在第一即时通讯应用的显示界面内浏览到第一图像,且该第一图像内包括图形码,则该第一图像为图形码图像, 电子设备对第一图像进行解码处理,获取到该第一图像中的图形码对应的应用程序为第二即时通讯应用,且该图形码是用于在第二即时应用内添加好友,即只有第二即时通讯应用能够解码该图形码并进行相应的添加好友的操作。After receiving the first input, the electronic device calls the second application program corresponding to the graphic code to identify the graphic code in the first image, and realizes the jump from the first application program to the second application program. Taking the first application as the first instant messaging application and the second application as the second instant messaging application as an example, the electronic device detects that the user is currently browsing the first image in the display interface of the first instant messaging application, and The first image includes a graphic code, then the first image is a graphic code image, the electronic device decodes the first image, and the application corresponding to the graphic code obtained in the first image is a second instant messaging application, And the graphic code is used to add a friend in the second instant application, that is, only the second instant messaging application can decode the graphic code and perform a corresponding operation of adding a friend.
电子设备可以在当前的显示界面显示第一窗口,在所述第一窗口内显示所述第二及时通讯应用的图标以及“添加好友”的目标事件信息(也可以直接在当前的显示界面显示所述图像信息),用户点击所述第一窗口,则电子设备启动所述第二即时通讯应用,通过所述第二即时通讯应用对所述第一图像的图形码进行识别并显示添加好友界面,实现由第一应用程序到第二应用程序的跳转,实现图形码的跨应用识别。The electronic device can display the first window on the current display interface, and display the icon of the second instant messaging application and the target event information of "add friend" in the first window (or directly display all the information on the current display interface. the image information), the user clicks on the first window, the electronic device starts the second instant messaging application, identifies the graphic code of the first image through the second instant messaging application, and displays an interface for adding friends, The jump from the first application program to the second application program is realized, and the cross-application identification of the graphic code is realized.
本申请的实施例,电子设备获取用户在第一应用程序界面浏览的包括图形码的第一图像,获取并显示所述第一图像的图像信息,用户通过对所述图像信息进行第一输入,电子设备调用与图形码对应的第二应用程序对所述图形码进行识别,快速便捷的实现对图形码的跨应用识别。In the embodiment of the present application, the electronic device acquires the first image including the graphic code browsed by the user on the first application program interface, acquires and displays the image information of the first image, and the user performs the first input on the image information, The electronic device invokes the second application program corresponding to the graphic code to identify the graphic code, so as to quickly and conveniently realize the cross-application identification of the graphic code.
可选地,在获取第一应用程序界面显示的第一图像的图像信息之前,所述方法还包括:获取第一应用程序显示的图像;对所述图像进行识别,确定所述图像是否为包括图形码的图像;若所述图像未包括图形码,则不进行任何识别操作,若所述图像包括图形码,则所述图像为所述第一图像,获取所述第一图像的图像信息。Optionally, before acquiring the image information of the first image displayed by the first application program interface, the method further includes: acquiring the image displayed by the first application program; identifying the image to determine whether the image includes An image of a graphic code; if the image does not include a graphic code, no identification operation is performed; if the image includes a graphic code, the image is the first image, and image information of the first image is obtained.
该实施例中,电子设备需要获得对于第一应用程序显示的图像的识别权限;在获得授权后,才可以获取用户在所述第一应用程序浏览的图像,并对浏览的图像进行识别。在判断图像是否包括图形码时,可以利用通用的图形码解码方法对图像进行解码处理,若解码处理成功则所述图像包括图形码,如图3所示的图像,则可以对该图像进行识别,获得其图像内容;若解码处理失败,则确定所述图像未包括图形码,如图4所示的图像,该图像只是普通的图像。需要说明的是,电子设备不会使用除解码处理方法外的其他方法获取用户浏览图像的内容,能够有效防止用户信息泄露。In this embodiment, the electronic device needs to obtain the recognition authority for the image displayed by the first application; only after obtaining the authorization, it can obtain the image browsed by the user in the first application, and identify the browsed image. When judging whether an image includes a graphic code, a general graphic code decoding method can be used to decode the image. If the decoding process is successful, the image includes a graphic code, such as the image shown in Figure 3, the image can be identified. , to obtain its image content; if the decoding process fails, it is determined that the image does not include a graphic code, such as the image shown in FIG. 4 , the image is just an ordinary image. It should be noted that the electronic device will not acquire the content of the user's browsing image by any method other than the decoding processing method, which can effectively prevent the leakage of user information.
进一步地,作为一个可选实施例,所述获取在第一应用程序界面显示的 第一图像的图像信息,可以包括:对所述第一图像包括的图形码进行解码处理,获得与所述图形码匹配的应用程序信息;对所述第一图像中的文字内容进行识别处理,获得所述目标事件信息。Further, as an optional embodiment, the obtaining the image information of the first image displayed on the first application program interface may include: decoding the graphics code included in the first image, and obtaining the image corresponding to the graphics code. code-matched application program information; perform identification processing on the text content in the first image to obtain the target event information.
该实施例中,所述第一图像包括图形码和文字内容,电子设备通过对所述第一图像的内容进行解码识别,能够获取与图形码对应的应用程序信息以及图形码指示的目标事件信息。其中,与所述图形码匹配的应用程序信息是指:该应用程序信息指示的应用程序能够识别所述图形码。In this embodiment, the first image includes a graphic code and text content, and the electronic device can obtain application program information corresponding to the graphic code and target event information indicated by the graphic code by decoding and identifying the content of the first image. . Wherein, the application program information matching the graphic code means that the application program indicated by the application program information can identify the graphic code.
具体地,对所述第一图像内的图形码进行解码处理,可以获得解码内容,所述解码内容可以为一串字符,所述获取与所述图形码匹配的应用程序信息,包括:根据所述解码内容的第一数量的字符(例如前十个字符),判断所述解码内容的类型为链接还是文本,若所述解码内容为链接,则将所述解码内容的特定位置的字符串与应用程序信息和应用程序的图形码识别功能相匹配,确定与所述解码内容相匹配的应用程序信息以及该应用程序的图形码识别入口。其中,可以在数据库中存储特征字符串与应用程序的匹配关系,例如:字符串为“111111”,则其对应的应用程序为第一即时通讯应用,字符串为“000000”,则其对应的应用程序为第二即时通讯应用。若所述解码内容为文本,例如解码所述图形码后得到的内容为“祝你身体健康”的文字内容,则不进行应用程序的匹配。Specifically, decoding the graphics code in the first image can obtain decoded content, where the decoded content can be a string of characters, and the obtaining application program information matching the graphics code includes: The first number of characters (for example, the first ten characters) of the decoded content is used to determine whether the type of the decoded content is a link or a text, and if the decoded content is a link, the character string at the specific position of the decoded content is compared with the text. The application program information is matched with the graphic code identification function of the application program, and the application program information matching the decoded content and the graphic code identification entry of the application program are determined. Among them, the matching relationship between the characteristic string and the application can be stored in the database. For example, if the string is "111111", the corresponding application is the first instant messaging application; if the string is "000000", the corresponding application The application is a second instant messaging application. If the decoded content is text, for example, the content obtained after decoding the graphic code is the text content of "I wish you good health", no application matching is performed.
如图5所示,以对所述第一图像51进行解码处理得到的解码内容为“https://u.xxxxxx.com/EJYD8fohPbQ6rKmsmMutDFY”为例,解码结果可以显示在当前界面,用户可以复制该解码结果,也可以将该解码结果的文本生成图形码,其中的字符串“u.xxxxxx.com”对应的应用程序为“应用A”,对应的图形码识别入口为“应用A-扫一扫”。As shown in FIG. 5 , taking the decoded content obtained by decoding the first image 51 as “https://u.xxxxxx.com/EJYD8fohPbQ6rKmsmMutDFY” as an example, the decoded result can be displayed on the current interface, and the user can copy the The decoding result can also generate a graphic code from the text of the decoding result, where the application program corresponding to the character string "u.xxxxxx.com" is "Application A", and the corresponding graphic code identification entry is "Application A-scan ".
具体地,对所述第一图像中的文字内容进行识别处理,获得所述目标事件信息,可以包括:使用循环神经网络(Recurrent Neural Network,RNN)对所述第一图像中的文字内容进行意图识别,例如对图5中第一图像51的文字内容“扫一扫上面的图形码图案,加我好友”进行识别处理,可以得到该 图形码的行为意图为“添加好友”;例如第一图像中的文字内容为“祝你身体健康”则可以得到该图形码的行为意图为“祝福语”。Specifically, performing recognition processing on the text content in the first image to obtain the target event information may include: using a Recurrent Neural Network (RNN) to perform intention on the text content in the first image Recognition, for example, the text content of the first image 51 in FIG. 5 "scan the graphic code pattern above, add me as a friend" to perform identification processing, and the behavioral intention of the graphic code can be obtained as "add a friend"; for example, the first image If the text content in it is "I wish you good health", the behavioral intention of obtaining the graphic code is "Blessing".
该实施例通过对第一图像内的图形码以及文字内容进行识别,能够获取与图形码对应的应用程序信息和目标事件信息,通过将图像信息显示在当前界面,可使用户得知该第一的作用以及得知需要通过哪些应用程序识别所述第一图像中的图形码。In this embodiment, by identifying the graphic code and text content in the first image, the application program information and target event information corresponding to the graphic code can be obtained, and by displaying the image information on the current interface, the user can be informed of the first image code. and know which application programs need to be used to identify the graphic code in the first image.
作为一个可选实施例,所述图形码包括用于指示所述图像信息的目标区域;进一步地,所述获取在第一应用程序界面显示的第一图像的图像信息,包括:对所述目标区域进行解码处理,获得所述应用程序信息和所述目标事件信息。As an optional embodiment, the graphic code includes a target area for indicating the image information; further, the acquiring the image information of the first image displayed on the first application program interface includes: The region performs decoding processing to obtain the application program information and the target event information.
该实施例中,在所述第一图像的图形码中,包含一个用于指示图像信息的目标区域,该目标区域可以为所述图形码的最外一圈或者其他特定区域。电子设备在获取到所述第一图像后,对所述第一图像中的目标区域进行解码识别,能够获得与该图形码对应的应用程序信息以及目标事件信息。In this embodiment, the graphic code of the first image includes a target area for indicating image information, and the target area may be the outermost circle of the graphic code or other specific areas. After acquiring the first image, the electronic device decodes and identifies the target area in the first image, and can obtain application program information and target event information corresponding to the graphic code.
可选地,在该实施例中,需要业务方在生成图形码时在本身图形码的目标区域额外增加用于指示该图形码对应的应用程序信息和目标事件信息的识别码,这样电子设备通过解码图形码的目标区域可以获得对应该图形码的图像信息。其中,图形码生成方在生成图形码之前可以申请附加内容权限,在申请成功后电子设备为对应的图形码生成方生成唯一识别码并发放,图形码生成方在生成图形码时将该唯一识别码添加在图形码的目标区域,并对此唯一识别码匹配唯一对应的应用程序信息以及目标事件信息。电子设备在获取到第一图像后,通过解码所述第一图像中的图形码的目标区域,可以获得与该图形码唯一对应的应用程序信息以及目标事件信息,并确定应用程序对应的图形码识别入口。Optionally, in this embodiment, the business side is required to additionally add an identification code for indicating the application program information and target event information corresponding to the graphic code in the target area of the graphic code itself when generating the graphic code, so that the electronic device passes through. The image information corresponding to the graphic code can be obtained by decoding the target area of the graphic code. Among them, the graphic code generator can apply for additional content rights before generating the graphic code. After the application is successful, the electronic device generates a unique identification code for the corresponding graphic code generator and issues it, and the graphic code generator generates the unique identification code when generating the graphic code. The code is added to the target area of the graphic code, and the unique identification code matches the unique corresponding application information and target event information. After the electronic device acquires the first image, by decoding the target area of the graphic code in the first image, it can obtain the application program information and target event information uniquely corresponding to the graphic code, and determine the graphic code corresponding to the application program. Identify the entrance.
例如:如图6所示,图6中的第一图像61为应用B的添加好友的图形码图像,所述第一图像61的图形码的目标区域62为环绕图形码最外层的一周的位置,在该区域设置特定的识别码,电子设备通过解码识别所述目标区域 62,得到该图形码对应的应用程序为“应用B”,目标事件为“添加好友”,图形码识别入口为“应用B-扫一扫”。For example: as shown in FIG. 6 , the first image 61 in FIG. 6 is the graphic code image of application B for adding friends, and the target area 62 of the graphic code of the first image 61 is a circle surrounding the outermost layer of the graphic code. Position, set a specific identification code in this area, the electronic device recognizes the target area 62 by decoding, and the application program corresponding to the obtained graphic code is "application B", the target event is "add friend", and the graphic code identification entry is " App B - Scan".
该实施例通过在图形码本身之外的目标区域额外增加用于指示图像信息的识别码区域,通对过第一图像内的图形码的目标区域进行解码识别,能够获取与图形码对应的应用程序信息和目标事件信息,通过将图像信息显示在当前界面,可使用户得知该图形码的作用以及得知需要通过哪些应用程序识别所述图形码。In this embodiment, an identification code area for indicating image information is additionally added to the target area other than the graphic code itself, and the application corresponding to the graphic code can be obtained by decoding and identifying the target area of the graphic code in the first image. For program information and target event information, by displaying image information on the current interface, the user can know the function of the graphic code and which application programs need to be used to identify the graphic code.
需要说明的是,上述获取第一应用程序界面显示的第一图像的图像信息的方式,可以分别使用其中的一种方式独立执行,例如:通过对第一图像中的图形码解码得到应用程序信息,通过对第一图像中的文字内容识别得到目标事件信息;或者,通过对第一图像中的图形码的目标区域进行解码识别,获得应用程序信息和目标事件信息。上述获取第一应用程序界面显示的第一图像的图像信息的方式,也可以两种方式结合执行,例如:优先选择对图形码的目标区域进行解码获得图像信息,在第一图像中的图形码不包括所述目标区域时,通过对图形码解码得到应用程序信息,通过对文字内容识别得到目标事件信息。It should be noted that, the above-mentioned methods of acquiring the image information of the first image displayed on the first application program interface can be performed independently by using one of the methods, for example: obtaining the application program information by decoding the graphics code in the first image , the target event information is obtained by recognizing the text content in the first image; or, the application program information and the target event information are obtained by decoding and recognizing the target area of the graphic code in the first image. The above-mentioned method of obtaining the image information of the first image displayed on the first application program interface can also be implemented in two ways. When the target area is not included, the application program information is obtained by decoding the graphic code, and the target event information is obtained by recognizing the text content.
在电子设备获取到所述第一图像的图像信息后,可以通过第一窗口对所述图像信息进行展示,所述第一窗口可以显示为气泡的形式,包括两部分,其中一部分用于显示图形码对应的应用程序的图标,另一部分用于显示图形码对应的目标事件。用户可以通过对所述第一窗口进行第二输入删除该窗口,例如:用户将所述第一窗口拖动至当前显示界面的显示范围外,或者长按所述第一窗口,弹出删除提示等。通过第一窗口对所述图像信息进行显示,完成了图形码内容与用户的直接交互,使用户对图形码的内容有基本了解,提升交互体验。After the electronic device obtains the image information of the first image, the image information can be displayed through a first window, and the first window can be displayed in the form of a bubble, including two parts, one of which is used to display graphics The icon of the application program corresponding to the graphic code, and the other part is used to display the target event corresponding to the graphic code. The user can delete the first window by performing a second input on the first window, for example: the user drags the first window outside the display range of the current display interface, or presses the first window for a long time, and a deletion prompt pops up, etc. . The image information is displayed through the first window, and the direct interaction between the graphic code content and the user is completed, so that the user has a basic understanding of the graphic code content and improves the interactive experience.
可选地,所述响应于所述第一输入,调用与所述应用程序信息对应的第二应用程序对所述图形码进行识别,包括:响应于所述第一输入,启动所述应用程序信息对应的第二应用程序;通过所述第二应用程序的图形码识别功 能对所述图形码进行识别。Optionally, invoking a second application program corresponding to the application program information to identify the graphic code in response to the first input includes: starting the application program in response to the first input The second application program corresponding to the information; the graphic code is identified through the graphic code identification function of the second application program.
在接收到用户对所述图像信息的第一输入后,电子设备自动启动第二应用程序,并打开所述第二应用程序内的图形码识别入口(如扫一扫)对所述第一图像内的图形码进行识别,并执行与图形码指示的目标事件相对应的操作,在进行图形码识别后,可以将识别结果显示在当前的显示界面。其中,电子设备启动所述第二应用程序并对所述第一图像进行识别的过程可以实时显示在电子设备的显示界面。After receiving the first input of the image information from the user, the electronic device automatically starts the second application program, and opens the graphic code identification entry (such as scanning) in the second application program to scan the first image Identify the graphic code inside, and perform the operation corresponding to the target event indicated by the graphic code. After the graphic code is identified, the identification result can be displayed on the current display interface. Wherein, the process that the electronic device starts the second application and recognizes the first image can be displayed on the display interface of the electronic device in real time.
该实施例在接收到用户的第一输入后,自动调用相应的应用程序对所述第一图像中的图形码进行识别并显示识别结果,点击图像信息就能实现一键跳转至适合识别第一图像的应用程序并完成对图形码的识别,极大节省了用户跨应用识别图形码的操作成本,用户无需再保存图片然后打开相应的应用程序识别窗口等复杂的操作行为,简化操作过程,节省跳转时间。In this embodiment, after receiving the first input from the user, the corresponding application program is automatically invoked to recognize the graphic code in the first image and display the recognition result, and one-key jumping to the first image suitable for recognition can be realized by clicking on the image information. One image application program and complete the identification of the graphic code, which greatly saves the user's operation cost of identifying the graphic code across applications, and the user no longer needs to save the image and then open the corresponding application identification window and other complex operation behaviors, simplifying the operation process, Save jumping time.
可选地,所述方法还包括:在接收到对所述图像信息的第一输入时,存储所述第一图像;在调用与所述应用程序信息对应的第二应用程序对所述图形码进行识别之后,删除存储的所述第一图像。Optionally, the method further comprises: storing the first image when receiving the first input of the image information; After identification, the stored first image is deleted.
该实施例中,电子设备在接收到用户的第一输入时,自动保存当前的第一图像,在跳转至第二应用程序对图形码进行识别完毕后,自动删除所述第一图像,用户无需进行截图识别,节省电子设备内部存储空间。In this embodiment, the electronic device automatically saves the current first image when receiving the user's first input, and automatically deletes the first image after jumping to the second application program to recognize the graphic code. Screenshot recognition is not required, saving the internal storage space of electronic devices.
下面通过不同实施例说明本申请的图形码识别方法的具体实现过程。The specific implementation process of the graphic code identification method of the present application will be described below through different embodiments.
示例一:如图7所示:Example 1: As shown in Figure 7:
步骤701:电子设备识别用户当前在第一应用程序界面内浏览的图像是否为包括图形码的第一图像;Step 701: The electronic device identifies whether the image currently browsed by the user in the first application program interface is the first image including the graphic code;
步骤702:若不包括图形码,不进行任何识别操作,若所述图像包括图形码,则对此图形码进行解码识别,并获取解码内容;Step 702: if the graphic code is not included, do not perform any identification operation, if the image includes the graphic code, decode and identify the graphic code, and obtain the decoded content;
步骤703:对图形码解码得到的解码内容的前十个字符进行判断,确定与该图形码对应的第二应用程序信息,并确定图形码识别入口;Step 703: Judge the first ten characters of the decoded content obtained by decoding the graphic code, determine the second application program information corresponding to the graphic code, and determine the graphic code identification entry;
步骤704:对图像内的文字内容进行识别,确定图形码指示的目标事件 信息;Step 704: identify the text content in the image, and determine the target event information indicated by the graphic code;
步骤705:通过第一窗口对获得的第二应用程序信息和目标事件信息进行展示;Step 705: Display the obtained second application information and target event information through the first window;
步骤706:用户点击第一窗口,跳转至第二应用程序完成图形码识别。Step 706: The user clicks on the first window and jumps to the second application program to complete the identification of the graphic code.
该实施能够实现对图形码意图进行识别和匹配,且用过第一窗口展示图像信息,实现第一窗口就能一键跳转至对应最适合识别此图形码的应用程序并完成对图形码的识别,实现了用户一键识别图形码的操作,省去了复杂的操作行为,节省用户时间。其中,所述图像信息可以通过所述第一窗口显示,也可以直接显示在电子设备的当前界面,图像信息的显示载体具有跳转功能。This implementation can realize the identification and matching of the graphic code intention, and use the first window to display the image information, so that the first window can jump to the corresponding application program most suitable for identifying the graphic code and complete the graphic code. Recognition, realizes the operation of the user to identify the graphic code with one key, saves the complex operation behavior and saves the user's time. Wherein, the image information may be displayed through the first window, or may be directly displayed on the current interface of the electronic device, and the display carrier of the image information has a jump function.
示例二:如图8所示:Example 2: As shown in Figure 8:
步骤801:电子设备识别用户当前在第一应用程序界面内浏览的图像是否为包括图形码的第一图像;Step 801: The electronic device identifies whether the image currently browsed by the user in the first application program interface is the first image including the graphic code;
步骤802:若不包括图形码,不进行任何识别操作,若所述图像包括图形码,则对此图形码进行解码识别,并获取图像信息;Step 802: if the graphic code is not included, do not perform any identification operation, if the image includes the graphic code, decode and identify the graphic code, and obtain image information;
步骤803:识别图形码的目标区域,获得与图形码对应的应用程序信息和目标事件信息;Step 803: Identify the target area of the graphic code, and obtain application program information and target event information corresponding to the graphic code;
步骤804:通过第一窗口对获得的第二应用程序信息和目标事件信息进行展示;Step 804: Display the obtained second application information and target event information through the first window;
步骤805:用户点击第一窗口,跳转至第二应用程序完成图形码识别。Step 805: The user clicks on the first window and jumps to the second application program to complete the graphic code recognition.
该实施通过在图形码增加额外的目标区域,用于指示与图形码对应的图像信息,电子设备通解码处理所述目标区域,获得与图形码对应的应用程序信息和目标事件信息,且用过第一窗口展示应用程序信息和目标事件信息,实现第一窗口就能一键跳转至对应最适合识别此图形码的应用程序并完成对图形码的识别,实现了用户一键识别图形码的操作,省去了复杂的操作行为,节省用户时间。所述图像信息可以通过所述第一窗口显示,也可以直接显示在电子设备的当前界面,图像信息的显示载体具有跳转功能。In this implementation, an additional target area is added to the graphic code to indicate image information corresponding to the graphic code. The electronic device decodes and processes the target area to obtain application program information and target event information corresponding to the graphic code, and uses The first window displays the application program information and target event information, so that the first window can jump to the corresponding application program most suitable for identifying the graphic code and complete the identification of the graphic code, so that the user can recognize the graphic code with one click. operation, eliminating the need for complex operation behavior and saving user time. The image information can be displayed through the first window, or can be directly displayed on the current interface of the electronic device, and the display carrier of the image information has a jump function.
本申请的实施例,电子设备获取用户在第一应用程序界面浏览的包括图 形码的第一图像,获取并显示第一图像的图像信息,用户通过对所述图像信息进行第一输入,电子设备调用与图形码对应的第二应用程序对所述图形码进行识别,快速便捷的实现对图形码的跨应用识别。In the embodiment of the present application, the electronic device acquires the first image including the graphic code browsed by the user on the first application program interface, acquires and displays the image information of the first image, and the user performs the first input on the image information, the electronic device The second application program corresponding to the graphic code is invoked to identify the graphic code, thereby realizing the cross-application identification of the graphic code quickly and conveniently.
需要说明的是,本申请实施例提供的图形码识别方法,执行主体可以为图形码识别装置,或者该图形码识别装置中的用于执行图形码识别方法的控制模块。本申请实施例中以图形码识别装置执行图形码识别方法为例,说明本申请实施例提供的图形码识别装置。It should be noted that, for the graphic code identification method provided by the embodiments of the present application, 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. In the embodiment of the present application, 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.
如图9所示,本申请实施例还提供了一种图形码识别装置900,包括:As shown in FIG. 9, an embodiment of the present application also provides a graphic code identification device 900, including:
获取模块910,用于获取在第一应用程序界面显示的第一图像的图像信息,所述第一图像包括图形码,所述图像信息包括所述图形码对应的应用程序信息;an acquisition module 910, configured to acquire image information of a first image displayed on a first application program interface, where the first image includes a graphic code, and the image information includes application program information corresponding to the graphic code;
显示模块920,用于显示所述图像信息;a display module 920, configured to display the image information;
接收模块930,用于接收对所述图像信息的第一输入;a receiving module 930, configured to receive a first input of the image information;
响应模块940,用于响应于所述第一输入,调用与所述应用程序信息对应的第二应用程序对所述图形码进行识别。The response module 940 is configured to, in response to the first input, call a second application program corresponding to the application program information to identify the graphic code.
可选地,所述图像信息还包括所述图形码指示的目标事件信息。Optionally, the image information further includes target event information indicated by the graphic code.
可选地,所述获取模块910包括:Optionally, the obtaining module 910 includes:
第一获取单元,用于对所述第一图像包括的图形码进行解码处理,获得与所述图形码匹配的应用程序信息;a first obtaining unit, configured to decode the graphics code included in the first image to obtain application program information matching the graphics code;
第二获取单元,用于对所述第一图像中的文字内容进行识别处理,获得所述目标事件信息。The second obtaining unit is configured to perform identification processing on the text content in the first image to obtain the target event information.
可选地,所述图形码包括用于指示所述图像信息的目标区域;Optionally, the graphic code includes a target area for indicating the image information;
所述获取模块910包括:The obtaining module 910 includes:
第三获取单元,用于对所述目标区域进行解码处理,获得所述应用程序信息和所述目标事件信息。A third obtaining unit, configured to perform decoding processing on the target area to obtain the application program information and the target event information.
可选地,所述响应模块940包括:Optionally, the response module 940 includes:
响应单元,用于响应于所述第一输入,启动所述应用程序信息对应的第 二应用程序;a response unit, configured to start a second application program corresponding to the application program information in response to the first input;
识别单元,用于通过所述第二应用程序的图形码识别功能对所述图形码进行识别。The identification unit is configured to identify the graphic code through the graphic code identification function of the second application program.
可选地,所述装置还包括:Optionally, the device further includes:
存储模块,用于在接收到对所述图像信息的第一输入时,存储所述第一图像;a storage module, configured to store the first image when receiving the first input of the image information;
删除模块,用于在调用与所述应用程序信息对应的第二应用程序对所述图形码进行识别之后,删除存储的所述第一图像。A deletion module, configured to delete the stored first image after calling a second application program corresponding to the application program information to identify the graphic code.
本申请的实施例,通过获取用户在第一应用程序界面浏览的包括图形码的第一图像,获取并显示所述第一图像的图像信息,用户通过对所述图像信息进行第一输入,电子设备调用与图形码对应的第二应用程序对所述图形码进行识别,快速便捷的实现对图形码的跨应用识别。In this embodiment of the present application, the image information of the first image is acquired and displayed by acquiring the first image including the graphic code browsed by the user on the first application program interface. The device invokes the second application program corresponding to the graphic code to identify the graphic code, so as to quickly and conveniently realize the cross-application identification of the graphic code.
本申请实施例中的图形码识别装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。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. Exemplarily, 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). assistant, PDA), etc., 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.
本申请实施例中的图形码识别装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。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.
本申请实施例提供的图形码识别装置能够实现图1至图8的方法实施例中图形码识别装置实现的各个过程,为避免重复,这里不再赘述。The graphic code identification device provided in the embodiment of the present application can implement each process implemented by the graphic code identification device in the method embodiments of FIG. 1 to FIG. 8 , and to avoid repetition, details are not repeated here.
可选的,如图10所示,本申请实施例还提供一种电子设备1000,包括处理器1001,存储器1002,存储在存储器1002上并可在所述处理器1001上 运行的程序或指令,该程序或指令被处理器1001执行时实现上述图形码识别方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 10, an embodiment of the present application further provides an electronic device 1000, including a processor 1001, a memory 1002, a program or instruction stored in the memory 1002 and executable on the processor 1001, When the program or instruction is executed by the processor 1001, each process of the above embodiment of the graphic code identification method is implemented, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
需要注意的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
图11为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 11 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备1100包括但不限于:射频单元1101、网络模块1102、音频输出单元1103、输入单元1104、传感器1105、显示单元1106、用户输入单元1107、接口单元1108、存储器1109、以及处理器1110等部件。The electronic device 1100 includes but is not limited to: a radio frequency unit 1101, a network module 1102, an audio output unit 1103, an input unit 1104, a sensor 1105, a display unit 1106, a user input unit 1107, an interface unit 1108, a memory 1109, and a processor 1110, etc. part.
本领域技术人员可以理解,电子设备1100还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图11中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 1100 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 1110 through a power management system, so that the power management system can manage charging, discharging, and power consumption. consumption management and other functions. The structure of the electronic device shown in FIG. 11 does not constitute a limitation on the electronic device. The electronic device may include more or less components than those shown in the figure, or combine some components, or arrange different components, which will not be repeated here. .
其中,处理器1110,用于获取在第一应用程序界面显示的第一图像的图像信息,所述第一图像包括图形码,所述图像信息包括所述图形码对应的应用程序信息;The processor 1110 is configured to acquire image information of a first image displayed on a first application program interface, where the first image includes a graphic code, and the image information includes application program information corresponding to the graphic code;
显示单元1106,用于显示所述图像信息;a display unit 1106, configured to display the image information;
用户输入单元1107,用于接收对所述图像信息的第一输入;a user input unit 1107, configured to receive a first input of the image information;
处理器1110,还用于响应于所述第一输入,调用与所述应用程序信息对应的第二应用程序对所述图形码进行识别。The processor 1110 is further configured to, in response to the first input, call a second application program corresponding to the application program information to identify the graphic code.
本申请的实施例,电子设备获取用户在第一应用程序界面浏览的包括图形码的第一图像,获取并显示所述第一图像的图像信息,用户通过对所述图像信息进行第一输入,电子设备调用与图形码对应的第二应用程序对所述图形码进行识别,快速便捷的实现对图形码的跨应用识别。In the embodiment of the present application, the electronic device acquires the first image including the graphic code browsed by the user on the first application program interface, acquires and displays the image information of the first image, and the user performs the first input on the image information, The electronic device invokes the second application program corresponding to the graphic code to identify the graphic code, so as to quickly and conveniently realize the cross-application identification of the graphic code.
可选地,所述图像信息还包括所述图形码指示的目标事件信息。Optionally, the image information further includes target event information indicated by the graphic code.
可选地,所述处理器1110还用于:对所述第一图像包括的图形码进行解 码处理,获得与所述图形码匹配的应用程序信息;Optionally, the processor 1110 is further configured to: decode the graphics code included in the first image to obtain application information matching the graphics code;
对所述第一图像中的文字内容进行识别处理,获得所述目标事件信息。Recognize the text content in the first image to obtain the target event information.
可选地,所述图形码包括用于指示所述图像信息的目标区域;Optionally, the graphic code includes a target area for indicating the image information;
所述处理器1110还用于:对所述目标区域进行解码处理,获得所述应用程序信息和所述目标事件信息。The processor 1110 is further configured to: perform decoding processing on the target area to obtain the application program information and the target event information.
可选地,所述处理器1110还用于:响应于所述第一输入,启动所述应用程序信息对应的第二应用程序;通过所述第二应用程序的图形码识别功能对所述图形码进行识别。Optionally, the processor 1110 is further configured to: in response to the first input, start a second application program corresponding to the application program information; code for identification.
可选地,所述存储器1109用于:在接收到对所述图像信息的第一输入时,存储所述第一图像;Optionally, the memory 1109 is configured to: when receiving the first input of the image information, store the first image;
所述处理器1110还用于:在调用与所述应用程序信息对应的第二应用程序对所述图形码进行识别之后,删除存储的所述第一图像。The processor 1110 is further configured to delete the stored first image after calling a second application program corresponding to the application program information to identify the graphic code.
本申请的实施例,电子设备获取用户在第一应用程序界面浏览的包括图形码的第一图像,获取并显示所述第一图像的图像信息,用户通过对所述图像信息进行第一输入,电子设备调用与图形码对应的第二应用程序对所述图形码进行识别,快速便捷的实现对图形码的跨应用识别。In the embodiment of the present application, the electronic device acquires the first image including the graphic code browsed by the user on the first application program interface, acquires and displays the image information of the first image, and the user performs the first input on the image information, The electronic device invokes the second application program corresponding to the graphic code to identify the graphic code, so as to quickly and conveniently realize the cross-application identification of the graphic code.
应理解的是,本申请实施例中,输入单元1104可以包括图形处理器(Graphics Processing Unit,GPU)11041和麦克风11042,图形处理器11041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1106可包括显示面板11061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板11061。用户输入单元1107包括触控面板11071以及其他输入设备11072。触控面板11071,也称为触摸屏。触控面板11071可包括触摸检测装置和触摸控制器两个部分。其他输入设备11072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器1109可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器1110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操 作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1110中。It should be understood that, in this embodiment of the present application, the input unit 1104 may include a graphics processor (Graphics Processing Unit, GPU) 11041 and a microphone 11042. Such as camera) to obtain still pictures or video image data for processing. The display unit 1106 may include a display panel 11061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1107 includes a touch panel 11071 and other input devices 11072 . The touch panel 11071 is also called a touch screen. The touch panel 11071 may include two parts, a touch detection device and a touch controller. Other input devices 11072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here. Memory 1109 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems. The processor 1110 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and application programs, and the like, and the modem processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 1110.
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述图形码识别方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。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.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, 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.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that 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.
本申请实施例另提供了一种计算机程序产品,所述计算机程序产品被存储在非易失的存储介质中,所述计算机程序产品被至少一个处理器执行以实现上述图形码识别方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a computer program product, the computer program product is stored in a non-volatile storage medium, and the computer program product is executed by at least one processor to implement the above-mentioned embodiment of the graphic code identification method. Each process can achieve the same technical effect. In order to avoid repetition, it will not be repeated here.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例 如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in the reverse order depending on the functions involved. To perform functions, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to some examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that 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. Based on this understanding, 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.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of this application, without departing from the scope of protection of the purpose of this application and the claims, many forms can be made, which all fall within the protection of this application.

Claims (17)

  1. 一种图形码识别方法,包括:A graphic code identification method, comprising:
    获取在第一应用程序界面显示的第一图像的图像信息,所述第一图像包括图形码,所述图像信息包括所述图形码对应的应用程序信息;acquiring image information of a first image displayed on a first application program interface, where the first image includes a graphic code, and the image information includes application program information corresponding to the graphic code;
    显示所述图像信息;displaying the image information;
    接收对所述图像信息的第一输入;receiving a first input to the image information;
    响应于所述第一输入,调用与所述应用程序信息对应的第二应用程序对所述图形码进行识别。In response to the first input, a second application program corresponding to the application program information is invoked to identify the graphic code.
  2. 根据权利要求1所述的方法,其中,所述图像信息还包括所述图形码指示的目标事件信息。The method of claim 1, wherein the image information further includes target event information indicated by the graphic code.
  3. 根据权利要求2所述的方法,其中,所述获取在第一应用程序界面显示的第一图像的图像信息,包括:The method according to claim 2, wherein the acquiring the image information of the first image displayed on the first application program interface comprises:
    对所述第一图像包括的图形码进行解码处理,获得与所述图形码匹配的应用程序信息;Decoding the graphics code included in the first image to obtain application information matching the graphics code;
    对所述第一图像中的文字内容进行识别处理,获得所述目标事件信息。Recognize the text content in the first image to obtain the target event information.
  4. 根据权利要求2所述的方法,其中,所述图形码包括用于指示所述图像信息的目标区域;The method of claim 2, wherein the graphic code includes a target area for indicating the image information;
    所述获取在第一应用程序界面显示的第一图像的图像信息,包括:The acquiring image information of the first image displayed on the first application program interface includes:
    对所述目标区域进行解码处理,获得所述应用程序信息和所述目标事件信息。Decoding the target area to obtain the application program information and the target event information.
  5. 根据权利要求1所述的方法,其中,所述响应于所述第一输入,调用与所述应用程序信息对应的第二应用程序对所述图形码进行识别,包括:The method according to claim 1, wherein, in response to the first input, invoking a second application program corresponding to the application program information to identify the graphic code comprises:
    响应于所述第一输入,启动所述应用程序信息对应的第二应用程序;In response to the first input, start a second application program corresponding to the application program information;
    通过所述第二应用程序的图形码识别功能对所述图形码进行识别。The graphic code is identified through the graphic code identification function of the second application program.
  6. 根据权利要求1所述的方法,其中,所述方法还包括:The method of claim 1, wherein the method further comprises:
    在接收到对所述图像信息的第一输入时,存储所述第一图像;upon receiving a first input to the image information, storing the first image;
    在调用与所述应用程序信息对应的第二应用程序对所述图形码进行识别之后,删除存储的所述第一图像。After calling a second application program corresponding to the application program information to identify the graphic code, the stored first image is deleted.
  7. 一种图形码识别装置,包括:A graphic code identification device, comprising:
    获取模块,用于获取在第一应用程序界面显示的第一图像的图像信息,所述第一图像包括图形码,所述图像信息包括所述图形码对应的应用程序信息;an acquisition module, configured to acquire image information of a first image displayed on a first application program interface, where the first image includes a graphic code, and the image information includes application program information corresponding to the graphic code;
    显示模块,用于显示所述图像信息;a display module for displaying the image information;
    接收模块,用于接收对所述图像信息的第一输入;a receiving module for receiving the first input of the image information;
    响应模块,用于响应于所述第一输入,调用与所述应用程序信息对应的第二应用程序对所述图形码进行识别。A response module, configured to call a second application program corresponding to the application program information to identify the graphic code in response to the first input.
  8. 根据权利要求7所述的装置,其中,所述图像信息还包括所述图形码指示的目标事件信息。The apparatus of claim 7, wherein the image information further includes target event information indicated by the graphic code.
  9. 根据权利要求8所述的装置,其中,所述获取模块包括:The apparatus according to claim 8, wherein the obtaining module comprises:
    第一获取单元,用于对所述第一图像包括的图形码进行解码处理,获得与所述图形码匹配的应用程序信息;a first obtaining unit, configured to decode the graphics code included in the first image to obtain application program information matching the graphics code;
    第二获取单元,用于对所述第一图像中的文字内容进行识别处理,获得所述目标事件信息。The second obtaining unit is configured to perform identification processing on the text content in the first image to obtain the target event information.
  10. 根据权利要求8所述的装置,其中,所述图形码包括用于指示所述图像信息的目标区域;The apparatus of claim 8, wherein the graphic code includes a target area for indicating the image information;
    所述获取模块包括:The acquisition module includes:
    第三获取单元,用于对所述目标区域进行解码处理,获得所述应用程序信息和所述目标事件信息。A third obtaining unit, configured to perform decoding processing on the target area to obtain the application program information and the target event information.
  11. 根据权利要求7所述的装置,其中,所述响应模块包括:The apparatus of claim 7, wherein the response module comprises:
    响应单元,用于响应于所述第一输入,启动所述应用程序信息对应的第二应用程序;a response unit, configured to start a second application program corresponding to the application program information in response to the first input;
    识别单元,用于通过所述第二应用程序的图形码识别功能对所述图形码 进行识别。an identification unit, configured to identify the graphic code through the graphic code identification function of the second application program.
  12. 根据权利要求7所述的装置,其中,所述装置还包括:The apparatus of claim 7, wherein the apparatus further comprises:
    存储模块,用于在接收到对所述图像信息的第一输入时,存储所述第一图像;a storage module, configured to store the first image when receiving the first input of the image information;
    删除模块,用于在调用与所述应用程序信息对应的第二应用程序对所述图形码进行识别之后,删除存储的所述第一图像。A deletion module, configured to delete the stored first image after calling a second application program corresponding to the application program information to identify the graphic code.
  13. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,其中,所述程序或指令被所述处理器执行时实现如权利要求1-6任一项所述的图形码识别方法的步骤。An electronic device, comprising a processor, a memory, and a program or instruction stored on the memory and executable on the processor, wherein the program or instruction is executed by the processor to achieve as claimed in claim 1 -6 the steps of any one of the graphic code identification methods.
  14. 一种可读存储介质,所述可读存储介质上存储程序或指令,其中,所述程序或指令被处理器执行时实现如权利要求1-6任一项所述的图形码识别方法的步骤。A readable storage medium on which a program or an instruction is stored, wherein, when the program or instruction is executed by a processor, the steps of the graphic code identification method according to any one of claims 1-6 are realized .
  15. 一种芯片,包括处理器和通信接口,其中,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1-6任一项所述的图形码识别方法的步骤。A chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or an instruction to realize the graphic code identification according to any one of claims 1-6 steps of the method.
  16. 一种计算机程序产品,其中,所述程序产品被存储在非易失的存储介质中,所述程序产品被至少一个处理器执行以实现如权利要求1-6任一项所述的图形码识别方法的步骤。A computer program product, wherein the program product is stored in a non-volatile storage medium, and the program product is executed by at least one processor to implement the graphic code recognition according to any one of claims 1-6 steps of the method.
  17. 一种通信设备,其中,被配置为执行如权利要求1-6任一项所述的图形码识别方法的步骤。A communication device, wherein it is configured to perform the steps of the graphic code identification method according to any one of claims 1-6.
PCT/CN2021/140446 2020-12-29 2021-12-22 Graphic code recognition method and apparatus, and electronic device WO2022143336A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011596041.3A CN112699363A (en) 2020-12-29 2020-12-29 Graphic code identification method and device and electronic equipment
CN202011596041.3 2020-12-29

Publications (1)

Publication Number Publication Date
WO2022143336A1 true WO2022143336A1 (en) 2022-07-07

Family

ID=75511854

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/140446 WO2022143336A1 (en) 2020-12-29 2021-12-22 Graphic code recognition method and apparatus, and electronic device

Country Status (2)

Country Link
CN (1) CN112699363A (en)
WO (1) WO2022143336A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112699363A (en) * 2020-12-29 2021-04-23 维沃移动通信(杭州)有限公司 Graphic code identification method and device and electronic equipment
WO2023236801A1 (en) * 2022-06-07 2023-12-14 华为技术有限公司 Graphic code recognition method and electronic device
CN117787310A (en) * 2022-09-06 2024-03-29 博泰车联网(南京)有限公司 Picture operation method, electronic device and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040062443A1 (en) * 2002-10-01 2004-04-01 Jonathan Yen Extracting graphical bar codes from an input image
CN103997567A (en) * 2014-04-30 2014-08-20 小米科技有限责任公司 Method and device for acquiring graphic code information
CN106874817A (en) * 2016-07-27 2017-06-20 阿里巴巴集团控股有限公司 Two-dimensional code identification method, equipment and mobile terminal
CN107729791A (en) * 2017-09-30 2018-02-23 联想(北京)有限公司 Information processing method and electronic equipment
CN107844728A (en) * 2017-10-27 2018-03-27 珠海市魅族科技有限公司 Identify method and device, computer installation and the computer-readable recording medium of Quick Response Code
CN108764003A (en) * 2018-05-30 2018-11-06 北京小米移动软件有限公司 Image identification method and device
CN109472179A (en) * 2018-10-23 2019-03-15 努比亚技术有限公司 Two-dimensional code identification method, terminal and computer readable storage medium
CN111507122A (en) * 2020-04-22 2020-08-07 Oppo广东移动通信有限公司 Graphic code identification method and device, storage medium and terminal
CN112699363A (en) * 2020-12-29 2021-04-23 维沃移动通信(杭州)有限公司 Graphic code identification method and device and electronic equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104751092B (en) * 2013-12-26 2017-04-12 腾讯科技(深圳)有限公司 Method and device for processing graphic code
CN109583259B (en) * 2019-01-30 2022-09-27 维沃移动通信有限公司 Information identification method and terminal equipment
CN111026464A (en) * 2019-11-06 2020-04-17 维沃移动通信有限公司 Identification method and electronic equipment
CN111881703A (en) * 2020-07-30 2020-11-03 维沃移动通信(杭州)有限公司 Graphic code identification method and device and electronic equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040062443A1 (en) * 2002-10-01 2004-04-01 Jonathan Yen Extracting graphical bar codes from an input image
CN103997567A (en) * 2014-04-30 2014-08-20 小米科技有限责任公司 Method and device for acquiring graphic code information
CN106874817A (en) * 2016-07-27 2017-06-20 阿里巴巴集团控股有限公司 Two-dimensional code identification method, equipment and mobile terminal
CN107729791A (en) * 2017-09-30 2018-02-23 联想(北京)有限公司 Information processing method and electronic equipment
CN107844728A (en) * 2017-10-27 2018-03-27 珠海市魅族科技有限公司 Identify method and device, computer installation and the computer-readable recording medium of Quick Response Code
CN108764003A (en) * 2018-05-30 2018-11-06 北京小米移动软件有限公司 Image identification method and device
CN109472179A (en) * 2018-10-23 2019-03-15 努比亚技术有限公司 Two-dimensional code identification method, terminal and computer readable storage medium
CN111507122A (en) * 2020-04-22 2020-08-07 Oppo广东移动通信有限公司 Graphic code identification method and device, storage medium and terminal
CN112699363A (en) * 2020-12-29 2021-04-23 维沃移动通信(杭州)有限公司 Graphic code identification method and device and electronic equipment

Also Published As

Publication number Publication date
CN112699363A (en) 2021-04-23

Similar Documents

Publication Publication Date Title
WO2022143336A1 (en) Graphic code recognition method and apparatus, and electronic device
CN112099705B (en) Screen projection method and device and electronic equipment
CN111884908B (en) Contact person identification display method and device and electronic equipment
WO2022111394A1 (en) Information processing method and apparatus, and electronic devices
WO2021233282A1 (en) Method and apparatus for displaying message detail page, and electronic device
CN112099704A (en) Information display method and device, electronic equipment and readable storage medium
US20230385426A1 (en) Encryption Method and Apparatus, Electronic Device, and Medium
WO2023030129A1 (en) Message display method, apparatus and electronic device
CN113141294A (en) Message prompting method and device and electronic equipment
WO2022223002A1 (en) Page display method and apparatus, and electronic device
CN112671635A (en) Sending method, sending device and electronic equipment
CN113836089A (en) Application program display method and device, electronic equipment and readable storage medium
US20240089223A1 (en) Information display method and apparatus, and electronic device
CN112783594A (en) Message display method and device and electronic equipment
WO2023241563A1 (en) Data processing method and electronic device
CN109634508B (en) User information loading method and device
WO2023046105A1 (en) Message sending method and apparatus and electronic device
WO2022156817A1 (en) Content extraction method and apparatus
WO2022002025A1 (en) New message prompting method and apparatus, electronic device, medium, product, and chip
CN112788178B (en) Message display method and device
CN113807831A (en) Payment method and device
CN113589983A (en) Graphic identifier display method and electronic equipment
CN113342241A (en) Target character selection method and device, electronic equipment and storage medium
CN113282830A (en) Display method and display device
CN113360038A (en) Application function searching method and device and electronic equipment

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: 21914074

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: 21914074

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 21/11/2024)