CN110674662B - Scanning method and terminal equipment - Google Patents
Scanning method and terminal equipment Download PDFInfo
- Publication number
- CN110674662B CN110674662B CN201910876993.1A CN201910876993A CN110674662B CN 110674662 B CN110674662 B CN 110674662B CN 201910876993 A CN201910876993 A CN 201910876993A CN 110674662 B CN110674662 B CN 110674662B
- Authority
- CN
- China
- Prior art keywords
- target content
- target
- scanning
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/14—Methods 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/1404—Methods for optical code recognition
- G06K7/1439—Methods for optical code recognition including a method step for retrieval of the optical code
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/14—Methods 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/1404—Methods for optical code recognition
- G06K7/1408—Methods 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 a user has long time consumption and low efficiency when scanning a plurality of two-dimensional codes by the existing scanning method. The scanning method comprises the following steps: scanning at least one graphic code through a camera at a scanning interface; and respectively identifying target contents corresponding to the at least one graphic code, and displaying the target contents on the scanning interface. The scanning method in the embodiment of the invention is applied to the terminal equipment.
Description
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 the scenes of reading data, skipping web pages, adding friends, paying and the like.
The existing scanning method comprises the following steps: the user opens the scanning interface of the terminal equipment, the screen pops up the scanning window, the user scans the scanning window aiming at the two-dimensional code, and when the terminal equipment successfully identifies the two-dimensional code, the screen jumps to the display interface corresponding to the two-dimensional code. The display interface is a data back display interface, a webpage 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 scan the next two-dimensional code by switching back to the scanning interface through operation. Therefore, the existing scanning method has 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, which are used for solving the problems of long time consumption and low efficiency of a user when scanning a plurality of two-dimensional codes by the existing scanning method.
In order to solve the technical problems, 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 at a scanning interface; and respectively identifying target contents corresponding to the at least one graphic code, and displaying the target contents 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 at 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 implements the steps of the scanning method when executed by the processor.
In a fourth aspect, embodiments of the present invention also provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the scanning method.
Thus, in the embodiment of the invention, when the scanning function of the terminal equipment is used, after entering the scanning interface based on one operation, the user can aim at least one graphic code on the scanning interface and scan the at least one graphic code through the camera, so that the terminal equipment 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 a user scans graphic codes, particularly when a plurality of graphic codes are scanned, the user does not need to perform repeated interface switching operation, only needs to enter the scanning interface through one operation, after the scanning and identification are completed, 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 between the application interface and the scanning interface of the user is saved, the time consumption of the user in a scanning event is shortened, and the efficiency is improved.
Drawings
FIG. 1 is one of the flowcharts of a scanning method of an embodiment of the present invention;
FIG. 2 is a schematic diagram of a display interface 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 invention;
FIG. 4 is a schematic diagram illustrating the operation of a scanning method according to an embodiment of the present invention;
FIG. 5 is a second schematic diagram of a display interface of a terminal device according to an embodiment of the present invention;
FIG. 6 is a second schematic diagram illustrating the operation of the scanning method according to the embodiment of the 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 invention;
FIG. 9 is a diagram showing 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 diagram showing 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 diagram of a display interface of a terminal device according to an embodiment of the present invention:
fig. 15 is one of the block diagrams of the terminal device of the embodiment of the present invention;
fig. 16 is a second block diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, a flowchart of a scanning method according to an embodiment of the present invention is shown, and the method is applied to a terminal device, and includes:
step S1: at least one graphic code is scanned by a camera at a scanning interface.
Preferably, the scanning interface comprises a scanning window display area for scanning the graphic code.
In a preferred embodiment, the user enters a scanning interface of the terminal device, and the scanning window scans in alignment with a graphic code.
In another preferred embodiment, the user enters the scanning interface of the terminal device, and the scanning window is aligned with one graphic code and continuously and sequentially aligns with a plurality of graphic codes to scan.
In another preferred embodiment, the user opens a scanning interface of the terminal device, and the scanning window scans the plurality of graphic codes, i.e. the plurality of graphic codes appear in a frame.
Preferably, during the scan, image data of the graphic code is captured by an image acquisition device (e.g., 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 has built-in part of graphic code recognition functions, such as payment precious graphic code, weChat graphic code, shared bicycle graphic code, express graphic code, etc., so that the graphic code scanner can recognize the target content corresponding to the graphic code according to the acquired image data of the graphic code.
The image data in the scanning window can be segmented by the image code scanner under the condition that a plurality of image codes appear in the same frame, so that the image data of the image codes can be conveniently obtained, and the target content corresponding to each image code can be identified.
Preferably, the display interface further includes a scan result display area, where the scan result display area is used to display the target content corresponding to each graphic code.
Preferably, based on the scanning result of the graphic code, some key information is extracted as target content, so that only the target content corresponding to the graphic code is directly displayed on the scanning interface. The target content includes payment information, friend information, express information, and the like. For example, for a graphic code of a friend business card, the target content is the friend name, such as "Zhang Sano".
It can be seen that the manner in which the scan result is presented 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 particularly 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 invention, when the scanning function of the terminal equipment is used, after entering the scanning interface based on one operation, the user can aim at least one graphic code on the scanning interface and scan the at least one graphic code through the camera, so that the terminal equipment 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 a user scans graphic codes, particularly when a plurality of graphic codes are scanned, the user does not need to perform repeated interface switching operation, only needs to enter the scanning interface through one operation, after the scanning and identification are completed, 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 between the application interface and the scanning interface of the user is saved, the time consumption of the user in a scanning event is shortened, and the efficiency is improved.
The embodiment of the invention can scan one graphic code or a plurality of graphic codes, and compared with a scheme of continuously and sequentially scanning the graphic codes by a scanning interface, the scheme of scanning the graphic codes by the scanning interface in a same frame (shown in figure 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 is received for target content.
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, the operation gestures are not limited to screen-based touch gestures, space gestures, and the like. In addition, the first input of the present embodiment is not limited to one operation gesture, and may include a series of continuous or intermittent operation gestures based on different conditions.
Further, in the application scenario of the present embodiment, multiple implementations of the first input and associated actions corresponding thereto may be designed based on the needs of the user.
Referring to fig. 4 and 5, illustratively, there is a delete button on the far right side of each target content, and the user can delete the corresponding target content (e.g., payment treasures-payment 2 shown in fig. 4) by clicking the delete button.
Illustratively, the user clicks any item of target 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.
The image data of the graphic code which can be identified by the scanner can help the user to preset a jump path, such as payment for payment, in the step, so that the user directly jumps to a corresponding application interface when clicking the target content.
The user can click the operation options in the operation box further to operate the target content, so that the terminal equipment responds to the operation of the user to execute corresponding processing actions on the target content.
For reference, when the target content is friend information, the operation box displays "adding the target content (for example, zhang three in fig. 6 and 7) as a new friend", the operation options are yes and no, and the terminal device can execute the friend adding action on the currently displayed target content by clicking the yes and no options by the user.
When the target content is payment information, the operation box displays 'payment to the target content', operation options such as 'yes' and 'no', and the terminal device can execute payment action on the currently displayed target content through clicking the 'yes' and 'no' options by a user.
In addition, through more first inputs of the user, more actions can be performed on each piece of target content displayed currently, and the specific executable actions are associated with the type of the target content.
In this embodiment, after the display interface is switched to the scan interface, the user may scan at least one graphic code on the scan interface, so that based on the scan result, the terminal device may extract part of the information therein as the target content, and directly display the target content corresponding to at least one graphic code on the scan interface, so that the user is clear of the scan 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 performs 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 method realizes that the scanning results of a plurality of graphic codes are displayed on the same interface, on the other hand, the method is convenient for a user to selectively and quickly operate the scanning results on the scanning interface, on the basis of simplifying the operation steps of the user, the operation requirement of the user on each target content can be met pertinently, the operation efficiency of the user is improved, and the time consumption of the user in a 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: target content corresponding to at least one graphic code is respectively identified.
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 may be classified according to the application, the implemented function, and the like.
For example, the types to which the content corresponding to the graphic code belongs may include types of payment treasures, weChat, sharing bicycle, express, etc.
Illustratively, the types to which the content corresponding to the graphic code belongs may also include payment, collection, inquiry, friend addition, and the like.
Still further, the types to which the content corresponding to the graphic code belongs may further include payment precious payment, payment precious collection, weChat payment, weChat collection, weChat friend addition, and the like.
Step S23: in the scanning interface, the target content is displayed under the catalog of the target type to which the target content belongs.
Preferably, it may be first determined whether or not the target type to which the target content belongs already exists in the history scan data of the terminal device. By reference, 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 of the target content is compared with the existing type, and if the comparison is successful, the existing target type is determined.
Further, if the comparison fails, it is determined that the target type does not exist, and the target type can be newly built in the historical scan data.
It can be seen that, in order to display the graphic code batch scan result, the embodiment needs to save the historical scan result in the terminal device, and further, the data in the historical scan result queue is stored in a classified manner so as to be compared with the target type.
Thus, in this step, the target contents corresponding to the scanning results of the same kind are placed in the same category. Referring to fig. 9, the scan interface displays a plurality of object types, such as a payment treasury and a WeChat, and the object content, such as a payment treasury-payment 1 under the payment treasury type and a WeChat-payment 1 under the WeChat type, can be displayed under the directory of each object type.
Thus, in the embodiment of the invention, the terminal equipment 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 respectively displays the target content of the same type in a centralized manner based on different target types. Compared with the prior art, the user does not need to perform repeated interface switching operation in a scanning event, only needs to enter a scanning interface through one operation, after the scanning is completed, the terminal equipment can display target contents corresponding to the graphic codes on the scanning interface, and the target contents corresponding to the graphic codes are 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 equipment can display target contents corresponding to the graphic codes on a scanning interface, and the target contents corresponding to the graphic codes are displayed according to classification, so that the user can conveniently and quickly identify and perform related operations, the time consumption of the user is further reduced, and the 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 catalog of target types.
Preferably, the second input includes various forms of operation gestures, the operation gestures are not limited to screen-based touch gestures, space gestures, and the like. In addition, the second input of the present embodiment is not limited to one operation gesture, and may include a series of continuous or intermittent operation gestures based on different conditions.
Further, in the application scenario of the present embodiment, multiple implementations of the second input and associated actions corresponding thereto may be designed based on the needs of the user.
Illustratively, the user clicks on the object type title (e.g., "WeChat" as shown in FIG. 11), which may enable folding and unfolding of all object content under that object type (e.g., "WeChat-Payment 1" as shown in FIG. 12).
The user can click the batch operation options in the batch operation frame further to perform batch operation on the target content under the target type directory, so that the terminal device responds to the operation of the user to perform batch processing action on the target content under the target type directory.
When the target type is any type, the batch operation option such as "batch delete" is selected, and the user clicks the "batch delete" option to empty all the currently displayed target content.
When the target type is a payment type, a batch operation option such as "one-touch payment" is selected, and the terminal device can perform a batch payment action on such currently displayed target content by the user clicking on the operation of the "one-touch payment" option. Further, after the user clicks the "one-key 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 options such as 'Add friend', and the terminal equipment can execute batch friend adding action on the currently displayed target content through the operation of clicking the 'Add friend' option by the user. The batch operation option is also, for example, a "create group chat", and by clicking the "create group chat" option by the user, the terminal device can perform a batch addition group chat action on such target content currently displayed.
Further, based on the user's second input, further next actions may be performed in bulk or sequentially on such targeted content currently being displayed, with particular actions being associated with the type.
In the embodiment, in the scanning result, the target type is displayed as a node, the target content is displayed as a child node, and the user can perform batch operation on all the target content under any type through the second input, so that the terminal equipment performs batch action on all the target content under the type, and on the basis of simplifying the scanning operation step of the user, the processing step of the user on the scanning result is further simplified, the time consumption is further reduced, and the 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 classification may be performed based on the target application program to which the target content corresponding to the graphic code belongs, that is, the scanning result in one application program is displayed in a centralized manner, so that the user can conveniently resolve and operate in a centralized manner.
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, classification may be performed based on the target usage scenario to which the target content corresponding to the graphic code belongs, that is, a scan result in one usage scenario is displayed in a centralized manner, so that a user can conveniently perform centralized resolution and operation.
For example, target content for a payment scene may be displayed under the same type; displaying target content for the social scene under the same type; the target content for the logistics scene is displayed under the same type.
Preferably, the classification can be performed according to the target application program or the target usage scenario to which the target content belongs; the classification can also be performed in combination with the target application program and the target usage scenario to which the target content belongs.
Preferably, the types of multiple dimensions may exist simultaneously.
Referring to fig. 14, for image data of a graphic code that cannot be recognized by a scanner, the scan result can be directly displayed back to the scan interface, providing a user with access to url addresses by viewing, copying, or jumping the browser.
Further, image data of the unidentifiable graphic code is intensively displayed as one type.
In summary, the embodiment of the invention innovates the interaction mode of graphic code scanning, provides a convenient and rapid graphic code scanning identification and jump method, optimizes the steps of graphic code scanning, shortens the operation time, improves the efficiency and improves the user experience. The method can be applied to at least a scanning mode of a plurality of single graphic codes and a scanning mode of a plurality of single graphic codes.
Fig. 15 shows a block diagram of a terminal device according to another embodiment of the present invention, including:
the scanning module 10 is used for scanning at least one graphic code through the camera at the scanning interface;
and the display module 20 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.
Thus, in the embodiment of the invention, when the scanning function of the terminal equipment is used, after entering the scanning interface based on one operation, the user can aim at least one graphic code on the scanning interface and scan the at least one graphic code through the camera, so that the terminal equipment 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 a user scans graphic codes, particularly when a plurality of graphic codes are scanned, the user does not need to perform repeated interface switching operation, only needs to enter the scanning interface through one operation, after the scanning and identification are completed, 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 between the application interface and the scanning interface of the user is saved, the time consumption of the user in a scanning event is shortened, and the efficiency is improved.
Preferably, the terminal device further includes:
a first input receiving module for receiving a first input of target content;
and a first input response module for performing an action associated with the first input on the target content in response to the first input.
Preferably, the display module 20 includes:
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 catalog of the target type in the scanning interface.
Preferably, the terminal device further includes:
a second input receiving module for receiving a second input of the target type;
and a second input response module for performing an action associated with the second input on the target content included under the catalog of the target type in response to the second input.
Preferably, the classification 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 number of the groups of groups,
and the second classification subunit is used for identifying the 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 in order to avoid repetition, a description is omitted here.
Fig. 16 is a schematic hardware structure of a terminal device 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. It will be appreciated by those skilled in the art that the terminal device structure shown in fig. 16 does not constitute a limitation of the terminal device, and the terminal device may comprise more or less components than shown, or may combine certain components, or may have a different arrangement of components. In the embodiment of the invention, the terminal equipment comprises, 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 the camera at the 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 invention, when the scanning function of the terminal equipment is used, after entering the scanning interface based on one operation, the user can aim at least one graphic code on the scanning interface and scan the at least one graphic code through the camera, so that the terminal equipment 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 a user scans graphic codes, particularly when a plurality of graphic codes are scanned, the user does not need to perform repeated interface switching operation, only needs to enter the scanning interface through one operation, after the scanning and identification are completed, 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 between the application interface and the scanning interface of the user is saved, the time consumption of the user in a 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 configured to receive and send information or signals during a call, specifically, receive downlink data from a base station, and then process the received downlink data with the processor 110; and, the uplink data is transmitted to the base station. Typically, the 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 may also communicate with networks 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 to send and receive e-mail, browse web pages, access streaming media, etc.
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 (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the terminal device 100. The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used for receiving an audio or video signal. The input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, the graphics processor 1041 processing image data of still pictures 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 graphics 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. Microphone 1042 may receive sound and be capable of processing such sound into audio data. The processed audio data may be converted into a format output that can be transmitted to the mobile communication base station via the radio frequency unit 101 in the case of a telephone call mode.
The terminal device 100 further comprises 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 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when the accelerometer sensor is stationary, and can be used for recognizing the gesture (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking) and the like of the terminal equipment; the sensor 105 may further include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which are not described 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 (Liquid Crystal Display, LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 is operable to receive input numeric or character information and to 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. The touch panel 1071, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on the touch panel 1071 or thereabout using any suitable object or accessory such as a finger, stylus, etc.). The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch azimuth 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 detection device, converts the touch information into touch point coordinates, and sends the touch point coordinates to the processor 110, and receives and executes commands sent by the processor 110. Further, the touch panel 1071 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 107 may include other input devices 1072 in addition to the touch panel 1071. In particular, 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 operation is transmitted to the processor 110 to determine the type of touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 based on the type of touch event. Although in fig. 16, the touch panel 1071 and the display panel 1061 are two independent components for implementing the input and output functions of the terminal device, in some embodiments, the touch panel 1071 may be integrated with the display panel 1061 to implement the input and output functions of the terminal device, which is not limited herein.
The interface unit 108 is an interface to which an external device is connected to the terminal apparatus 100. For example, the external devices may include a wired or wireless headset port, an external power (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 an external device.
Memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area that may store an operating system, application programs required for at least one function (such as a sound playing function, an image playing function, etc.), and a storage data area; the storage data area may store data created based on the use of the cellular phone (such as audio data, phonebook, etc.), etc. In addition, 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 respective parts of the entire terminal device 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 that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily 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 source 111 (e.g., a battery) for supplying power to the respective components, and preferably, the power source 111 may be logically connected to the processor 110 through a power management system, so as to perform functions of managing charging, discharging, power consumption management, etc. through the power management system.
In addition, the terminal device 100 includes some functional modules, which are not shown, and will not be described herein.
Preferably, the embodiment of the present invention further provides a terminal device, including 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 the same technical effects can be achieved, and for avoiding repetition, a description is omitted herein.
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the respective processes of the scanning method embodiment described above, and can achieve the same technical effects, and in order to avoid repetition, the description is omitted here. Wherein the computer readable storage medium is selected from Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are to be protected by the present invention.
Claims (9)
1. A scanning method, comprising:
scanning at least one graphic code through a camera at a scanning interface;
identifying target content corresponding to the at least one graphic code respectively;
identifying a target type of the target content according to the target content corresponding to the at least one graphic code;
and displaying the target content under the catalog of the target type to which the target content belongs in the scanning interface.
2. The method of claim 1, wherein the identifying the target content corresponding to the at least one graphic code and displaying the target content after the scanning interface, respectively, further comprises:
receiving a first input of the target content;
in response to the first input, an action associated with the first input is performed on the target content.
3. The method according to claim 1, wherein after displaying the target content under the catalog of the target type in the scan interface, further comprising:
receiving a second input for the target type;
and in response to the second input, performing an action associated with the second input on target content included under the catalog of the target type.
4. The method according to claim 1, wherein the identifying, according to the target content corresponding to the at least one graphic code, a target type to which the target content belongs includes:
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 number of the groups of groups,
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.
5. A terminal device, comprising:
the scanning module is used for scanning at least one graphic code through the camera at the scanning interface;
the display module is used for respectively identifying target contents corresponding to the at least one graphic code and displaying the target contents on the scanning interface;
the display module includes:
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 catalog of the target type to which the target content belongs in the scanning interface.
6. The terminal device according to claim 5, characterized in that the terminal device further comprises:
a first input receiving module for receiving a first input of the target content;
and a first input response module for responding to the first input and executing the action associated with the first input on the target content.
7. The terminal device according to claim 5, characterized in that the terminal device further comprises:
a second input receiving module for receiving a second input for the target type;
and the second input response module is used for responding to the second input and executing an action associated with the second input on the target content included in the target type catalog.
8. The terminal device according to claim 5, 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 number of the groups of groups,
and the second classification subunit is used for identifying the target use scene to which the target content belongs according to the target content corresponding to the at least one graphic code.
9. A terminal device comprising a processor, a memory, a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, implements the steps of the scanning method according to any of claims 1 to 4.
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 CN110674662A (en) | 2020-01-10 |
CN110674662B true 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) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
CN111553673B (en) * | 2020-05-07 | 2021-09-24 | 支付宝(杭州)信息技术有限公司 | Information display method and device based on graphic code identification |
CN112749769B (en) * | 2020-08-19 | 2024-06-14 | 腾讯科技(深圳)有限公司 | Graphic code detection method, graphic code detection device, computer equipment and storage medium |
CN114330403B (en) * | 2020-10-09 | 2023-07-25 | 腾讯科技(深圳)有限公司 | Graphic code processing method, device, equipment and medium |
CN113128244A (en) * | 2021-03-12 | 2021-07-16 | 维沃移动通信有限公司 | Scanning method and device and electronic equipment |
CN113010815A (en) * | 2021-04-12 | 2021-06-22 | 维沃移动通信(杭州)有限公司 | Display method and electronic device |
CN117422461B (en) * | 2023-12-15 | 2024-03-22 | 金财数科(北京)信息技术有限公司 | Mobile phone batch payment system and method |
Citations (7)
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 |
-
2019
- 2019-09-17 CN CN201910876993.1A patent/CN110674662B/en active Active
Patent Citations (7)
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)
Title |
---|
高校设备管理系统中Android客户端的设计与实现;王红勤;《电脑知识与技术》;20160425(第12期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN110674662A (en) | 2020-01-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110674662B (en) | Scanning method and terminal equipment | |
CN108255382B (en) | Method and device for recommending floating menu content | |
CN108024019B (en) | Message display method and device | |
CN107729160B (en) | Application control method, mobile terminal and computer-readable storage medium | |
CN109240577B (en) | Screen capturing method and terminal | |
CN110196667B (en) | Notification message processing method and terminal | |
CN108710458B (en) | Split screen control method and terminal equipment | |
CN109388456B (en) | Head portrait selection method and mobile terminal | |
CN111274842B (en) | Coded image identification method and electronic equipment | |
WO2021083091A1 (en) | Screenshot capturing method and terminal device | |
CN110913067A (en) | Information sending method and electronic equipment | |
CN110865745A (en) | Screen capturing method and terminal equipment | |
CN107450744B (en) | Personal information input method and mobile terminal | |
CN110049187B (en) | Display method and terminal equipment | |
CN109669656B (en) | Information display method and terminal equipment | |
CN110971510A (en) | Message processing method and electronic equipment | |
CN108196781B (en) | Interface display method and mobile terminal | |
CN111131607A (en) | Information sharing method, electronic equipment and computer readable storage medium | |
CN111610903A (en) | Information display method and electronic equipment | |
CN107957914B (en) | Information processing method and mobile terminal | |
CN110209324B (en) | Display method and terminal equipment | |
CN109067975B (en) | Contact person information management method and terminal equipment | |
CN110851219A (en) | Information processing method and electronic equipment | |
CN110908751B (en) | Information display and collection method and device, electronic equipment and medium | |
CN111142998B (en) | Background application sharing method and electronic equipment |
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 |