WO2021104254A1 - Information processing method and electronic device - Google Patents

Information processing method and electronic device Download PDF

Info

Publication number
WO2021104254A1
WO2021104254A1 PCT/CN2020/131101 CN2020131101W WO2021104254A1 WO 2021104254 A1 WO2021104254 A1 WO 2021104254A1 CN 2020131101 W CN2020131101 W CN 2020131101W WO 2021104254 A1 WO2021104254 A1 WO 2021104254A1
Authority
WO
WIPO (PCT)
Prior art keywords
graphic
codes
graphic codes
target
electronic device
Prior art date
Application number
PCT/CN2020/131101
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 WO2021104254A1 publication Critical patent/WO2021104254A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1439Methods for optical code recognition including a method step for retrieval of the optical code
    • G06K7/1447Methods for optical code recognition including a method step for retrieval of the optical code extracting optical codes from image or text carrying said optical code

Definitions

  • the present invention relates to the field of communication technology, in particular to an information processing method and electronic equipment.
  • the method of obtaining information by using graphic codes has been widely used in a variety of scenarios, for example, scanning code payment, adding friends, and so on.
  • the electronic device can obtain the information in the graphic code by scanning the graphic code by starting the corresponding application program.
  • current electronic devices can only recognize a single graphic code, when there are multiple graphic codes that are close together, it is difficult for the electronic device to avoid other graphic codes and only collect the target graphic code. Therefore, it often results in Misrecognition of the code.
  • the embodiments of the present invention provide an information processing method and an electronic device to solve the problem of the electronic device misrecognizing the graphic code when there are multiple graphic codes.
  • the present invention is implemented as follows:
  • an embodiment of the present invention provides an information processing method, including:
  • N graphic codes are included in the identification area, separate the M graphic codes of the N graphic codes respectively;
  • N is an integer greater than 1
  • M is a positive integer
  • M ⁇ N is an integer greater than 1
  • an embodiment of the present invention also provides an electronic device, including:
  • a separation module which is used to separate the M graphic codes of the N graphic codes respectively when N graphic codes are included in the identification area;
  • An identification module which is used to identify the separated M graphic codes respectively
  • the execution module is used to execute the operation corresponding to the target graphic code among the M graphic codes
  • N is an integer greater than 1
  • M is a positive integer
  • M ⁇ N is an integer greater than 1
  • an embodiment of the present invention also provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and capable of running on the processor.
  • the processor executes the computer program as described above. The steps in the information processing method described.
  • an embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps in the information processing method described above are implemented. .
  • the M pattern codes of the N pattern codes are respectively separated; the separated M pattern codes are respectively identified; The operations corresponding to the target graphic codes in the M graphic codes; wherein, N is an integer greater than 1, M is a positive integer, and M ⁇ N.
  • N is an integer greater than 1
  • M is a positive integer
  • M ⁇ N the electronic device can recognize the target graphic code when there are multiple graphic codes, which can prevent misrecognition.
  • FIG. 1 is one of the flowcharts of an information processing method provided by an embodiment of the present invention.
  • FIG 2 is one of the schematic diagrams of the interface of the electronic device provided by the embodiment of the present invention.
  • FIG. 3 is a second schematic diagram of an interface of an electronic device provided by an embodiment of the present invention.
  • FIG. 5 is a third schematic diagram of an interface of an electronic device provided by an embodiment of the present invention.
  • Figure 6 is one of the structural diagrams of an electronic device provided by an embodiment of the present invention.
  • FIG. 7 is a second structural diagram of an electronic device provided by an embodiment of the present invention.
  • FIG. 8 is the third structural diagram of the electronic device provided by the embodiment of the present invention.
  • Fig. 1 is a flowchart of an information processing method provided by an embodiment of the present invention. As shown in Fig. 1, it includes the following steps:
  • Step 101 If N graphic codes are included in the identification area, separate the M graphic codes of the N graphic codes.
  • the N graphic codes may be graphic codes contained in the image when the electronic device collects the image in real time.
  • the code scanning area includes multiple two-dimensional codes.
  • the aforementioned recognition area may be the same area as the acquisition area.
  • the foregoing graphic code may also be a picture stored in an electronic device or a graphic code contained in a picture sent by another electronic device.
  • the identification area may be an area corresponding to the picture.
  • the above-mentioned graphic code may be a two-dimensional code, a barcode, and the like.
  • Each of the above-mentioned M graphic codes may be a graphic code that can be individually identified.
  • the recognition area contains only one graphic code
  • the picture of the recognition area is collected, the interface jumps to the corresponding content, and the recognition process is completed.
  • the graphic codes can be separated and then recognized. For example, pictures that contain only a single graphic code are sequentially collected and stored in the background, and are sequentially identified based on the collected pictures. Or, first collect a picture containing all the graphic codes in the recognition area, and then separately store each graphic code in the background based on the picture, and then perform recognition based on the separated graphic codes.
  • each of the separated graphic codes can be cached in the electronic device and named.
  • the picture collected by the electronic device includes three QR codes.
  • the electronic device can separate the three QR codes from the picture, and can follow the ranks of the two-dimensional codes in the picture in order. Named 1_1, 1_2, and 1_3, where 1_2 represents the first row and second column.
  • Step 102 Recognize the separated M graphic codes respectively.
  • each of the M graphic codes is identified in turn.
  • the electronic device can identify the cached graphic codes one by one, obtain the information in each graphic code and write it into a file for cache.
  • the content of the file may include the information of the application program and the information carried by the graphic code.
  • the file content can be application information
  • the prefix of the file name can be the same as the separated file name
  • the suffix can end with a predetermined name.
  • the files formed by identifying the three QR codes can be named 1_1_info, 1_2_info, and 1_3_info in turn, as shown in Figure 3, where the file corresponding to 1_1_info corresponds to the graphic corresponding to 1_1
  • the codes form a mapping relationship.
  • Step 103 Perform an operation corresponding to the target graphic code among the M graphic codes.
  • N is an integer greater than 1
  • M is a positive integer
  • M ⁇ N is an integer greater than 1
  • the target graphic code can be any one or more graphic codes among the M graphic codes, and can also be a graphic code selected according to a user operation.
  • the above-mentioned information processing method can be applied to electronic devices, such as mobile phones, tablet computers (Tablet Personal Computer), laptop computers (Laptop Computer), personal digital assistants (personal digital assistant, PDA for short), and mobile devices.
  • electronic devices such as mobile phones, tablet computers (Tablet Personal Computer), laptop computers (Laptop Computer), personal digital assistants (personal digital assistant, PDA for short), and mobile devices.
  • Internet Device Mobile Internet Device, MID
  • Wearable Device Wearable Device
  • the M pattern codes of the N pattern codes are respectively separated; the separated M pattern codes are respectively identified ; Perform operations corresponding to the target graphic codes in the M graphic codes; where N is an integer greater than 1, M is a positive integer, and M ⁇ N.
  • N is an integer greater than 1
  • M is a positive integer
  • M ⁇ N the electronic device can recognize the target graphic code when there are multiple graphic codes, which can prevent misrecognition.
  • the main difference between this embodiment and the foregoing embodiment is that, in response to the user's input, an operation corresponding to the target graphic code is performed.
  • Fig. 4 is a flowchart of an information processing method provided by an embodiment of the present invention. As shown in Fig. 4, it includes the following steps:
  • Step 401 In the case where N graphic codes are included in the identification area, separate the M graphic codes of the N graphic codes respectively.
  • the separately separating the M graphic codes of the N graphic codes includes:
  • the electronic device first collects a picture including N graphic codes, and performs the corresponding operation after separating the M graphic codes one by one based on the picture; it can also be performed after the M graphic codes are all separated, and then For the user to choose, so that the user can select a specific graphical code operation item.
  • the position of each graphic code in the picture can be obtained, and the range of the graphic code can be determined based on the location and the characteristics of the graphic code, so that the graphic code can be separated from the picture.
  • the graphic codes can be separated from the pictures one by one, without the need for the user to manually operate to avoid it, which can reduce the user's operation and improve the recognition efficiency.
  • Step 402 Recognize the separated M graphic codes respectively.
  • step 401 and step 402 For the explanation of the foregoing step 401 and step 402, reference may be made to the description in the foregoing embodiment.
  • Step 403 Display M operation items corresponding to the M graphic codes one-to-one.
  • the application program corresponding to each graphic code and the information contained can be obtained, and M operation items corresponding to the M graphic codes can be displayed on the interface, and each operation item corresponds to a graphic code.
  • the operation items of application A, application B, and application C are displayed on the interface, and each option corresponds to a graphic code, so that the user can select the required operation item of the application.
  • other content can be displayed on the interface according to the content of the graphic code, for example, account A, account B, and account C, so that the user can select a specific account to add as a friend.
  • the display position of the operation item can be determined according to the cached file name, so that the position of the graphic code corresponds to the position of the operation item.
  • the displaying M operation items corresponding to the M graphic codes one-to-one includes:
  • each of the operation items includes application information obtained based on the recognition result.
  • M recognition results can be obtained respectively, and the information of the application program in the recognition results can be displayed in the operation item.
  • the operation items of application A, application B, and application C are respectively displayed, so that the user can select the required operation items of the application.
  • the operation efficiency can be improved.
  • Step 404 Receive a first input for a target operation item among the M operation items, where the target operation item corresponds to the target graphic code.
  • the correspondence between the target operation item and the target graphic code can be understood as that the content of the target operation item is associated with the content of the target graphic code, or the position of the target operation item corresponds to the position of the target graphic code.
  • the above-mentioned first input may be an operation on the target operation item, such as a tap operation or a sliding operation, etc., or may also be a voice input.
  • Step 405 In response to the first input, perform an operation corresponding to the target graphic code.
  • N is an integer greater than 1
  • M is a positive integer
  • M ⁇ N is an integer greater than 1
  • the electronic device determines the target graphic code and performs an operation corresponding to the target graphic code, for example, displaying a payment interface or displaying a friend adding interface and so on.
  • the performing an operation corresponding to the target graphic code includes:
  • the first application program may be the application program where the target graphic code is located, and when the first application program has been installed, the current interface is jumped to the interface corresponding to the target graphic code.
  • a prompt message is output so that the user can perform operations according to the prompt information to install the second application on the electronic device. In this way, the operation efficiency can be improved.
  • the electronic device turns on the camera to start the code scanning function, and detects whether the collected image contains multiple QR codes. If only one QR code is included, the interface jumps to the interface content corresponding to the QR code. If multiple QR codes are included, the QR codes are divided according to the location of each QR code, and the content of each QR code is identified in the background. According to the content of the identified two-dimensional code, the options of the two-dimensional code information are displayed on the display interface for the user to choose. According to the option selected by the user, the content of the two-dimensional code corresponding to the option is determined, and the interface corresponding to the two-dimensional code is jumped to and the corresponding operation is performed. In this way, the current shortcoming that the scan code can only identify one two-dimensional code is solved, and the situation that the interface is displayed incorrectly due to the wrong scan is avoided.
  • the target graphic code is determined according to the user's input, and operations corresponding to the target graphic code are performed, which can improve operation efficiency and increase the flexibility of graphic code recognition.
  • FIG. 6 is a structural diagram of an electronic device provided by an embodiment of the present invention. As shown in FIG. 6, the electronic device 600 includes:
  • the separation module 601 is configured to separate the M graphic codes of the N graphic codes respectively when N graphic codes are included in the identification area;
  • the identification module 602 is configured to respectively identify the M graphic codes after separation
  • the execution module 603 is configured to execute an operation corresponding to the target graphic code among the M graphic codes
  • N is an integer greater than 1
  • M is a positive integer
  • M ⁇ N is an integer greater than 1
  • the electronic device further includes:
  • the display module 604 is configured to display M operation items corresponding to the M graphic codes one-to-one;
  • a receiving module 605 configured to receive a first input to a target operation item in the M operation items, the target operation item corresponding to the target graphic code;
  • the execution module is specifically used for:
  • the display module is specifically used for:
  • each of the operation items includes application information obtained based on the recognition result.
  • the execution module is specifically used for:
  • the separation module includes:
  • An identification sub-module for identifying the position of each of the M graphical codes in the picture among the N graphical codes
  • the ion separation module is used to separate the M graphic codes from the picture according to the position.
  • the electronic device 600 can implement various processes implemented by the electronic device in the foregoing method embodiments, and to avoid repetition, details are not described herein again.
  • the electronic device 600 of the embodiment of the present invention can recognize the target graphic code when there are multiple graphic codes, which can prevent misrecognition.
  • the electronic device 800 includes but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, and a display unit 806, a user input unit 807, an interface unit 808, a memory 809, a processor 810, a power supply 811 and other components.
  • a radio frequency unit 801 for example, a radio frequency unit 801
  • a network module 802 for example, a Wi-Fi Protected Access (WMA)
  • an audio output unit 803 an input unit 804
  • a sensor 805 a sensor 805
  • a display unit 806 a user input unit 807
  • an interface unit 808 a memory 809
  • a processor 810 a power supply 811 and other components.
  • the electronic device may include more or less components than those shown in the figure, or a combination of certain components, or different components. Layout.
  • electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle
  • the processor 810 is configured to separate the M pattern codes of the N pattern codes respectively when the identification area includes N pattern codes; respectively identify the M pattern codes after the separation; Perform operations corresponding to the target graphic codes in the M graphic codes; wherein, N is an integer greater than 1, M is a positive integer, and M ⁇ N. In this way, the electronic device can recognize the target graphic code when there are multiple graphic codes, which can prevent misrecognition.
  • processor 810 is also used to:
  • the processor 810 executes the display of the M operation items corresponding to the M graphic codes one-to-one, including:
  • each of the operation items includes application information obtained based on the recognition result.
  • the processor 810 executing the operation corresponding to the target graphic code includes:
  • the processor 810 executes to separate the M graphic codes of the N graphic codes, including:
  • the M graphic codes are separated from the picture respectively.
  • the radio frequency unit 801 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 810; in addition, Uplink data is sent to the base station.
  • the radio frequency unit 801 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 801 can also communicate with the network and other devices through a wireless communication system.
  • Electronic devices provide users with wireless broadband Internet access through the network module 802, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 803 can convert the audio data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into audio signals and output them as sounds. Moreover, the audio output unit 803 may also provide audio output related to a specific function performed by the electronic device 800 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 804 is used to receive audio or video signals.
  • the input unit 804 may include a graphics processing unit (GPU) 8041 and a microphone 8042.
  • the graphics processor 8041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed.
  • the processed image frame may be displayed on the display unit 806.
  • the image frame processed by the graphics processor 8041 may be stored in the memory 809 (or other storage medium) or sent via the radio frequency unit 801 or the network module 802.
  • the microphone 8042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to the mobile communication base station via the radio frequency unit 801 for output in the case of a telephone call mode.
  • the electronic device 800 further includes at least one sensor 805, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 8061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 8061 and the display panel 8061 when the electronic device 800 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 805 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 806 is used to display information input by the user or information provided to the user.
  • the display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 807 can be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device.
  • the user input unit 807 includes a touch panel 8071 and other input devices 8072.
  • the touch panel 8071 also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 8071 or near the touch panel 8071. operating).
  • the touch panel 8071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 810, the command sent by the processor 810 is received and executed.
  • the touch panel 8071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 807 may also include other input devices 8072.
  • other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 8071 can cover the display panel 8061.
  • the touch panel 8071 detects a touch operation on or near it, it transmits it to the processor 810 to determine the type of the touch event, and then the processor 810 determines the type of the touch event according to the touch.
  • the type of event provides corresponding visual output on the display panel 8061.
  • the touch panel 8071 and the display panel 8061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 8071 and the display panel 8061 can be integrated
  • the implementation of the input and output functions of the electronic device is not specifically limited here.
  • the interface unit 808 is an interface for connecting an external device and the electronic device 800.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 808 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 800 or can be used to connect the electronic device 800 to an external device. Transfer data between devices.
  • the memory 809 can be used to store software programs and various data.
  • the memory 809 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
  • the memory 809 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 810 is the control center of the electronic device. It uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes the software programs and/or modules stored in the memory 809, and calls the data stored in the memory 809. , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole.
  • the processor 810 may include one or more processing units; preferably, the processor 810 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface and application programs, etc., the modem
  • the processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 810.
  • the electronic device 800 may also include a power source 811 (such as a battery) for supplying power to various components.
  • a power source 811 such as a battery
  • the power source 811 may be logically connected to the processor 810 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. And other functions.
  • the electronic device 800 includes some functional modules not shown, which will not be repeated here.
  • the embodiment of the present invention also provides an electronic device, including a processor 810, a memory 809, and a computer program stored on the memory 809 and capable of running on the processor 810.
  • an electronic device including a processor 810, a memory 809, and a computer program stored on the memory 809 and capable of running on the processor 810.
  • the computer program is executed by the processor 810,
  • Each process in the foregoing information processing method embodiment is implemented, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.
  • the embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium.
  • the computer program is executed by a processor, each process of the above-mentioned information processing method embodiment is realized, and the same technology can be achieved. The effect, to avoid repetition, will not be repeated here.
  • the computer-readable storage medium such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk, or optical disk, etc.
  • the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes a number of instructions to enable an electronic device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the method described in each embodiment of the present invention.

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Electromagnetism (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

An information processing method and an electronic device. The method comprises: when an identification area comprises N graphic codes, separating M graphic codes in the N graphic codes respectively (101); identifying the M separated graphic codes respectively (102); and performing an operation corresponding to a target graphic code in the M graphic codes (103); wherein, N is an integer greater than 1, M is a positive integer, and M≤N. By means of the method, when there are a plurality of graphic codes, the electronic device can identify the target graphic code to prevent false identification.

Description

信息处理方法及电子设备Information processing method and electronic equipment
相关申请的交叉引用Cross-references to related applications
本申请主张在2019年11月26日在中国提交的中国专利申请号No.201911172239.6的优先权,其全部内容通过引用包含于此。This application claims the priority of Chinese Patent Application No. 201911172239.6 filed in China on November 26, 2019, the entire content of which is incorporated herein by reference.
技术领域Technical field
本发明涉及通信技术领域,尤其涉及一种信息处理方法及电子设备。The present invention relates to the field of communication technology, in particular to an information processing method and electronic equipment.
背景技术Background technique
目前,利用二维码、条形码等图形码获取信息的方式已经广泛应用于多种场景中,例如,扫码支付、添加好友等。电子设备通过启动相应的应用程序扫描图形码即可以获取图形码中的信息。然而,由于当前电子设备仅能对单个图形码进行识别,当存在距离较近的多个图形码时,电子设备难以避开其他的图形码而仅采集目标图形码,因此,常常会导致对图形码的误识别。At present, the method of obtaining information by using graphic codes such as two-dimensional codes and barcodes has been widely used in a variety of scenarios, for example, scanning code payment, adding friends, and so on. The electronic device can obtain the information in the graphic code by scanning the graphic code by starting the corresponding application program. However, because current electronic devices can only recognize a single graphic code, when there are multiple graphic codes that are close together, it is difficult for the electronic device to avoid other graphic codes and only collect the target graphic code. Therefore, it often results in Misrecognition of the code.
发明内容Summary of the invention
本发明实施例提供一种信息处理方法及电子设备,以解决在存在多个图形码时,电子设备对图形码误识别的问题。The embodiments of the present invention provide an information processing method and an electronic device to solve the problem of the electronic device misrecognizing the graphic code when there are multiple graphic codes.
为了解决上述技术问题,本发明是这样实现的:In order to solve the above technical problems, the present invention is implemented as follows:
第一方面,本发明实施例提供了一种信息处理方法,包括:In the first aspect, an embodiment of the present invention provides an information processing method, including:
在识别区域中包括N个图形码的情况下,将所述N个图形码中的M个图形码分别进行分离;In the case where N graphic codes are included in the identification area, separate the M graphic codes of the N graphic codes respectively;
分别识别分离后的所述M个图形码;Respectively identifying the M graphic codes after separation;
执行与所述M个图形码中的目标图形码对应的操作;Performing an operation corresponding to the target graphic code in the M graphic codes;
其中,N为大于1的整数,M为正整数,且M≤N。Wherein, N is an integer greater than 1, M is a positive integer, and M≤N.
第二方面,本发明实施例还提供一种电子设备,包括:In the second aspect, an embodiment of the present invention also provides an electronic device, including:
分离模块,用于在识别区域中包括N个图形码的情况下,将所述N个图形码中的M个图形码分别进行分离;A separation module, which is used to separate the M graphic codes of the N graphic codes respectively when N graphic codes are included in the identification area;
识别模块,用于分别识别分离后的所述M个图形码;An identification module, which is used to identify the separated M graphic codes respectively;
执行模块,用于执行与所述M个图形码中的目标图形码对应的操作;The execution module is used to execute the operation corresponding to the target graphic code among the M graphic codes;
其中,N为大于1的整数,M为正整数,且M≤N。Wherein, N is an integer greater than 1, M is a positive integer, and M≤N.
第三方面,本发明实施例还提供一种电子设备,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如上所述的信息处理方法中的步骤。In a third aspect, an embodiment of the present invention also provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and capable of running on the processor. The processor executes the computer program as described above. The steps in the information processing method described.
第四方面,本发明实施例还提供一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如上所述的信息处理方法中的步骤。In a fourth aspect, an embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps in the information processing method described above are implemented. .
本发明实施例中,在识别区域中包括N个图形码的情况下,将所述N个图形码中的M个图形码分别进行分离;分别识别分离后的所述M个图形码;执行与所述M个图形码中的目标图形码对应的操作;其中,N为大于1的整数,M为正整数,且M≤N。这样,电子设备能够在存在多个图形码的情况下,对目标图形码进行识别,能够防止误识别。In the embodiment of the present invention, when N pattern codes are included in the recognition area, the M pattern codes of the N pattern codes are respectively separated; the separated M pattern codes are respectively identified; The operations corresponding to the target graphic codes in the M graphic codes; wherein, N is an integer greater than 1, M is a positive integer, and M≤N. In this way, the electronic device can recognize the target graphic code when there are multiple graphic codes, which can prevent misrecognition.
附图说明Description of the drawings
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of the present invention more clearly, the following will briefly introduce the accompanying drawings used in the description of the embodiments of the present invention. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained from these drawings without creative labor.
图1是本发明实施例提供的信息处理方法的流程图之一;FIG. 1 is one of the flowcharts of an information processing method provided by an embodiment of the present invention;
图2是本发明实施例提供的电子设备的界面示意图之一;2 is one of the schematic diagrams of the interface of the electronic device provided by the embodiment of the present invention;
图3是本发明实施例提供的电子设备的界面示意图之二;FIG. 3 is a second schematic diagram of an interface of an electronic device provided by an embodiment of the present invention;
图4是本发明实施例提供的信息处理方法的流程图之二;4 is the second flowchart of the information processing method provided by the embodiment of the present invention;
图5是本发明实施例提供的电子设备的界面示意图之三;FIG. 5 is a third schematic diagram of an interface of an electronic device provided by an embodiment of the present invention;
图6是本发明实施例提供的电子设备的结构图之一;Figure 6 is one of the structural diagrams of an electronic device provided by an embodiment of the present invention;
图7是本发明实施例提供的电子设备的结构图之二;FIG. 7 is a second structural diagram of an electronic device provided by an embodiment of the present invention;
图8是本发明实施例提供的电子设备的结构图之三。FIG. 8 is the third structural diagram of the electronic device provided by the embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
参见图1,图1是本发明实施例提供的信息处理方法的流程图,如图1所示,包括以下步骤:Referring to Fig. 1, Fig. 1 is a flowchart of an information processing method provided by an embodiment of the present invention. As shown in Fig. 1, it includes the following steps:
步骤101、在识别区域中包括N个图形码的情况下,将所述N个图形码中的M个图形码分别进行分离。Step 101: If N graphic codes are included in the identification area, separate the M graphic codes of the N graphic codes.
其中,N个图形码可以是电子设备在实时采集图像时,图像中所包含的图形码,例如,启动摄像头的扫码功能,扫码区域中包括多个二维码。在这种情况下,上述识别区域可以是与采集区域相同的区域。上述图形码也可以是电子设备中存储的图片或者是接收其他电子设备发送的图片中所包含的图形码,在这种情况下,识别区域可以是该图片对应的区域。上述图形码可以是二维码、条形码等。Wherein, the N graphic codes may be graphic codes contained in the image when the electronic device collects the image in real time. For example, when the code scanning function of the camera is activated, the code scanning area includes multiple two-dimensional codes. In this case, the aforementioned recognition area may be the same area as the acquisition area. The foregoing graphic code may also be a picture stored in an electronic device or a graphic code contained in a picture sent by another electronic device. In this case, the identification area may be an area corresponding to the picture. The above-mentioned graphic code may be a two-dimensional code, a barcode, and the like.
上述M个图形码中的每个图形码可以是能够单独识别的图形码。在识别区域中仅包含一个图形码的情况下,则采集该识别区域的图片,界面跳转至相应的内容,完成识别过程。在识别区域中包括至少两个图形码的情况下,则可以将图形码先进行分离再识别。例如,依次采集仅包含单个图形码的图片存储在后台,并基于采集的图片依次进行识别。或者,先采集包含识别区域中所有图形码的图片,然后基于该图片将每个图形码分别进行分离存储至后台,再基于分离后的图形码分别进行识别。Each of the above-mentioned M graphic codes may be a graphic code that can be individually identified. In the case that the recognition area contains only one graphic code, the picture of the recognition area is collected, the interface jumps to the corresponding content, and the recognition process is completed. In the case where at least two graphic codes are included in the recognition area, the graphic codes can be separated and then recognized. For example, pictures that contain only a single graphic code are sequentially collected and stored in the background, and are sequentially identified based on the collected pictures. Or, first collect a picture containing all the graphic codes in the recognition area, and then separately store each graphic code in the background based on the picture, and then perform recognition based on the separated graphic codes.
在将M个图形码分离获得包括单个图形码的图片后,可以将分离后的每个图形码缓存在电子设备中,并进行命名。例如,如图2所示,电子设备采集的图片中包括三个二维码,电子设备可以将三个二维码分别从图片中分离出来,并可以按照二维码在图片中的行列位置依次命名为1_1、1_2和1_3,其中,1_2表示第一行第二列。After the M graphic codes are separated to obtain a picture including a single graphic code, each of the separated graphic codes can be cached in the electronic device and named. For example, as shown in Figure 2, the picture collected by the electronic device includes three QR codes. The electronic device can separate the three QR codes from the picture, and can follow the ranks of the two-dimensional codes in the picture in order. Named 1_1, 1_2, and 1_3, where 1_2 represents the first row and second column.
步骤102、分别识别分离后的所述M个图形码。Step 102: Recognize the separated M graphic codes respectively.
在此步骤中,依次对M个图形码中的每个图形码进行识别。In this step, each of the M graphic codes is identified in turn.
具体地,电子设备可以逐一识别缓存的图形码,获取每个图形码中的信息写成文件进行缓存。其中,文件的内容可以包括应用程序的信息,以及图形码所携带的信息等。文件内容可以是应用程序信息,文件名称的前缀可以和分离后的文件名相同,后缀可以以预定的名称结尾。以图2中的三个二维码为例,对三个二维码识别形成的文件依次可以命名为1_1_info、1_2_info和1_3_info,如图3所示,其中,1_1_info对应的文件与1_1对应的图形码形成映射关系。Specifically, the electronic device can identify the cached graphic codes one by one, obtain the information in each graphic code and write it into a file for cache. Among them, the content of the file may include the information of the application program and the information carried by the graphic code. The file content can be application information, the prefix of the file name can be the same as the separated file name, and the suffix can end with a predetermined name. Taking the three QR codes in Figure 2 as an example, the files formed by identifying the three QR codes can be named 1_1_info, 1_2_info, and 1_3_info in turn, as shown in Figure 3, where the file corresponding to 1_1_info corresponds to the graphic corresponding to 1_1 The codes form a mapping relationship.
步骤103、执行与所述M个图形码中的目标图形码对应的操作。Step 103: Perform an operation corresponding to the target graphic code among the M graphic codes.
其中,N为大于1的整数,M为正整数,且M≤N。Wherein, N is an integer greater than 1, M is a positive integer, and M≤N.
其中,目标图形码可以是M个图形码中的任一个或多个图形码,还可以是根据用户操作所选择的图形码。Wherein, the target graphic code can be any one or more graphic codes among the M graphic codes, and can also be a graphic code selected according to a user operation.
本发明实施例中,上述信息处理方法可以应用于电子设备,例如:手机、平板电脑(Tablet Personal Computer)、膝上型电脑(Laptop Computer)、个人数字助理(personal digital assistant,简称PDA)、移动上网装置(Mobile Internet Device,MID)或可穿戴式设备(Wearable Device)等。In the embodiment of the present invention, the above-mentioned information processing method can be applied to electronic devices, such as mobile phones, tablet computers (Tablet Personal Computer), laptop computers (Laptop Computer), personal digital assistants (personal digital assistant, PDA for short), and mobile devices. Internet Device (Mobile Internet Device, MID) or Wearable Device (Wearable Device), etc.
本发明实施例的信息处理方法,在识别区域中包括N个图形码的情况下,将所述N个图形码中的M个图形码分别进行分离;分别识别分离后的所述M个图形码;执行与所述M个图形码中的目标图形码对应的操作;其中,N为大于1的整数,M为正整数,且M≤N。这样,电子设备能够在存在多个图形码的情况下,对目标图形码进行识别,能够防止误识别。In the information processing method of the embodiment of the present invention, when N pattern codes are included in the identification area, the M pattern codes of the N pattern codes are respectively separated; the separated M pattern codes are respectively identified ; Perform operations corresponding to the target graphic codes in the M graphic codes; where N is an integer greater than 1, M is a positive integer, and M≤N. In this way, the electronic device can recognize the target graphic code when there are multiple graphic codes, which can prevent misrecognition.
参见图4,本实施例与上述实施例的主要区别在于,响应用户的输入,执行与目标图形码对应的操作。Referring to FIG. 4, the main difference between this embodiment and the foregoing embodiment is that, in response to the user's input, an operation corresponding to the target graphic code is performed.
图4是本发明实施例提供的信息处理方法的流程图,如图4所示,包括以下步骤:Fig. 4 is a flowchart of an information processing method provided by an embodiment of the present invention. As shown in Fig. 4, it includes the following steps:
步骤401、在识别区域中包括N个图形码的情况下,将所述N个图形码中的M个图形码分别进行分离。Step 401: In the case where N graphic codes are included in the identification area, separate the M graphic codes of the N graphic codes respectively.
可选的,所述将所述N个图形码中的M个图形码分别进行分离,包括:Optionally, the separately separating the M graphic codes of the N graphic codes includes:
采集包括所述N个图形码的图片;Collecting pictures including the N graphic codes;
在所述N个图形码中,识别M个图形码中的每个图形码在所述图片中的 位置;In the N graphic codes, identifying the position of each graphic code in the M graphic codes in the picture;
根据所述位置,将所述M个图形码分别从所述图片中分离。Separate the M graphic codes from the pictures according to the positions.
在该实施方式中,电子设备先采集包括N个图形码的图片,并基于该图片将M个图形码逐一分离后即执行对应的操作;还可以是在M个图形码均被分离后,再供用户选择,以使用户选择特定的图形码操作项。In this embodiment, the electronic device first collects a picture including N graphic codes, and performs the corresponding operation after separating the M graphic codes one by one based on the picture; it can also be performed after the M graphic codes are all separated, and then For the user to choose, so that the user can select a specific graphical code operation item.
具体地,可以获取每个图形码在图片中的位置,基于位置和图形码的特征可以确定图形码的范围,从而可以将图形码从图片中分离。Specifically, the position of each graphic code in the picture can be obtained, and the range of the graphic code can be determined based on the location and the characteristics of the graphic code, so that the graphic code can be separated from the picture.
通过上述方式可以将图形码逐一从图片中分离,而不需要用户手动操作避开,能够减少用户的操作,提高识别效率。Through the above method, the graphic codes can be separated from the pictures one by one, without the need for the user to manually operate to avoid it, which can reduce the user's operation and improve the recognition efficiency.
步骤402、分别识别分离后的所述M个图形码。Step 402: Recognize the separated M graphic codes respectively.
上述步骤401和步骤402的解释可以参见上述实施例中的描述。For the explanation of the foregoing step 401 and step 402, reference may be made to the description in the foregoing embodiment.
步骤403、显示与所述M个图形码一一对应的M个操作项。Step 403: Display M operation items corresponding to the M graphic codes one-to-one.
在识别M个图形码后,可以获得每个图形码对应的应用程序、所包含的信息,并可以在界面显示与M个图形码对应的M个操作项,每个操作项对应一个图形码。例如,如图5所示,在界面上显示应用A、应用B和应用C的操作项,每个选项对应一个图形码,以使用户选择所需要的应用程序的操作项。另外,还可以根据图形码的内容,在界面显示其他的内容,例如,账户A、账户B和账户C,以使用户选择特定的账户添加为好友。After identifying the M graphic codes, the application program corresponding to each graphic code and the information contained can be obtained, and M operation items corresponding to the M graphic codes can be displayed on the interface, and each operation item corresponds to a graphic code. For example, as shown in FIG. 5, the operation items of application A, application B, and application C are displayed on the interface, and each option corresponds to a graphic code, so that the user can select the required operation item of the application. In addition, other content can be displayed on the interface according to the content of the graphic code, for example, account A, account B, and account C, so that the user can select a specific account to add as a friend.
进一步地,可以根据缓存的文件名确定操作项显示的位置,使图形码的位置和操作项的位置对应。Further, the display position of the operation item can be determined according to the cached file name, so that the position of the graphic code corresponds to the position of the operation item.
可选的,所述显示与所述M个图形码一一对应的M个操作项,包括:Optionally, the displaying M operation items corresponding to the M graphic codes one-to-one includes:
根据对所述M个图形码的识别结果,显示与所述M个图形码一一对应的M个操作项;According to the recognition result of the M graphic codes, display M operation items corresponding to the M graphic codes one-to-one;
其中,每个所述操作项中包括基于所述识别结果得到的应用程序的信息。Wherein, each of the operation items includes application information obtained based on the recognition result.
在该实施方式中,在分别识别M个图形码后,可以分别获得M个识别结果,并可以在操作项中显示识别结果中的应用程序的信息。In this embodiment, after the M graphic codes are respectively recognized, M recognition results can be obtained respectively, and the information of the application program in the recognition results can be displayed in the operation item.
例如,如图5所示,分别显示应用A、应用B和应用C的操作项,以使用户选择所需要的应用程序的操作项。这样,便于用户选择所需要的图形码对应的操作项,能够提高操作效率。For example, as shown in FIG. 5, the operation items of application A, application B, and application C are respectively displayed, so that the user can select the required operation items of the application. In this way, it is convenient for the user to select the operation item corresponding to the required graphic code, and the operation efficiency can be improved.
步骤404、接收对所述M个操作项中的目标操作项的第一输入,所述目标操作项与所述目标图形码对应。Step 404: Receive a first input for a target operation item among the M operation items, where the target operation item corresponds to the target graphic code.
目标操作项与目标图形码对应可以理解为,目标操作项的内容与目标图形码的内容相关联,也可以是目标操作项的位置和目标图形码的位置相对应。The correspondence between the target operation item and the target graphic code can be understood as that the content of the target operation item is associated with the content of the target graphic code, or the position of the target operation item corresponds to the position of the target graphic code.
上述第一输入可以是对目标操作项的操作,例如点击操作或者滑动操作等,还可以是语音输入等。The above-mentioned first input may be an operation on the target operation item, such as a tap operation or a sliding operation, etc., or may also be a voice input.
步骤405、响应于所述第一输入,执行与所述目标图形码对应的操作。Step 405: In response to the first input, perform an operation corresponding to the target graphic code.
其中,N为大于1的整数,M为正整数,且M≤N。Wherein, N is an integer greater than 1, M is a positive integer, and M≤N.
在用户对目标操作项进行第一输入的情况下,电子设备确定目标图形码,并执行与目标图形码对应的操作,例如,显示支付界面或者显示好友添加界面等等。In the case where the user performs the first input to the target operation item, the electronic device determines the target graphic code and performs an operation corresponding to the target graphic code, for example, displaying a payment interface or displaying a friend adding interface and so on.
可选的,所述执行与所述目标图形码对应的操作,包括:Optionally, the performing an operation corresponding to the target graphic code includes:
在已安装与所述目标图形码关联的第一应用程序的情况下,显示所述目标图形码对应的界面;In the case where the first application program associated with the target graphic code has been installed, displaying the interface corresponding to the target graphic code;
在未安装与所述目标图形码关联的第二应用程序的情况下,输出未安装所述第二应用程序的提示信息。In the case that the second application program associated with the target graphic code is not installed, a prompt message indicating that the second application program is not installed is output.
在该实施方式中,第一应用程序可以是目标图形码所在的应用程序,在已安装第一应用程序的情况下,将当前界面跳转至目标图形码对应的界面。In this embodiment, the first application program may be the application program where the target graphic code is located, and when the first application program has been installed, the current interface is jumped to the interface corresponding to the target graphic code.
在未安装第二应用程序的情况下,则输出提示信息,以使用户根据提示信息进行操作,在电子设备安装第二应用程序。这样,能够提高操作效率。In the case that the second application is not installed, a prompt message is output so that the user can perform operations according to the prompt information to install the second application on the electronic device. In this way, the operation efficiency can be improved.
为了便于理解本实施例,以下结合具体实施方式进行举例。In order to facilitate the understanding of this embodiment, examples are given below in combination with specific implementations.
电子设备开启摄像头启动扫码功能,并检测采集到的图像中是否包含多个二维码。若仅包括一个二维码,则界面跳转至该二维码对应的界面内容。若包含多个二维码,则根据每个二维码的位置将二维码分割,并在后台识别每个二维码的内容。根据识别的二维码的内容,在显示界面中显示二维码信息的选项,以供用户选择。根据用户所选择的选项,确定与该选项对应的二维码内容,并跳转至该二维码对应的界面,执行相应操作。这样,解决了目前扫码只能识别一个二维码的弊端,且避免了误扫而导致界面误显示的情况。The electronic device turns on the camera to start the code scanning function, and detects whether the collected image contains multiple QR codes. If only one QR code is included, the interface jumps to the interface content corresponding to the QR code. If multiple QR codes are included, the QR codes are divided according to the location of each QR code, and the content of each QR code is identified in the background. According to the content of the identified two-dimensional code, the options of the two-dimensional code information are displayed on the display interface for the user to choose. According to the option selected by the user, the content of the two-dimensional code corresponding to the option is determined, and the interface corresponding to the two-dimensional code is jumped to and the corresponding operation is performed. In this way, the current shortcoming that the scan code can only identify one two-dimensional code is solved, and the situation that the interface is displayed incorrectly due to the wrong scan is avoided.
本发明实施例的信息处理方法,根据用户的输入确定目标图形码,并执 行与目标图形码对应的操作,能够提高操作效率,且能够提高图形码识别的灵活性。According to the information processing method of the embodiment of the present invention, the target graphic code is determined according to the user's input, and operations corresponding to the target graphic code are performed, which can improve operation efficiency and increase the flexibility of graphic code recognition.
参见图6,图6是本发明实施例提供的电子设备的结构图,如图6所示,电子设备600包括:Referring to FIG. 6, FIG. 6 is a structural diagram of an electronic device provided by an embodiment of the present invention. As shown in FIG. 6, the electronic device 600 includes:
分离模块601,用于在识别区域中包括N个图形码的情况下,将所述N个图形码中的M个图形码分别进行分离;The separation module 601 is configured to separate the M graphic codes of the N graphic codes respectively when N graphic codes are included in the identification area;
识别模块602,用于分别识别分离后的所述M个图形码;The identification module 602 is configured to respectively identify the M graphic codes after separation;
执行模块603,用于执行与所述M个图形码中的目标图形码对应的操作;The execution module 603 is configured to execute an operation corresponding to the target graphic code among the M graphic codes;
其中,N为大于1的整数,M为正整数,且M≤N。Wherein, N is an integer greater than 1, M is a positive integer, and M≤N.
可选的,如图7所示,所述电子设备还包括:Optionally, as shown in FIG. 7, the electronic device further includes:
显示模块604,用于显示与所述M个图形码一一对应的M个操作项;The display module 604 is configured to display M operation items corresponding to the M graphic codes one-to-one;
接收模块605,用于接收对所述M个操作项中的目标操作项的第一输入,所述目标操作项与所述目标图形码对应;A receiving module 605, configured to receive a first input to a target operation item in the M operation items, the target operation item corresponding to the target graphic code;
所述执行模块具体用于:The execution module is specifically used for:
响应于所述第一输入,执行与所述目标图形码对应的操作。In response to the first input, an operation corresponding to the target graphic code is performed.
可选的,所述显示模块具体用于:Optionally, the display module is specifically used for:
根据对所述M个图形码的识别结果,显示与所述M个图形码一一对应的M个操作项;According to the recognition result of the M graphic codes, display M operation items corresponding to the M graphic codes one-to-one;
其中,每个所述操作项中包括基于所述识别结果得到的应用程序的信息。Wherein, each of the operation items includes application information obtained based on the recognition result.
可选的,所述执行模块具体用于:Optionally, the execution module is specifically used for:
在已安装与所述目标图形码关联的第一应用程序的情况下,显示所述目标图形码对应的界面;In the case where the first application program associated with the target graphic code has been installed, displaying the interface corresponding to the target graphic code;
在未安装与所述目标图形码关联的第二应用程序的情况下,输出未安装所述第二应用程序的提示信息。In the case that the second application program associated with the target graphic code is not installed, a prompt message indicating that the second application program is not installed is output.
可选的,所述分离模块包括:Optionally, the separation module includes:
采集子模块,用于采集包括所述N个图形码的图片;A collection sub-module for collecting pictures including the N graphic codes;
识别子模块,用于在所述N个图形码中,识别M个图形码中的每个图形码在所述图片中的位置;An identification sub-module for identifying the position of each of the M graphical codes in the picture among the N graphical codes;
分离子模块,用于根据所述位置,将所述M个图形码分别从所述图片中 分离。The ion separation module is used to separate the M graphic codes from the picture according to the position.
电子设备600能够实现上述方法实施例中电子设备实现的各个过程,为避免重复,这里不再赘述。The electronic device 600 can implement various processes implemented by the electronic device in the foregoing method embodiments, and to avoid repetition, details are not described herein again.
本发明实施例的电子设备600,电子设备能够在存在多个图形码的情况下,对目标图形码进行识别,能够防止误识别。In the electronic device 600 of the embodiment of the present invention, the electronic device can recognize the target graphic code when there are multiple graphic codes, which can prevent misrecognition.
图8为实现本发明各个实施例的一种电子设备的硬件结构示意图,该电子设备800包括但不限于:射频单元801、网络模块802、音频输出单元803、输入单元804、传感器805、显示单元806、用户输入单元807、接口单元808、存储器809、处理器810、以及电源811等部件。本领域技术人员可以理解,图8中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载移动终端、可穿戴设备、以及计步器等。8 is a schematic diagram of the hardware structure of an electronic device implementing various embodiments of the present invention. The electronic device 800 includes but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, and a display unit 806, a user input unit 807, an interface unit 808, a memory 809, a processor 810, a power supply 811 and other components. Those skilled in the art can understand that the structure of the electronic device shown in FIG. 8 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 a combination of certain components, or different components. Layout. In the embodiment of the present invention, electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted mobile terminals, wearable devices, and pedometers.
其中,处理器810,用于在识别区域中包括N个图形码的情况下,将所述N个图形码中的M个图形码分别进行分离;分别识别分离后的所述M个图形码;执行与所述M个图形码中的目标图形码对应的操作;其中,N为大于1的整数,M为正整数,且M≤N。这样,电子设备能够在存在多个图形码的情况下,对目标图形码进行识别,能够防止误识别。Wherein, the processor 810 is configured to separate the M pattern codes of the N pattern codes respectively when the identification area includes N pattern codes; respectively identify the M pattern codes after the separation; Perform operations corresponding to the target graphic codes in the M graphic codes; wherein, N is an integer greater than 1, M is a positive integer, and M≤N. In this way, the electronic device can recognize the target graphic code when there are multiple graphic codes, which can prevent misrecognition.
可选的,处理器810还用于:Optionally, the processor 810 is also used to:
显示与所述M个图形码一一对应的M个操作项;Displaying M operation items corresponding to the M graphic codes one-to-one;
接收对所述M个操作项中的目标操作项的第一输入,所述目标操作项与所述目标图形码对应;Receiving a first input to a target operation item in the M operation items, the target operation item corresponding to the target graphic code;
响应于所述第一输入,执行与所述目标图形码对应的操作。In response to the first input, an operation corresponding to the target graphic code is performed.
可选的,处理器810执行所述显示与所述M个图形码一一对应的M个操作项,包括:Optionally, the processor 810 executes the display of the M operation items corresponding to the M graphic codes one-to-one, including:
根据对所述M个图形码的识别结果,显示与所述M个图形码一一对应的M个操作项;According to the recognition result of the M graphic codes, display M operation items corresponding to the M graphic codes one-to-one;
其中,每个所述操作项中包括基于所述识别结果得到的应用程序的信息。Wherein, each of the operation items includes application information obtained based on the recognition result.
可选的,处理器810执行所述执行与所述目标图形码对应的操作,包括:Optionally, the processor 810 executing the operation corresponding to the target graphic code includes:
在已安装与所述目标图形码关联的第一应用程序的情况下,显示所述目标图形码对应的界面;In the case where the first application program associated with the target graphic code has been installed, displaying the interface corresponding to the target graphic code;
在未安装与所述目标图形码关联的第二应用程序的情况下,输出未安装所述第二应用程序的提示信息。In the case that the second application program associated with the target graphic code is not installed, a prompt message indicating that the second application program is not installed is output.
可选的,处理器810执行将所述N个图形码中的M个图形码分别进行分离,包括:Optionally, the processor 810 executes to separate the M graphic codes of the N graphic codes, including:
采集包括所述N个图形码的图片;Collecting pictures including the N graphic codes;
在所述N个图形码中,识别M个图形码中的每个图形码在所述图片中的位置;Among the N graphic codes, identifying the position of each graphic code in the M graphic codes in the picture;
根据所述位置,将所述M个图形码分别从所述图片中分离。According to the position, the M graphic codes are separated from the picture respectively.
应理解的是,本发明实施例中,射频单元801可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器810处理;另外,将上行的数据发送给基站。通常,射频单元801包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元801还可以通过无线通信***与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 801 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 810; in addition, Uplink data is sent to the base station. Generally, the radio frequency unit 801 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 801 can also communicate with the network and other devices through a wireless communication system.
电子设备通过网络模块802为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。Electronic devices provide users with wireless broadband Internet access through the network module 802, such as helping users to send and receive emails, browse web pages, and access streaming media.
音频输出单元803可以将射频单元801或网络模块802接收的或者在存储器809中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元803还可以提供与电子设备800执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元803包括扬声器、蜂鸣器以及受话器等。The audio output unit 803 can convert the audio data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into audio signals and output them as sounds. Moreover, the audio output unit 803 may also provide audio output related to a specific function performed by the electronic device 800 (for example, call signal reception sound, message reception sound, etc.). The audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.
输入单元804用于接收音频或视频信号。输入单元804可以包括图形处理器(Graphics Processing Unit,GPU)8041和麦克风8042,图形处理器8041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元806上。经图形处理器8041处理后的图像帧可以存储在存储器809(或其它存储介质)中或者经由射频单元801或网络模块802进行发送。麦克风8042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以 在电话通话模式的情况下转换为可经由射频单元801发送到移动通信基站的格式输出。The input unit 804 is used to receive audio or video signals. The input unit 804 may include a graphics processing unit (GPU) 8041 and a microphone 8042. The graphics processor 8041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed. The processed image frame may be displayed on the display unit 806. The image frame processed by the graphics processor 8041 may be stored in the memory 809 (or other storage medium) or sent via the radio frequency unit 801 or the network module 802. The microphone 8042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to the mobile communication base station via the radio frequency unit 801 for output in the case of a telephone call mode.
电子设备800还包括至少一种传感器805,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板8061的亮度,接近传感器可在电子设备800移动到耳边时,关闭显示面板8061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器805还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The electronic device 800 further includes at least one sensor 805, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 8061 according to the brightness of the ambient light. The proximity sensor can close the display panel 8061 and the display panel 8061 when the electronic device 800 is moved to the ear. / Or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 805 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
显示单元806用于显示由用户输入的信息或提供给用户的信息。显示单元806可包括显示面板8061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板8061。The display unit 806 is used to display information input by the user or information provided to the user. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
用户输入单元807可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元807包括触控面板8071以及其他输入设备8072。触控面板8071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板8071上或在触控面板8071附近的操作)。触控面板8071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器810,接收处理器810发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板8071。除了触控面板8071,用户输入单元807还可以包括其他输入设备8072。具体地,其他输入设备8072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 807 can be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071, also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 8071 or near the touch panel 8071. operating). The touch panel 8071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 810, the command sent by the processor 810 is received and executed. In addition, the touch panel 8071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 8071, the user input unit 807 may also include other input devices 8072. Specifically, other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
进一步的,触控面板8071可覆盖在显示面板8061上,当触控面板8071检测到在其上或附近的触摸操作后,传送给处理器810以确定触摸事件的类型,随后处理器810根据触摸事件的类型在显示面板8061上提供相应的视觉输出。虽然在图8中,触控面板8071与显示面板8061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板8071与显示面板8061集成而实现电子设备的输入和输出功能,具体此处不做限定。Further, the touch panel 8071 can cover the display panel 8061. When the touch panel 8071 detects a touch operation on or near it, it transmits it to the processor 810 to determine the type of the touch event, and then the processor 810 determines the type of the touch event according to the touch. The type of event provides corresponding visual output on the display panel 8061. Although in FIG. 8, the touch panel 8071 and the display panel 8061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 8071 and the display panel 8061 can be integrated The implementation of the input and output functions of the electronic device is not specifically limited here.
接口单元808为外部装置与电子设备800连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元808可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备800内的一个或多个元件或者可以用于在电子设备800和外部装置之间传输数据。The interface unit 808 is an interface for connecting an external device and the electronic device 800. For example, the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc. The interface unit 808 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 800 or can be used to connect the electronic device 800 to an external device. Transfer data between devices.
存储器809可用于存储软件程序以及各种数据。存储器809可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作***、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器809可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 809 can be used to store software programs and various data. The memory 809 may mainly include a program storage area and a data storage area. The program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc. In addition, the memory 809 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
处理器810是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器809内的软件程序和/或模块,以及调用存储在存储器809内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器810可包括一个或多个处理单元;优选的,处理器810可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作***、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器810中。The processor 810 is the control center of the electronic device. It uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes the software programs and/or modules stored in the memory 809, and calls the data stored in the memory 809. , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole. The processor 810 may include one or more processing units; preferably, the processor 810 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface and application programs, etc., the modem The processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 810.
电子设备800还可以包括给各个部件供电的电源811(比如电池),优选的,电源811可以通过电源管理***与处理器810逻辑相连,从而通过电源 管理***实现管理充电、放电、以及功耗管理等功能。The electronic device 800 may also include a power source 811 (such as a battery) for supplying power to various components. Preferably, the power source 811 may be logically connected to the processor 810 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. And other functions.
另外,电子设备800包括一些未示出的功能模块,在此不再赘述。In addition, the electronic device 800 includes some functional modules not shown, which will not be repeated here.
优选的,本发明实施例还提供一种电子设备,包括处理器810,存储器809,存储在存储器809上并可在所述处理器810上运行的计算机程序,该计算机程序被处理器810执行时实现上述信息处理方法实施例中的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, the embodiment of the present invention also provides an electronic device, including a processor 810, a memory 809, and a computer program stored on the memory 809 and capable of running on the processor 810. When the computer program is executed by the processor 810, Each process in the foregoing information processing method embodiment is implemented, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述信息处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned information processing method embodiment is realized, and the same technology can be achieved. The effect, to avoid repetition, will not be repeated here. Wherein, the computer-readable storage medium, such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk, or optical disk, etc.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, It also includes other elements that are not explicitly listed, or elements inherent to the process, method, article, or device. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article, or device that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台电子设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes a number of instructions to enable an electronic device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the method described in each embodiment of the present invention.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。The embodiments of the present invention are described above with reference to the accompanying drawings, but the present invention is not limited to the above-mentioned specific embodiments. The above-mentioned specific embodiments are only illustrative and not restrictive. Those of ordinary skill in the art are Under the enlightenment of the present invention, many forms can be made without departing from the purpose of the present invention and the scope of protection of the claims, and they all fall within the protection of the present invention.

Claims (14)

  1. 一种信息处理方法,包括:An information processing method, including:
    在识别区域中包括N个图形码的情况下,将所述N个图形码中的M个图形码分别进行分离;In the case where N graphic codes are included in the identification area, separate the M graphic codes of the N graphic codes respectively;
    分别识别分离后的所述M个图形码;Respectively identifying the M graphic codes after separation;
    执行与所述M个图形码中的目标图形码对应的操作;Performing an operation corresponding to the target graphic code in the M graphic codes;
    其中,N为大于1的整数,M为正整数,且M≤N。Wherein, N is an integer greater than 1, M is a positive integer, and M≤N.
  2. 根据权利要求1所述的方法,其中,所述分别识别分离后的所述M个图形码之后,所述方法还包括:The method according to claim 1, wherein, after the separated M graphic codes are respectively identified, the method further comprises:
    显示与所述M个图形码一一对应的M个操作项;Displaying M operation items corresponding to the M graphic codes one-to-one;
    接收对所述M个操作项中的目标操作项的第一输入,所述目标操作项与所述目标图形码对应;Receiving a first input to a target operation item in the M operation items, the target operation item corresponding to the target graphic code;
    所述执行与所述M个图形码中的目标图形码对应的操作,包括:The executing the operation corresponding to the target graphic code among the M graphic codes includes:
    响应于所述第一输入,执行与所述目标图形码对应的操作。In response to the first input, an operation corresponding to the target graphic code is performed.
  3. 根据权利要求2所述的方法,其中,所述显示与所述M个图形码一一对应的M个操作项,包括:The method according to claim 2, wherein said displaying the M operation items corresponding to the M graphic codes one-to-one comprises:
    根据对所述M个图形码的识别结果,显示与所述M个图形码一一对应的M个操作项;According to the recognition result of the M graphic codes, display M operation items corresponding to the M graphic codes one-to-one;
    其中,每个所述操作项中包括基于所述识别结果得到的应用程序的信息。Wherein, each of the operation items includes application information obtained based on the recognition result.
  4. 根据权利要求2所述的方法,其中,所述执行与所述目标图形码对应的操作,包括:The method according to claim 2, wherein said performing an operation corresponding to said target graphic code comprises:
    在已安装与所述目标图形码关联的第一应用程序的情况下,显示所述目标图形码对应的界面;In the case where the first application program associated with the target graphic code has been installed, displaying the interface corresponding to the target graphic code;
    在未安装与所述目标图形码关联的第二应用程序的情况下,输出未安装所述第二应用程序的提示信息。In the case that the second application program associated with the target graphic code is not installed, a prompt message indicating that the second application program is not installed is output.
  5. 根据权利要求1所述的方法,其中,所述将所述N个图形码中的M个图形码分别进行分离,包括:The method according to claim 1, wherein said separating the M graphic codes of the N graphic codes respectively comprises:
    采集包括所述N个图形码的图片;Collecting pictures including the N graphic codes;
    在所述N个图形码中,识别M个图形码中的每个图形码在所述图片中的位置;Among the N graphic codes, identifying the position of each graphic code in the M graphic codes in the picture;
    根据所述位置,将所述M个图形码分别从所述图片中分离。According to the position, the M graphic codes are separated from the picture respectively.
  6. 一种电子设备,包括:An electronic device including:
    分离模块,用于在识别区域中包括N个图形码的情况下,将所述N个图形码中的M个图形码分别进行分离;A separation module, which is used to separate the M graphic codes of the N graphic codes respectively when N graphic codes are included in the identification area;
    识别模块,用于分别识别分离后的所述M个图形码;An identification module, which is used to identify the separated M graphic codes respectively;
    执行模块,用于执行与所述M个图形码中的目标图形码对应的操作;The execution module is used to execute the operation corresponding to the target graphic code among the M graphic codes;
    其中,N为大于1的整数,M为正整数,且M≤N。Wherein, N is an integer greater than 1, M is a positive integer, and M≤N.
  7. 根据权利要求6所述的电子设备,还包括:The electronic device according to claim 6, further comprising:
    显示模块,用于显示与所述M个图形码一一对应的M个操作项;A display module for displaying M operation items corresponding to the M graphic codes one-to-one;
    接收模块,用于接收对所述M个操作项中的目标操作项的第一输入,所述目标操作项与所述目标图形码对应;A receiving module, configured to receive a first input to a target operation item in the M operation items, the target operation item corresponding to the target graphic code;
    所述执行模块具体用于:The execution module is specifically used for:
    响应于所述第一输入,执行与所述目标图形码对应的操作。In response to the first input, an operation corresponding to the target graphic code is performed.
  8. 根据权利要求7所述的电子设备,其中,所述显示模块具体用于:The electronic device according to claim 7, wherein the display module is specifically used for:
    根据对所述M个图形码的识别结果,显示与所述M个图形码一一对应的M个操作项;According to the recognition result of the M graphic codes, display M operation items corresponding to the M graphic codes one-to-one;
    其中,每个所述操作项中包括基于所述识别结果得到的应用程序的信息。Wherein, each of the operation items includes application information obtained based on the recognition result.
  9. 根据权利要求7所述的电子设备,其中,所述执行模块具体用于:The electronic device according to claim 7, wherein the execution module is specifically configured to:
    在已安装与所述目标图形码关联的第一应用程序的情况下,显示所述目标图形码对应的界面;In the case where the first application program associated with the target graphic code has been installed, displaying the interface corresponding to the target graphic code;
    在未安装与所述目标图形码关联的第二应用程序的情况下,输出未安装所述第二应用程序的提示信息。In the case that the second application program associated with the target graphic code is not installed, a prompt message indicating that the second application program is not installed is output.
  10. 根据权利要求6所述的电子设备,其中,所述分离模块包括:The electronic device according to claim 6, wherein the separation module comprises:
    采集子模块,用于采集包括所述N个图形码的图片;A collection sub-module for collecting pictures including the N graphic codes;
    识别子模块,用于在所述N个图形码中,识别M个图形码中的每个图形码在所述图片中的位置;An identification sub-module for identifying the position of each of the M graphical codes in the picture among the N graphical codes;
    分离子模块,用于根据所述位置,将所述M个图形码分别从所述图片中 分离。The ion separation module is used to separate the M graphic codes from the picture according to the position.
  11. 一种电子设备,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如权利要求1至5任一项所述的信息处理方法中的步骤。An electronic device, comprising: a memory, a processor, and a computer program stored in the memory and running on the processor, and the processor implements the computer program according to any one of claims 1 to 5 when the processor executes the computer program Steps in information processing methods.
  12. 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至5任一项所述的信息处理方法中的步骤。A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps in the information processing method according to any one of claims 1 to 5 are implemented .
  13. 一种计算机程序产品,其中,所述计算机程序产品被存储在非易失的存储介质中,所述计算机程序产品被至少一个处理器执行以实现如权利要求1至5任一项所述的信息处理方法。A computer program product, wherein 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 realize the information according to any one of claims 1 to 5 Approach.
  14. 一种电子设备,其中,所述电子设备被配置成用于执行如权利要求1至5任一项所述的信息处理方法。An electronic device, wherein the electronic device is configured to execute the information processing method according to any one of claims 1 to 5.
PCT/CN2020/131101 2019-11-26 2020-11-24 Information processing method and electronic device WO2021104254A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911172239.6 2019-11-26
CN201911172239.6A CN110956052A (en) 2019-11-26 2019-11-26 Information processing method and electronic equipment

Publications (1)

Publication Number Publication Date
WO2021104254A1 true WO2021104254A1 (en) 2021-06-03

Family

ID=69978545

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/131101 WO2021104254A1 (en) 2019-11-26 2020-11-24 Information processing method and electronic device

Country Status (2)

Country Link
CN (1) CN110956052A (en)
WO (1) WO2021104254A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110956052A (en) * 2019-11-26 2020-04-03 维沃移动通信有限公司 Information processing method and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103955660A (en) * 2014-04-22 2014-07-30 广州闪购软件服务有限公司 Method for recognizing batch two-dimension code images
CN103955659A (en) * 2014-04-22 2014-07-30 广州宽度信息技术有限公司 Batch true-known code identification method
CN105631378A (en) * 2014-10-29 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Two-dimensional code scanning method, two-dimensional code scanning device and terminal comprising two-dimensional code scanning device
CN107103096A (en) * 2017-05-19 2017-08-29 深圳天珑无线科技有限公司 Method for information display and device
US20180129846A1 (en) * 2014-12-19 2018-05-10 Gionee Communication Equipment Co.,Ltd. Shenzhen Two dimension code operating method and terminal
CN110956052A (en) * 2019-11-26 2020-04-03 维沃移动通信有限公司 Information processing method and electronic equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105068819A (en) * 2015-09-10 2015-11-18 北京金山安全软件有限公司 Application calling method and device and terminal
CN111860011A (en) * 2017-08-17 2020-10-30 阿里巴巴集团控股有限公司 Target graphic code identification method and device
CN108563453A (en) * 2018-04-02 2018-09-21 郑州云海信息技术有限公司 A kind of recognition methods of application program installation and system
CN108898040A (en) * 2018-06-01 2018-11-27 维沃移动通信有限公司 A kind of recognition methods and mobile terminal
CN110210271A (en) * 2019-05-31 2019-09-06 维沃移动通信有限公司 A kind of information processing method and terminal device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103955660A (en) * 2014-04-22 2014-07-30 广州闪购软件服务有限公司 Method for recognizing batch two-dimension code images
CN103955659A (en) * 2014-04-22 2014-07-30 广州宽度信息技术有限公司 Batch true-known code identification method
CN105631378A (en) * 2014-10-29 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Two-dimensional code scanning method, two-dimensional code scanning device and terminal comprising two-dimensional code scanning device
US20180129846A1 (en) * 2014-12-19 2018-05-10 Gionee Communication Equipment Co.,Ltd. Shenzhen Two dimension code operating method and terminal
CN107103096A (en) * 2017-05-19 2017-08-29 深圳天珑无线科技有限公司 Method for information display and device
CN110956052A (en) * 2019-11-26 2020-04-03 维沃移动通信有限公司 Information processing method and electronic equipment

Also Published As

Publication number Publication date
CN110956052A (en) 2020-04-03

Similar Documents

Publication Publication Date Title
WO2021104195A1 (en) Image display method and electronic device
WO2020258929A1 (en) Folder interface switching method and terminal device
WO2021136159A1 (en) Screenshot method and electronic device
WO2020220999A1 (en) Screenshot method and terminal device
CN109240577B (en) Screen capturing method and terminal
US20200257433A1 (en) Display method and mobile terminal
CN111338530B (en) Control method of application program icon and electronic equipment
WO2020156123A1 (en) Information processing method and terminal device
CN107943390B (en) Character copying method and mobile terminal
WO2021036553A1 (en) Icon display method and electronic device
US11250046B2 (en) Image viewing method and mobile terminal
WO2020238938A1 (en) Information input method and mobile terminal
WO2020156118A1 (en) Management method and terminal apparatus
WO2021083091A1 (en) Screenshot capturing method and terminal device
WO2020220893A1 (en) Screenshot method and mobile terminal
WO2021036623A1 (en) Display method and electronic device
CN109523253B (en) Payment method and device
CN109412932B (en) Screen capturing method and terminal
WO2019154360A1 (en) Interface switching method and mobile terminal
WO2021208889A1 (en) Application startup method, and electronic device
CN108920040B (en) Application icon sorting method and mobile terminal
WO2021104232A1 (en) Display method and electronic device
WO2021129818A1 (en) Video playback method and electronic device
WO2021098676A1 (en) Control method and electronic device
WO2019120190A1 (en) Dialing method and mobile terminal

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

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

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20893671

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 1205 DATED 23.02.2023).

122 Ep: pct application non-entry in european phase

Ref document number: 20893671

Country of ref document: EP

Kind code of ref document: A1