CN112199971A - Code scanning method and device, computer equipment and storage medium - Google Patents

Code scanning method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN112199971A
CN112199971A CN202010980286.XA CN202010980286A CN112199971A CN 112199971 A CN112199971 A CN 112199971A CN 202010980286 A CN202010980286 A CN 202010980286A CN 112199971 A CN112199971 A CN 112199971A
Authority
CN
China
Prior art keywords
dimensional code
code scanning
scanning
information
analysis result
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.)
Pending
Application number
CN202010980286.XA
Other languages
Chinese (zh)
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.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
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 China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN202010980286.XA priority Critical patent/CN112199971A/en
Publication of CN112199971A publication Critical patent/CN112199971A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/20Analytics; Diagnosis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/547Messaging middleware

Abstract

The embodiment of the invention discloses a code scanning method, a code scanning device, a computer and a storage medium, wherein the code scanning method comprises the following steps: acquiring a two-dimensional code scanning request sent by an application client; acquiring two-dimension code information to be identified according to the two-dimension code scanning request; analyzing the information of the two-dimensional code to be identified to obtain an analysis result of the two-dimensional code; and sending the analysis result of the two-dimension code to an Internet of things platform. The embodiment of the invention can enrich the code scanning function of the two-dimensional code and improve the expandability of code scanning application on the premise of not increasing the cost of hardware equipment.

Description

Code scanning method and device, computer equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of computer application, in particular to a code scanning method, a code scanning device, computer equipment and a storage medium.
Background
At present, two-dimensional codes and image recognition technologies Of the two-dimensional codes are rapidly developed and widely applied, and intelligent mobile terminals such as mobile phones, tablet computers, Point Of Sale (POS) machines and the like can perform functions such as face recognition, business card recognition, two-dimensional code recognition and the like by using two-dimensional code scanning equipment (such as cameras and the like).
In the prior art, the code scanning method of the intelligent mobile terminal for the two-dimensional code mainly comprises two modes: firstly, scanning and identifying a two-dimensional code by using a code scanning gun; and secondly, scanning and identifying the two-dimensional code by utilizing camera equipment.
In the process of implementing the invention, the inventor finds that the prior art has the following defects: the two-dimensional code is scanned and identified through the code scanning gun, extra code scanning hardware equipment is needed, and the cost of the hardware equipment is too high for a network point applying the two-dimensional code on a large scale. The camera has a single technical function of scanning and identifying the two-dimensional code, and is not beneficial to monitoring and operation and maintenance management of scanning equipment; meanwhile, the application back end cannot acquire relevant data of the scanning equipment, and the expandability is low.
Disclosure of Invention
The embodiment of the invention provides a code scanning method, a code scanning device, computer equipment and a storage medium, so that the code scanning function of a two-dimensional code is enriched on the premise of not increasing the cost of hardware equipment, and the expandability of code scanning application is improved.
In a first aspect, an embodiment of the present invention provides a code scanning method, which is applied to code scanning middleware at a client, and includes:
acquiring a two-dimensional code scanning request sent by an application client;
acquiring two-dimension code information to be identified according to the two-dimension code scanning request;
analyzing the information of the two-dimensional code to be identified to obtain an analysis result of the two-dimensional code;
and sending the analysis result of the two-dimension code to an Internet of things platform.
In a second aspect, an embodiment of the present invention further provides a code scanning apparatus configured in a code scanning middleware at a client, including:
the two-dimension code scanning request sending module is used for obtaining a two-dimension code scanning request sent by an application client;
the to-be-identified two-dimensional code information acquisition module is used for acquiring the to-be-identified two-dimensional code information according to the two-dimensional code scanning request;
the two-dimensional code analysis result acquisition module is used for analyzing the information of the two-dimensional code to be identified so as to acquire an analysis result of the two-dimensional code;
and the analysis result sending module of the two-dimensional code is used for sending the analysis result of the two-dimensional code to the Internet of things platform.
In a third aspect, an embodiment of the present invention further provides a computer device, where the computer device includes:
one or more processors;
storage means for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the code scanning method provided by any embodiment of the invention.
In a fourth aspect, an embodiment of the present invention further provides a computer storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the code scanning method provided in any embodiment of the present invention.
According to the embodiment of the invention, the client scanning middleware is utilized to obtain the two-dimensional code scanning request sent by the application client, the information of the two-dimensional code to be identified is obtained according to the obtained two-dimensional code scanning request, the information of the two-dimensional code to be identified is analyzed to obtain the analysis result of the two-dimensional code, and the analysis result of the two-dimensional code is sent to the Internet of things platform, so that the problems of high hardware equipment cost, single code scanning function, low expandability and the like of the existing two-dimensional code scanning method are solved, the code scanning function of the two-dimensional code is enriched on the premise of not increasing the hardware equipment cost, and the expandability of code scanning application is improved.
Drawings
Fig. 1 is a flowchart of a code scanning method according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating an interface effect of an application client according to an embodiment of the present invention;
FIG. 3 is a flowchart of a code scanning method according to a second embodiment of the present invention;
FIG. 4 is a schematic diagram illustrating an interface effect for prompting a user to issue a two-dimensional code in the second embodiment of the present invention;
fig. 5 is a schematic flowchart of a two-dimensional code scanning method according to a second embodiment of the present invention;
fig. 6 is a schematic diagram of a code scanning apparatus according to a third embodiment of the present invention;
fig. 7 is a schematic structural diagram of a computer device according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention.
It should be further noted that, for the convenience of description, only some but not all of the relevant aspects of the present invention are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Example one
Fig. 1 is a flowchart of a code scanning method according to an embodiment of the present invention, where the present embodiment is applicable to a case where a two-dimensional code is scanned by using a client code scanning middleware, and the method may be executed by a code scanning apparatus, where the apparatus may be implemented by software and/or hardware, and may be generally integrated in a computer device, as shown in fig. 1, where the method includes the following operations:
and S110, acquiring a two-dimensional code scanning request sent by the application client.
The application client can be used for scanning the two-dimensional code so as to process specific services according to the code scanning result. Optionally, the Application client may be a World Wide Web (Web) Application client, and may also be an APP (Application) type client, and the embodiment of the present invention does not limit the specific type of the Application client. The client scanning middleware can be middleware which is set for the application client and is used for assuming the code scanning function of the application client. Optionally, the client scanning middleware may be a type of software between the application system and the system software, and it uses the basic service (function) provided by the system software to connect each part of the application system or different applications on the network, so as to achieve the purpose of resource sharing and function sharing. The client code scanning middleware can rapidly access various new devices into the service system, simplifies the complexity of calling peripheral equipment for the upper layer of the service system, and the service system can complete corresponding service functions only by calling an Application Programming Interface (API) provided by the client code scanning middleware during development. The client code scanning middleware can be in communication connection with the application client so as to provide corresponding intermediate services for the application client. The two-dimensional code scanning request may be a request sent by the application client to the client scanning middleware, for requesting the client to scan the middleware for two-dimensional code scanning.
In the embodiment of the invention, the scanning function for the two-dimensional code is not executed by the application client any more, but is transferred to the code scanning middleware of the client for execution. Specifically, when the application client needs to scan the two-dimensional code, a two-dimensional code scanning request can be sent to the client scanning middleware.
Fig. 2 is a schematic diagram of an interface effect of an application client according to an embodiment of the present invention. In a specific example, as shown in fig. 2, a function option of "code scanning" may be provided in one of the display interfaces of the application client. When the code scanning function is triggered, the application client can send a two-dimensional code scanning request to the code scanning middleware of the client so as to indicate the code scanning middleware of the client to start to scan the two-dimensional code.
Optionally, the technical solution of the embodiment of the present invention may be applied to the following application scenarios: in the financial industry or the telecommunication industry, the application client is used for scanning codes to perform financial transactions and the like.
And S120, acquiring the information of the two-dimension code to be identified according to the two-dimension code scanning request.
The two-dimensional code information to be recognized may include user identity information or account information, and the like, for example, when a user performs a withdrawal operation, the user identity may be determined by scanning a two-dimensional code provided by a user client, so as to operate a corresponding user account. The embodiment of the invention does not limit the specific information content of the two-dimension code information to be identified.
In the embodiment of the invention, after the client code scanning middleware receives the two-dimension code scanning request, the client code scanning middleware can acquire the information of the two-dimension code to be identified according to the two-dimension code scanning request. For example, the client code scanning middleware can start a two-dimensional code scanning function to scan the two-dimensional code so as to acquire the information of the two-dimensional code to be identified.
It should be noted that the client code scanning middleware may obtain the information of the two-dimensional code to be identified through an inherent scanning device on a device installed in the application client, where the inherent scanning device may be a camera or another scanning module (e.g., an infrared scanning module), and the like. That is, the client code scanning middleware does not utilize extra code scanning hardware equipment to scan the two-dimensional code, so that the hardware cost of the two-dimensional code scanning is reduced.
S130, analyzing the information of the two-dimension code to be identified to obtain an analysis result of the two-dimension code.
The two-dimensional code analysis result may be a result of successful code scanning or failed code scanning, and in addition, the two-dimensional code analysis result may further include analysis data of the two-dimensional code scanning result, for example, when the two-dimensional code scanning fails, the two-dimensional code analysis result may further include an error code, error description data, and the like. The embodiment of the invention does not limit the specific data content of the analysis result of the two-dimensional code.
Correspondingly, after the client code scanning middleware acquires the two-dimensional code information to be identified, the two-dimensional code information to be identified can be analyzed, so that an analysis result of the two-dimensional code is acquired.
And S140, sending the analysis result of the two-dimensional code to the Internet of things platform.
The Internet of things platform can be an Internet of things management platform and can manage numerous Internet of things devices and various intelligent terminals.
In the embodiment of the invention, after the client code scanning middleware acquires the analysis result of the two-dimensional code, the analysis result of the acquired two-dimensional code can be sent to the Internet of things platform, so that the analysis result of the two-dimensional code is analyzed through the Internet of things platform, and the data acquired by analysis is applied to a specific real scene. For example, the internet of things platform may specifically apply the analyzed and obtained data to business scenarios such as transfer and bank account identification, so as to determine the code scanning success rate in the business handling process.
Therefore, the client scanning middleware is responsible for analyzing the two-dimensional code, so that the analysis result of the obtained two-dimensional code is sent to the Internet of things platform, the Internet of things platform can timely obtain the two-dimensional code scanning related data in the two-dimensional code scanning service scene and analyze and apply the two-dimensional code scanning related data, and the code scanning function is expanded.
According to the embodiment of the invention, the client scanning middleware is utilized to obtain the two-dimensional code scanning request sent by the application client, the information of the two-dimensional code to be identified is obtained according to the obtained two-dimensional code scanning request, the information of the two-dimensional code to be identified is analyzed to obtain the analysis result of the two-dimensional code, and the analysis result of the two-dimensional code is sent to the Internet of things platform, so that the problems of high hardware equipment cost, single code scanning function, low expandability and the like of the existing two-dimensional code scanning method are solved, the code scanning function of the two-dimensional code is enriched on the premise of not increasing the hardware equipment cost, and the expandability of code scanning application is improved.
Example two
Fig. 3 is a flowchart of a code scanning method according to a second embodiment of the present invention, which is embodied on the basis of the second embodiment, and in this embodiment, a specific optional implementation manner is provided for a client to scan a code in a code scanning middleware to obtain a two-dimensional code scanning request, obtain information of a two-dimensional code to be identified, and obtain an analysis result of the two-dimensional code. Accordingly, as shown in fig. 3, the method includes the following operations:
s210, receiving a two-dimensional code scanning request sent by an application client through a code scanning interface.
The code scanning interface may be an interface provided by the application client for the client scanning middleware, and optionally, the scanning interface may be a JavaScript interface of a web framework, or the like.
Specifically, when the application client needs to scan the two-dimensional code, for example, a "code scanning" function in the application client is triggered, the application client may send a two-dimensional code scanning request to the client code scanning middleware through the JavaScript interface. That is, the client code scanning middleware may receive, through the code scanning interface, a two-dimensional code scanning request sent by the application client.
And S220, starting the two-dimension code scanning device according to the two-dimension code scanning request.
The two-dimensional code scanning device can be a camera or other scanning module in the device for installing the application client. The client code scanning middleware scans the two-dimensional code by using the two-dimensional code scanning equipment in the equipment for installing the application client, so that the scanning equipment can be called quickly, and the hardware equipment cost of the scanning equipment can be reduced.
For example, assuming that the device for installing the application client is a banking system device, a camera in the device may meet the external device specification of a bank to access the system, and provide a data interface so that the upper layer application can call data.
Correspondingly, when the client code scanning middleware acquires the information of the two-dimensional code to be identified, two-dimensional code scanning equipment such as a camera in equipment for installing the application client can be called.
In an optional embodiment of the present invention, starting the two-dimensional code scanning device according to the two-dimensional code scanning request may include: the code scanning drive is called in a reflection mode, and the communication data are encrypted by using a content security application program interface of the application client; starting an MFC (Microsoft Foundation Classes) application according to a code scanning driving interface; and starting the two-dimensional code scanning device through the MFC application program.
Among other things, a content security application program interface (SecAPI) may be used to encrypt communication data. For example, in an application system of two-dimensional code scanning, after communication data is encrypted by using SecAPI, a background can automatically identify whether the content after code scanning is changed. Optionally, the background may use a Universal Unique Identifier (UUID) format to mark the content information obtained by scanning the code. Therefore, the data operation safety in the two-dimensional code scanning application can be improved by encrypting the communication data.
In an optional embodiment of the present invention, when the client code scanning middleware starts the two-dimensional code scanning device, the client code scanning driver may be called in a reflective manner, and the SecAPI of the client is used to encrypt the current communication data. The encrypted communication data may be data information obtained by scanning a two-dimensional code. By encrypting the communication data, the communication data can be effectively prevented from being tampered, so that the safety of the communication data in the communication process is improved. The client code-scan middleware may then launch the MFC application according to the code-scan driven driver interface called by the reflection. After the MFC application is started, the two-dimensional code scanning device is started through the MFC application.
In the foregoing solution, optionally, the driver interface may include a JNI interface, a C + + interface, and the like, and the embodiment of the present invention does not limit a specific interface type of the driver interface.
In an alternative embodiment of the present invention, the starting of the two-dimensional code scanning device by the MFC application may include: acquiring default scanning parameters of the two-dimensional code scanning equipment through an MFC application program; the default scanning parameters comprise a default camera identification and a default image resolution; and starting the two-dimension code scanning equipment according to the default scanning parameters, and scanning the two-dimension code to be identified through the two-dimension code scanning equipment.
The default scanning parameters are scanning parameters set by the two-dimensional code scanning device by default. Optionally, the default scan parameters may include, but are not limited to, a default camera identification, a default image resolution, and the like. The default camera identification can be used for identifying a default started camera. The default image resolution may be a default resolution set by the two-dimensional code scanning device.
In an optional embodiment of the present invention, after the MFC application is started, the MFC application acquires the default camera identifier and the default image resolution of the two-dimensional code scanning device, and starts the corresponding two-dimensional code scanning device according to the default camera identifier and the default image resolution, so as to complete scanning of the two-dimensional code to be recognized by the two-dimensional code scanning device. For example, the client code scanning middleware may send a command to turn on a camera to a device installed in the application client through a default camera id obtained by the MFC application. After receiving an instruction for starting the camera, the device installed on the application client determines the camera to be started, such as a front-facing camera of the device, according to the default camera identification, and starts the camera by adopting the default image resolution matched with the camera.
And S230, scanning the two-dimension code to be identified through two-dimension code scanning equipment.
Correspondingly, after the client scans the code middleware and starts the two-dimensional code scanning device, the two-dimensional code to be identified can be scanned through the two-dimensional code scanning device.
Specifically, after the client scans the code middleware and starts the two-dimensional code scanning device, information prompting the user to issue the two-dimensional code can be sent to the application client.
Fig. 4 is a schematic view of an interface effect provided in the second embodiment of the present invention for prompting a user to issue a two-dimensional code, and as shown in fig. 4, after the client scans a code middleware and successfully starts a two-dimensional code scanning device, the client may be notified to prompt the user to issue the two-dimensional code. At this time, the application client may display code scanning interface information as shown in fig. 4 in the display interface to prompt the user of a correct code scanning operation.
S240, acquiring the information of the two-dimensional code to be identified according to the scanning result of the two-dimensional code to be identified.
The two-dimensional code to be identified is also the two-dimensional code needing scanning identification.
Correspondingly, the client code scanning middleware can specifically take a scanning result of the two-dimensional code to be identified as the information of the two-dimensional code to be identified.
And S250, analyzing the information of the two-dimension code to be identified to obtain an analysis result of the two-dimension code.
In an optional embodiment of the present invention, analyzing the to-be-identified two-dimensional code information to obtain an analysis result of the two-dimensional code may include: image preprocessing is carried out on the two-dimension code information to be recognized; the image preprocessing comprises image deviation rectifying processing and two-dimensional code positioning processing; if the image preprocessing is successful, decoding the two-dimensional code information to be recognized, which is obtained after the image preprocessing; and taking the decoding processing result as the analysis result of the two-dimensional code.
The image preprocessing may be preprocessing operation performed on image content corresponding to the two-dimensional code information to be recognized. Optionally, the image preprocessing may include image rectification processing and two-dimensional code positioning processing. The image deviation rectifying process may be to adjust an image angle or an image position of the image corresponding to the two-dimensional code information to be identified obtained by scanning. The two-dimensional code positioning process may be used to position an identification position of two-dimensional code information to be recognized, for example, when positioning a QR (Quick Response) code in the two-dimensional code, geometric correction is required, and a basic method of geometric correction is to search 3 image-searching patterns of the QR code, determine four control points according to the image-searching patterns, and then correct an image using the four control points.
In the embodiment of the invention, when analyzing the to-be-identified two-dimensional code information, the to-be-identified two-dimensional code information (i.e. the image obtained by scanning the two-dimensional code) needs to be subjected to image rectification processing and two-dimensional code positioning processing. And if the image rectification processing and the two-dimension code positioning processing of the two-dimension code information to be identified are successful, the two-dimension code to be identified is decoded by using the processed two-dimension code information to be identified. And the result obtained by decoding is the analysis result of the two-dimensional code. The image deviation rectifying processing and the two-dimension code positioning processing in the image preprocessing enable the two-dimension code not to have an excessively high requirement on the position in the identification area, the identification flexibility of the two-dimension code is improved, and the probability that the two-dimension code cannot be identified is reduced.
In an optional embodiment of the present invention, after performing image preprocessing on the two-dimensional code information to be recognized, the method may further include: and if the image preprocessing is determined to fail, accumulating the image preprocessing time, and returning to execute the operation of image preprocessing on the two-dimensional code information to be recognized when the image preprocessing time is determined not to exceed the set time threshold value until the image preprocessing is determined to be successful or the image preprocessing time is determined to exceed the set time threshold value.
The set time threshold may be a total set time length of the image preprocessing, for example, the set time threshold may be 1 second or 5 seconds, and the like, and may be specifically set according to an actual requirement.
In the embodiment of the invention, a timeout mechanism can also be set for image preprocessing. That is, when image preprocessing is performed on the to-be-recognized two-dimensional code information, if it is determined that the image preprocessing fails, the image preprocessing time may be accumulated. And simultaneously, judging the accumulated image preprocessing time. If the current accumulated image preprocessing time does not exceed the set time threshold, returning to execute the image preprocessing operation again; otherwise, determining that the current accumulated image preprocessing time reaches a set time threshold. The timeout mechanism set for the image preprocessing can avoid entering a dead cycle of image preprocessing repeatedly performed on the information of the two-dimensional code to be recognized due to image preprocessing failure, so that code scanning failure is caused. Accordingly, if the image preprocessing is successful, the image preprocessing operation need not be repeatedly performed.
And S260, feeding back the decoding result of the two-dimensional code to the application client so that the application client displays the decoding result of the two-dimensional code in the application interface.
And the decoding result of the two-dimensional code is the result identified after the two-dimensional code is scanned.
In the embodiment of the invention, after the two-dimensional code scanning device successfully scans the two-dimensional code, the result obtained after scanning the two-dimensional code is returned to the application client through the code scanning middleware of the client, and the decoding result of the two-dimensional code is displayed in the application interface of the application client.
S270, sending the analysis result of the two-dimensional code to the Internet of things platform.
In an optional embodiment of the present invention, sending the analysis result of the two-dimensional code to the internet of things platform may include: sending the analysis result of the two-dimension code to a Software Development Kit (SDK) of the Internet of things platform; the SDK of the platform of the internet of things is arranged in the client code scanning middleware and used for receiving the analysis result of the two-dimensional code and sending the analysis result of the two-dimensional code to the platform of the internet of things through a Message Queue Telemetry Transport (MQTT).
The MQTT is a message protocol based on a publish/subscribe paradigm under the International Organization for Standardization (ISO) standard, and is a publish/subscribe model designed for remote devices with low hardware performance and under the condition of poor network performance.
Specifically, the client code scanning middleware can send the analysis result of the two-dimensional code to an SDK of an Internet of things platform built in the client code scanning middleware. After receiving the analysis result of the two-dimensional code, the SDK of the platform of the Internet of things can send the analysis result of the received two-dimensional code to the platform of the Internet of things through the MQTT.
In an optional embodiment of the present invention, when sending the analysis result of the two-dimensional code to the platform of the internet of things, the method may further include: acquiring equipment association information of two-dimensional code scanning equipment; and sending the equipment association information to the Internet of things platform.
The device-related information may be related information of the two-dimensional code scanning device, for example, the device-related information may be, for example, an identifier, operation information, fault information, and the like of the two-dimensional code scanning device, and the specific type of the device-related information is not limited in the embodiment of the present invention. In an optional embodiment of the invention, the client code scanning middleware can also actively acquire the equipment association information of the two-dimensional code scanning equipment and send the acquired equipment association information of the two-dimensional code scanning equipment to the internet of things platform, so that the internet of things platform analyzes the two-dimensional code scanning equipment according to the received equipment association information, monitoring and early warning on the two-dimensional code scanning equipment are realized, and the two-dimensional code scanning equipment is convenient to overhaul, operate and maintain.
In an optional embodiment of the present invention, after sending the analysis result of the two-dimensional code to the platform of the internet of things, the method may further include: receiving an equipment monitoring request sent by an Internet of things platform; acquiring equipment association information of the two-dimensional code scanning equipment according to the equipment monitoring request; and feeding back the equipment association information to the Internet of things platform.
The device monitoring request can be an operation instruction sent by the internet of things platform to the client code scanning middleware, and can be used for requesting to acquire device association information of the two-dimensional code scanning device.
In the embodiment of the invention, except that the device association information of the two-dimensional code scanning device is actively acquired by the client code scanning middleware and sent to the Internet of things platform, the Internet of things platform can monitor and early warn the two-dimensional code scanning device. Optionally, the internet of things platform may also actively send an equipment monitoring request to the client code scanning middleware to request the client code scanning middleware to acquire equipment association information of the two-dimensional code scanning equipment, and feed the acquired equipment association information back to the internet of things platform.
In an optional embodiment of the invention, the internet of things platform is used for sending the analysis result of the two-dimensional code and/or the equipment association information to the data analysis application through the MQTT; and the data analysis application is used for carrying out data analysis according to the analysis result of the two-dimensional code and/or the equipment correlation information. The data analysis application can be used for sending equipment early warning information to the platform of the Internet of things when the fault information of the two-dimensional code scanning equipment is determined according to the data analysis result of the equipment correlation information.
The data analysis application can be related application which is set by an application layer of the internet of things and used for carrying out data analysis on the two-dimension code scanning condition and the two-dimension code scanning equipment. The device early warning information can be information sent to the Internet of things platform by data analysis application and used for prompting that the two-dimensional code scanning device breaks down.
Optionally, after receiving the analysis result of the two-dimensional code and/or the device association information sent by the code scanning middleware at the client, the internet of things platform may send the analysis result of the two-dimensional code and/or the device association information to the data analysis application at the application layer in an MQTT manner, so as to perform data analysis on the analysis result of the two-dimensional code and/or the device association information through the data analysis application. For example, the data analysis application analyzes the code scanning success rate and the failure rate in the two-dimensional code scanning process, the specific reasons causing the two-dimensional code scanning failure, and the like based on the analysis result of the two-dimensional code. For another example, the data analysis application may also determine whether the two-dimensional code scanning device has fault information based on a data analysis result of the device-related information, so as to implement monitoring and early warning on the two-dimensional code scanning device. Correspondingly, if the data analysis application determines that the two-dimensional code scanning device has fault information according to the data analysis result, device early warning information can be sent to the Internet of things platform to prompt the Internet of things platform that the two-dimensional code scanning device has faults.
Fig. 5 is a schematic flowchart of a two-dimensional code scanning method according to a second embodiment of the present invention. In a specific example, as shown in fig. 5, the two-dimensional code scanning method may specifically be: and opening a business interface of the web application client by the user for business handling. Specifically, a user can click a 'code scanning' button through an application client, and the application client can send an AJAX request to the client code scanning middleware through a JavaScript code scanning interface of the web application frame so as to instruct the client code scanning middleware to start two-dimensional code scanning.
And after receiving the AJAX request, the client code scanning middleware starts to reflect and call code scanning drive, and encrypts or decrypts the communication data by using SecAPI. Specifically, the code scanning middleware at the client can call a code scanning-driven JNI interface and a code scanning-driven C + + interface, and then start an MFC application program for code scanning preview through the code scanning-driven interface, so that the camera is started through the MFC application program with a default camera and a default resolution. At the moment, the camera used for scanning the two-dimensional code is started by the equipment installed on the application client, and after the application client detects that the camera is started, the relevant information of the two-dimensional code displayed by the client can be displayed on the display interface. After the customer presents the two-dimensional code, the camera can scan the two-dimensional code that the customer demonstrates in order to obtain the two-dimensional code information of waiting to discern, also obtains the scanning image of two-dimensional code. After the scanned image of the two-dimensional code is obtained, the client code scanning middleware can perform image rectification processing and two-dimensional code positioning processing on the scanned image of the two-dimensional code based on OpenCV, so that the processed scanned image of the two-dimensional code can meet the requirements of two-dimensional code identification and decoding. Then, the client code scanning middleware may decode the scanned image of the two-dimensional code using ZXing (barcode image processing library). If the decoding fails, the operations of image rectification, two-dimensional code definition and picture decoding are repeatedly executed within a set time threshold until the decoding succeeds or fails (the set time threshold is reached). After the two-dimensional code scanning process is finished, the client scanning middleware can send the decoding result of the two-dimensional code to a JavaScript code scanning interface of the web application client, so that the web application client displays the decoding result of the two-dimensional code in a display interface. Meanwhile, the client code scanning middleware can send the analysis result of the two-dimensional code to the SDK. The two-dimensional code analysis result can be a result of code scanning success or code scanning failure, and when the two-dimensional code scanning failure occurs, the two-dimensional code analysis result can also comprise error codes, error description data and the like.
The SDK further can send the two-dimensional code analysis result to the platform of the Internet of things in a mode of MQTT stacking. Meanwhile, the client code scanning middleware can also acquire the equipment association information of the camera in real time and send the equipment association information of the camera to the Internet of things platform so as to monitor and early warn the camera. Or, the internet of things platform can actively send an equipment monitoring request to the client code scanning middleware to request to acquire the equipment associated information of the camera. Correspondingly, the internet of things platform can send the analysis result of the obtained two-dimensional code and/or the device association information to the internet of things application SDK (software development kit) sent to the web back-end application layer in an MQTT (multi-query test) popping mode, so that the received data are analyzed through the internet of things application SDK, and the subscription event is processed according to the data analysis result. For example, if the internet of things application SDK determines that the camera has an equipment fault according to the data analysis result, fault early warning information of the camera is sent to the internet of things platform.
According to the technical scheme, the application client calls the client code scanning middleware through the interface to scan the two-dimensional code, and the communication data in the code scanning process is encrypted, so that the safety of the code scanning process of the two-dimensional code can be effectively improved. Meanwhile, the client-side code scanning middleware can send scanning results of the two-dimensional codes to the Internet of things platform in real time, so that two-dimensional code scanning equipment such as a code scanning process and a camera can be monitored and managed through an Internet of things application layer, upper-layer application supervision and further data development can be provided, the code scanning function of the two-dimensional codes is enriched, and the expandability of code scanning application is improved.
EXAMPLE III
Fig. 6 is a schematic diagram of a code scanning apparatus according to a third embodiment of the present invention, as shown in fig. 6, the apparatus includes: the two-dimensional code scanning request sending module 310, the two-dimensional code information acquiring module 320 to be identified, the analysis result acquiring module 330 of the two-dimensional code, and the analysis result sending module 340 of the two-dimensional code, wherein:
a two-dimensional code scanning request sending module 310, configured to obtain a two-dimensional code scanning request sent by an application client;
the to-be-identified two-dimensional code information acquisition module 320 is configured to acquire two-dimensional code information to be identified according to the two-dimensional code scanning request;
the two-dimensional code analysis result acquisition module 330 is configured to analyze the information of the two-dimensional code to be identified to acquire an analysis result of the two-dimensional code;
and the analysis result sending module 340 of the two-dimensional code is used for sending the analysis result of the two-dimensional code to the internet of things platform.
Optionally, the two-dimensional code scanning request sending module 310 is specifically configured to: and receiving a two-dimensional code scanning request sent by the application client through a code scanning interface.
Optionally, the to-be-identified two-dimensional code information obtaining module 320 is specifically configured to: starting two-dimensional code scanning equipment according to the two-dimensional code scanning request; scanning the two-dimensional code to be identified through the two-dimensional code scanning equipment; and acquiring the information of the two-dimensional code to be identified according to the scanning result of the two-dimensional code to be identified.
Optionally, the to-be-identified two-dimensional code information obtaining module 320 is specifically configured to: reflecting and calling a code scanning driver, and encrypting communication data by using a content security application program interface of the application client; starting the MFC application program of the Microsoft basic class library according to the drive interface driven by the code scanning; and starting the two-dimensional code scanning equipment through the MFC application program.
Optionally, the driver interface may include a JNI interface and a C + + interface.
Optionally, the to-be-identified two-dimensional code information obtaining module 320 is specifically configured to: acquiring default scanning parameters of the two-dimensional code scanning equipment through the MFC application program; the default scanning parameters comprise a default camera identification and a default image resolution; and starting the two-dimension code scanning equipment according to the default scanning parameters, and scanning the two-dimension code to be identified through the two-dimension code scanning equipment.
Optionally, the two-dimensional code analysis result obtaining module 330 is specifically configured to: image preprocessing is carried out on the two-dimension code information to be identified; the image preprocessing comprises image deviation rectifying processing and two-dimensional code positioning processing; if the image preprocessing is successful, decoding the two-dimensional code information to be recognized, which is obtained after the image preprocessing; and taking the decoding processing result as the analysis result of the two-dimensional code.
Optionally, the code scanning device further includes: a time threshold determination module to: and if the image preprocessing is determined to fail, accumulating the image preprocessing time, and returning to execute the operation of image preprocessing on the two-dimensional code information to be identified when the image preprocessing time is determined not to exceed the set time threshold value until the image preprocessing is determined to be successful or the image preprocessing time is determined to exceed the set time threshold value.
Optionally, the two-dimensional code parsing result sending module 340 is specifically configured to: sending the analysis result of the two-dimension code to a Software Development Kit (SDK) of the Internet of things platform; the SDK of the Internet of things platform is arranged in the client code scanning middleware and used for receiving the analysis result of the two-dimensional code and sending the analysis result of the two-dimensional code to the Internet of things platform through a message queue telemetry transmission protocol MQTT.
Optionally, the analysis result sending module 340 of the two-dimensional code is further configured to: acquiring equipment association information of two-dimensional code scanning equipment; and sending the equipment association information to the Internet of things platform.
Optionally, the code scanning device further includes: the decoding result display module of the two-dimensional code is specifically used for: and feeding back the decoding result of the two-dimensional code to the application client so that the application client displays the decoding result of the two-dimensional code in an application interface.
Optionally, the code scanning device further includes: an equipment association information feedback module, configured to: receiving an equipment monitoring request sent by the Internet of things platform; acquiring equipment association information of the two-dimensional code scanning equipment according to the equipment monitoring request; and feeding back the equipment association information to the Internet of things platform.
Optionally, the internet of things platform is configured to send the analysis result of the two-dimensional code and/or the device association information to a data analysis application through MQTT; and the data analysis application is used for carrying out data analysis according to the analysis result of the two-dimensional code and/or the equipment correlation information.
Optionally, the data analysis application sends device early warning information to the internet of things platform when determining that the two-dimensional code scanning device has fault information according to the data analysis result of the device association information.
The code scanning device can execute the code scanning method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the code scanning method provided in any embodiment of the present invention.
Since the code scanning apparatus described above is an apparatus capable of executing the code scanning method in the embodiment of the present invention, based on the code scanning method described in the embodiment of the present invention, a person skilled in the art can understand the specific implementation of the code scanning apparatus in the embodiment and various variations thereof, and therefore, how the code scanning apparatus implements the code scanning method in the embodiment of the present invention is not described in detail herein. The device used by those skilled in the art to implement the code scanning method in the embodiments of the present invention is within the scope of the present application.
Example four
Fig. 7 is a schematic structural diagram of a computer device according to a fourth embodiment of the present invention. FIG. 7 illustrates a block diagram of a computer device 412 suitable for use in implementing embodiments of the present invention. The computer device 412 shown in FIG. 7 is only one example and should not impose any limitations on the functionality or scope of use of embodiments of the present invention.
As shown in FIG. 7, computer device 412 is in the form of a general purpose computing device. Components of computer device 412 may include, but are not limited to: one or more processors 416, a storage device 428, and a bus 418 that couples the various system components including the storage device 428 and the processors 416.
Bus 418 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MCA) bus, an enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.
Computer device 412 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by computer device 412 and includes both volatile and nonvolatile media, removable and non-removable media.
Storage 428 may include computer system readable media in the form of volatile Memory, such as Random Access Memory (RAM) 430 and/or cache Memory 432. The computer device 412 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 434 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 7, commonly referred to as a "hard drive"). Although not shown in FIG. 7, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a Compact disk-Read Only Memory (CD-ROM), a Digital Video disk (DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected to bus 418 by one or more data media interfaces. Storage 428 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
Program 436 having a set (at least one) of program modules 426 may be stored, for example, in storage 428, such program modules 426 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination may comprise an implementation of a network environment. Program modules 426 generally perform the functions and/or methodologies of embodiments of the invention as described herein.
The computer device 412 may also communicate with one or more external devices 414 (e.g., keyboard, pointing device, camera, display 424, etc.), with one or more devices that enable a user to interact with the computer device 412, and/or with any devices (e.g., network card, modem, etc.) that enable the computer device 412 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 422. Also, computer device 412 may communicate with one or more networks (e.g., a Local Area Network (LAN), Wide Area Network (WAN), and/or a public Network, such as the internet) through Network adapter 420. As shown, network adapter 420 communicates with the other modules of computer device 412 over bus 418. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the computer device 412, including but not limited to: microcode, device drivers, Redundant processing units, external disk drive Arrays, disk array (RAID) systems, tape drives, and data backup storage systems, to name a few.
The processor 416 executes various functional applications and data processing by executing programs stored in the storage device 428, for example, implementing the code scanning method provided by the above-described embodiment of the present invention: acquiring a two-dimensional code scanning request sent by an application client; acquiring two-dimension code information to be identified according to the two-dimension code scanning request; analyzing the information of the two-dimensional code to be identified to obtain an analysis result of the two-dimensional code; and sending the analysis result of the two-dimension code to an Internet of things platform.
According to the embodiment of the invention, the client scanning middleware is utilized to obtain the two-dimensional code scanning request sent by the application client, the information of the two-dimensional code to be identified is obtained according to the obtained two-dimensional code scanning request, the information of the two-dimensional code to be identified is analyzed to obtain the analysis result of the two-dimensional code, and the analysis result of the two-dimensional code is sent to the Internet of things platform, so that the problems of high hardware equipment cost, single code scanning function, low expandability and the like of the existing two-dimensional code scanning method are solved, the code scanning function of the two-dimensional code is enriched on the premise of not increasing the hardware equipment cost, and the expandability of code scanning application is improved.
EXAMPLE five
An embodiment of the present invention further provides a computer storage medium storing a computer program, where the computer program is used to execute the code scanning method according to any of the above embodiments of the present invention when executed by a computer processor: acquiring a two-dimensional code scanning request sent by an application client; acquiring two-dimension code information to be identified according to the two-dimension code scanning request; analyzing the information of the two-dimensional code to be identified to obtain an analysis result of the two-dimensional code; and sending the analysis result of the two-dimension code to an Internet of things platform.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read-Only Memory (ROM), an Erasable Programmable Read-Only Memory (EPROM) or flash Memory), an optical fiber, a portable compact disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, Radio Frequency (RF), etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (17)

1. A code scanning method is applied to code scanning middleware of a client, and comprises the following steps:
acquiring a two-dimensional code scanning request sent by an application client;
acquiring two-dimension code information to be identified according to the two-dimension code scanning request;
analyzing the information of the two-dimensional code to be identified to obtain an analysis result of the two-dimensional code;
and sending the analysis result of the two-dimension code to an Internet of things platform.
2. The method of claim 1, wherein the obtaining of the two-dimensional code scanning request sent by the application client comprises:
and receiving a two-dimensional code scanning request sent by the application client through a code scanning interface.
3. The method of claim 1, wherein the obtaining of the two-dimensional code information to be identified according to the two-dimensional code scanning request comprises:
starting two-dimensional code scanning equipment according to the two-dimensional code scanning request;
scanning the two-dimensional code to be identified through the two-dimensional code scanning equipment;
and acquiring the information of the two-dimensional code to be identified according to the scanning result of the two-dimensional code to be identified.
4. The method of claim 3, wherein the starting of the two-dimensional code scanning device according to the two-dimensional code scanning request comprises:
reflecting and calling a code scanning driver, and encrypting communication data by using a content security application program interface of the application client;
starting the MFC application program of the Microsoft basic class library according to the drive interface driven by the code scanning;
and starting the two-dimensional code scanning equipment through the MFC application program.
5. The method of claim 4, wherein the driver interfaces comprise a JNI interface and a C + + interface.
6. The method of claim 4, wherein the launching of the two-dimensional code scanning device by the MFC application includes:
acquiring default scanning parameters of the two-dimensional code scanning equipment through the MFC application program; the default scanning parameters comprise a default camera identification and a default image resolution;
and starting the two-dimension code scanning equipment according to the default scanning parameters, and scanning the two-dimension code to be identified through the two-dimension code scanning equipment.
7. The method according to claim 1, wherein the analyzing the two-dimensional code information to be identified to obtain an analysis result of the two-dimensional code comprises:
image preprocessing is carried out on the two-dimension code information to be identified; the image preprocessing comprises image deviation rectifying processing and two-dimensional code positioning processing;
if the image preprocessing is successful, decoding the two-dimensional code information to be recognized, which is obtained after the image preprocessing;
and taking the decoding processing result as the analysis result of the two-dimensional code.
8. The method according to claim 7, further comprising, after the image preprocessing of the two-dimensional code information to be recognized:
and if the image preprocessing is determined to fail, accumulating the image preprocessing time, and returning to execute the operation of image preprocessing on the two-dimensional code information to be identified when the image preprocessing time is determined not to exceed the set time threshold value until the image preprocessing is determined to be successful or the image preprocessing time is determined to exceed the set time threshold value.
9. The method of claim 1, wherein sending the analysis result of the two-dimensional code to an internet of things platform comprises:
sending the analysis result of the two-dimension code to a Software Development Kit (SDK) of the Internet of things platform;
the SDK of the Internet of things platform is arranged in the client code scanning middleware and used for receiving the analysis result of the two-dimensional code and sending the analysis result of the two-dimensional code to the Internet of things platform through a message queue telemetry transmission protocol MQTT.
10. The method according to claim 1, wherein the sending the analysis result of the two-dimensional code to an internet of things platform further comprises:
acquiring equipment association information of two-dimensional code scanning equipment;
and sending the equipment association information to the Internet of things platform.
11. The method according to claim 1, further comprising, after the parsing the to-be-identified two-dimensional code information to obtain a parsing result of a two-dimensional code:
and feeding back the decoding result of the two-dimensional code to the application client so that the application client displays the decoding result of the two-dimensional code in an application interface.
12. The method of claim 1, wherein after the sending the analysis result of the two-dimensional code to an internet of things platform, the method further comprises:
receiving an equipment monitoring request sent by the Internet of things platform;
acquiring equipment association information of the two-dimensional code scanning equipment according to the equipment monitoring request;
and feeding back the equipment association information to the Internet of things platform.
13. The method according to claim 10 or 12, wherein the internet of things platform is used for sending the analysis result of the two-dimensional code and/or the equipment association information to a data analysis application through MQTT;
and the data analysis application is used for carrying out data analysis according to the analysis result of the two-dimensional code and/or the equipment correlation information.
14. The method according to claim 13, wherein the data analysis application sends device warning information to the internet of things platform when determining that the two-dimensional code scanning device has fault information according to the data analysis result of the device-related information.
15. A code scanning device, configured in a client code scanning middleware, comprising:
the two-dimension code scanning request sending module is used for obtaining a two-dimension code scanning request sent by an application client;
the to-be-identified two-dimensional code information acquisition module is used for acquiring the to-be-identified two-dimensional code information according to the two-dimensional code scanning request;
the two-dimensional code analysis result acquisition module is used for analyzing the information of the two-dimensional code to be identified so as to acquire an analysis result of the two-dimensional code;
and the analysis result sending module of the two-dimensional code is used for sending the analysis result of the two-dimensional code to the Internet of things platform.
16. A computer device, characterized in that the computer device comprises:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the code scanning method of any one of claims 1-14.
17. A computer storage medium on which a computer program is stored, which program, when executed by a processor, implements a code scanning method as claimed in any one of claims 1 to 14.
CN202010980286.XA 2020-09-17 2020-09-17 Code scanning method and device, computer equipment and storage medium Pending CN112199971A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010980286.XA CN112199971A (en) 2020-09-17 2020-09-17 Code scanning method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010980286.XA CN112199971A (en) 2020-09-17 2020-09-17 Code scanning method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112199971A true CN112199971A (en) 2021-01-08

Family

ID=74015317

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010980286.XA Pending CN112199971A (en) 2020-09-17 2020-09-17 Code scanning method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112199971A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113159246A (en) * 2021-04-15 2021-07-23 中物(北京)物流信息服务有限公司 Steel mill cargo identification method and device based on two-dimensional code label and computer equipment
CN113435222A (en) * 2021-06-28 2021-09-24 青岛海尔工业智能研究院有限公司 Industrial wearable device, product analysis method, device, equipment and storage medium
CN115116169A (en) * 2022-08-29 2022-09-27 深圳市海清视讯科技有限公司 Device control method, device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103942897A (en) * 2014-04-23 2014-07-23 杭州电子科技大学 Method for money withdrawing without card on ATM
CN104506562A (en) * 2015-01-13 2015-04-08 东北大学 Two-dimension code and face recognition fused conference identity authentication device and method
CN109472178A (en) * 2018-09-18 2019-03-15 广州思林杰网络科技有限公司 Two-dimensional code scanning method
CN109829789A (en) * 2019-01-31 2019-05-31 海南指间易购电子商务有限公司 A kind of supermarket's order management system
CN111507439A (en) * 2020-04-14 2020-08-07 腾讯云计算(北京)有限责任公司 User information checking method and system based on information code

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103942897A (en) * 2014-04-23 2014-07-23 杭州电子科技大学 Method for money withdrawing without card on ATM
CN104506562A (en) * 2015-01-13 2015-04-08 东北大学 Two-dimension code and face recognition fused conference identity authentication device and method
CN109472178A (en) * 2018-09-18 2019-03-15 广州思林杰网络科技有限公司 Two-dimensional code scanning method
CN109829789A (en) * 2019-01-31 2019-05-31 海南指间易购电子商务有限公司 A kind of supermarket's order management system
CN111507439A (en) * 2020-04-14 2020-08-07 腾讯云计算(北京)有限责任公司 User information checking method and system based on information code

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113159246A (en) * 2021-04-15 2021-07-23 中物(北京)物流信息服务有限公司 Steel mill cargo identification method and device based on two-dimensional code label and computer equipment
CN113435222A (en) * 2021-06-28 2021-09-24 青岛海尔工业智能研究院有限公司 Industrial wearable device, product analysis method, device, equipment and storage medium
CN115116169A (en) * 2022-08-29 2022-09-27 深圳市海清视讯科技有限公司 Device control method, device and storage medium

Similar Documents

Publication Publication Date Title
CN112199971A (en) Code scanning method and device, computer equipment and storage medium
EP2898448B1 (en) Method and apparatus for executing user action commands
EP2383688A1 (en) Tag based personalization
CN112394864B (en) Information acquisition method and device, computer equipment and storage medium
CN112135186B (en) Screen projection method, device, equipment and storage medium based on small program
US20210383402A1 (en) Systems and methods for automated identity verification
CN110942528A (en) Sign-in method, device and system
CN115687814A (en) Two-dimensional code processing method and device
CN107645476B (en) Request processing method and device
US10515338B2 (en) Systems, devices, and methods for machine reading
CN108601064B (en) Method for providing and acquiring related information of wireless access point
CN116720533A (en) Code scanning method, electronic equipment and readable storage medium
CN115237481A (en) Method, device and equipment for driving external equipment and storage medium
CN111931465B (en) Method and system for automatically generating user manual based on user operation
CN112367348A (en) Data acquisition method, device, equipment and medium
CN112948869A (en) Data interaction method and device, computer equipment and storage medium
US20240005332A1 (en) Dynamic Device Performance Evaluation
CN112738741B (en) Information transmission method and device, smart card and storage medium
CN112165594A (en) Service handling method and device based on video communication and computer equipment
CN112491924B (en) Cross-platform face recognition login method, system and storage medium
US11861147B1 (en) Graphical user interface and execution service for enabling limited-privilege users to control wire-transfer application functions in a secure computing environment
CN109561081B (en) Mobile terminal video conference method and device, storage medium and server
CN114697962A (en) Data processing method and electronic equipment
CN111611006A (en) Version switching method and device
CN113989046A (en) Transaction processing method, apparatus, electronic device, storage medium, and program product

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