CN110674662A - Scanning method and terminal equipment - Google Patents

Scanning method and terminal equipment Download PDF

Info

Publication number
CN110674662A
CN110674662A CN201910876993.1A CN201910876993A CN110674662A CN 110674662 A CN110674662 A CN 110674662A CN 201910876993 A CN201910876993 A CN 201910876993A CN 110674662 A CN110674662 A CN 110674662A
Authority
CN
China
Prior art keywords
target content
scanning
target
graphic code
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910876993.1A
Other languages
Chinese (zh)
Other versions
CN110674662B (en
Inventor
王尚之
陈辉军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910876993.1A priority Critical patent/CN110674662B/en
Publication of CN110674662A publication Critical patent/CN110674662A/en
Application granted granted Critical
Publication of CN110674662B publication Critical patent/CN110674662B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/1439Methods for optical code recognition including a method step for retrieval of the optical 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/1408Methods for optical code recognition the method being specifically adapted for the type of code

Landscapes

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

Abstract

The embodiment of the invention provides a scanning method and terminal equipment, relates to the technical field of communication, and aims to solve the problems that the existing scanning method is long in time consumption and low in efficiency when a user scans a plurality of two-dimensional codes. The scanning method comprises the following steps: scanning at least one graphic code through a camera on a scanning interface; and respectively identifying target content corresponding to the at least one graphic code, and displaying the target content on the scanning interface. The scanning method in the embodiment of the invention is applied to the terminal equipment.

Description

Scanning method and terminal equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a scanning method and terminal equipment.
Background
At present, the scanning function of the terminal device is widely applied, for example, the scanning function can be applied to scenes of reading data, jumping to a webpage, adding friends, paying and the like.
The existing scanning method comprises the following steps: and opening a scanning interface of the terminal equipment by a user, popping up a scanning window on the screen, scanning the scanning window by the user aiming at the two-dimensional code, and jumping the screen to a display interface corresponding to the two-dimensional code after the terminal equipment successfully identifies the two-dimensional code. The display interface includes a data display interface, a web page access interface, a friend adding interface, a payment interface, and the like.
Based on the scanning method, if a user needs to scan a plurality of two-dimensional codes, only one two-dimensional code can be scanned at a time, and after the terminal equipment successfully identifies and jumps to the display interface, the user needs to switch back to the scanning interface through operation to scan the next two-dimensional code. Therefore, the existing scanning method causes the problems of long time consumption and low efficiency when a user scans a plurality of two-dimensional codes.
Disclosure of Invention
The embodiment of the invention provides a scanning method and terminal equipment, and aims to solve the problems that the existing scanning method is long in time consumption and low in efficiency when a user scans a plurality of two-dimensional codes.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a scanning method, including: scanning at least one graphic code through a camera on a scanning interface; and respectively identifying target content corresponding to the at least one graphic code, and displaying the target content on the scanning interface.
In a second aspect, an embodiment of the present invention further provides a terminal device, including: the scanning module is used for scanning at least one graphic code through the camera on the scanning interface; and the display module is used for respectively identifying the target content corresponding to the at least one graphic code and displaying the target content on the scanning interface.
In a third aspect, an embodiment of the present invention further provides a terminal device, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the scanning method.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the scanning method.
Thus, in the embodiment of the present invention, when using the scanning function of the terminal device, after entering the scanning interface based on one operation, the user may align at least one graphic code on the scanning interface, and scan at least one graphic code through the camera, so that the terminal device identifies the target content corresponding to the graphic code based on the analysis of the graphic data of the graphic code, and displays the target content corresponding to the graphic code on the scanning interface. Compared with the prior art, when the user scans the graphic codes, particularly when the user scans a plurality of graphic codes, repeated interface switching operation is not needed, the user only needs to enter the scanning interface by one operation, after scanning and identification are completed, the target content corresponding to the graphic codes is displayed on the scanning interface, the user can see the scanning result on the scanning interface, the switching operation of the user between the application interface and the scanning interface is saved, the time consumption of the user in the scanning event is shortened, and the efficiency is improved.
Drawings
FIG. 1 is one of the flow charts of the scanning method of the embodiment of the present invention;
FIG. 2 is one of schematic display interfaces of a terminal device according to an embodiment of the present invention;
FIG. 3 is a second flowchart of a scanning method according to an embodiment of the present invention;
FIG. 4 is one of the operation diagrams of the scanning method according to the embodiment of the present invention;
fig. 5 is a second schematic view of a display interface of the terminal device according to the embodiment of the invention;
FIG. 6 is a second schematic diagram illustrating the operation of the scanning method according to the embodiment of the present invention;
fig. 7 is a third schematic diagram of a display interface of a terminal device according to an embodiment of the present invention;
FIG. 8 is a third flowchart of a scanning method according to an embodiment of the present invention;
FIG. 9 is a fourth schematic view of a display interface of a terminal device according to an embodiment of the present invention;
FIG. 10 is a fourth flowchart of a scanning method according to an embodiment of the present invention;
FIG. 11 is a third schematic diagram illustrating the operation of the scanning method according to the embodiment of the invention;
FIG. 12 is a fifth schematic view of a display interface of a terminal device according to an embodiment of the present invention;
FIG. 13 is a fifth flowchart of a scanning method according to an embodiment of the present invention;
fig. 14 is a sixth schematic view of a display interface of a terminal device according to an embodiment of the present invention:
fig. 15 is one of block diagrams of a terminal device of an embodiment of the present invention;
fig. 16 is a second block diagram of the terminal device according to the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a flowchart of a scanning method according to an embodiment of the present invention is shown, and applied to a terminal device, the scanning method includes:
step S1: and scanning at least one graphic code through a camera on the scanning interface.
Preferably, the scanning interface comprises a scanning window display area for scanning the graphic code.
In a preferred scheme, a user enters a scanning interface of the terminal device, and a scanning window is aligned with a graphic code to be scanned.
In another preferred scheme, a user enters a scanning interface of the terminal device, the scanning window is aligned to one graphic code, and the graphic codes are continuously aligned to a plurality of graphic codes in sequence for scanning.
In another preferred scheme, a user opens a scanning interface of the terminal device, and the scanning window scans through aligning a plurality of graphic codes, that is, the plurality of graphic codes appear in the same frame.
Preferably, in the scanning, image data of the graphic code is captured by an image acquisition device (such as a camera).
Step S2: and respectively identifying target contents corresponding to at least one graphic code, and displaying the target contents on a scanning interface.
Preferably, the graphic code scanner is internally provided with a function of identifying part of graphic codes, such as a pay pal graphic code, a WeChat graphic code, a shared bicycle graphic code, an express delivery graphic code and the like, so that the graphic code scanner can identify target contents corresponding to the graphic codes according to the acquired image data of the graphic codes.
The graphic code scanner can perform segmentation processing on image data in the scanning window to segment the image data of the plurality of graphic codes so as to respectively acquire the image data of each graphic code and identify target content corresponding to each graphic code.
Preferably, the display interface further includes a scanning result display area, and the scanning result display area is used for displaying the target content corresponding to each graphic code.
Preferably, some key information is extracted as target content based on the scanning result of the graphic code, so that only the target content corresponding to the graphic code is displayed on the scanning interface directly. The target content comprises payment information, friend information, express delivery information and the like. For example, for the graphic code of a friend's business card, the target content is the name of the friend, such as "Zhang three".
As can be seen, the manner of presenting the scan result to the user in this embodiment is: the target content of the graphic code is displayed on the scanning interface without directly jumping the interface, and especially for a plurality of graphic codes, the effects of synchronous scanning and synchronous display of results can be achieved.
Preferably, the graphic code is two-dimensional code information, and correspondingly, the graphic code scanner is a two-dimensional code scanner.
Thus, in the embodiment of the present invention, when using the scanning function of the terminal device, after entering the scanning interface based on one operation, the user may align at least one graphic code on the scanning interface, and scan at least one graphic code through the camera, so that the terminal device identifies the target content corresponding to the graphic code based on the analysis of the graphic data of the graphic code, and displays the target content corresponding to the graphic code on the scanning interface. Compared with the prior art, when the user scans the graphic codes, particularly when the user scans a plurality of graphic codes, repeated interface switching operation is not needed, the user only needs to enter the scanning interface by one operation, after scanning and identification are completed, the target content corresponding to the graphic codes is displayed on the scanning interface, the user can see the scanning result on the scanning interface, the switching operation of the user between the application interface and the scanning interface is saved, the time consumption of the user in the scanning event is shortened, and the efficiency is improved.
Compared with a scheme that a plurality of graphic codes are continuously and sequentially scanned on a scanning interface, the scheme that the scanning interface scans the plurality of graphic codes in the same frame (as shown in fig. 2) can further reduce the time consumption of a user and improve the efficiency.
On the basis of the embodiment shown in fig. 1, fig. 3 shows a flowchart of a scanning method according to another embodiment of the present invention, and after step S2, the method further includes:
step S3: a first input to target content is received.
Step S4: in response to the first input, an action associated with the first input is performed on the target content.
Preferably, the first input includes various forms of operation gestures, and the operation gestures are not limited to screen-based touch gestures, air-space gestures, and the like. In addition, the first input of the embodiment is not limited to one operation gesture, and may include a series of continuous or intermittent operation gestures based on different situations.
Further, in the application scenario of the embodiment, based on the requirement of the user, various implementations of the first input and associated actions corresponding thereto may be designed.
Referring to fig. 4 and 5, there is illustratively a delete button on the rightmost side of each piece of target content, and the user clicks the delete button to delete the corresponding piece of target content (e.g., pay 2 shown in fig. 4).
Illustratively, the user clicks any item mark content, the display interface jumps to the application interface where the target content is located, and the user can perform the next operation on the application interface or view the detailed information of the target content.
In the step, the user can be helped to preset a jump path, such as a pay payment jump, for the image data of the graphic code which can be recognized by the scanner, so that the user directly jumps to the corresponding application interface when clicking the target content.
Illustratively, the user marks the content by long pressing any item, pops up an operation box, at least one operation option is displayed in the operation box, the user can further click the operation option in the operation box to operate the target content, and therefore the terminal device responds to the operation of the user and executes the corresponding processing action on the target content.
In reference, when the target content is the friend information, the operation box displays "add target content (e.g., zhang in fig. 6 and 7) as a new friend", and the operation options are "yes" and "no", and the terminal device may perform the action of adding a friend on the currently displayed target content by the user clicking the operation of the "yes" and "no" options.
When the target content is payment information, the operation box displays 'pay to the target content', the operation options are such as 'yes' and 'no', and the terminal equipment can execute payment action on the currently displayed target content through the operation of clicking the 'yes' and 'no' options by the user.
In addition, through more first inputs of the user, more actions can be executed on each piece of target content currently displayed, and the specific executable action is associated with the type of the target content.
In this embodiment, after the display interface is switched to the scanning interface, the user may scan at least one graphic code on the scanning interface, so that based on the scanning result, the terminal device may extract part of the information therein as the target content, and directly display the target content corresponding to the at least one graphic code on the scanning interface, so that the user is clear of the scanning result. Further, the user can perform shortcut operation on the target content in the scanning result through the first input, so that the terminal device executes corresponding action on the target content. Compared with the method that the display interface is directly switched to the application interface corresponding to the graphic code after scanning, the embodiment provides a novel display mode, on one hand, the scanning results of the plurality of graphic codes are displayed on the same interface, on the other hand, a user can selectively and quickly operate the scanning results on the scanning interface conveniently, on the basis of simplifying the operation steps of the user, the operation requirements of the user on each target content can be met in a targeted manner, the operation efficiency of the user is improved, and the time consumption of the user in the scanning event is further reduced.
On the basis of the embodiment shown in fig. 1, fig. 8 shows a flowchart of a scanning method according to another embodiment of the present invention, and step S2 includes:
step S21: and respectively identifying target contents corresponding to at least one graphic code.
Step S22: and identifying the target type of the target content according to the target content corresponding to the at least one graphic code.
Preferably, the target content corresponding to the graphic code can be classified according to the application, the realized function, and the like.
Illustratively, the type of the content corresponding to the graphic code may include a pay treasure, a WeChat, a shared bicycle, an express delivery and the like.
Illustratively, the type to which the content corresponding to the graphic code belongs may also include payment, collection, inquiry, friend addition and the like.
Furthermore, the type of the content corresponding to the graphic code may further include payment, payment receipt, wechat payment, wechat receipt, and addition of wechat friends.
Step S23: and displaying the target content under the directory of the target type in the scanning interface.
Preferably, it may be first determined whether a target type to which the target content belongs already exists in the history scan data of the terminal device. In a referential manner, the data in the existing scanning result queue of the terminal device can be acquired to acquire the existing type in the historical scanning data, the target type to which the target content belongs is compared with the existing type, and if the comparison is successful, the target type is determined to be the existing type.
Further, if the comparison fails, it is determined that the target type does not exist, and the target type may be newly built in the historical scan data.
It can be seen that, in order to implement the display of the batch scanning result of the graphic code, the historical scanning result needs to be stored in the terminal device, and further, the data in the historical scanning result queue is stored in a classified manner so as to be compared with the target type.
Therefore, in this step, the target contents corresponding to the scanning results of the same type are placed in the same category. Referring to fig. 9, the scanning interface displays a plurality of target types, such as pay treasure and WeChat, and target contents, such as pay treasure-Payment 1 under the pay treasure type and WeChat-Payment 1 under the WeChat type, can be respectively displayed under the directory of each target type.
In this way, in the embodiment of the present invention, the terminal device identifies the target content corresponding to the graphic code based on the analysis of the graphic data of the graphic code, identifies the target type to which the target content corresponding to the graphic code belongs, and separately displays the target content of the same type in a centralized manner based on different target types. Compared with the prior art, the method has the advantages that a user does not need to perform repeated interface switching operation in a scanning event, only one operation is needed to enter the scanning interface, after the scanning is completed, the terminal equipment can display the target content corresponding to the graphic code on the scanning interface, and the target content corresponding to the graphic code is displayed according to classification, so that the user can conveniently and quickly identify and perform related operations; particularly, when a user scans a plurality of graphic codes, the terminal device can display target contents corresponding to the plurality of graphic codes on a scanning interface, and the target contents corresponding to the plurality of graphic codes are displayed according to classification, so that the user can conveniently and quickly identify and perform related operations, time consumption of the user is further reduced, and efficiency is improved.
On the basis of the embodiment shown in fig. 8, fig. 10 shows a flowchart of a scanning method according to an embodiment of the present invention, and after step S23, the method further includes:
step S5: a second input is received for the target type.
Step S6: in response to the second input, an action associated with the second input is performed on target content included under the directory of the target type.
Preferably, the second input includes various forms of operation gestures, and the operation gestures are not limited to screen-based touch gestures, air-space gestures, and the like. In addition, the second input of the embodiment is not limited to one operation gesture, and may include a series of continuous or intermittent operation gestures based on different situations.
Further, in the application scenario of the embodiment, based on the requirement of the user, various implementations of the second input and associated actions corresponding thereto may be designed.
Illustratively, the user clicks on the target type title (e.g., "WeChat" as shown in FIG. 11), and can fold and unfold all the target content under the target type (e.g., "WeChat-Payment 1" as shown in FIG. 12).
Illustratively, the user pushes the target type title for a long time to pop up a batch operation box, at least one batch operation option is displayed in the batch operation box, the user can further click the batch operation option in the batch operation box to perform batch operation on the target content in the target type directory, and therefore the terminal device responds to the operation of the user and performs batch processing action on the target content in the target type directory.
When the target type is any type, the batch operation option is such as batch deletion, and a user can completely empty the currently displayed target content by clicking the batch deletion option.
When the target type is a payment type, the terminal device may execute a batch payment action on such target content currently displayed by clicking the one-click payment option by the user, such as the one-click payment option. Furthermore, after the user clicks the one-click payment option, the display interface jumps to the payment interface, and the user can fill the payment amount to complete batch payment.
When the target type is a friend name card type, the batch operation option is 'add friend', and the terminal equipment can execute a batch friend adding action on the currently displayed target content by clicking the operation of the 'add friend' option by the user. The batch operation option is also like 'create group chat', and by clicking the operation of the 'create group chat' option by the user, the terminal device can execute a batch add group chat action on the currently displayed target content.
In addition, based on the second input of the user, more next actions can be executed in batches or in sequence on the currently displayed target content, wherein the specific actions are associated with the types.
In the embodiment, in the scanning result, the target type is displayed as a node, the target content is used as a child node, and the user can perform batch operation on all target contents in any type through the second input, so that the terminal device performs batch actions on all target contents in the type, and on the basis of simplifying the scanning operation steps of the user, the processing steps of the user on the scanning result are further simplified, further time consumption is further reduced, and efficiency is improved.
On the basis of the embodiment shown in fig. 8, fig. 13 shows a flowchart of a scanning method according to an embodiment of the present invention, and step S22 includes:
step S221: and identifying the target application program to which the target content belongs according to the target content corresponding to the at least one graphic code.
In this embodiment, the target application programs to which the target content corresponding to the graphic code belongs may be classified, that is, the scanning results in one application program are collectively displayed, so that the user can conveniently and centrally distinguish and operate.
Step S222: and identifying a target use scene to which the target content belongs according to the target content corresponding to the at least one graphic code.
In this embodiment, the target usage scenarios to which the target content corresponding to the graphic code belongs may be classified, that is, the scanning results in one of the usage scenarios are displayed in a centralized manner, so that the user can distinguish and operate the usage scenarios in a centralized manner.
For example, the target content for the payment scenario may be displayed under the same type; displaying target content for a social scene under the same type; target content for a logistics scene is displayed under the same type.
Preferably, the target content can be classified according to the target application program or the target use scene to which the target content belongs; the classification can also be performed by combining the target application program and the target use scene to which the target content belongs.
Preferably, multiple dimensions of types may exist simultaneously.
Referring to fig. 14, for image data of a graphic code that cannot be recognized by the scanner, the scanning result may be directly displayed back to the scanning interface, so as to provide the user to view, copy or jump to the browser to access the url address.
Further, the image data of the unrecognizable graphic code is collectively displayed as one type.
In summary, the embodiment of the invention is to innovate the interactive mode of graphic code scanning, provide a convenient and fast graphic code scanning identification and jump method, optimize the steps of graphic code scanning, shorten the operation time, improve the efficiency and improve the user experience. The method can be applied to at least a scanning mode of a plurality of times of single graphic codes and a scanning mode of a plurality of times of single graphic codes.
Fig. 15 shows a block diagram of a terminal device of another embodiment of the present invention, including:
the scanning module 10 is used for scanning at least one graphic code through a camera on a scanning interface;
and the display module 20 is configured to identify target content corresponding to at least one graphic code, and display the target content on the scanning interface.
Thus, in the embodiment of the present invention, when using the scanning function of the terminal device, after entering the scanning interface based on one operation, the user may align at least one graphic code on the scanning interface, and scan at least one graphic code through the camera, so that the terminal device identifies the target content corresponding to the graphic code based on the analysis of the graphic data of the graphic code, and displays the target content corresponding to the graphic code on the scanning interface. Compared with the prior art, when the user scans the graphic codes, particularly when the user scans a plurality of graphic codes, repeated interface switching operation is not needed, the user only needs to enter the scanning interface by one operation, after scanning and identification are completed, the target content corresponding to the graphic codes is displayed on the scanning interface, the user can see the scanning result on the scanning interface, the switching operation of the user between the application interface and the scanning interface is saved, the time consumption of the user in the scanning event is shortened, and the efficiency is improved.
Preferably, the terminal device further includes:
the first input receiving module is used for receiving a first input of the target content;
the first input response module is used for responding to the first input and executing the action associated with the first input on the target content.
Preferably, the display module 20 includes:
the identification unit is used for respectively identifying target contents corresponding to at least one graphic code;
the classification unit is used for identifying the target type of the target content according to the target content corresponding to the at least one graphic code;
and the classification display unit is used for displaying the target content under the catalogue of the target type in the scanning interface.
Preferably, the terminal device further includes:
a second input receiving module for receiving a second input to the target type;
and the second input response module is used for responding to the second input and executing the action associated with the second input on the target content included in the target type directory.
Preferably, the classification unit includes:
the first classification subunit is used for identifying a target application program to which target content belongs according to the target content corresponding to at least one graphic code; and/or the presence of a gas in the gas,
and the second classification subunit is used for identifying a target use scene to which the target content belongs according to the target content corresponding to the at least one graphic code.
The terminal device provided in the embodiment of the present invention can implement each process implemented by the terminal device in the method embodiments of fig. 1 to 14, and is not described herein again to avoid repetition.
Fig. 16 is a schematic diagram of a hardware structure of a terminal device for implementing various embodiments of the present invention, where the terminal device 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 16 does not constitute a limitation of the terminal device, and that the terminal device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the terminal device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 110 is configured to scan at least one graphic code through a camera on a scanning interface; and respectively identifying target contents corresponding to at least one graphic code, and displaying the target contents on a scanning interface.
Thus, in the embodiment of the present invention, when using the scanning function of the terminal device, after entering the scanning interface based on one operation, the user may align at least one graphic code on the scanning interface, and scan at least one graphic code through the camera, so that the terminal device identifies the target content corresponding to the graphic code based on the analysis of the graphic data of the graphic code, and displays the target content corresponding to the graphic code on the scanning interface. Compared with the prior art, when the user scans the graphic codes, particularly when the user scans a plurality of graphic codes, repeated interface switching operation is not needed, the user only needs to enter the scanning interface by one operation, after scanning and identification are completed, the target content corresponding to the graphic codes is displayed on the scanning interface, the user can see the scanning result on the scanning interface, the switching operation of the user between the application interface and the scanning interface is saved, the time consumption of the user in the scanning event is shortened, and the efficiency is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 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 101 can also communicate with a network and other devices through a wireless communication system.
The terminal device provides wireless broadband internet access to the user through the network module 102, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the terminal device 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics processor 1041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode.
The terminal device 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 based on the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the terminal device 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal device posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 based on the type of the touch event. Although in fig. 16, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the terminal device, and is not limited herein.
The interface unit 108 is an interface for connecting an external device to the terminal apparatus 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal apparatus 100 or may be used to transmit data between the terminal apparatus 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created based on the use of the cellular phone (such as audio data, a phonebook, etc.), and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the terminal device, connects various parts of the entire terminal device by using various interfaces and lines, and performs various functions of the terminal device and processes data by running or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the terminal device. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The terminal device 100 may further include a power supply 111 (such as a battery) for supplying power to each component, and preferably, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the terminal device 100 includes some functional modules that are not shown, and are not described in detail here.
Preferably, an embodiment of the present invention further provides a terminal device, which includes a processor 110, a memory 109, and a computer program stored in the memory 109 and capable of running on the processor 110, where the computer program, when executed by the processor 110, implements each process of the foregoing scanning method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the scanning method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (11)

1. A scanning method, comprising:
scanning at least one graphic code through a camera on a scanning interface;
and respectively identifying target content corresponding to the at least one graphic code, and displaying the target content on the scanning interface.
2. The method according to claim 1, wherein the respectively identifying and displaying the target content corresponding to the at least one graphic code after the scanning interface further comprises:
receiving a first input to the target content;
in response to the first input, performing an action associated with the first input on the target content.
3. The method according to claim 1, wherein the respectively identifying and displaying the target content corresponding to the at least one graphic code on the scanning interface comprises:
respectively identifying target contents corresponding to the at least one graphic code;
identifying a target type to which the target content belongs according to the target content corresponding to the at least one graphic code;
and displaying the target content under the catalogue of the target type in the scanning interface.
4. The method of claim 3, wherein after displaying the target content under a directory of the target type in the scanning interface, further comprising:
receiving a second input to the target type;
in response to the second input, performing an action associated with the second input on target content included under the directory of the target type.
5. The method according to claim 3, wherein the identifying, according to the target content corresponding to the at least one graphic code, the target type to which the target content belongs comprises:
identifying a target application program to which the target content belongs according to the target content corresponding to the at least one graphic code; and/or the presence of a gas in the gas,
and identifying a target use scene to which the target content belongs according to the target content corresponding to the at least one graphic code.
6. A terminal device, comprising:
the scanning module is used for scanning at least one graphic code through the camera on the scanning interface;
and the display module is used for respectively identifying the target content corresponding to the at least one graphic code and displaying the target content on the scanning interface.
7. The terminal device according to claim 6, wherein the terminal device further comprises:
a first input receiving module for receiving a first input to the target content;
a first input response module to perform an action associated with the first input on the target content in response to the first input.
8. The terminal device of claim 6, wherein the display module comprises:
the identification unit is used for respectively identifying the target content corresponding to the at least one graphic code;
the classification unit is used for identifying the target type of the target content according to the target content corresponding to the at least one graphic code;
and the classification display unit is used for displaying the target content under the catalogue of the target type in the scanning interface.
9. The terminal device according to claim 8, wherein the terminal device further comprises:
a second input receiving module for receiving a second input to the target type;
a second input response module for performing an action associated with the second input on target content included under the directory of the target type in response to the second input.
10. The terminal device according to claim 8, wherein the classifying unit comprises:
the first classification subunit is used for identifying a target application program to which the target content belongs according to the target content corresponding to the at least one graphic code; and/or the presence of a gas in the gas,
and the second classification subunit is used for identifying a target use scene to which the target content belongs according to the target content corresponding to the at least one graphic code.
11. A terminal device, characterized in that it comprises a processor, a memory, a computer program stored on said memory and executable on said processor, said computer program, when executed by said processor, implementing the steps of the scanning method according to any one of claims 1 to 5.
CN201910876993.1A 2019-09-17 2019-09-17 Scanning method and terminal equipment Active CN110674662B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910876993.1A CN110674662B (en) 2019-09-17 2019-09-17 Scanning method and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910876993.1A CN110674662B (en) 2019-09-17 2019-09-17 Scanning method and terminal equipment

Publications (2)

Publication Number Publication Date
CN110674662A true CN110674662A (en) 2020-01-10
CN110674662B CN110674662B (en) 2023-09-01

Family

ID=69077110

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910876993.1A Active CN110674662B (en) 2019-09-17 2019-09-17 Scanning method and terminal equipment

Country Status (1)

Country Link
CN (1) CN110674662B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111274842A (en) * 2020-02-25 2020-06-12 维沃移动通信有限公司 Method for identifying coded image and electronic equipment
CN111444737A (en) * 2020-03-25 2020-07-24 维沃移动通信有限公司 Graphic code identification method and electronic equipment
CN111553673A (en) * 2020-05-07 2020-08-18 支付宝(杭州)信息技术有限公司 Information display method and device based on graphic code identification
CN112749769A (en) * 2020-08-19 2021-05-04 腾讯科技(深圳)有限公司 Graphic code detection method and device, computer equipment and storage medium
CN113010815A (en) * 2021-04-12 2021-06-22 维沃移动通信(杭州)有限公司 Display method and electronic device
CN113128244A (en) * 2021-03-12 2021-07-16 维沃移动通信有限公司 Scanning method and device and electronic equipment
CN114330403A (en) * 2020-10-09 2022-04-12 腾讯科技(深圳)有限公司 Graphic code processing method, device, equipment and medium
CN117422461A (en) * 2023-12-15 2024-01-19 金财数科(北京)信息技术有限公司 Mobile phone batch payment system and method
CN111274842B (en) * 2020-02-25 2024-05-24 维沃移动通信有限公司 Coded image identification method and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106875181A (en) * 2017-02-28 2017-06-20 努比亚技术有限公司 A kind of barcode scanning payment processing method and mobile terminal
CN107133834A (en) * 2016-02-29 2017-09-05 阿里巴巴集团控股有限公司 Method for information display and device
CN107194690A (en) * 2017-06-23 2017-09-22 珠海市魅族科技有限公司 A kind of two-dimensional code scanning method and terminal, computer installation and readable storage medium storing program for executing
CN107609437A (en) * 2017-08-17 2018-01-19 阿里巴巴集团控股有限公司 A kind of targeted graphical code recognition methods and device
CN108122105A (en) * 2017-12-21 2018-06-05 维沃移动通信有限公司 A kind of method of payment and mobile terminal
WO2019101097A1 (en) * 2017-11-23 2019-05-31 维沃移动通信有限公司 Code scanning method, code scanning device and mobile terminal
CN110210271A (en) * 2019-05-31 2019-09-06 维沃移动通信有限公司 A kind of information processing method and terminal device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107133834A (en) * 2016-02-29 2017-09-05 阿里巴巴集团控股有限公司 Method for information display and device
CN106875181A (en) * 2017-02-28 2017-06-20 努比亚技术有限公司 A kind of barcode scanning payment processing method and mobile terminal
CN107194690A (en) * 2017-06-23 2017-09-22 珠海市魅族科技有限公司 A kind of two-dimensional code scanning method and terminal, computer installation and readable storage medium storing program for executing
CN107609437A (en) * 2017-08-17 2018-01-19 阿里巴巴集团控股有限公司 A kind of targeted graphical code recognition methods and device
WO2019101097A1 (en) * 2017-11-23 2019-05-31 维沃移动通信有限公司 Code scanning method, code scanning device and mobile terminal
CN108122105A (en) * 2017-12-21 2018-06-05 维沃移动通信有限公司 A kind of method of payment and mobile terminal
CN110210271A (en) * 2019-05-31 2019-09-06 维沃移动通信有限公司 A kind of information processing method and terminal device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王红勤: "高校设备管理系统中Android客户端的设计与实现", 《电脑知识与技术》 *

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111274842A (en) * 2020-02-25 2020-06-12 维沃移动通信有限公司 Method for identifying coded image and electronic equipment
CN111274842B (en) * 2020-02-25 2024-05-24 维沃移动通信有限公司 Coded image identification method and electronic equipment
CN111444737A (en) * 2020-03-25 2020-07-24 维沃移动通信有限公司 Graphic code identification method and electronic equipment
CN111553673A (en) * 2020-05-07 2020-08-18 支付宝(杭州)信息技术有限公司 Information display method and device based on graphic code identification
CN112749769A (en) * 2020-08-19 2021-05-04 腾讯科技(深圳)有限公司 Graphic code detection method and device, computer equipment and storage medium
CN114330403A (en) * 2020-10-09 2022-04-12 腾讯科技(深圳)有限公司 Graphic code processing method, device, equipment and medium
WO2022073419A1 (en) * 2020-10-09 2022-04-14 腾讯科技(深圳)有限公司 Graphic code processing method and apparatus, and device and medium
CN114330403B (en) * 2020-10-09 2023-07-25 腾讯科技(深圳)有限公司 Graphic code processing method, device, equipment and medium
US11809951B2 (en) * 2020-10-09 2023-11-07 Tencent Technology (Shenzhen) Company Limited Graphic code processing method, apparatus, and device, and medium
CN113128244A (en) * 2021-03-12 2021-07-16 维沃移动通信有限公司 Scanning method and device and electronic equipment
WO2022188803A1 (en) * 2021-03-12 2022-09-15 维沃移动通信有限公司 Scanning method and apparatus, and electronic device
CN113010815A (en) * 2021-04-12 2021-06-22 维沃移动通信(杭州)有限公司 Display method and electronic device
CN117422461A (en) * 2023-12-15 2024-01-19 金财数科(北京)信息技术有限公司 Mobile phone batch payment system and method
CN117422461B (en) * 2023-12-15 2024-03-22 金财数科(北京)信息技术有限公司 Mobile phone batch payment system and method

Also Published As

Publication number Publication date
CN110674662B (en) 2023-09-01

Similar Documents

Publication Publication Date Title
CN110674662B (en) Scanning method and terminal equipment
CN108024019B (en) Message display method and device
CN108924037B (en) Display method of rich media communication RCS message and mobile terminal
CN107580147B (en) Management method of notification message and mobile terminal
CN110196667B (en) Notification message processing method and terminal
CN108446058B (en) Mobile terminal operation method and mobile terminal
CN108710458B (en) Split screen control method and terminal equipment
CN109523253B (en) Payment method and device
CN109388456B (en) Head portrait selection method and mobile terminal
CN110913067A (en) Information sending method and electronic equipment
CN110096203B (en) Screenshot method and mobile terminal
CN110049187B (en) Display method and terminal equipment
CN109753202B (en) Screen capturing method and mobile terminal
CN110795002A (en) Screenshot method and terminal equipment
CN111610903A (en) Information display method and electronic equipment
CN108196781B (en) Interface display method and mobile terminal
CN110703967B (en) Short message processing method and terminal equipment thereof
CN110209324B (en) Display method and terminal equipment
CN109669656B (en) Information display method and terminal equipment
CN109067975B (en) Contact person information management method and terminal equipment
CN111061446A (en) Display method and electronic equipment
CN111142759B (en) Information sending method and electronic equipment
CN110796438B (en) Message sending method and mobile terminal
CN110213437B (en) Editing method and mobile terminal
CN109947323B (en) Terminal display method and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant