CN107423794B - Code scanning method and device for graphic coding and mobile terminal - Google Patents

Code scanning method and device for graphic coding and mobile terminal Download PDF

Info

Publication number
CN107423794B
CN107423794B CN201710401329.2A CN201710401329A CN107423794B CN 107423794 B CN107423794 B CN 107423794B CN 201710401329 A CN201710401329 A CN 201710401329A CN 107423794 B CN107423794 B CN 107423794B
Authority
CN
China
Prior art keywords
code
image data
scanning
application
target 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.)
Active
Application number
CN201710401329.2A
Other languages
Chinese (zh)
Other versions
CN107423794A (en
Inventor
汤涌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Anyun Century Technology Co Ltd
Original Assignee
Beijing Anyun Century Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Anyun Century Technology Co Ltd filed Critical Beijing Anyun Century Technology Co Ltd
Priority to CN201710401329.2A priority Critical patent/CN107423794B/en
Publication of CN107423794A publication Critical patent/CN107423794A/en
Application granted granted Critical
Publication of CN107423794B publication Critical patent/CN107423794B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06018Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking one-dimensional coding
    • G06K19/06028Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking one-dimensional coding using bar codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06037Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking multi-dimensional coding

Abstract

The embodiment of the invention provides a code scanning method and device for graphic coding and a mobile terminal, wherein the method comprises the following steps: loading a first scanning code interface and collecting first image data; scanning a graphic code in the first image data in the first scanning interface; determining a target application to which the graphic code belongs; and invoking the target application to scan the graphic codes in the first image data. The embodiment of the invention provides a uniform entry for scanning codes for different applications, avoids the situation that a user manually searches and starts the application corresponding to the graphic code to scan the codes, can quickly determine the target application to scan the codes under the condition that more applications are used, particularly when the graphic code does not mark the corresponding application, reduces the frequency of trying to scan the codes by starting the application, and improves the simplicity and convenience of code scanning operation.

Description

Code scanning method and device for graphic coding and mobile terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for scanning a graphic code, and a mobile terminal.
Background
With the development of mobile communication technology, mobile terminals such as mobile phones and tablet computers are more and more popular, and great convenience is brought to life, study and work of people.
In order to meet the demands of learning, work, entertainment, etc., users often install various applications in mobile terminals, such as browsers, communication applications, news applications, video applications, shared bicycle applications, etc.
The applications generate the graphic codes for certain information, such as user information, bicycle information and the like, provide corresponding code scanning functions, and facilitate users to use related functions after code scanning, such as friend adding, bicycle renting and the like.
In the process, after the user views the graphic code, the user manually searches for the application corresponding to the graphic code, opens the application and starts a code scanning function, scans the graphic code, and under the condition that the application is more, especially when the graphic code does not mark the corresponding application, the application is difficult to determine, so that the application is repeatedly started and tried, and the code scanning operation is complicated.
Disclosure of Invention
In view of the above problems, the present invention is proposed to provide a graphic coding scanning method and a corresponding graphic coding scanning apparatus, a mobile terminal, which overcome or at least partially solve the above problems.
In a first aspect, an embodiment of the present invention provides a method for scanning a graphic code, including:
loading a first scanning code interface and collecting first image data;
scanning a graphic code in the first image data in the first scanning interface;
determining a target application to which the graphic code belongs;
and invoking the target application to scan the graphic codes in the first image data.
In one possible design, the graphical code comprises a two-dimensional code or a bar code.
In one possible design, the step of determining the target application to which the graphic code belongs includes:
if the graphic code is a two-dimensional code, converting the two-dimensional code into a character string;
reading a feature code from the string;
and searching the application corresponding to the feature code to serve as the target application to which the two-dimension code belongs.
In one possible design, the step of determining the target application to which the graphic code belongs includes:
and if the graphic code is a bar code, using the specified application as the target application to which the bar code belongs.
In one possible design, the step of determining the target application to which the graphic code belongs includes:
generating a hint if the application adapted to scan the graphical code includes a master instance object and a slave instance object;
detecting a selection operation for the prompt information;
and determining that the main instance object or the auxiliary instance object corresponding to the selection operation is a target application to which the graphic code belongs.
In one possible design, the step of invoking the application to scan a graphic code in the first image data includes:
and calling a scanning interface provided by the target application to scan the graphic codes in the first image data.
In one possible design, the step of invoking the application to scan a graphic code in the first image data includes:
hooking a second code scanning interface of the target application and acquiring second image data;
and replacing the second image data with the first image data to scan the graphic codes in the first image data in the second code scanning interface.
In one possible design, the hooking the second code scanning interface of the target application and acquiring the second image data includes:
loading the target application into a specified virtual machine;
and hooking the function corresponding to the second code scanning interface in the virtual machine.
In one possible design, the first scan interface has a first scan frame therein, the graphic code is located in the scan frame, and the second scan interface has a second scan frame therein;
the step of replacing the first image data with the second image data to scan the graphic code in the first image data in the second code scanning interface comprises:
recording that the first code scanning frame is positioned in a code scanning area of the first image data;
adjusting the first image data to align the code scanning area with the second code scanning frame;
and replacing the second image data with the adjusted first image data to scan the graphic codes in the adjusted first image data in the second code scanning frame.
In one possible design, after the step of determining the target application to which the graphic code belongs, the method further includes:
and if the application is detected not to be installed, loading a download page of the application.
In a second aspect, an embodiment of the present invention provides a scanning apparatus for graphic coding, including:
the code scanning interface loading module is suitable for loading a first code scanning interface and acquiring first image data;
a first graphic code scanning module adapted to scan a graphic code in the first image data in the first scan code interface;
the target application determining module is used for determining the target application to which the graphic code belongs;
and the second graphic code scanning module is suitable for calling the target application to scan the graphic codes in the first image data.
In one possible design, the graphical code comprises a two-dimensional code or a bar code.
In one possible design, the target application determination module includes:
the character string conversion sub-module is suitable for converting the two-dimensional code into a character string if the graphics are coded into the two-dimensional code;
a feature code reading submodule adapted to read a feature code from the character string;
and the application searching submodule is suitable for searching the application corresponding to the feature code and is used as the target application to which the two-dimensional code belongs.
In one possible design, the target application determination module includes:
and the application specification sub-module is suitable for taking the specified application as the target application to which the bar code belongs if the graphic code is the bar code.
In one possible design, the target application determination module includes:
a prompt information generation sub-module adapted to generate a prompt information if the application adapted to scan the graphical code includes a master instance object and a slave instance object;
a selection operation detection sub-module adapted to detect a selection operation for the prompt information;
and the application selection submodule is suitable for determining that the main instance object or the auxiliary instance object corresponding to the selection operation is the target application to which the graphic code belongs.
In one possible design, the second graphics code scan module includes:
and the scanning interface calling sub-module is suitable for calling a scanning interface provided by the target application so as to scan the graphic codes in the first image data.
In one possible design, the second graphics code scan module includes:
the code scanning interface hooking submodule is suitable for hooking a second code scanning interface of the target application and acquiring second image data;
and the image data replacement sub-module is suitable for replacing the first image data with the second image data so as to scan the graphic codes in the first image data in the second code scanning interface.
In one possible design, the code scanning interface hooking sub-module includes:
the target application loading unit is suitable for loading the target application into a specified virtual machine;
and the function hooking unit is suitable for hooking the function corresponding to the second code scanning interface in the virtual machine.
In one possible design, the first scan interface has a first scan frame therein, the graphic code is located in the scan frame, and the second scan interface has a second scan frame therein;
the image data replacement sub-module includes:
a code scanning area recording unit, adapted to record that the first code scanning frame is positioned in the code scanning area of the first image data;
an image data adjusting unit, adapted to adjust the first image data to align the code scanning area with the second code scanning frame;
and the image data adjusting and replacing unit is suitable for replacing the second image data with the adjusted first image data so as to scan the graphic codes in the adjusted first image data in the second code scanning frame.
In one possible design, the method further comprises:
and the download page loading module is suitable for loading the download page of the application if the application is not installed.
In a third aspect, an embodiment of the present invention provides a mobile terminal, which is characterized by including a processor and a memory;
the memory is used for storing a program supporting a scanning method for executing the graphic code;
the processor is configured to execute programs stored in the memory.
In a fourth aspect, an embodiment of the present invention provides a computer storage medium for storing computer software instructions for the mobile terminal, which includes a program designed for the mobile terminal to execute the above aspect.
The embodiment of the invention loads the first code scanning interface and acquires the first image data, scans the graphic codes in the first image data in the first code scanning interface, determines the target application to which the graphic codes belong, can call the target application to scan the graphic codes in the first image data, provides a uniform code scanning inlet for different applications, avoids the situation that a user manually searches and starts the applications corresponding to the graphic codes to scan the codes, can quickly determine the target application to scan the codes under the condition that more applications are used, particularly when the graphic codes do not mark the corresponding applications, reduces the frequency of code scanning attempts of starting the applications, and improves the simplicity and convenience of code scanning operation.
These and other aspects of the invention are apparent from and will be elucidated with reference to the embodiments described hereinafter.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a flow chart illustrating the steps of a scanning method for graphic coding according to one embodiment of the present invention;
FIG. 2 illustrates an exemplary diagram of a first scan code interface, according to one embodiment of the invention;
FIG. 3 illustrates an exemplary diagram of a first image data according to one embodiment of the invention;
FIG. 4 illustrates an exemplary diagram of scanning first image data in a first scan code interface according to one embodiment of the invention;
fig. 5 shows an exemplary diagram of a two-dimensional code of first image data according to an embodiment of the present invention;
FIG. 6 illustrates an exemplary diagram of a second code scanning interface, according to one embodiment of the invention;
FIG. 7 illustrates an exemplary diagram of scanning first image data in a second code scanning interface according to one embodiment of the invention;
FIG. 8 is a diagram illustrating an exemplary processing of a target application after scanning a two-dimensional code according to an embodiment of the present invention;
FIG. 9 illustrates an exemplary diagram of a code scanning area, in accordance with one embodiment of the present invention;
FIG. 10 is a block diagram of a scanning device for graphic encoding according to an embodiment of the present invention; and
fig. 11 is a block diagram showing a partial structure of a cellular phone related to a terminal provided by an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Referring to fig. 1, a flowchart illustrating steps of a scanning method for graphic coding according to an embodiment of the present invention may specifically include the following steps:
step 101, loading a first scan code interface and collecting first image data.
In a specific implementation, the embodiments of the present invention may be applied to a mobile terminal, such as a mobile phone, a tablet computer, a personal digital assistant, a wearable device (such as glasses, a watch, etc.), and the like.
The operating systems of these mobile terminals may include Android (Android), IOS, Windows Phone, Windows, and so on.
In an operating system, different types of system applications are usually preset for users to use, and in order to meet other needs of learning, work, entertainment, and the like, users usually install various types of third-party applications in the operating system, such as browsers, communication applications, news applications, video applications, and the like.
In the embodiment of the invention, a scanning application can be generated, and the incidence relation is established with other applications (including a system application and/or a third-party application) independent of the code scanning application, so that the scanning application is provided with a unified entry of the code scanning.
The user starts the scanning application, opens a first code scanning interface belonging to the code scanning application, namely an interface for code scanning processing, and performs code scanning processing on the graphic code of the associated application.
For example, as shown in fig. 2, for applications associated with a code-scan application, an application icon 202 thereof may be displayed in the code-scan interface 200, prompting the user which applications can be code-scanned.
In one embodiment, a camera is configured in the mobile terminal, and the code scanning application can call the camera to acquire image data.
In another embodiment, the image data local to the mobile terminal may be imported in the first scan interface.
For example, as shown in fig. 2, an "album" control 201 may be clicked on the code scanning interface 200, and a frame of image data may be selected from an album local to the mobile terminal for importing.
As shown in fig. 3, the user selects a frame of image data recording information of the instant messenger account of the other user.
As shown in fig. 4, after the user selects the image data, the image data may be embedded in the code scanning interface 200 to be scanned.
And step 102, scanning the graphic codes in the first image data in the first scanning interface.
Pattern coding may refer to the regular distribution of different data patterns in a particular geometric pattern.
In particular implementations, the graphical code may include a two-dimensional code or a bar code.
The bar code includes EAN code, 39 code, cross 25 code, UPC code, 128 code, 93 code, ISBN code, Codabar code, etc.
The two-dimensional code can comprise a stacked two-dimensional code, a row-type two-dimensional code and a matrix-type two-dimensional code.
For example, stacked/row two-dimensional codes include Code 16K, Code 49, PDF417, and the like; matrix two-dimensional codes include Aztec, Maxi Code, QR Code, Data Matrix, and the like.
Therefore, the first application can recognize the graphic code from the first image data in the first scan interface according to the rule.
Further, a first barcode frame is disposed in the first barcode interface, and when a user aligns the first barcode frame with a graphic code in the image data, the barcode application may perform parsing of the graphic code for a portion of the image data in the first barcode frame.
For example, as shown in fig. 4, if there is a first barcode box 203 in the first barcode interface 200, the barcode scanning application may parse the graphic code for the partial image data in the first barcode box 203 to obtain the two-dimensional code as shown in fig. 5.
And 103, determining the target application to which the graphic code belongs.
In a specific implementation, a target application to which the graphic code belongs, that is, an application suitable for performing code scanning processing on the graphic code, may be searched in other applications associated with the code scanning application.
In one embodiment of the present invention, step 103 may comprise the following sub-steps:
and a substep S11, converting the two-dimensional code into a character string if the graphic code is a two-dimensional code.
And a substep S12 of reading a feature code from the character string.
And a substep S13, searching the application corresponding to the feature code as the target application to which the two-dimensional code belongs.
In the embodiment of the present invention, the two-dimensional code may be converted into a character string, such as a URL (Uniform Resource Locator) according to a coding rule of the two-dimensional code.
And reading a characteristic code unique to each application from a specified position in the character string, such as a domain name of a URL (uniform resource locator), so that the corresponding application can be identified and used as a target application to which the two-dimensional code belongs.
It should be noted that, different application business rules may be different, and forms of character strings for generating the two-dimensional code are also different, for example, a ciphertext is used to generate the two-dimensional code, and positions, forms, and the like of corresponding feature codes are also different, which is not limited in this embodiment of the present invention.
For example, as shown in fig. 4, the barcode scanning application reads the two-dimensional code parsed out in the first barcode scanning frame 203, converts it into a character string, and obtains the following URL:
http://qm.***.com/cgi-bin/qm/qrk=MpZWCoigdyycITW7U54GIt3UCw1t TJQE
wherein ". x" is a domain name as a feature code.
After the code scanning application identifies the domain name ". times..
In another embodiment of the present invention, step 103 may comprise the following sub-steps:
and a substep S21 of, if the graphic code is a barcode, setting the designated application as a target application to which the barcode belongs.
The bar code can mark information such as the country of manufacture, manufacturer, name of goods, date of manufacture, book classification number, start and stop location of mail, category, date, etc. of the article, and is not specific to a certain application.
Thus, for a barcode, one or more applications providing barcode resolution capabilities, such as instant messaging applications, shopping applications, logistics applications, and the like, may be specified as target applications.
In another embodiment of the present invention, step 103 may comprise the following sub-steps:
sub-step S31, generating a hint information if the application adapted to scan the graphical code includes a master instance object and a slave instance object.
And a substep S32 of detecting a selection operation for the prompt information.
And a substep S33, determining that the master instance object or the slave instance object corresponding to the selection operation is a target application to which the graphic code belongs.
In practical applications, some applications limit the number of applications installed on a mobile terminal, or limit the number of account logins, and generally limit installation of one application and login of one account.
In the case of requiring multiple applications or multiple accounts, a new instance object may be generated for the application, and in contrast, the original instance object is referred to as a master instance object, and the new instance object is referred to as a slave instance object, which is also referred to as an avatar.
Specifically, the slave instance object is independent from the master instance object, that is, the process of the slave instance object is independent from the process of the master instance object, and the master instance object and the slave instance object have independent runtime environments, wherein the runtime environments may include Activity, Service, Content Provider, Broadcast Receiver, and the like.
Further, the master instance object includes information such as a master instance identifier, a first packet name, and the like, and the slave instance object includes information such as a slave instance identifier, a second packet name, and the like.
The master instance identifier is different from the slave instance identifier, so that the same application is ensured to have different implementation of instance objects.
The first data packet is a data packet communicated with the main instance object, the second data packet is a data packet communicated with the slave instance object, the first data packet name and the second data packet name are different, the first data packet name and the second data packet name can be customized, for example, the packet name is com.
Further, the master instance object and the slave instance object may be in different storage locations of the same file system, and different instance objects may be mutually accessible. For example, if the master instance id is 0 and the slave instance id is 1, the data generated by the master instance object is stored in/data/data/XXXX/,/sdcard/Android/data/XXX/; data generated from the instance object is stored in/data/data/XXX/. 1/,/sdcard/Android/data/XXX/. 1/.
In practical applications, the primary instance object may be logged in by using a first login account, and the secondary instance object may be logged in by using a second login account, where the first login account and the second login account may be the same or different. If there are a plurality of slave instance objects, the second login accounts of the plurality of slave instance objects may be different.
In the embodiment of the present invention, if the application suitable for scanning the graphic code has a master instance object and a slave instance object, prompt information may be generated for the master instance object and the slave instance object to prompt the user to select.
When the user triggers the selection operation by clicking and other operations, the main instance object or the slave instance object can be used as the target application of the graphic code attribution.
Step 104, invoking the target application to scan the graphic code in the first image data.
If the target application to which the graphic code belongs is determined, the locally installed application of the mobile terminal can be scanned.
If the installed target application is detected, the target application can be called, and the graphic codes in the first image data are automatically scanned.
And if the target application is detected not to be installed, loading a download page of the target application.
Further, a management application is installed in the mobile terminal, the management application may connect to the application distribution platform, and send information (such as a name) of the target application to the management application, and the management application may obtain a download page of the target application from the application distribution platform and provide the download page for the user to download.
In one embodiment of the present invention, step 104 may include the following sub-steps:
sub-step S41, calling a scanning interface provided by the target application to scan the graphic code in the first image data.
The target Application provides a scanning Interface, which belongs to an Application Programming Interface (API) Interface, and the scanning Interface can directly call a code scanning function of the target Application.
For example, a certain payment application provides a scanning interface, and other applications (such as a group purchase application, a shopping application, a shared bicycle application, and the like) can directly call the scanning interface to scan a code graphic code and quickly jump to a payment interface or a collection interface of the payment application.
In the embodiment of the invention, the scanning interface provided by the target application can be directly called to scan the graphic codes contained in the first image data.
In one embodiment of the present invention, step 104 may include the following sub-steps:
and a substep S51 of hooking the second code scanning interface of the target application and acquiring second image data.
Hooks (Hook), also known as hooks, on which an application can set a subroutine to monitor a certain message for a given window, and the monitored window can be created by another process, which processes the message before the target window handles the function when it arrives.
In an embodiment of the present invention, the target application may be loaded into a specified virtual machine, and a function corresponding to the second code scanning interface is hooked in the virtual machine.
In the embodiment of the present invention, the operating system may be modified, the virtual machine adapted to the application extension component may be customized, and the communication application may be loaded into the virtual machine to run, so that the application extension component may dynamically extend and repair the communication application, for example, cloud repair, cloud advertisement, module decoupling, black technology, and the like.
The application extension component comprises four parts of a running environment, an activity thread, an installation package and a component file.
The operation environment is responsible for providing core capability, the activity thread is responsible for constructing the operation environment, the installation package is responsible for providing management mechanisms such as a core interface and identity authentication, and the final functional characteristics are provided by the component files.
The runtime environment is a custom android runtime environment (e.g., ART) that provides the application extension component with the ability to adapt Java classes and methods (e.g., Hook).
The active thread is used to provide a set of mechanisms for determining and launching application extension components, thereby reducing the performance impact of the application extension components on the application.
Whether the application needs the component file to be loaded for capacity expansion can be determined by quickly judging whether the application needs the support of the application expansion component through the path.
The installation package is started using the provider signature, which carries the interfaces required by the underlying component files inside it. The Interface is a set of Application Programming Interfaces (APIs) and is used for reducing the memory occupation of the Application expansion component on the Application and reducing the influence on the Application performance when the component file is loaded.
The interface is a Jar package for use by developers in developing component files. The basic APIs commonly used are provided in the Jar package, enabling component files to dynamically modify Java classes and methods and some methods in Hook.
The component files are integrated by the inside of the installation package, so that version control is facilitated, and the size of the component files is reduced. More common base libraries as well as extension libraries can be developed based on the interface. The expansion library is not a specific function, but provides some necessary capabilities for realizing some specific functions, and can be shared by various modules.
The component files are bodies for implementing business functions, and each component file includes a plurality of class abstract objects and method abstract objects. Wherein a class abstract object may comprise a plurality of method abstract objects. The class abstract object is an abstraction of a class to be subjected to Hook, and the method abstract object is an abstraction of a method to be subjected to Hook, and a mapping relation is formed between the method abstract object and the method abstract object. A specific function is realized by a plurality of class abstract objects in a sharing mode after the information is acquired by a method abstract object.
Sub-step S52, replacing the second image data with the first image data, to scan the graphic code in the first image data in the second code scanning interface.
And if the second image data is replaced by the first image data, the target application can scan the adaptive graphic code.
Further, a second code scanning frame is disposed in the second code scanning interface, and the target application may perform parsing of the graphic coding on a part of image data in the second code scanning frame.
For example, as shown in fig. 6, if there is a second code scanning frame 601 in the second code scanning interface 600, the target application may parse the graphic code for the partial image data in the second code scanning frame 601, and perform corresponding processing after parsing.
As shown in fig. 7, assuming that the target application is an instant messaging application, and the first image data shown in fig. 3 is embedded in the second code scanning interface 600, the instant messaging application may scan partial image data in the second code scanning frame 601 and obtain a two-dimensional code shown in fig. 5, and jump to a friend adding interface shown in fig. 8 after parsing, and in the friend adding interface, basic information of the user account (i.e., "12345678") such as a head portrait, a space, and the like may be viewed, and a friend adding operation may also be initiated.
In one example of the embodiment of the present invention, the first code scanning interface has a first code scanning frame, the graphic code is located in the code scanning frame, and the second code scanning interface has a second code scanning frame; then in this example, the sub-step S52 may further include the sub-steps of:
substep S521, recording that the first frame is located in the code scanning area of the first image data.
In sub-step S522, the first image data is adjusted to align the code scanning region with the second code scanning frame.
The sub-step S523 replaces the second image data with the adjusted first image data to scan the graphic codes in the adjusted first image data in the second scanning frame.
Since the positions of the second code scanning frames of different applications may be different, in this example, the first image data may be adjusted according to the positions of the second code scanning frames of different applications, so that when the first image is embedded into the second code scanning interface, the graphic codes in the first image data fall into the second code scanning frames, so that the applications can perform code scanning.
Further, when the code scanning application succeeds in code scanning, the code scanning area of the first image data projected by the first code scanning frame is recorded, and if the position of the code scanning area is not aligned with the position of the second code scanning frame, that is, the first image data and the second code scanning frame are not overlapped, the first image data can be adjusted by moving, stretching and the like, so that the first image data and the second image scanning frame are overlapped, and at this time, when the adjusted first image data is embedded into the second code scanning interface, the graphic code of the first image data falls into the second scanning frame of the second code scanning interface.
It should be noted that the hooking of the second code scanning interface, the acquisition of the second image data, and the replacement of the second image data (i.e., sub-step S51 and sub-step S52) are usually performed in the background of the operating system, and are not visible to the user.
The operations such as hook and the like are carried out in the background of the operating system, so that the user can not see the operations, the influence on the front-end operation is reduced, and the user experience is ensured.
For example, as shown in fig. 4, when the code scanning application scans the two-dimensional code of the first code scanning frame 203 in the first code scanning interface 200, the position of the first code scanning frame 203 in the first image data can be recorded as a code scanning area 900 as shown in fig. 9, the two-dimensional code is in the code scanning area 900, and the code scanning area 900 is aligned with the second code scanning frame 600 in the second code scanning interface 600 as shown in fig. 6, so that the two-dimensional code falls into the second code scanning frame 600.
The second code scanning interface 600 is located in the background of the operating system, and is invisible to the user, and the friend adding interface after code scanning by the target application shown in fig. 8 is visible to the user.
The embodiment of the invention loads the first code scanning interface and acquires the first image data, scans the graphic codes in the first image data in the first code scanning interface, determines the target application to which the graphic codes belong, can call the target application to scan the graphic codes in the first image data, provides a uniform code scanning inlet for different applications, avoids the situation that a user manually searches and starts the applications corresponding to the graphic codes to scan the codes, can quickly determine the target application to scan the codes under the condition that more applications are used, particularly when the graphic codes do not mark the corresponding applications, reduces the frequency of code scanning attempts of starting the applications, and improves the simplicity and convenience of code scanning operation.
For simplicity of explanation, the method embodiments are described as a series of acts or combinations, but those skilled in the art will appreciate that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently with other steps in accordance with the embodiments of the invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 10, a block diagram of a scanning apparatus for graphic coding according to an embodiment of the present invention is shown, which may specifically include the following modules:
a code scanning interface loading module 1001 adapted to load a first code scanning interface and acquire first image data;
a first graphic code scanning module 1002, adapted to scan a graphic code in the first image data in the first scan code interface;
a target application determining module 1003, configured to determine a target application to which the graphics code belongs;
a second graphics code scanning module 1004 adapted to invoke the target application to scan a graphics code in the first image data.
In one embodiment of the invention, the graphic code comprises a two-dimensional code or a bar code.
In an embodiment of the present invention, the target application determining module 1003 includes:
the character string conversion sub-module is suitable for converting the two-dimensional code into a character string if the graphics are coded into the two-dimensional code;
a feature code reading submodule adapted to read a feature code from the character string;
and the application searching submodule is suitable for searching the application corresponding to the feature code and is used as the target application to which the two-dimensional code belongs.
In an embodiment of the present invention, the target application determining module 1003 includes:
and the application specification sub-module is suitable for taking the specified application as the target application to which the bar code belongs if the graphic code is the bar code.
In an embodiment of the present invention, the target application determining module 1003 includes:
a prompt information generation sub-module adapted to generate a prompt information if the application adapted to scan the graphical code includes a master instance object and a slave instance object;
a selection operation detection sub-module adapted to detect a selection operation for the prompt information;
and the application selection submodule is suitable for determining that the main instance object or the auxiliary instance object corresponding to the selection operation is the target application to which the graphic code belongs.
In one embodiment of the present invention, the second graphic code scanning module 1004 includes:
and the scanning interface calling sub-module is suitable for calling a scanning interface provided by the target application so as to scan the graphic codes in the first image data.
In one embodiment of the present invention, the second graphic code scanning module 1004 includes:
the code scanning interface hooking submodule is suitable for hooking a second code scanning interface of the target application and acquiring second image data;
and the image data replacement sub-module is suitable for replacing the first image data with the second image data so as to scan the graphic codes in the first image data in the second code scanning interface.
In one embodiment of the present invention, the code scanning interface hooking sub-module includes:
the target application loading unit is suitable for loading the target application into a specified virtual machine;
and the function hooking unit is suitable for hooking the function corresponding to the second code scanning interface in the virtual machine.
In one embodiment of the present invention, the first scan interface has a first scan frame therein, the graphic code is located in the scan frame, and the second scan interface has a second scan frame therein;
the image data replacement sub-module includes:
a code scanning area recording unit, adapted to record that the first code scanning frame is positioned in the code scanning area of the first image data;
an image data adjusting unit, adapted to adjust the first image data to align the code scanning area with the second code scanning frame;
and the image data adjusting and replacing unit is suitable for replacing the second image data with the adjusted first image data so as to scan the graphic codes in the adjusted first image data in the second code scanning frame.
In one embodiment of the present invention, further comprising:
and the download page loading module is suitable for loading the download page of the application if the application is not installed.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
As shown in fig. 11, for convenience of description, only the parts related to the embodiment of the present invention are shown, and details of the specific technology are not disclosed, please refer to the method part of the embodiment of the present invention. The terminal may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, etc., taking the terminal as the mobile phone as an example:
fig. 11 is a block diagram showing a partial structure of a cellular phone related to a terminal provided by an embodiment of the present invention. Referring to fig. 11, the cellular phone includes: radio Frequency (RF) circuitry 1110, memory 1120, input unit 1130, display unit 1140, sensors 1150, audio circuitry 1160, wireless fidelity (WiFi) module 1170, processor 1180, and power supply 1190. Those skilled in the art will appreciate that the handset configuration shown in fig. 11 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile phone in detail with reference to fig. 11:
RF circuit 1110 may be used for receiving and transmitting signals during a message transmission or call, and in particular, for receiving downlink messages from a base station and then processing the received downlink messages to processor 1180; in addition, the data for designing uplink is transmitted to the base station. In general, RF circuit 1110 includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 1110 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The memory 1120 may be used to store software programs and modules, and the processor 1180 may execute various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 1120. The memory 1120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 1120 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 input unit 1130 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 1130 may include a touch panel 1131 and other input devices 1132. Touch panel 1131, also referred to as a touch screen, can collect touch operations of a user on or near the touch panel 1131 (for example, operations of the user on or near touch panel 1131 by using any suitable object or accessory such as a finger or a stylus pen), and drive corresponding connection devices according to a preset program. Alternatively, the touch panel 1131 may include two parts, namely, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 1180, and can receive and execute commands sent by the processor 1180. In addition, the touch panel 1131 can be implemented by using various types, such as resistive, capacitive, infrared, and surface acoustic wave. The input unit 1130 may include other input devices 1132 in addition to the touch panel 1131. In particular, other input devices 1132 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 1140 may be used to display information input by the user or information provided to the user and various menus of the cellular phone. The Display unit 1140 may include a Display panel 1141, and optionally, the Display panel 1141 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 1131 can cover the display panel 1141, and when the touch panel 1131 detects a touch operation on or near the touch panel, the touch panel is transmitted to the processor 1180 to determine the type of the touch event, and then the processor 1180 provides a corresponding visual output on the display panel 1141 according to the type of the touch event. Although in fig. 11, the touch panel 1131 and the display panel 1141 are two independent components to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 1131 and the display panel 1141 may be integrated to implement the input and output functions of the mobile phone.
The handset may also include at least one sensor 1150, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1141 according to the brightness of ambient light, and the proximity sensor may turn off the display panel 1141 and/or the backlight when the mobile phone moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Audio circuitry 1160, speakers 1161, and microphone 1162 may provide an audio interface between a user and a cell phone. The audio circuit 1160 may transmit the electrical signal converted from the received audio data to the speaker 1161, and convert the electrical signal into a sound signal for output by the speaker 1161; on the other hand, the microphone 1162 converts the collected sound signals into electrical signals, which are received by the audio circuit 1160 and converted into audio data, which are then processed by the audio data output processor 1180, and then transmitted to, for example, another cellular phone via the RF circuit 1110, or output to the memory 1120 for further processing.
WiFi belongs to short-distance wireless transmission technology, and the cell phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 1170, and provides wireless broadband internet access for the user. Although fig. 11 shows the WiFi module 1170, it is understood that it does not belong to the essential constitution of the handset, and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 1180 is a control center of the mobile phone, and is connected to various parts of the whole mobile phone through various interfaces and lines, and executes various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 1120 and calling data stored in the memory 1120, thereby performing overall monitoring of the mobile phone. Optionally, processor 1180 may include one or more processing units; preferably, the processor 1180 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated within processor 1180.
The phone also includes a power supply 1190 (e.g., a battery) for powering the various components, and preferably, the power supply may be logically connected to the processor 1180 via a power management system, so that the power management system may manage charging, discharging, and power consumption management functions.
Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.
In this embodiment of the present invention, the processor 1180 included in the terminal further has the following functions:
loading a first scanning code interface and collecting first image data;
scanning a graphic code in the first image data in the first scanning interface;
determining a target application to which the graphic code belongs;
and invoking the target application to scan the graphic codes in the first image data.
Optionally, the graphical code comprises a two-dimensional code or a barcode.
Optionally, the processor 1180 included in the terminal further has the following functions:
if the graphic code is a two-dimensional code, converting the two-dimensional code into a character string;
reading a feature code from the string;
and searching the application corresponding to the feature code to serve as the target application to which the two-dimension code belongs.
Optionally, the processor 1180 included in the terminal further has the following functions:
and if the graphic code is a bar code, using the specified application as the target application to which the bar code belongs.
Optionally, the processor 1180 included in the terminal further has the following functions:
generating a hint if the application adapted to scan the graphical code includes a master instance object and a slave instance object;
detecting a selection operation for the prompt information;
and determining that the main instance object or the auxiliary instance object corresponding to the selection operation is a target application to which the graphic code belongs.
Optionally, the processor 1180 included in the terminal further has the following functions:
and calling a scanning interface provided by the target application to scan the graphic codes in the first image data.
Optionally, the processor 1180 included in the terminal further has the following functions:
hooking a second code scanning interface of the target application and acquiring second image data;
and replacing the second image data with the first image data to scan the graphic codes in the first image data in the second code scanning interface.
Optionally, the processor 1180 included in the terminal further has the following functions:
loading the target application into a specified virtual machine;
and hooking the function corresponding to the second code scanning interface in the virtual machine.
Optionally, the first code scanning interface has a first code scanning frame, the graphic code is located in the code scanning frame, and the second code scanning interface has a second code scanning frame; the processor 1180 included in the terminal also has the following functions:
the step of replacing the first image data with the second image data to scan the graphic code in the first image data in the second code scanning interface comprises:
recording that the first code scanning frame is positioned in a code scanning area of the first image data;
adjusting the first image data to align the code scanning area with the second code scanning frame;
and replacing the second image data with the adjusted first image data to scan the graphic codes in the adjusted first image data in the second code scanning frame.
Optionally, the processor 1180 included in the terminal further has the following functions:
and if the application is detected not to be installed, loading a download page of the application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
It will be understood by those skilled in the art that all or part of the steps in the method for implementing the above embodiments may be implemented by hardware that is instructed to implement by a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
While the mobile terminal provided by the present invention has been described in detail, for those skilled in the art, the idea of the embodiment of the present invention may be changed in the specific implementation and application scope, and in summary, the content of the present description should not be construed as limiting the present invention.

Claims (17)

1. A method of scanning for graphic coding, comprising:
loading a first scanning code interface and collecting first image data; the first code scanning interface is an interface of scanning application;
scanning a graphic code in the first image data in the first scanning interface;
determining a target application to which the graphic code belongs; invoking the target application to scan a graphic code in the first image data;
the step of invoking the target application to scan a graphics code in the first image data comprises:
if a first target application provides a scanning interface, the target application calls the scanning interface of the first target application to scan the graphic code in the first image data; the first target application and the target application are different applications of a plurality of applications associated with the scanning application;
the step of invoking the application to scan a graphics encoding in the first image data comprises:
hooking a second code scanning interface of the target application and acquiring second image data;
replacing the second image data with the first image data to scan a graphical code in the first image data in the second code scanning interface;
the first code scanning interface is provided with a first code scanning frame, the graphic code is positioned in the code scanning frame, and the second code scanning interface is provided with a second code scanning frame;
the step of replacing the first image data with the second image data to scan the graphic code in the first image data in the second code scanning interface comprises:
recording that the first code scanning frame is positioned in a code scanning area of the first image data;
adjusting the first image data to align the code scanning area with the second code scanning frame;
replacing the second image data with the adjusted first image data to scan the graphics code in the adjusted first image data in the second scanning frame;
the scanning application provides a unified entry for scanning the code.
2. The method of claim 1, wherein the graphical code comprises a two-dimensional code or a bar code.
3. The method of claim 2, wherein the step of determining the target application to which the graphical code belongs comprises:
if the graphic code is a two-dimensional code, converting the two-dimensional code into a character string;
reading a feature code from the string;
and searching the application corresponding to the feature code to serve as the target application to which the two-dimension code belongs.
4. The method of claim 2, wherein the step of determining the target application to which the graphical code belongs comprises:
and if the graphic code is a bar code, using the specified application as the target application to which the bar code belongs.
5. The method of claim 1 or 2 or 3 or 4, wherein the step of determining the target application to which the graphical code belongs comprises:
generating a hint if the application adapted to scan the graphical code includes a master instance object and a slave instance object;
detecting a selection operation for the prompt information;
and determining that the main instance object or the auxiliary instance object corresponding to the selection operation is a target application to which the graphic code belongs.
6. The method of claim 1, 2, 3 or 4, wherein the step of invoking the application to scan the graphics coding in the first image data further comprises:
and calling a scanning interface provided by the target application to scan the graphic codes in the first image data.
7. The method of claim 1, wherein hooking the second code scanning interface of the target application and capturing second image data comprises:
loading the target application into a specified virtual machine;
and hooking the function corresponding to the second code scanning interface in the virtual machine.
8. The method of claim 1 or 2 or 3 or 4 or 7, wherein after the step of determining a target application to which the graphical code belongs, the method further comprises:
and if the application is detected not to be installed, loading a download page of the application.
9. A graphics-coded scanning device, comprising:
the code scanning interface loading module is suitable for loading a first code scanning interface and acquiring first image data;
a first graphic code scanning module adapted to scan a graphic code in the first image data in the first scan code interface; the first code scanning interface is an interface of scanning application;
the target application determining module is used for determining the target application to which the graphic code belongs;
the second graphic code scanning module is suitable for calling the target application to scan the graphic codes in the first image data;
the second graphics code scan module comprising:
the scanning interface calling sub-module is suitable for calling a scanning interface of a first target application if the first target application provides the scanning interface so as to scan the graphic code in the first image data; the first target application and the target application are different applications of a plurality of applications associated with the scanning application;
the second graphics code scan module includes:
the code scanning interface hooking submodule is suitable for hooking a second code scanning interface of the target application and acquiring second image data;
an image data replacement sub-module adapted to replace the first image data with the second image data to scan the graphic code in the first image data in the second code scanning interface;
the first code scanning interface is provided with a first code scanning frame, the graphic code is positioned in the code scanning frame, and the second code scanning interface is provided with a second code scanning frame;
the image data replacement sub-module includes:
a code scanning area recording unit, adapted to record that the first code scanning frame is positioned in the code scanning area of the first image data;
an image data adjusting unit, adapted to adjust the first image data to align the code scanning area with the second code scanning frame;
an image data adjustment and replacement unit adapted to replace the second image data with the adjusted first image data to scan the graphics code in the adjusted first image data in the second scanning frame;
the scanning application provides a unified entry for scanning the code.
10. The apparatus of claim 9, wherein the graphical code comprises a two-dimensional code or a bar code.
11. The apparatus of claim 10, wherein the target application determination module comprises:
the character string conversion sub-module is suitable for converting the two-dimensional code into a character string if the graphics are coded into the two-dimensional code;
a feature code reading submodule adapted to read a feature code from the character string;
and the application searching submodule is suitable for searching the application corresponding to the feature code and is used as the target application to which the two-dimensional code belongs.
12. The apparatus of claim 10, wherein the target application determination module comprises:
and the application specification sub-module is suitable for taking the specified application as the target application to which the bar code belongs if the graphic code is the bar code.
13. The apparatus of claim 9 or 10 or 11 or 12, wherein the target application determination module comprises:
a prompt information generation sub-module adapted to generate a prompt information if the application adapted to scan the graphical code includes a master instance object and a slave instance object;
a selection operation detection sub-module adapted to detect a selection operation for the prompt information;
and the application selection submodule is suitable for determining that the main instance object or the auxiliary instance object corresponding to the selection operation is the target application to which the graphic code belongs.
14. The apparatus of claim 9, 10, 11 or 12, wherein the second graphic code scanning module comprises:
the scanning interface calling sub-module is further adapted to call a scanning interface provided by the target application to scan the graphic code in the first image data.
15. The apparatus of claim 9, wherein the code-scanning interface hooking sub-module comprises:
the target application loading unit is suitable for loading the target application into a specified virtual machine;
and the function hooking unit is suitable for hooking the function corresponding to the second code scanning interface in the virtual machine.
16. The apparatus of claim 9, 10, 11, 12, or 15, further comprising:
and the download page loading module is suitable for loading the download page of the application if the application is not installed.
17. A mobile terminal comprising a processor and a memory;
the memory is used for storing a program supporting a scanning method for executing the graphic coding described in claims 1 to 8;
the processor is configured to execute programs stored in the memory.
CN201710401329.2A 2017-05-31 2017-05-31 Code scanning method and device for graphic coding and mobile terminal Active CN107423794B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710401329.2A CN107423794B (en) 2017-05-31 2017-05-31 Code scanning method and device for graphic coding and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710401329.2A CN107423794B (en) 2017-05-31 2017-05-31 Code scanning method and device for graphic coding and mobile terminal

Publications (2)

Publication Number Publication Date
CN107423794A CN107423794A (en) 2017-12-01
CN107423794B true CN107423794B (en) 2021-07-02

Family

ID=60429566

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710401329.2A Active CN107423794B (en) 2017-05-31 2017-05-31 Code scanning method and device for graphic coding and mobile terminal

Country Status (1)

Country Link
CN (1) CN107423794B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108182039B (en) * 2017-12-21 2021-05-25 厦门攸信信息技术有限公司 Voice transmission method and system
CN109117906A (en) * 2018-09-28 2019-01-01 大连亿辉科技有限公司 Book service system
CN109583259B (en) * 2019-01-30 2022-09-27 维沃移动通信有限公司 Information identification method and terminal equipment
CN109948394A (en) * 2019-03-28 2019-06-28 尤尼泰克(嘉兴)信息技术有限公司 A kind of acquisition methods of two-dimensional code data carrier
CN110097354A (en) * 2019-04-11 2019-08-06 厦门快商通信息咨询有限公司 A kind of Auto-matching method of payment, device, terminal and storage medium based on barcode scanning payment
CN111459479A (en) * 2020-03-11 2020-07-28 福建联迪商用设备有限公司 Code scanning interface customization method, code scanning end, code scanning intermediate library and system
CN113486996A (en) * 2021-06-25 2021-10-08 青岛海尔科技有限公司 Two-dimensional code image processing method and device, storage medium and electronic device
CN113761406A (en) * 2021-09-03 2021-12-07 深圳市丰巢网络技术有限公司 Intelligent cabinet two-dimensional code short-chain generation method, device, medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104618574A (en) * 2014-12-29 2015-05-13 北京奇虎科技有限公司 Method and device for achieving APP unified management of intelligent hardware equipment and client
CN106372894A (en) * 2016-08-26 2017-02-01 维沃移动通信有限公司 Payment method and mobile terminal
CN106372893A (en) * 2016-08-26 2017-02-01 维沃移动通信有限公司 Code scanning interface switching method and apparatus
CN106610835A (en) * 2016-12-23 2017-05-03 广东欧珀移动通信有限公司 Identification code processing method and device, and computer equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103488528B (en) * 2013-09-05 2017-06-16 优视科技有限公司 A kind of Quick Response Code processing method and processing device based on mobile terminal
CN105654006B (en) * 2014-11-13 2018-05-29 阿里巴巴集团控股有限公司 A kind of Quick Response Code barcode scanning exchange method and device
CN105138942B (en) * 2015-08-26 2018-12-18 小米科技有限责任公司 The display methods and device of two dimensional code
CN105117256A (en) * 2015-08-31 2015-12-02 联想(北京)有限公司 Information processing method and electronic device
CN106327185B (en) * 2016-08-26 2020-05-12 维沃移动通信有限公司 Starting method of payment application and mobile terminal
CN106484479B (en) * 2016-10-10 2019-08-27 Oppo广东移动通信有限公司 A kind of management method, device and intelligent terminal for opening application more
CN106599758A (en) * 2016-11-29 2017-04-26 努比亚技术有限公司 Image quality processing method and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104618574A (en) * 2014-12-29 2015-05-13 北京奇虎科技有限公司 Method and device for achieving APP unified management of intelligent hardware equipment and client
CN106372894A (en) * 2016-08-26 2017-02-01 维沃移动通信有限公司 Payment method and mobile terminal
CN106372893A (en) * 2016-08-26 2017-02-01 维沃移动通信有限公司 Code scanning interface switching method and apparatus
CN106610835A (en) * 2016-12-23 2017-05-03 广东欧珀移动通信有限公司 Identification code processing method and device, and computer equipment

Also Published As

Publication number Publication date
CN107423794A (en) 2017-12-01

Similar Documents

Publication Publication Date Title
CN107423794B (en) Code scanning method and device for graphic coding and mobile terminal
KR101770529B1 (en) Two-dimensional code recognition method and apparatus
CN107329985B (en) Page collection method and device and mobile terminal
CN108156508B (en) Barrage information processing method and device, mobile terminal, server and system
CN110674662B (en) Scanning method and terminal equipment
CN104852885B (en) Method, device and system for verifying verification code
CN104426963B (en) The method and terminal of associated terminal
CN108834132B (en) Data transmission method and equipment and related medium product
CN106911848B (en) Method for outputting prompt message and terminal equipment
CN103455330A (en) Application program management method, terminal, equipment and system
CN103491525A (en) Method for achieving card-free mobile phone, mobile phone and server
CN103177217A (en) File scan method, file scan system, client-side and server
CN111273955B (en) Thermal restoration plug-in optimization method and device, storage medium and electronic equipment
CN107357651B (en) Application acceleration method and device and terminal
CN106933636B (en) Method and device for starting plug-in service and terminal equipment
CN111935353B (en) Mobile terminal and short message display method thereof
CN111210496B (en) Picture decoding method, device and equipment
CN107979688B (en) application program management method and mobile terminal
CN111177612A (en) Method and related device for authenticating page login
CN109325003B (en) Application program classification method and system based on terminal equipment
CN111367502A (en) Numerical value processing method and device
CN108073508B (en) Compatibility detection method and device
CN106304087B (en) Anti-wifi hijacking method and device
CN107317919B (en) Communication message reply method and device and mobile terminal
CN110069723B (en) Graphic code identification method, device and storage medium

Legal Events

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