CN112099892A - Communication terminal and method for rapidly scanning two-dimensional code - Google Patents
Communication terminal and method for rapidly scanning two-dimensional code Download PDFInfo
- Publication number
- CN112099892A CN112099892A CN202011002940.6A CN202011002940A CN112099892A CN 112099892 A CN112099892 A CN 112099892A CN 202011002940 A CN202011002940 A CN 202011002940A CN 112099892 A CN112099892 A CN 112099892A
- Authority
- CN
- China
- Prior art keywords
- picture
- scanning
- memory
- scanned
- application
- 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
Links
- 238000004891 communication Methods 0.000 title claims abstract description 103
- 238000000034 method Methods 0.000 title claims abstract description 59
- 238000001514 detection method Methods 0.000 claims description 9
- 239000010410 layer Substances 0.000 description 28
- 230000006870 function Effects 0.000 description 12
- 230000008569 process Effects 0.000 description 12
- 230000003993 interaction Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 5
- 230000002452 interceptive effect Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000004044 response Effects 0.000 description 3
- 230000005236 sound signal Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000003672 processing method Methods 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 229910002056 binary alloy Inorganic materials 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 239000012792 core layer Substances 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- 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
- G06K7/1417—2D bar codes
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- General Health & Medical Sciences (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Artificial Intelligence (AREA)
- Toxicology (AREA)
- Electromagnetism (AREA)
- Health & Medical Sciences (AREA)
- Telephone Function (AREA)
Abstract
The application provides a communication terminal and a method for rapidly scanning a two-dimensional code, which can display a scanning interface of a scanning application after a control instruction is acquired, and execute two-dimensional code scanning operation of a picture to be scanned by traversing the picture to be scanned in a memory. The picture to be scanned is a picture stored in the memory within a preset time period before the control instruction is acquired. The method can automatically scan the two-dimension code picture stored locally after the scanning application interface is opened, saves the operation steps of a user, improves the scanning efficiency of the communication terminal on the two-dimension code of the local picture, and solves the problem of low efficiency of the traditional two-dimension code scanning method.
Description
Technical Field
The application relates to the technical field of intelligent terminals, in particular to a communication terminal and a method for rapidly scanning a two-dimensional code.
Background
And intelligent terminals such as mobile phones and the like can acquire control information by scanning the two-dimensional codes. The intelligent terminal can enable the scanning function through a built-in scanning application or a third-party scanning application. Generally, a two-dimensional code application can call a camera to detect an image in real time after being started, and after a two-dimensional code pattern exists in the image, the information in the two-dimensional code is read through scanning so as to respond to the control content in the two-dimensional code.
The scanning application can also scan pictures stored in the intelligent terminal so as to read two-dimensional code information contained in the local pictures. In order to scan the two-dimensional code in the local picture, a user needs to open a scanning interface, select a picture library button in the interface to open a picture library interface, and select a picture with the two-dimensional code from the picture library interface, so that the scanning application can scan the selected local picture.
Therefore, because the default interface of the scanning application is an interface for completing scanning through the camera, when the two-dimensional code in the local picture is scanned, the two-dimensional code can be completed only by the user executing multiple interactive operations, and the scanning process is complicated. Moreover, since the body picture is usually a picture file saved by the user in some applications, the user cannot know the saving path of the picture file accurately, so that the user needs a long time to find the local picture with the two-dimensional code when selecting the file in the image library interface, thereby reducing the scanning efficiency of the two-dimensional code.
Disclosure of Invention
The application provides a communication terminal and a method for rapidly scanning a two-dimensional code, and aims to solve the problem that the traditional two-dimensional code scanning method is low in efficiency.
In a first aspect, the present application provides a communication terminal, comprising: display element, memory and treater. The display unit is configured to display an application interface; the memory is configured to store a scanning application and a picture to be scanned; the processor is configured to perform the following program steps:
acquiring a control instruction which is input by a user and used for running the scanning application;
responding to the control instruction, and controlling the display unit to display a scanning interface of the scanning application;
traversing a picture to be scanned in the memory, wherein the picture to be scanned is a picture stored in the memory within a preset time period before the control instruction is acquired;
and executing two-dimensional code scanning on the picture to be scanned.
Based on the above communication terminal, the first aspect of the present application further provides a method for rapidly scanning a two-dimensional code, which is applied to a communication terminal, where the communication terminal includes: the device comprises a display unit, a memory and a processor, wherein the memory stores scanning application and a picture to be scanned; the method comprises the following steps:
acquiring a control instruction which is input by a user and used for running the scanning application;
responding to the control instruction, and controlling the display unit to display a scanning interface of the scanning application;
traversing a picture to be scanned in the memory, wherein the picture to be scanned is a picture stored in the memory within a preset time period before the control instruction is acquired;
and executing two-dimensional code scanning on the picture to be scanned.
According to the technical scheme, the communication terminal and the method for rapidly scanning the two-dimensional code, provided by the first aspect of the application, can display the scanning interface of the scanning application after the control instruction is obtained, and execute the two-dimensional code scanning operation of the picture to be scanned by traversing the picture to be scanned in the memory. The picture to be scanned is a picture stored in the memory within a preset time period before the control instruction is acquired. The method can automatically scan the two-dimension code picture stored locally after the scanning application interface is opened, saves the operation steps of a user, improves the scanning efficiency of the communication terminal on the two-dimension code of the local picture, and solves the problem of low efficiency of the traditional two-dimension code scanning method.
In a second aspect, the present application further provides a communication terminal, including: display element, memory and treater. The display unit is configured to display an application interface; the memory is configured to store a scanning application and a latest picture; the processor is configured to perform the following program steps:
acquiring a control instruction which is input by a user and used for running the scanning application;
responding to the control instruction, and controlling the display unit to display a scanning interface of the scanning application;
acquiring the latest picture from the memory, wherein the latest picture is the picture stored by the memory before the control instruction is acquired;
and executing two-dimensional code scanning on the latest picture.
Based on the above communication terminal, the second aspect of the present application further provides a method for rapidly scanning a two-dimensional code, which is applied to a communication terminal, where the communication terminal includes: the device comprises a display unit, a memory and a processor, wherein the memory stores a scanning application and a latest picture; the method comprises the following steps:
acquiring a control instruction which is input by a user and used for running the scanning application;
responding to the control instruction, and controlling the display unit to display a scanning interface of the scanning application;
acquiring the latest picture from the memory, wherein the latest picture is the picture stored by the memory before the control instruction is acquired;
and executing two-dimensional code scanning on the latest picture.
According to the above technical solution, after the control instruction input by the user is obtained, the communication terminal and the method for rapidly scanning the two-dimensional code provided in the second aspect of the present application can control the display unit to display the scanning interface of the scanning application, and extract the latest picture from the memory, so as to perform the two-dimensional code scanning operation on the latest picture. The latest picture is a picture stored in the memory before the control instruction is acquired. According to the method, the two-dimension code scanning can be automatically carried out on the newly stored picture after the scanning application interface is opened, the operation steps of a user are saved, the scanning efficiency of the communication terminal on the two-dimension code of the local picture is improved, and the problem that the traditional two-dimension code scanning method is low in efficiency is solved.
Drawings
In order to more clearly explain the technical solution of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious to those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a communication terminal according to an embodiment of the present application.
Fig. 2 is a schematic software architecture diagram of a communication terminal according to an embodiment of the present disclosure.
Fig. 3 is a schematic view of a user interface of a communication terminal according to an embodiment of the present application.
Fig. 4 is a schematic view of a scanning interface provided in an embodiment of the present application.
Fig. 5 is a schematic flowchart of a method for rapidly scanning a two-dimensional code according to an embodiment of the present application.
Fig. 6 is an overall flowchart of scanning a two-dimensional code according to an embodiment of the present application.
Fig. 7 is a schematic flowchart of another method for rapidly scanning a two-dimensional code according to an embodiment of the present application.
Fig. 8 is a flowchart illustrating a code scanning operation according to an embodiment of the present disclosure.
Detailed Description
The technical solution in the embodiments of the present application will be described in detail and removed with reference to the accompanying drawings. In the description of the embodiments herein, "/" means "or" unless otherwise specified, for example, a/B may mean a or B; "and/or" in the text is only an association relationship describing an associated object, and means that three relationships may exist, for example, a and/or B may mean: three cases of a alone, a and B both, and B alone exist, and in addition, "a plurality" means two or more than two in the description of the embodiments of the present application.
In the following, the terms "first", "second" are used for descriptive purposes only and are not to be understood as implying or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature, and in the description of embodiments of the application, unless stated otherwise, "plurality" means two or more.
Fig. 1 shows a schematic configuration of a communication terminal 100.
The following describes an embodiment specifically taking the communication terminal 100 as an example. It should be understood that the communication terminal 100 shown in fig. 1 is only an example, and the communication terminal 100 may have more or less components than those shown in fig. 1, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
A block diagram of a hardware configuration of a communication terminal 100 according to an exemplary embodiment is exemplarily shown in fig. 1. As shown in fig. 1, the communication terminal 100 includes: a Radio Frequency (RF) circuit 110, a memory 120, a display unit 130, a camera 140, a sensor 150, an audio circuit 160, a Wireless Fidelity (Wi-Fi) module 170, a processor 180, a bluetooth module 181, and a power supply 190.
The RF circuit 110 may be used for receiving and transmitting signals during information transmission and reception or during a call, and may receive downlink data of a base station and then send the downlink data to the processor 180 for processing; the uplink data may be transmitted to the base station. Typically, the RF circuitry includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
The memory 120 may be used to store software programs and data. The processor 180 executes various functions of the communication terminal 100 and data processing by executing software programs or data stored in the memory 120. The memory 120 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 memory 120 stores an operating system that enables the communication terminal 100 to operate. The memory 120 may store an operating system and various application programs, and may also store codes for performing the methods described in the embodiments of the present application.
The display unit 130 may be used to receive input numeric or character information and generate signal input related to user settings and function control of the communication terminal 100, and particularly, the display unit 130 may include a touch screen 131 disposed on the front surface of the communication terminal 100 and may collect touch operations of a user thereon or nearby, such as clicking a button, dragging a scroll box, and the like.
The display unit 130 may also be used to display a Graphical User Interface (GUI) of information input by or provided to the user and various menus of the terminal 100. Specifically, the display unit 130 may include a display screen 132 disposed on the front surface of the communication terminal 100. The display screen 132 may be configured in the form of a liquid crystal display unit, a light emitting diode, or the like. The display unit 130 may be used to display various graphical user interfaces described herein.
The touch screen 131 may cover the display screen 132, or the touch screen 131 and the display screen 132 may be integrated to implement the input and output functions of the communication terminal 100, and after the integration, the touch screen may be referred to as a touch display screen for short. In the present application, the display unit 130 may display the application programs and the corresponding operation steps.
The camera 140 may be used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing elements convert the light signals into electrical signals which are then passed to the processor 180 for conversion into digital image signals.
The communication terminal 100 may further comprise at least one sensor 150, such as an acceleration sensor 151, a distance sensor 152, a fingerprint sensor 153, a temperature sensor 154. The communication terminal 100 may also be configured with other sensors such as a gyroscope, barometer, hygrometer, thermometer, infrared sensor, optical sensor, motion sensor, and the like.
The audio circuitry 160, speaker 161, microphone 162 may provide an audio interface between a user and the communication terminal 100. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161. The communication terminal 100 may also be provided with a volume button for adjusting the volume of the sound signal. On the other hand, the microphone 162 converts the collected sound signal into an electrical signal, converts the electrical signal into audio data after being received by the audio circuit 160, and outputs the audio data to the RF circuit 110 to be transmitted to, for example, another terminal or outputs the audio data to the memory 120 for further processing. In this application, the microphone 162 may capture the voice of the user.
Wi-Fi belongs to a short-distance wireless transmission technology, and the communication terminal 100 may help a user to send and receive e-mails, browse webpages, access streaming media, and the like through the Wi-Fi module 170, which provides a wireless broadband internet access for the user.
The processor 180 is a control center of the communication terminal 100, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the communication terminal 100 and processes data by running or executing software programs stored in the memory 120 and calling data stored in the memory 120. In some embodiments, processor 180 may include one or more processing units; the processor 180 may also integrate an application processor, which mainly handles operating systems, user interfaces, applications, etc., and a baseband processor, which mainly handles wireless communications. It will be appreciated that the baseband processor described above may not be integrated into the processor 180. In the present application, the processor 180 may run an operating system, an application program, a user interface display, and a touch response, and the processing method described in the embodiments of the present application. In addition, the processor 180 is coupled with the input unit 130 and the display unit 140.
And the bluetooth module 181 is configured to perform information interaction with other bluetooth devices having a bluetooth module through a bluetooth protocol. For example, the communication terminal 100 may establish a bluetooth connection with a wearable electronic device (e.g., a smart watch) having a bluetooth module via the bluetooth module 181, so as to perform data interaction.
The communication terminal 100 also includes a power supply 190 (such as a battery) to power the various components. The power supply may be logically connected to the processor 180 through a power management system to manage charging, discharging, power consumption, etc. through the power management system. The communication terminal 100 may also be configured with power buttons for powering the terminal on and off, and for locking the screen.
Fig. 2 is a block diagram of a software configuration of the communication terminal 100 according to the embodiment of the present invention.
The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, an application layer, an application framework layer, an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom.
The application layer may include a series of application packages.
As shown in fig. 2, the application package may include applications such as camera, gallery, calendar, phone call, map, navigation, WLAN, bluetooth, music, video, short message, etc.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 2, the application framework layers may include a window manager, content provider, view system, phone manager, resource manager, notification manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The phone manager is used to provide a communication function of the communication terminal 100. Such as management of call status (including on, off, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, text information is prompted in the status bar, a prompt tone is given, the communication terminal vibrates, and an indicator light flashes.
The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), Media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, and the like.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
The following exemplifies the workflow of the software and hardware of the communication terminal 100 in connection with capturing a photographing scene.
When the touch screen 131 receives a touch operation, a corresponding hardware interrupt is issued to the kernel layer. The kernel layer processes the touch operation into an original input event (including touch coordinates, a time stamp of the touch operation, and other information). The raw input events are stored at the kernel layer. And the application program framework layer acquires the original input event from the kernel layer and identifies the control corresponding to the input event. Taking the touch operation as a touch click operation, and taking a control corresponding to the click operation as a control of a camera application icon as an example, the camera application calls an interface of an application framework layer, starts the camera application, further starts a camera drive by calling a kernel layer, and captures a still image or a video through the camera 140.
The communication terminal 100 in the embodiment of the present application may be a mobile phone, a tablet computer, a wearable device, a notebook computer, a television, and the like.
Fig. 3 is a schematic diagram for illustrating a user interface on a communication terminal (e.g., communication terminal 100 of fig. 1). In some implementations, a user can open a corresponding application by touching an application icon on the user interface, or can open a corresponding folder by touching a folder icon on the user interface.
In the embodiment of the present application, a two-dimensional Code (Quick Response Code) is also called a two-dimensional bar Code as a pattern which is distributed on a plane (two-dimensional direction) according to a certain rule by using a certain specific geometric figure, is black and white, and records data symbol information. In code encoding, a two-dimensional code uses a bit stream concept of "0" and "1" that forms the internal logic basis of a computer, and uses a plurality of geometric shapes corresponding to binary systems to represent information such as characters and numerical values. The two-dimensional code can be automatically read through an image input device or a photoelectric scanning device so as to realize automatic information processing.
The communication terminal 100 refers to an intelligent terminal device, such as a mobile phone, a tablet computer, an intelligent wearable device, and the like, capable of interacting with a user and scanning a two-dimensional code under the control of the user. To facilitate interaction, the communication terminal may include a display unit 130 and a processor 180. The display unit 130 is used for presenting an interactive interface; the processor 180 is used for processing interaction data to control the operation of each component.
Control hardware may also be provided on or external to the communication terminal 100 for inputting the interaction. For example, the display unit 130 of the communication terminal 100 may include a touch operation-enabled display screen. The user can input different interactive actions by inputting various touch actions in the touch actions. For another example, the communication terminal 100 may also be provided with a built-in or external control device with keys, and the user may input different interactive actions by pressing different keys.
The communication terminal 100 may also be provided with storage hardware such as a memory 120. The processor 180 may control the operation of the communication terminal 100 and respond to user operations through various software control programs stored in the memory 120. For example, operating system program related files, asset related files, application program related files, and other types of files may be stored in memory 120. The files stored in the memory 120 may include various types of specific files, such as video files, picture files, document files, and the like. These files, after being stored to the memory 120, are referred to as local files, such as local videos, local pictures, and local documents. These files may be called by the processor 180 in different application scenarios to coordinate the execution of the associated application.
The communication terminal 100 may implement different functions by running different applications. The application stored in the memory 120 may be installed in the communication terminal 100 by running the installer file so as to be able to be started by the processor 180 at any time. The application installed in the communication terminal 100 may be divided into a system application and a third party application according to its application source; the applications can be further divided into various forms according to the usage, such as video applications, shopping applications, tool applications, etc.
The user can input various control instructions through interaction with the communication terminal 100 to run the application. The running application may present an application interface on the display unit 130, and the user may further perform operations based on the displayed application interface to implement different functions.
For example, as shown in fig. 4, the processor 180 may start an application program, such as a scanning program, according to the control instruction after receiving the control instruction. The initiated scanning program may present an application interface, i.e., a scanning interface, on the display unit 130. The scanning interface comprises a two-dimensional code scanning area positioned in the middle and functional areas positioned at the top and the bottom. The user can enter the gallery interface by clicking the top "select pictures" button, the gallery interface can include all local pictures stored in the memory 120, and the user can select any picture in the gallery interface to scan the two-dimensional code on the selected picture. After the user selects any one of the pictures, the processor 180 may extract the corresponding local picture file from the memory 120, so as to identify the two-dimensional code information included in the extracted picture.
It can be seen that, in the two-dimensional code scanning process, a user needs to open a scanning interface, select a gallery button in the interface to open a gallery interface, and select a picture with a two-dimensional code from the gallery interface, so that a scanning application can scan the selected local picture. The process of executing the two-dimension code scanning on the local picture is complicated, and the user usually needs to spend a long time to select the picture to be subjected to the two-dimension code scanning because the presentation modes of the storage folder and the picture library interface are uncertain, so that the efficiency of the two-dimension code scanning process is low.
In order to improve the scanning efficiency of the two-dimensional code, some embodiments of the present application provide a method for scanning the two-dimensional code quickly. The method can be applied to the communication terminal 100 to control the communication terminal 100 to quickly complete the two-dimensional code scanning. The communication terminal 100 includes: a display unit 130, a memory 120 and a processor 180, wherein the memory 120 stores a scanning application and a picture to be scanned. As shown in fig. 5, the method comprises the steps of:
s100: and acquiring a control instruction which is input by a user and used for running the scanning application.
In the embodiment of the present application, the scan application refers to an application capable of implementing a two-dimensional code scanning process, and may be a system application built in an operating system service, such as "scan" carried by a system; or may be a third party application manually installed in the communication terminal 100 by the user, such as "i check" or the like. The scanning application may also be a sub-function built into a part of the application, such as a "scan" function built into a "WeChat" application. Different scanning applications may have different startup modes of operation.
Depending on how the communication terminal 100 interacts with the user, the user may input control instructions for running the scanning application through different interaction actions. For example, the user may enter the application list interface by interacting with keys on the control device 100 (e.g., a remote controller), adjust the position of the focus cursor in the application list interface by using the "up, down, left, and right" keys, and press the "OK/OK" key to input a control command after the focus cursor is located on an application icon such as "scan", so as to start running the scan application.
The user may also enter control instructions for starting the scanning application in other ways. For example, for the communication terminal 100 supporting touch operation, the user may directly click touch on an application icon position such as "scan" in the application list interface to start running a corresponding scan application. For the communication terminal 100 with the built-in intelligent voice system, the user can control the communication terminal 100 to start running the corresponding scanning application by inputting voice instructions such as "open scan", "i want to scan" and the like.
S200: and responding to the control instruction, and controlling the display unit to display a scanning interface of the scanning application.
After acquiring the control instruction, the processor 180 may present a scan interface on the display unit 130 after starting to run the scan application in response to the control instruction. The scanning interface may include a scanning area and a functional area. The scanning area may read information contained in the two-dimensional code by detecting the two-dimensional code pattern when the two-dimensional code is contained therein. Two forms of two-dimension code scanning operation can be respectively executed through the scanning interface, namely, two-dimension codes in a scanning environment and two-dimension codes in a scanning picture file.
For scanning the two-dimensional code in the environment, in some embodiments, in order to perform the scanning, the communication terminal 100 further includes a camera 500, and the camera 500 connected to the processor 180 may capture an image in the environment by enabling the camera 500 on the communication terminal 100 while running the scanning application, so as to identify the two-dimensional code in the environment image.
The camera 500 may be built in or externally connected to the communication terminal 100 according to the type of the communication terminal 100. For example, when the communication terminal 100 is an intelligent terminal device such as a mobile phone or a tablet computer, the camera 500 may be directly built in, and the camera 500 is directly called to shoot an environment image after the running of the scanning application is started. For the communication terminal 100 such as a smart television, the external camera 500 may be connected through an external device structure, and the camera 500 is also directly called to shoot an environment image after the scan application is started.
For scanning the two-dimensional code in the picture file, the method for rapidly scanning the two-dimensional code provided in this embodiment may call the picture file to scan in a manual or automatic manner after the scanning application is run.
S300: and traversing the picture to be scanned in the memory.
Generally, in order to scan the two-dimension code information on the picture file, a user needs to save a picture with a two-dimension code first and then start a scanning application for scanning. While displaying the scanning interface of the scanning application, the processor 180 may traverse the picture to be scanned stored in the memory 120 to automatically call the picture file for scanning.
The picture to be scanned is a picture stored in the memory 120 within a preset time period before the control instruction is acquired. Since the local two-dimensional code image scanned by the user is often just stored in the communication terminal 100, a time period may be preset, and the image to be scanned stored in the preset time period before the control instruction is acquired may be traversed. For example, the preset time period is 2min, and the time for acquiring the control command is × year × month × day 19:45:00, the picture saved in the previous 2min, that is, the picture saved in the time period of traversing × year × month × day 19:43:00 to × year × month × day 19:45:00, can be acquired in a traversal manner while the scan interface is displayed.
S400: and executing two-dimensional code scanning on the picture to be scanned.
After traversing the to-be-scanned picture in the memory 120, two-dimensional code scanning may be performed on the to-be-scanned picture obtained through traversal, that is, the to-be-scanned picture is analyzed to identify the two-dimensional code, and the information included in the two-dimensional code is obtained by reading the graph distribution in the two-dimensional code.
Obviously, the memory 120 may store a plurality of pictures during a preset time period. When a plurality of pictures are stored, the processor 180 may sequentially determine from new to old according to time, and stop performing the two-dimensional code scanning operation on other pictures after acquiring the two-dimensional code information on any picture. For example, 3 pictures are stored within a preset time, and the storage time is x years × months × days 19:43:05, x years × months × days 19:44:00, or x years × months × days 19:44:30, respectively, then the pictures stored by x years × months × days 19:44:30 may be obtained first, and the two-dimensional code scanning operation may be performed thereon. If two-dimensional code information is identified in the pictures stored by the times of year, month and day 19:44:30, two-dimensional code scanning is not performed on the other two pictures. If the two-dimensional code information is not recognized in the picture held by 19:44:30 × year × month × day, two-dimensional code scanning is performed on the picture held by 19:44:00 × year × month × day.
The memory 120 may not yet hold the picture for a preset period of time. When the picture is not saved, the communication terminal 100 may normally display a scanning interface so that the user performs a conventional two-dimensional code scanning process. For example, the user may operate the communication terminal 100 to move the two-dimensional code pattern in the picture taken by the camera 500 to the two-dimensional code in the scan interface to complete the camera code scanning process, or to switch to the gallery interface by clicking "select picture" in the scan interface, so as to manually select a picture with the two-dimensional code in the gallery interface.
As can be seen, in the above embodiment, after the scanning application is started, the picture to be scanned in the memory 120 is automatically scanned, so that the picture that the user just saved is automatically detected, and the operation step when the user manually selects the picture for scanning is omitted. And when the picture to be scanned in the memory 120 is detected, the scanning interface is still displayed. When the picture is not stored in the memory 120 within the preset time, the two-dimensional code scanning process is completed through manual operation, that is, the two-dimensional code scanning efficiency is improved on the premise that the manual operation of a user is not affected.
In the above embodiment, the step of traversing the picture to be scanned in the memory 120 may be performed in the background, that is, from the perspective of user experience, the scanning application operates in the same manner as the conventional scanning application. To provide the above experience, in some embodiments, the step of controlling the display unit to display the scanning interface of the scanning application further comprises:
s211: sending a starting instruction to a camera to control the camera to acquire an image;
s212: calling a camera service;
s213: and capturing the camera frame data collected by the camera through the camera service.
After the user inputs the control instruction, the processor 180 may generate a start instruction for starting the camera 500 while displaying the scanning application interface, and send the start instruction to the camera 500. After acquiring the start instruction, the camera 500 may start image shooting to acquire multi-frame image data.
After sending the start instruction to the Camera 500, the processor 180 may also invoke a Camera service (Camera service) in the system, and capture the Camera frame data collected by the Camera 500 through the Camera service. When the scanning application is entered, the scanning interface is opened first, and then the Camera service is called as a preview of scanning, and Camera frame data is captured in real time.
Meanwhile, the image content acquired by the camera 500 can be displayed in real time in the scanning interface, that is, in the scanning interface, the image which can be scanned in the environment can be displayed, so that the user can adjust the position of the communication terminal 100, and the two-dimensional code pattern enters the two-dimensional code area of the scanning interface to be scanned.
In some embodiments, the step of controlling the display unit to display the scan interface of the scan application further comprises:
s221: detecting the picture to be scanned stored in the memory within the preset time period;
s222: if the picture to be scanned is not stored in the memory within the preset time period, sending the camera frame data to the scanning application;
s223: and if the picture to be scanned is stored in the memory within the preset time period, executing the step of traversing the picture to be scanned in the memory.
While the scanning application interface is displayed, the processor 180 may background detect whether the memory 120 has saved the picture for a preset time period. If the picture is not saved within the preset time period, the scanning operation of the local picture does not need to be executed, so the camera scanning operation can be executed by sending the camera frame data to the scanning application. If the picture to be scanned is stored in the preset time period, the two-dimensional code scanning operation of the local picture can be automatically realized by executing the step of traversing the picture to be scanned in the memory.
In order to detect whether the picture to be scanned is stored in the memory 120, in practical applications, the time when the memory 120 has last completed storing the corresponding event of the picture may be determined by checking an event log of the system or the memory. If the time corresponding to the storage event is within the preset time period, determining that the picture to be scanned is stored within the preset time period, and if the time corresponding to the storage event is not within the preset time period, determining that the picture to be scanned is not stored within the preset time period.
For example, if the preset time period is x years × months × days 19:43:00 to x years × months × days 19:45:00, the time of obtaining the latest stored picture is x years × months × days 19:44:10 by reading the storage event corresponding to the memory 120, and within the preset time period, it is determined that the picture to be scanned is saved within the preset time period, so that the picture file corresponding to the storage event at this time can be determined as the picture to be scanned, so that the picture file is called to perform the two-dimensional code scanning operation on the picture.
In some embodiments, in the step of traversing the picture to be scanned in the memory:
s311: sequentially detecting the two-dimensional codes in each picture to be scanned;
s312: if the picture to be scanned comprises the two-dimensional code, converting the picture to be scanned into image frame data;
s313: replacing camera frame data sent to the scanning application with the image frame data;
s314: and if the two-dimensional codes are not included in all the pictures to be scanned, sending the camera frame data to the scanning application.
After determining that the to-be-scanned pictures are stored in the memory 120 within the preset time period, whether each to-be-scanned picture contains the two-dimensional code or not may be sequentially scanned, and if the to-be-scanned pictures include the two-dimensional code, the to-be-scanned pictures may be converted into image frame data and the camera frame data may be replaced to be sent to the scanning application to perform two-dimensional code information extraction. If all the pictures to be scanned do not include the two-dimensional code, the camera frame data can be sent to the scanning application, so that the scanning application can execute two-dimensional code scanning operation aiming at the camera frame data.
In order to detect whether the picture to be scanned contains the two-dimensional code pattern, whether the picture contains the position detection pattern or not can be detected. The position detection graph can be determined by the specific shapes of three marked positions on the two-dimensional code, for example, the box-shaped patterns respectively positioned on three corners of a square two-dimensional code are formed. If the picture to be scanned comprises three regularly distributed boxes, it can be determined that the current picture to be scanned comprises the two-dimensional code.
As can be seen from the above embodiments, as shown in fig. 6, the method for rapidly scanning a two-dimensional code provided by the present application can implement that when a Camera service is started, before sending frame data to an upper application, a picture resource in the communication terminal 100 is checked, and whether there is a picture resource stored within a preset time is determined. And if the picture resources stored in the preset time period exist, reading the picture data, and detecting whether the picture contains the two-dimensional code. If the two-dimensional code is contained, the picture data is converted into Camera frame data to replace normal Camera frame data and return to the upper layer application, and when the upper layer application acquires the Camera frame data, the picture data is actually acquired, so that the detection of the two-dimensional code data of the local picture is realized.
In some embodiments, after the step of replacing the camera frame data with the image frame data, the method may perform two-dimensional code scanning on a picture to be scanned, specifically including:
s401: detecting a position detection pattern in the picture to be scanned through the scanning application;
s402: positioning a two-dimensional code area in the picture to be scanned according to the position detection graph;
s403: scanning the graph distribution in the two-dimension code area to obtain two-dimension code information;
s404: and controlling the display unit to display the picture corresponding to the two-dimensional code information.
In order to read two-dimensional code information in a local picture, after replacing camera data with image frame data, a position detection pattern in the scanned picture can be detected by a scanning application so as to locate a two-dimensional code region according to the position detection pattern. And then, scanning the distribution condition of the graph in the two-dimensional code area through a two-dimensional code information reading program in the scanning application, so as to obtain the two-dimensional code information through the width occupation condition of dark and light areas in the two-dimensional code, and finally, displaying the picture corresponding to the two-dimensional code information through the display unit 130.
For the display of the picture corresponding to the two-dimensional code information, different contents can be displayed according to the characteristics of the information contained in the two-dimensional code. For example, if the two-dimensional code information is a character, the corresponding character can be directly displayed through a text interface; if the two-dimension code information is the network link, skipping to a corresponding link interface through prompting; if the two-dimension code information is the control instruction, the control instruction can be directly executed after the two-dimension code information is acquired.
Based on the above method for rapidly scanning a two-dimensional code, some embodiments of the present application further provide a communication terminal 100, including: a display unit 130, a memory 120, and a processor 180. The display unit 130 is configured to display an application interface; the memory 120 is configured to store a scanning application and a picture to be scanned; the processor 180 is configured to perform the following program steps:
s100: acquiring a control instruction which is input by a user and used for running the scanning application;
s200: responding to the control instruction, and controlling the display unit to display a scanning interface of the scanning application;
s300: traversing a picture to be scanned in the memory, wherein the picture to be scanned is a picture stored in the memory within a preset time period before the control instruction is acquired;
s400: and executing two-dimensional code scanning on the picture to be scanned.
As can be seen from the foregoing technical solutions, the communication terminal 100 and the method for rapidly scanning a two-dimensional code provided in the foregoing embodiment can display a scanning interface of a scanning application after acquiring a control instruction, and execute a two-dimensional code scanning operation on a picture to be scanned by traversing the picture to be scanned in a memory. The picture to be scanned is a picture stored in the memory within a preset time period before the control instruction is acquired. The method can automatically scan the two-dimension code picture stored locally after the scanning application interface is opened, saves the operation steps of a user, improves the scanning efficiency of the communication terminal on the two-dimension code of the local picture, and solves the problem of low efficiency of the traditional two-dimension code scanning method.
In some embodiments of the present application, a method for rapidly scanning a two-dimensional code is applied to a communication terminal 100, where the communication terminal 100 includes: a display unit 130, a memory 120 and a processor 180, wherein the memory 120 stores a scanning application and a latest picture; as shown in fig. 7, the method includes:
s510: acquiring a control instruction which is input by a user and used for running the scanning application;
s520: responding to the control instruction, and controlling the display unit to display a scanning interface of the scanning application;
s530: acquiring the latest picture from the memory, wherein the latest picture is the picture stored by the memory before the control instruction is acquired;
s540: and executing two-dimensional code scanning on the latest picture.
The present embodiment is different from the above-described embodiments in that, after controlling the display unit 130 to display the scanning interface of the scanning application, the latest picture can be directly acquired from the memory 120 so as to perform two-dimensional code scanning on the latest picture. The latest picture is the picture stored in the memory 120 before the control command is acquired.
Since the memory 120 necessarily stores a latest stored picture except after the memory 120 is formatted, in the present embodiment, the determination time of the latest picture may be set, that is, it is determined that the latest stored picture is taken as the latest picture within a preset time period.
For example, the preset time period may be set to 10min, and the latest picture acquired from the memory 120 is the last picture stored by the memory 120 within 10min before the acquisition control instruction. By setting the preset time period, the problem that the manual camera scanning process is influenced by scanning the same local picture when the scanning application is started every time can be avoided, and a user can complete the operation conveniently.
Similarly, for the above-mentioned camera scanning operation, in the step of controlling the display unit to display the scanning interface of the scanning application, the camera 500 may be controlled to acquire an image by sending a start instruction to the camera 500; and then calling a camera service so as to capture the camera frame data collected by the camera through the camera service.
Meanwhile, in the step of performing two-dimensional code scanning on the latest picture, the storage time of the latest picture can be acquired; if the storage time is within a preset time period before the control instruction is acquired, executing a step of scanning the two-dimensional code of the latest picture; and if the storage time is out of the preset time period before the control instruction is acquired, sending the camera frame data to the scanning application.
Based on the above method for rapidly scanning a two-dimensional code, some embodiments of the present application further provide a communication terminal 100, including: display 130, memory 120, and processor 180. The display unit 130 is configured to display an application interface; the memory 120 is configured to store a scanning application and a latest picture; the processor 180 is configured to perform the following program steps:
s510: acquiring a control instruction which is input by a user and used for running the scanning application;
s520: responding to the control instruction, and controlling the display unit to display a scanning interface of the scanning application;
s530: acquiring the latest picture from the memory, wherein the latest picture is the picture stored by the memory before the control instruction is acquired;
s540: and executing two-dimensional code scanning on the latest picture.
Based on the above technical solution, as shown in fig. 8, in practical application, the method for rapidly scanning the two-dimensional code provided by the present application may first obtain a picture with the two-dimensional code through various application programs (such as WeChat, etc.) or a network platform, and store the picture. When the stored two-dimensional code picture is scanned, the terminal can automatically perform two-dimensional code scanning on the stored picture after a scanning interface is started and displayed by starting a scanning application (such as scanning), and finally, a scanning result is displayed. In the whole scanning process, a user does not need to select pictures in a picture library interface, so that the operation steps of the user can be saved, and the user experience is improved.
As can be seen from the foregoing technical solutions, after the control instruction input by the user is obtained, the communication terminal 100 and the method for rapidly scanning the two-dimensional code provided in the foregoing embodiments can control the display unit 130 to display the scanning interface of the scanning application, and extract the latest picture from the memory, so as to perform the two-dimensional code scanning operation on the latest picture. The latest picture is the picture stored in the memory 120 before the control command is acquired. According to the method, the two-dimension code scanning can be automatically carried out on the newly stored picture after the scanning application interface is opened, the operation steps of a user are saved, the scanning efficiency of the communication terminal on the two-dimension code of the local picture is improved, and the problem that the traditional two-dimension code scanning method is low in efficiency is solved.
It should be noted that the method for rapidly scanning the two-dimensional code provided in the above embodiment is not limited to scanning the two-dimensional code, and may also be applied to scanning applications such as scanning bar codes, identifying names of commodities, identifying types of plants, and identifying geographic signs. In order to implement the corresponding scanning procedure, the scanning can be done using different recognition models.
Since the communication terminal and the computer storage medium in the embodiment of the present invention may be applied to the processing method, reference may also be made to the above method embodiment for obtaining technical effects, and details of the embodiment of the present invention are not described herein again.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that these are by way of example only, and that the scope of the invention is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the spirit and scope of the invention, and these changes and modifications are within the scope of the invention.
Claims (10)
1. A communication terminal, comprising:
a display unit;
a memory configured to store a scanning application and a picture to be scanned;
a processor configured to:
acquiring a control instruction which is input by a user and used for running the scanning application;
responding to the control instruction, and controlling the display unit to display a scanning interface of the scanning application;
traversing a picture to be scanned in the memory, wherein the picture to be scanned is a picture stored in the memory within a preset time period before the control instruction is acquired;
and executing two-dimensional code scanning on the picture to be scanned.
2. The communication terminal according to claim 1, further comprising a camera, the camera being connected to the processor; in the step of controlling the display unit to display the scan interface of the scan application, the processor is further configured to:
sending a starting instruction to a camera to control the camera to acquire an image;
calling a camera service;
and capturing the camera frame data collected by the camera through the camera service.
3. The communication terminal according to claim 2, wherein in the step of controlling the display unit to display the scanning interface of the scanning application, the processor is further configured to:
detecting the picture to be scanned stored in the memory within the preset time period;
if the picture to be scanned is not stored in the memory within the preset time period, sending the camera frame data to the scanning application;
and if the picture to be scanned is stored in the memory within the preset time period, executing the step of traversing the picture to be scanned in the memory.
4. The communication terminal of claim 3, wherein in the step of traversing the picture to be scanned in the memory, the processor is further configured to:
sequentially detecting the two-dimensional codes in each picture to be scanned;
if the picture to be scanned comprises the two-dimensional code, converting the picture to be scanned into image frame data;
replacing camera frame data sent to the scanning application with the image frame data;
and if the two-dimensional codes are not included in all the pictures to be scanned, sending the camera frame data to the scanning application.
5. The communication terminal of claim 4, wherein after the step of replacing camera frame data with the image frame data, the processor is further configured to:
detecting a position detection pattern in the picture to be scanned through the scanning application;
positioning a two-dimensional code area in the picture to be scanned according to the position detection graph;
scanning the graph distribution in the two-dimension code area to obtain two-dimension code information;
and controlling the display unit to display the picture corresponding to the two-dimensional code information.
6. A communication terminal, comprising:
a display unit;
a memory configured to store a scanning application and a latest picture;
a processor configured to:
acquiring a control instruction which is input by a user and used for running the scanning application;
responding to the control instruction, and controlling the display unit to display a scanning interface of the scanning application;
acquiring the latest picture from the memory, wherein the latest picture is the picture stored by the memory before the control instruction is acquired;
and executing two-dimensional code scanning on the latest picture.
7. The communication terminal according to claim 6, further comprising a camera, the camera being connected to the processor; in the step of controlling the display unit to display the scan interface of the scan application, the processor is further configured to:
sending a starting instruction to a camera to control the camera to acquire an image;
calling a camera service;
and capturing the camera frame data collected by the camera through the camera service.
8. The communication terminal according to claim 7, wherein in the step of performing two-dimensional code scanning on the latest picture, the processor is further configured to:
acquiring the storage time of the latest picture;
if the storage time is within a preset time period before the control instruction is acquired, executing a step of scanning the two-dimensional code of the latest picture;
and if the storage time is out of the preset time period before the control instruction is acquired, sending the camera frame data to the scanning application.
9. A method for rapidly scanning two-dimensional codes is applied to a communication terminal, and the communication terminal comprises: the device comprises a display unit, a memory and a processor, wherein the memory stores scanning application and a picture to be scanned; the method comprises the following steps:
acquiring a control instruction which is input by a user and used for running the scanning application;
responding to the control instruction, and controlling the display unit to display a scanning interface of the scanning application;
traversing a picture to be scanned in the memory, wherein the picture to be scanned is a picture stored in the memory within a preset time period before the control instruction is acquired;
and executing two-dimensional code scanning on the picture to be scanned.
10. A method for rapidly scanning two-dimensional codes is applied to a communication terminal, and the communication terminal comprises: the device comprises a display unit, a memory and a processor, wherein the memory stores a scanning application and a latest picture; the method comprises the following steps:
acquiring a control instruction which is input by a user and used for running the scanning application;
responding to the control instruction, and controlling the display unit to display a scanning interface of the scanning application;
acquiring the latest picture from the memory, wherein the latest picture is the picture stored by the memory before the control instruction is acquired;
and executing two-dimensional code scanning on the latest picture.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011002940.6A CN112099892B (en) | 2020-09-22 | 2020-09-22 | Communication terminal and method for rapidly scanning two-dimension code |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011002940.6A CN112099892B (en) | 2020-09-22 | 2020-09-22 | Communication terminal and method for rapidly scanning two-dimension code |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112099892A true CN112099892A (en) | 2020-12-18 |
CN112099892B CN112099892B (en) | 2023-10-31 |
Family
ID=73754869
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011002940.6A Active CN112099892B (en) | 2020-09-22 | 2020-09-22 | Communication terminal and method for rapidly scanning two-dimension code |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112099892B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113887264A (en) * | 2021-06-07 | 2022-01-04 | 荣耀终端有限公司 | Code scanning method, system and related device |
CN115422958A (en) * | 2022-09-06 | 2022-12-02 | 博泰车联网(南京)有限公司 | Picture operation method, electronic device and storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103279277A (en) * | 2013-05-08 | 2013-09-04 | 广东欧珀移动通信有限公司 | Mobile terminal screenshot picture sending method and system |
CN103312898A (en) * | 2013-06-05 | 2013-09-18 | 广东欧珀移动通信有限公司 | Method for quickly adding pictures and mobile terminal |
CN104573597A (en) * | 2013-10-10 | 2015-04-29 | 腾讯科技(深圳)有限公司 | Two-dimension code identification method and identification device |
US20170078145A1 (en) * | 2015-09-16 | 2017-03-16 | Kodak Alaris, Inc. | Simplified configuration of network devices using scanned barcodes |
US20170351917A1 (en) * | 2013-11-22 | 2017-12-07 | Samsung Electronics Co., Ltd | Method for recognizing a specific object inside an image and electronic device thereof |
CN108153900A (en) * | 2018-01-12 | 2018-06-12 | 维沃移动通信有限公司 | A kind of image processing method and mobile terminal |
CN109683760A (en) * | 2018-12-14 | 2019-04-26 | Oppo广东移动通信有限公司 | Display methods, device, terminal and the storage medium of nearest content |
CN110443330A (en) * | 2019-07-31 | 2019-11-12 | 维沃移动通信有限公司 | A kind of barcode scanning method, apparatus, mobile terminal and storage medium |
US20200192684A1 (en) * | 2017-04-27 | 2020-06-18 | Samsung Electronics Co., Ltd. | Method and apparatus for managing intelligent agent |
CN111324398A (en) * | 2018-12-14 | 2020-06-23 | Oppo广东移动通信有限公司 | Recent content processing method, device, terminal and storage medium |
-
2020
- 2020-09-22 CN CN202011002940.6A patent/CN112099892B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103279277A (en) * | 2013-05-08 | 2013-09-04 | 广东欧珀移动通信有限公司 | Mobile terminal screenshot picture sending method and system |
CN103312898A (en) * | 2013-06-05 | 2013-09-18 | 广东欧珀移动通信有限公司 | Method for quickly adding pictures and mobile terminal |
CN104573597A (en) * | 2013-10-10 | 2015-04-29 | 腾讯科技(深圳)有限公司 | Two-dimension code identification method and identification device |
US20170351917A1 (en) * | 2013-11-22 | 2017-12-07 | Samsung Electronics Co., Ltd | Method for recognizing a specific object inside an image and electronic device thereof |
US20170078145A1 (en) * | 2015-09-16 | 2017-03-16 | Kodak Alaris, Inc. | Simplified configuration of network devices using scanned barcodes |
US20200192684A1 (en) * | 2017-04-27 | 2020-06-18 | Samsung Electronics Co., Ltd. | Method and apparatus for managing intelligent agent |
CN108153900A (en) * | 2018-01-12 | 2018-06-12 | 维沃移动通信有限公司 | A kind of image processing method and mobile terminal |
CN109683760A (en) * | 2018-12-14 | 2019-04-26 | Oppo广东移动通信有限公司 | Display methods, device, terminal and the storage medium of nearest content |
CN111324398A (en) * | 2018-12-14 | 2020-06-23 | Oppo广东移动通信有限公司 | Recent content processing method, device, terminal and storage medium |
CN110443330A (en) * | 2019-07-31 | 2019-11-12 | 维沃移动通信有限公司 | A kind of barcode scanning method, apparatus, mobile terminal and storage medium |
Non-Patent Citations (1)
Title |
---|
HOTBOYDP: "微信如何扫描自己手机上的二维码?", pages 1 - 2, Retrieved from the Internet <URL:http://www.360doc.com/content/20/0518/08/4278165_913012404.shtml> * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113887264A (en) * | 2021-06-07 | 2022-01-04 | 荣耀终端有限公司 | Code scanning method, system and related device |
CN113887264B (en) * | 2021-06-07 | 2022-06-21 | 荣耀终端有限公司 | Code scanning method, system and related device |
CN115422958A (en) * | 2022-09-06 | 2022-12-02 | 博泰车联网(南京)有限公司 | Picture operation method, electronic device and storage medium |
CN115422958B (en) * | 2022-09-06 | 2023-12-22 | 博泰车联网(南京)有限公司 | Picture operation method, electronic device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN112099892B (en) | 2023-10-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111597000B (en) | Small window management method and terminal | |
CN111367456A (en) | Communication terminal and display method in multi-window mode | |
CN112114733B (en) | Screen capturing and recording method, mobile terminal and computer storage medium | |
CN111274564A (en) | Communication terminal and application unlocking method in split screen mode | |
CN113835569A (en) | Terminal device, quick start method for internal function of application and storage medium | |
CN112099892B (en) | Communication terminal and method for rapidly scanning two-dimension code | |
CN114020379B (en) | Terminal equipment, information feedback method and storage medium | |
CN111506237A (en) | Terminal and method for starting operation function in application | |
CN111176766A (en) | Communication terminal and component display method | |
CN111726605B (en) | Resolving power determining method and device, terminal equipment and storage medium | |
CN113055585B (en) | Thumbnail display method of shooting interface and mobile terminal | |
CN113014614A (en) | Equipment control method, control equipment and controlled equipment | |
CN114546219B (en) | Picture list processing method and related device | |
CN113254132B (en) | Application display method and related device | |
CN111163220B (en) | Display method, communication terminal and computer storage medium | |
CN113642010B (en) | Method for acquiring data of extended storage device and mobile terminal | |
CN112825536B (en) | Electronic terminal and background card display method | |
CN114449171A (en) | Method for controlling camera, terminal device, storage medium and program product | |
CN113507614A (en) | Video playing progress adjusting method and display equipment | |
CN111787157A (en) | Mobile terminal and operation response method thereof | |
CN111159734A (en) | Communication terminal and multi-application data inter-access processing method | |
CN113655948B (en) | Control method of terminal equipment and terminal equipment | |
CN112929858B (en) | Method and terminal for simulating access control card | |
CN111258699B (en) | Page display method and communication terminal | |
CN113641533B (en) | Terminal and short message processing method |
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 | ||
CB02 | Change of applicant information |
Address after: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11 Applicant after: Qingdao Hisense Mobile Communication Technology Co.,Ltd. Address before: Donghai West Road 266071 Shandong city of Qingdao province No. 17 Applicant before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |