CN111507116A - Code scanning method and device, code scanning equipment and computer readable storage medium - Google Patents

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

Info

Publication number
CN111507116A
CN111507116A CN201910101454.0A CN201910101454A CN111507116A CN 111507116 A CN111507116 A CN 111507116A CN 201910101454 A CN201910101454 A CN 201910101454A CN 111507116 A CN111507116 A CN 111507116A
Authority
CN
China
Prior art keywords
scanning
code
identification code
identification
image information
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
CN201910101454.0A
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.)
Beijing Qisheng Technology Co Ltd
Original Assignee
Beijing Qisheng 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 Qisheng Technology Co Ltd filed Critical Beijing Qisheng Technology Co Ltd
Priority to CN201910101454.0A priority Critical patent/CN111507116A/en
Publication of CN111507116A publication Critical patent/CN111507116A/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/10544Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum
    • G06K7/10821Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum further details of bar or optical code scanning devices
    • G06K7/10881Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum further details of bar or optical code scanning devices constructional details of hand-held scanners
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code

Landscapes

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

Abstract

The application provides a code scanning method, a code scanning device, code scanning equipment and a computer readable storage medium. The image information corresponding to each identification code is obtained by continuously scanning more than two identification codes, the obtained image information corresponding to each identification code is further identified respectively, the data information corresponding to the identification code is obtained, corresponding processing is executed according to the data information, and the processing result of the corresponding identification code can be obtained. Through continuous scanning, identification and processing of more than two identification codes, convenience of scanning the identification codes is improved.

Description

Code scanning method and device, code scanning equipment and computer readable storage medium
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a code scanning method, a code scanning device, a code scanning apparatus, and a computer-readable storage medium.
Background
At present, identification codes such as two-dimensional codes, bar codes and the like are more and more widely applied, a user scans the identification codes by using code scanning equipment, software in the code scanning equipment can identify and analyze the identification codes to obtain data information contained in the identification codes, and the data information can be displayed to the user after being processed.
The data information may be various, for example, text information, image information, or web page information corresponding to a web address. The processes of scanning, identifying, processing and displaying the identification codes are continuously executed, and data information and processing results corresponding to the identification codes can be obtained by scanning one identification code.
Research shows that in many scenes, the convenience of scanning the identification code needs to be improved.
Content of application
In view of the above, an object of the embodiments of the present application is to provide a code scanning method, a code scanning apparatus, a code scanning device, and a computer readable storage medium, which can continuously scan more than two identification codes when scanning the identification codes, and identify and process image information of the identification codes obtained by continuous scanning, thereby improving convenience of scanning the identification codes.
According to an aspect of an embodiment of the present application, there is provided a code scanning device, which may include one or more storage media and one or more processors in communication with the storage media, and a bus. One or more storage media store machine-readable instructions executable by a processor. When the code scanning device is operated, the processor is communicated with the storage medium through the bus, and the processor executes the machine readable instructions to execute the code scanning method.
According to another aspect of the embodiments of the present application, there is provided a code scanning method applied to a code scanning device, where the method may include:
continuously scanning more than two identification codes to obtain image information corresponding to each identification code;
respectively identifying the image information corresponding to each identification code to obtain data information corresponding to the identification code;
and executing corresponding processing according to the data information to obtain a processing result of the corresponding identification code.
In some embodiments of the present application, performing corresponding processing according to the data information to obtain a processing result of the corresponding identification code may include:
sending the data information to a server in communication connection with the code scanning equipment for processing;
and receiving a processing result fed back after the server processes the data information.
In some embodiments of the present application, the method may further comprise:
after the operation of continuously scanning more than two identification codes is finished, the processing result of each identification code is displayed together.
In some embodiments of the present application, the method may further comprise:
in the operation process of continuously scanning more than two identification codes, when a processing result of one identification code is obtained, the processing result is displayed in a display area outside a scanning area of the code scanning equipment for scanning the identification code.
In some embodiments of the present application, the identification code further includes a unique code of an object in which the identification code is located, and the processing result may be displayed in the following manner:
and forming a key value pair by taking the unique code of the object where the identification code is positioned as a key and taking the processing result as a value, and displaying the key value pair.
In some embodiments of the present application, the operation of scanning two or more identification codes, the operation of identifying the image information corresponding to each obtained identification code, and the operation of performing corresponding processing according to the data information are performed asynchronously.
In some embodiments of the present application, scanning two or more identification codes in succession to obtain image information corresponding to each identification code may include:
after scanning at least one identification code to obtain image information, continuously displaying a display interface of a scanning area comprising the scanning identification code;
and continuously scanning at least one other identification code based on the scanning area to obtain image information until the continuous scanning of the identification codes is judged to be finished, and finishing displaying the display interface of the scanning area comprising the scanning identification codes.
In some embodiments of the present application, the condition for determining the end of the continuous scanning of the identification code may include at least one of:
acquiring a setting instruction, wherein the setting instruction is used for marking the end of continuous scanning identification codes;
image information obtained by continuously scanning the identification code based on the scanning area is not obtained within the set time length.
In some embodiments of the present application, the image information includes one or more identification codes;
the respectively identifying the image information corresponding to each obtained identification code to obtain the data information corresponding to the identification code may include:
judging the number of identification codes included in the image information;
if the image information comprises an identification code, identifying the identification code to obtain data information which is contained in the image information and corresponds to the identification code;
and if the image information comprises more than two identification codes, respectively identifying each identification code in the image information to obtain more than two data information which are contained in the image information and respectively correspond to the more than two identification codes.
According to another aspect of the embodiments of the present application, there is provided a code scanning apparatus applied to a code scanning device, where the code scanning apparatus may include:
the image information acquisition module is used for continuously scanning more than two identification codes to acquire image information corresponding to each identification code;
the data information acquisition module is used for respectively identifying the image information corresponding to each identification code to obtain the data information corresponding to the identification code;
and the information processing module is used for executing corresponding processing according to the data information to obtain a processing result of the corresponding identification code.
In some embodiments of the present application, the information processing module may be configured to send the data information to a server communicatively connected to the code scanning device for processing; and receiving a processing result fed back after the server processes the data information.
In some embodiments of the present application, the code scanning device may further include an information display module;
the information display module is used for displaying the processing result of each identification code after the operation of continuously scanning more than two identification codes is finished.
In some embodiments of the present application, the code scanning device may further include an information display module;
the information display module is used for displaying a processing result of an identification code in a display area outside a scanning area of the code scanning equipment for scanning the identification code when the processing result of the identification code is obtained in the continuous scanning operation process of more than two identification codes.
In some embodiments of the present application, the identification code may further include a unique code of an object in which the identification code is located, and the information presentation module is configured to present the processing result in the following manner:
and forming a key value pair by taking the unique code of the object where the identification code is positioned as a key and taking the processing result as a value, and displaying the key value pair.
In some embodiments of the present application, the operation of scanning two or more identification codes, the operation of identifying the image information corresponding to each obtained identification code, and the operation of performing corresponding processing according to the data information are performed asynchronously.
In some embodiments of the present application, the image information obtaining module may be configured to, after scanning the at least one identification code to obtain the image information, continue to display a display interface of the scanning area including the scanned identification code; and continuously scanning at least one other identification code based on the scanning area to obtain image information until the continuous scanning of the identification codes is judged to be finished, and finishing displaying the display interface of the scanning area comprising the scanning identification codes.
In some embodiments of the present application, the condition for determining the end of the continuous scanning of the identification code may include at least one of:
acquiring a setting instruction, wherein the setting instruction is used for marking the end of continuous scanning identification codes;
image information obtained by continuously scanning the identification code based on the scanning area is not obtained within the set time length.
In some embodiments of the present application, the image information may include one or more identification codes;
the data information obtaining module is used for judging the number of the identification codes included in the image information; if the image information comprises an identification code, identifying the identification code to obtain data information which is contained in the image information and corresponds to the identification code; and if the image information comprises more than two identification codes, respectively identifying each identification code in the image information to obtain more than two data information which are contained in the image information and respectively correspond to the more than two identification codes.
According to another aspect of the embodiments of the present application, there is provided a computer-readable storage medium having a computer program stored thereon, where the computer program is executed by a processor to perform the steps of the code scanning method.
Based on any aspect, in the embodiment of the application, when a user uses the code scanning device to perform the code scanning operation, the code scanning device may continuously scan more than two identification codes to obtain image information corresponding to each identification code, obtain data information corresponding to the identification code by respectively identifying the obtained image information corresponding to each identification code, and perform corresponding processing according to the data information to obtain a processing result of the corresponding identification code. By continuously scanning more than two identification codes, the user does not need to re-execute the operation of opening the interface of the scanning area comprising the scanning identification codes aiming at each identification code when scanning each identification code, and the convenience of scanning the identification codes in batches is improved.
In order to make the aforementioned objects, features and advantages of the embodiments of the present application more comprehensible, embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 shows an interaction schematic block diagram of a code scanning system provided in an embodiment of the present application.
Fig. 2 is a schematic diagram illustrating exemplary hardware and software components of a code scanning device and a server that can implement the service requester terminal of fig. 1 according to an embodiment of the present application.
Fig. 3 shows one of the flowcharts of the code scanning method provided in the embodiment of the present application.
Fig. 4 shows one of the schematic diagrams of the display interface provided by the embodiment of the present application.
Fig. 5 shows a second schematic diagram of a display interface provided in the embodiment of the present application.
Fig. 6 is a second flowchart of a code scanning method according to an embodiment of the present application.
Fig. 7 is a third flowchart illustrating a code scanning method according to an embodiment of the present application.
Fig. 8 is a fourth flowchart illustrating a code scanning method according to an embodiment of the present application.
Fig. 9 shows one of functional block diagrams of a code scanning apparatus provided in an embodiment of the present application.
Fig. 10 shows a second functional block diagram of a code scanning apparatus provided in the embodiment of the present application.
Icon: 100-code scanning system; 110-a server; 120-a network; 130-service requester terminal; 140-a database; 200-code scanning equipment; 210-a network port; 220-a processor; 230-a communication bus; 240-storage medium; 250-an interface; 300-a code scanning device; 310-an image information obtaining module; 320-a data information obtaining module; 330-an information processing module; 340-information presentation module.
Detailed Description
With the rapid development of the internet industry, identification codes are widely applied in scenes such as object management, information push, website skip and the like. For example, in an object management scenario, such as a shared vehicle management scenario, operations such as vehicle release, battery replacement, and vehicle unlocking may be implemented via the identification code.
Research shows that in the prior art, scanning, identification and processing are mainly performed on a single identification code. For example, the code scanning device scans the single identification code to obtain the image information corresponding to the identification code, identifies and processes the image information corresponding to the identification code, and directly jumps to a processing result display interface after the processing result is obtained, thereby completing the scanning of the single identification code. Under the condition that the next identification code needs to be continuously scanned, a user needs to operate the code scanning device again to enter a display interface of a scanning area comprising the scanned identification code, then the identification code is scanned to obtain image information corresponding to the identification code, the image information corresponding to the identification code is identified and processed, after a processing result is obtained, the user continues to jump to the processing result display interface, and the like.
Analysis shows that, in the prior art, for each identification code to be scanned, a user needs to operate a code scanning device to enter a display interface including a scanning area for scanning the identification code, and then scan the identification code.
For example, in a scene where a batch code scanning is required, for example, in the field of shared vehicles, under an operating environment where a large amount of continuous work is required, such as batch vehicle release, batch battery replacement, and batch vehicle unlocking, a technology that can only scan a single identification code at a time is inconvenient to implement, and work efficiency is significantly limited.
For another example, in the field of shared vehicles, in a scenario where a user executes an operation of scanning an identification code to unlock a vehicle, if a vehicle fault is obtained after processing, in the prior art, a skip to a vehicle fault prompt interface is performed, and if the user still needs to use the vehicle, the user needs to operate a code scanning device to re-enter a display interface of a scanning area including the scanned identification code, so as to perform an identification code scanning operation.
In order to solve at least one of the technical problems mentioned in the embodiments of the present application, the embodiments of the present application provide a code scanning method, a code scanning device, a code scanning apparatus, and a computer-readable storage medium. The utility model provides a technique of realizing carrying out convenient scanning to a plurality of identification codes to improve the bottleneck on the identification code operation is scanned in batches to the realization scheme that can only scan single identification code once, promote the efficiency of identification code scanning operation.
In the scheme provided by the embodiment of the application, when a user uses the code scanning device to scan the identification codes, the code scanning device can scan more than two identification codes continuously, the more than two identification codes are scanned continuously through support, so that the user does not need to re-execute the operation of opening the interface of the scanning area including the scanning identification code aiming at each identification code when scanning each identification code, the continuous scanning of each identification code is realized, the problem in the prior art is solved, after the code scanning device is operated by the user and enters the display interface of the scanning area including the scanning identification code, the bottleneck of scanning on batch operation aiming at a single identification code can only be performed once, the convenience of scanning the identification codes is improved, and the scanning efficiency of the identification codes under the scene needing to scan the identification codes in batches is improved.
The technical solution of the present application is explained below by means of possible implementations.
The defects of the above solutions are the results of the inventor after practice and careful study, and therefore, the discovery process of the above problems and the solution proposed by the present application to the above problems should be the contribution of the inventor to the present application in the process of the present application.
In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it should be understood that the drawings in the present application are for illustrative and descriptive purposes only and are not used to limit the scope of protection of the present application. Additionally, it should be understood that the schematic drawings are not necessarily drawn to scale. The flowcharts used in this application illustrate operations implemented according to some embodiments of the present application. It should be understood that the operations of the flow diagrams may be performed out of order, and steps without logical context may be performed in reverse order or simultaneously. One skilled in the art, under the guidance of this application, may add one or more other operations to, or remove one or more operations from, the flowchart.
In addition, the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
In order to enable a person skilled in the art to make use of the present disclosure, the following embodiments are given. It will be apparent to those skilled in the art that the general principles defined herein may be applied to other embodiments and applications without departing from the spirit and scope of the application. Applications of the system or method of the present application may include web pages, plug-ins for browsers, client terminals, customization systems, internal analysis systems, or artificial intelligence robots, among others, or any combination thereof.
It should be noted that in the embodiments of the present application, the term "comprising" is used to indicate the presence of the features stated hereinafter, but does not exclude the addition of further features.
The terms "requestor" and "service requestor" are used interchangeably in this application to refer to an individual, entity, or tool that can request or subscribe to a service. The term "user" in this application may refer to an individual, entity or tool that requests a service, provides a service, or facilitates the provision of a service. For example, the user may be an operator or the like. In the present application, "server requestor" and "service requestor terminal" may be used interchangeably.
Fig. 1 is an exemplary block diagram of a code scanning system 100 according to some embodiments of the present application. Code scanning system 100 may be used in various types of software service platforms. For example, an online transportation service platform may be used for transportation services such as taxi, designated drive service, express, carpool, bus service, driver rental, shared bicycle, shared automobile, or regular bus service, or any combination thereof. Code scanning system 100 may include one or more of a server 110, a network 120, a service requester terminal 130, and a database 140, and server 110 may include a processor that performs instruction operations.
In some embodiments, the server 110 may be a single server or a group of servers. The set of servers can be centralized or distributed (e.g., the servers 110 can be a distributed system). In some embodiments, the server 110 may be local or remote to the terminal. For example, the server 110 may access information and/or data stored in the service requester terminal 130 via the network 120. As another example, the server 110 may be directly connected to the service requester terminal 130 to access stored information and/or data. In some embodiments, the server 110 may be implemented on a cloud platform. By way of example only, the cloud platform may include a private cloud, a public cloud, a hybrid cloud, a resilient cloud, a community cloud (community cloud), a distributed cloud, a cross-cloud (inter-cloud), a multi-cloud (multi-cloud), and the like, or any combination thereof.
In some embodiments, the server 110 and the service requester terminal 130 may be implemented on a code scanning device 200 having one or more of the components shown in fig. 2 in the present application.
In some embodiments, the Processor may include one or more Processing cores (e.g., a single-core Processor (S) or a multi-core Processor (S)), just by way of example, the Processor may include a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), an Application Specific Instruction Set Processor (ASIP), a Graphics Processing Unit (GPU), a physical Processing Unit (Physics Processing, PPU), a Digital Signal Processor (Digital Gate Array, DSP), a Field Programmable Signal Processor (FPGA), a Field Programmable Gate Array (FPGA), a Device logic Unit (L), a Device logic Unit (8584), a microprocessor, a simplified microprocessor, a computer Graphics Processing Unit (RISC), or any combination thereof.
In some embodiments, one or more components (e.g., server 110 and service requester terminal 130) in code scanning system 100 may send information and/or data to other components. for example, server 110 may obtain a service request from service requester terminal 130 via Network 120. in some embodiments, Network 120 may be any type of wired or Wireless Network, or a combination thereof.
In some embodiments, network 120 may include one or more network access points. For example, network 120 may include wired or wireless network access points, such as base stations and/or network switching nodes, through which one or more components of code scanning system 100 may connect to network 120 to exchange data and/or information.
In some embodiments, the user of the service requestor terminal 130 may be someone other than the actual demander of the service. For example, the user a of the service requester terminal 130 may use the service requester terminal 130 to initiate a service request for the service actual demander B, or receive service information or instructions or the like from the server 110. In some embodiments, "service requester" and "service requester terminal" may be used interchangeably.
In some embodiments, the service requester terminal 130 may comprise a mobile device with identification code scanning functionality, a tablet computer, a laptop computer, or a built-in device in a motor vehicle, etc., or any combination thereof. In some embodiments, the mobile device may include a smart home device, a wearable device, a smart mobile device, a virtual reality device, an augmented reality device, or the like, or any combination thereof. In some embodiments, the smart home devices may include smart lighting devices, control devices for smart electrical devices, smart monitoring devices, smart televisions, smart cameras, or walkie-talkies, or the like, or any combination thereof. In some embodiments, the wearable device may include a smart bracelet, a smart lace, smart glass, a smart helmet, a smart watch, a smart garment, a smart backpack, a smart accessory, and the like, or any combination thereof. In some embodiments, the smart mobile device may include a smartphone, a Personal Digital Assistant (PDA), a gaming device, a navigation device, or a point of sale (POS) device, or the like, or any combination thereof. In some embodiments, the virtual reality device and/or the augmented reality device may include a virtual reality helmet, virtual reality glass, a virtual reality patch, an augmented reality helmet, augmented reality glass, an augmented reality patch, or the like, or any combination thereof. For example, the virtual reality device and/or augmented reality device may include various virtual reality products and the like. In some embodiments, the built-in devices in the motor vehicle may include an on-board computer, an on-board television, and the like.
A database 140 may be included in server 110, and database 140 may store data and/or instructions. In some embodiments, the database 140 may store data obtained from the service requester terminal 130. In some embodiments, database 140 may store data and/or instructions for the exemplary methods described herein. In some embodiments, the database 140 may include mass storage, removable storage, volatile Read-write memory, Read-only memory (ROM), or the like, or any combination thereof. By way of example, mass storage may include magnetic disks, optical disks, solid state drives, and the like; removable memory may include flash drives, floppy disks, optical disks, memory cards, zip disks, tapes, and the like; volatile read-write Memory may include Random Access Memory (RAM); the RAM may include Dynamic RAM (DRAM), Double data Rate synchronous Dynamic RAM (DDR SDRAM); static RAM (SRAM), Thyristor-Based Random Access Memory (T-RAM), Zero-capacitor RAM (Zero-RAM), and the like. By way of example, ROMs may include Mask Read-Only memories (MROMs), Programmable ROMs (PROMs), Erasable Programmable ROMs (PERROMs), Electrically Erasable Programmable ROMs (EEPROMs), compact disk ROMs (CD-ROMs), digital versatile disks (ROMs), and the like. In some embodiments, database 140 may be implemented on a cloud platform. By way of example only, the cloud platform may include a private cloud, a public cloud, a hybrid cloud, a community cloud, a distributed cloud, cross-cloud, multi-cloud, elastic cloud, or the like, or any combination thereof.
In some embodiments, a database 140 may be connected to network 120 to communicate with one or more components of code scanning system 100 (e.g., server 110 and service requester terminal 130). One or more components of code scanning system 100 may access data or instructions stored in database 140 via network 120. In some embodiments, the database 140 may be directly connected to one or more components of the code-scanning system 100 (e.g., the server 110 and the service requester terminal 130). Alternatively, in some embodiments, database 140 may also be part of server 110.
In some embodiments, one or more components in code scanning system 100 (e.g., server 110 and service requestor terminal 130) may have access to database 140. In some embodiments, one or more components in code scanning system 100 may read and/or modify information related to the service requester or the public, or any combination thereof, when certain conditions are met. For example, server 110 may read and/or modify information for one or more users after receiving a service request.
In some embodiments, the exchange of information by one or more components in code scanning system 100 may be accomplished through a request service. The object of the service request may be any product. In some embodiments, the product may be a tangible product or a non-physical product. Tangible products may include food, pharmaceuticals, commodities, chemical products, appliances, clothing, automobiles, bicycles, homes, or luxury goods, and the like, or any combination thereof. The non-material product may include a service product, a financial product, a knowledge product, an internet product, or the like, or any combination thereof. The internet product may include a stand-alone host product, a network product, a mobile internet product, a commercial host product, an embedded product, or the like, or any combination thereof. The internet product may be used in software, programs, or systems of the mobile terminal, etc., or any combination thereof. The mobile terminal may include a tablet, a laptop, a mobile phone, a Personal Digital Assistant (PDA), a smart watch, a Point of sale (POS) device, a vehicle-mounted computer, a vehicle-mounted television, a wearable device, or the like, or any combination thereof. The internet product may be, for example, any software and/or application used in a computer or mobile phone. The software and/or applications may relate to social interaction, shopping, transportation, entertainment time, learning, or investment, or the like, or any combination thereof. In some embodiments, the transportation-related software and/or applications may include travel software and/or applications, vehicle dispatch software and/or applications, mapping software and/or applications, and the like. In the vehicle scheduling software and/or application, the vehicle may include a horse, a carriage, a human powered vehicle (e.g., unicycle, bicycle, tricycle, etc.), an automobile (e.g., taxi, bus, privatege, etc.), a train, a subway, a ship, an airplane (e.g., helicopter, space shuttle, rocket, hot air balloon, etc.), etc., or any combination thereof.
Fig. 2 illustrates a schematic diagram of exemplary hardware and software components of a server 110, a service requestor terminal 130, such as a code scanning device 200, which may implement the concepts of the present application, according to some embodiments of the present application. For example, the processor 220 may be used on the code scanning device 200 and to perform the functions of the present application.
The code scanning device 200 may be a general-purpose portable device having an identification code scanning function or a portable device having a set purpose, both of which may be used to implement the code scanning method of the embodiment of the present application. Although only one processor 220 is shown in the embodiments of the present application, for convenience, the functions described in the embodiments of the present application may be implemented in a distributed manner on a plurality of similar platforms to balance the processing load.
For example, the code scanning device 200 may include a network port 210 connected to a network, one or more processors 220 for executing program instructions, a communication bus 230, and a different form of storage medium 240, such as a disk, ROM, or RAM, or any combination thereof. Illustratively, program instructions may also be included that are stored in ROM, RAM, or other type of non-transitory storage medium, or any combination thereof. The code scanning method of the embodiment of the application can be realized according to the program instructions. The code scanning device 200 further includes an Input/Output (I/O) interface 250 with other Input/Output devices (e.g., keyboard, display screen).
For ease of illustration, only one processor is depicted in code scanning device 200. However, it should be noted that the code scanning device 200 in the embodiment of the present application may also include multiple processors, and thus, the steps performed by one processor described in the embodiment of the present application may also be performed by multiple processors in combination or individually. For example, if the processors of the code scanning device 200 execute step a and step B, it should be understood that step a and step B can also be executed by two different processors together or executed in a single processor. For example, a first processor performs step a and a second processor performs step B, or the first processor and the second processor perform steps a and B together.
Fig. 3 shows one of the flowcharts of the code scanning method provided in the embodiment of the present application. The method can be applied to the code scanning apparatus 200 shown in fig. 2, and is performed by the code scanning apparatus 200 shown in fig. 2. It should be understood that, in other embodiments, the order of some steps in the code scanning method described in this embodiment may be interchanged according to actual needs, or some steps may be omitted or deleted. The flow of the code scanning method shown in fig. 3 is described in detail below.
Step S110, continuously scanning more than two identification codes to obtain image information corresponding to each identification code.
In the embodiment of the present application, continuously scanning more than two identification codes means that after completing scanning one identification code, the user does not need to operate the code scanning device 200 again to enter the code scanning interface, and the code scanning device 200 automatically continues to display the display interface of the scanning area including the scanning identification code, so that the user continues to scan the identification code based on the scanning area of the scanning identification code.
Wherein, the automatically displaying the display interface of the scanning area including the scanning identification code by the code scanning device 200 includes: the code scanning device 200 continuously displays the display interface of the scanning area including the scanning identification code, and after the code scanning device 200 performs display interface skipping, the display interface of the scanning area including the scanning identification code is automatically re-displayed without the user needing to re-operate the code scanning device 200 to enter the code scanning interface.
By scanning the identification codes, image information corresponding to each identification code can be obtained. In the embodiment of the application, after one or more than two identification codes are scanned, corresponding image information can be obtained. Thus, each identification code corresponds to image information, and one or more identification codes may be included in one image information.
In order to meet the code scanning requirements in various scenes, the function of continuously scanning more than two identification codes can be used for a user to select whether to start or not.
For example, referring to fig. 4, when the user operates the code scanning device 200 to enter a code scanning interface, such as a display interface of a scanning area including scanning identification codes, an option to start a function of continuously scanning two or more identification codes (starting continuous scanning in fig. 4) may be displayed on the display interface, after the user selects the option, the code scanning device 200 starts the function of continuously scanning two or more identification codes, and after a single identification code is scanned, the display interface of the scanning area including scanning identification codes is automatically continuously displayed for the user to scan the next identification code.
When the user does not select an option of turning on the function of continuously scanning two or more identification codes, the code scanning apparatus 200 scans, recognizes, and processes a single identification code. After the scanning of the single identification code is completed, the code scanning device 200 identifies and processes the identification code, and after a processing result is obtained, jumps to a processing result display interface, thereby completing the scanning of the single identification code.
Referring to fig. 5, in the case that the function of continuously scanning more than two identification codes is turned on, an option of turning off the function of continuously scanning more than two identification codes (turning off the continuous scanning in fig. 5) may be displayed on the display interface including the scanning area for scanning the identification codes. After the user selects the option, the function of continuously scanning more than two identification codes is closed, the display interface of the scanning area comprising the scanning identification codes is finished, and the display interface jumps to other display interfaces, such as a processing result display interface.
It should be understood that the above examples are merely examples, and the function of continuously scanning more than two identification codes may be turned on and off in other ways. For example, the function of continuously scanning the two or more identification codes may be turned on by default, an option of turning off the function of continuously scanning the two or more identification codes may be displayed on the display interface of the scanning area including the scanning identification codes, after the user selects the option, the function of continuously scanning the two or more identification codes may be turned off, the display interface of the scanning area including the scanning identification codes may be turned off, and the next operation selection interface may be skipped to another display interface, for example. For another example, the function of continuously scanning two or more identification codes may be started only by the user with authority, and after the user with authority logs in the code scanning device 200, the code scanning device 200 determines that the user is the user with authority to start the function of continuously scanning two or more identification codes, so as to start or automatically start the function of continuously scanning two or more identification codes according to the selection of the user. For another example, the code scanning device 200 may preset operation gestures corresponding to the turning on of a function of continuously scanning two or more identification codes and the turning off of the function of continuously scanning two or more identification codes, where the operation gestures may include a single click, multiple clicks, sliding in a set direction, drawing a set character or pattern in a touch display area, a combination of any two or more operations, and the like, which are not listed in the embodiments of the present application.
Referring to fig. 6, an exemplary implementation manner of continuously scanning more than two identification codes to obtain image information corresponding to each identification code is provided in the embodiments of the present application, and includes the following steps.
Step S111, after scanning at least one identification code to obtain image information, continuously displaying a display interface of a scanning area including the scanned identification code.
In the embodiment of the present application, based on the function of continuously scanning more than two identification codes, after scanning at least one identification code to obtain image information, the code scanning device 200 continues to display the display interface of the scanning area including the scanned identification code, instead of jumping to other display interfaces as in the prior art, and requires the user to operate again, the code scanning device 200 can enter the display interface of the scanning area including the scanned identification code, and the user only needs to use the code scanning device 200 to continue scanning the next identification code.
In the embodiment of the application, the identification code is any identification code having an identification function and including data information, and may be a two-dimensional code, a bar code, or the like.
And step S112, continuing to scan at least one other identification code based on the scanning area to obtain image information until the continuous scanning of the identification codes is judged to be finished, and finishing displaying the display interface of the scanning area comprising the scanning identification codes.
By continuing to present the display interface including the scan area for scanning the identification code, the user can continue to scan the next identification code using the code scanning device 200 until the scan of all identification codes that are desired to be scanned is completed.
The condition for determining the end of the continuous scanning identification code can be flexibly set, for example, the code scanning device 200 may pre-store a setting instruction for identifying the end of the continuous scanning identification code. The code scanning device 200 detects whether the user inputs a setting instruction, determines that the continuous scanning identification code is finished if the setting instruction is acquired, and otherwise determines that the continuous scanning identification code is not finished. For another example, the code scanning apparatus 200 may detect whether image information obtained by continuously scanning the identification code based on the scanning area is obtained within a set time period, determine that the continuous scanning identification code is finished if the image information obtained by continuously scanning the identification code based on the scanning area is not obtained within the set time period, and otherwise determine that the continuous scanning identification code is not finished.
In order to improve the accuracy of acquiring image information for each identification code in the continuous code scanning process, the code scanning device 200 may prompt the user that the scanning of a single identification code is completed by using characters, sounds, patterns, vibrations and the like after each identification code scanning is completed, and may continue to scan the next identification code.
As another optional implementation manner, scanning more than two identification codes continuously, and obtaining image information corresponding to each identification code may also be implemented by: after scanning at least one identification code to obtain image information, the code scanning device 200 jumps to a display interface displaying the image information successfully, and then automatically jumps to a display interface of a scanning area including the scanning identification code.
In order to improve the scanning effectiveness of the identification code, in the process of continuously scanning more than two identification codes by using the code scanning device 200, if the identification codes are scanned before the code scanning device 200 analyzes and obtains a certain identification code, the user can be prompted by characters, sounds, patterns, vibrations and the like to prompt the user that the identification codes are scanned, and repeated scanning is not needed. In the continuous code scanning process, if the code scanning device 200 analyzes that a certain identification code is damaged, such as being unclear and unable to be identified, the user can be prompted by characters, sounds, patterns, vibrations, etc. to prompt the user that the identification code is damaged, so that the user can select how to handle the code in time.
Step S120, respectively identifying the image information corresponding to each obtained identification code, and obtaining the data information corresponding to the identification code.
The code scanning device 200 can complete scanning and identification of the identification code through identification code scanning software, and further obtain data information corresponding to the identification code. According to different application scenarios, the data information corresponding to the identification code may include multiple types, for example, the data information may include information acquisition, website skip, information push, anti-counterfeiting tracing, payment management, and the like, which is not limited in this embodiment of the present application.
In the embodiment of the present application, one image information may include one or more than two identification codes. For example, if the user operates the code scanning device 200 to scan an identification code, the code scanning device 200 obtains image information corresponding to the identification code, where the image information includes the identification code. For another example, if the user operates the code scanning device 200 to scan more than two identification codes, the code scanning device 200 obtains image information corresponding to the more than two identification codes, and the image information includes the more than two identification codes.
Referring to fig. 7, in the case that one or more identification codes are included in the image information, step S120 may be implemented as follows.
Step S121, determining the number of identification codes included in the image information, and if the image information includes one identification code, executing step S122. If the image information includes more than two identification codes, step S123 is executed.
The number of the identification codes included in the image information can be judged by image processing. For example, the image information may be matched with a set identification code template, and the number of identification codes included in the image information may be obtained from the number of regions included in the image information that match the identification code template.
Step S122, recognizing the identification code to obtain data information corresponding to the identification code included in the image information.
Step S123, respectively identifying each identification code included in the image information, and obtaining more than two data information contained in the image information and respectively corresponding to the more than two identification codes.
In the embodiment of the present application, a processing flow for respectively identifying each identification code included in image information is similar to a processing flow for identifying a single identification code. For example, if there is one thread for identifying the identification code in the code scanning device 200, all the identification codes included in the image information may be serially processed by the thread. For another example, if there are a plurality of threads that identify the identification codes in the code scanning apparatus 200, all the identification codes included in the image information may be assigned to the threads for processing based on load balancing.
Step S130, executing corresponding processing according to the data information to obtain a processing result of the corresponding identification code.
In the embodiment of the present application, the operation of executing the corresponding processing according to the data information may be directly executed by the code scanning device 200, or may be indirectly executed by the code scanning device 200. For example, the processing procedure can be performed by the code scanning device 200, or can be performed by the code scanning device 200 interacting with a server.
According to different data information, corresponding processing executed is different, and the obtained processing result is different. For example, if the identification information includes information acquisition, the corresponding processing performed is information acquisition, and the obtained processing result is acquired information; if the identification information includes website skipping, the executed corresponding processing is website skipping, and the obtained processing result is website skipping completion; if the identification information includes information pushing, the executed corresponding processing is information pushing, and the obtained processing result is information pushing completion, which is not described in the embodiment of the present application.
Referring to fig. 8, for example, in the case that the processing procedure is completed by the code scanning device 200 interacting with the server, step S130 can be implemented by the following steps.
Step S131, sending the data information to a server in communication connection with the code scanning device 200 for processing.
And after receiving the data information, the server executes corresponding processing according to the difference of the data information to obtain a corresponding processing result.
Step S132, receiving a processing result fed back after the server processes the data information.
The code scanning device 200 receives the processing result fed back by the server, and further obtains the processing result of the corresponding identification code.
In the embodiment of the present application, the processing operation may be performed under different conditions. For example, the scanning may be performed after the identification code is scanned continuously, such as after the server receives all the data information obtained by the code scanning device 200 sending the identification code scanned continuously, the server performs corresponding processing on each received data information. For another example, the operation of the server performing corresponding processing on the received data information in real time after receiving any data information obtained by the code scanning device 200 transmitting the identification code based on continuous scanning may be performed in real time. For another example, the operations may be performed at set time intervals, such as the server performing corresponding processing on all data information received in the set time intervals at set time intervals after receiving data information sent by the code scanning device 200 and based on the identification codes scanned continuously. The embodiments of the present application do not limit this.
In order to improve response efficiency while ensuring code scanning convenience, in the embodiment of the present application, an operation of continuously scanning more than two identification codes, an operation of respectively identifying image information corresponding to each obtained identification code, and an operation of executing corresponding processing according to the data information may be performed asynchronously. The operations are performed asynchronously, so that the code scanning device 200 can adopt parallel threads to identify the image information corresponding to each obtained identification code while performing the operation of scanning the identification code, and obtain corresponding data information. The code scanning device 200 may perform corresponding processing operations on the obtained data information by using parallel threads while identifying the image information corresponding to each obtained identification code.
The operation of scanning more than two identification codes continuously, the operation of identifying the image information corresponding to each obtained identification code and the operation of executing corresponding processing according to the data information are executed asynchronously and parallelly, so that the code scanning, the identification and the processing are not influenced mutually basically. After verification, by asynchronously and parallelly executing corresponding operations, after continuous scanning operation is completed for a plurality of identification codes, processing results for all the identification codes which are continuously scanned can be basically and synchronously obtained, so that a user can basically obtain the processing results for all the identification codes which are continuously scanned at once after the continuous scanning operation is completed, the code scanning result display efficiency is remarkably improved, and the code scanning experience of the user is further improved.
In the embodiment of the present application, after the code scanning device 200 obtains the processing result of the corresponding identification code, the processing result may be displayed in a plurality of ways. For example, the code scanning device 200 may display the processing result of each of the identification codes together after the operation of scanning two or more identification codes in succession is finished. For another example, the code scanning device 200 may display a processing result of one identification code in a display area outside a scanning area in which the code scanning device scans the identification code each time the processing result is obtained during an operation of continuously scanning two or more identification codes. For another example, the code scanning device 200 may display a processing result of one identification code in a display area outside a scanning area in which the code scanning device scans the identification code each time the processing result is obtained during an operation of continuously scanning two or more identification codes, and display the processing results of each identification code after the operation of continuously scanning two or more identification codes is finished. For another example, the code scanning apparatus 200 may only display exception processing results, such as processing failure and recognition failure. For another example, the code scanning device 200 may provide a selectable option of a manner of presenting the processing result, which is selected by the user, and the code scanning device 200 presents the processing result in the manner selected by the user.
In the embodiment of the present application, the processing result may be displayed in a plurality of formats, for example, the processing result may correspond to the identification code one to one. The display mode enables a user to clearly know the processing result of each identification code, and is convenient for accurately finding out the corresponding identification code under the condition that the identification code processing and identification fail. For example, when the identification code includes a unique code of an object in which the identification code is located, the processing result may be displayed in the following manner: and forming a key value pair by taking the unique code of the object where the identification code is positioned as a key and taking the processing result as a value, and displaying the key value pair. For another example, the processing result may not correspond to the identification code one to one. The embodiments of the present application do not limit this.
The object in which the identification code is located may be various according to different scenes in which the identification code is applied, for example, the object in which the identification code is located may be a shared bicycle, a shared automobile, a package to be processed, or the like.
In order to more clearly illustrate the working principle of the embodiment of the present application, two optional implementation flows of the code scanning method are illustrated by taking the following scenario as an example.
The identification code is assumed to be a two-dimensional code, the two-dimensional code is arranged on a sharing bicycle, and the sharing bicycle corresponds to the two-dimensional code one to one. In a scene that batch management needs to be performed on shared bicycles, such as batch unlocking, the code scanning method can be realized in the following manner.
In a first mode
The user operates the code scanning apparatus 200 to enter a display interface including a scanning area for scanning the identification codes, and selects an option in the display interface to turn on a function of continuously scanning two or more identification codes.
After the user selects the option of turning on the function of continuously scanning more than two identification codes, the code scanning apparatus 200 continuously presents the display interface including the scanning area for scanning the identification codes.
The user operates the code scanning device 200 to scan the two-dimensional codes on the shared bicycle based on the continuously displayed scanning area, the code scanning device 200 finishes scanning the two-dimensional codes on one shared bicycle to obtain image information, then the scanning of a single identification code is finished through the set voice prompt, after the user obtains the set voice, the user continues to operate the code scanning device 200 to scan the two-dimensional codes on another shared bicycle based on the scanning area to obtain the image information, and so on until the scanning of the identification codes on all the shared bicycles needing to be scanned is finished.
After completing the scanning of the two-dimensional codes on all the shared bicycles required to be scanned, the user selects an option of turning off the function of continuously scanning two or more identification codes, and the code scanning apparatus 200 thereby ends the display of the scanning area including the scanned identification codes.
The code scanning device 200 scans two or more two-dimensional codes continuously to obtain image information corresponding to each two-dimensional code, and at the same time, identifies the obtained image information corresponding to each two-dimensional code in parallel at the background to obtain data information corresponding to the two-dimensional code. Meanwhile, the code scanning device 200 sends each obtained data message to a server in communication connection with the code scanning device for processing, and after the server completes unlocking processing of the shared bicycle in which each two-dimensional code is arranged, the processing result is fed back to the code scanning device 200. By analogy, until the processing of all the two-dimensional codes scanned continuously is completed, the code scanning device 200 displays the processing result of each two-dimensional code in a list after the display of the display interface of the scanning area including the scanning identification code is finished.
Mode two
The user operates the code scanning device 200 to enter the display interface of the scanning area including the scanning identification code, the code scanning device 200 defaults to start the function of continuously scanning more than two identification codes, and the display interface of the scanning area including the scanning identification code is continuously displayed.
The user operates the code scanning device 200 to scan the two-dimensional codes on the shared bicycle based on the continuously displayed scanning area, after the code scanning device 200 finishes scanning the two-dimensional codes on one shared bicycle to obtain image information, the scanning of a single identification code is finished through the set character prompt, after the user checks the set character, if the user needs to continuously scan the two-dimensional codes on another shared bicycle, the user continuously operates the code scanning device 200 to scan the two-dimensional codes on another shared bicycle based on the scanning area to obtain the image information, and the like until the scanning of the two-dimensional codes on all the shared bicycles needing to be scanned is finished. If the two-dimensional code on the other shared bicycle does not need to be scanned continuously, the user can not perform any operation or execute a setting instruction for marking the end of the continuous scanning of the identification code.
The code scanning device 200 judges whether image information obtained by continuously scanning the two-dimensional code based on the scanning area is obtained within a set time length, if the image information obtained by continuously scanning the two-dimensional code based on the scanning area is not obtained within the set time length, it is judged that scanning of more than two-dimensional codes is finished continuously, and the code scanning device 200 finishes displaying a display interface of the scanning area including the scanning identification code. If the code scanning device 200 obtains image information obtained by continuously scanning the two-dimensional code based on the scanning area within the set time length, it is determined that the scanning of more than two identification codes is continuously performed, and the code scanning device 200 continues to display the display interface of the scanning area including the scanning identification codes. Or, the code scanning device 200 determines whether a setting instruction for identifying the end of continuous scanning of the identification codes is acquired, determines that continuous scanning of more than two identification codes is ended after the setting instruction is determined to be acquired, and the code scanning device 200 ends displaying the display interface of the scanning area including the scanning identification codes. If the setting instruction is not acquired, it is determined that the scanning of more than two identification codes is continuously performed, and the code scanning device 200 continues to display the display interface of the scanning area including the scanning identification codes.
The code scanning device 200 scans two or more two-dimensional codes continuously to obtain image information corresponding to each two-dimensional code, and at the same time, identifies the obtained image information corresponding to each two-dimensional code in parallel at the background to obtain data information corresponding to the two-dimensional code. Meanwhile, the code scanning device 200 sends each obtained data message to a server in communication connection with the code scanning device for processing, and after the server completes unlocking processing, a processing result is fed back to the code scanning device 200. The code scanning device 200 displays a processing result of one two-dimensional code in a display area outside a scanning area in which the code scanning device scans the identification code every time the processing result is obtained during an operation of continuously scanning two or more two-dimensional codes. And so on, until the processing of all the two-dimensional codes which are continuously scanned is completed, the code scanning device displays various options of processing result selectable display modes to a user after finishing displaying the display interface of the scanning area comprising the scanning identification code, wherein the options comprise: and displaying the processing result of each identification code, displaying only the exception processing result and not displaying the processing result.
And the code scanning device 200 jumps to different interfaces according to the processing result display mode selected by the user. For example, if the user selects to display the processing result of each of the identification codes, the code scanning apparatus 200 displays the processing result of each of the two-dimensional codes together after the operation of continuously scanning two or more of the two-dimensional codes is finished. For another example, if the user selects to display only the exception handling result, the code scanning device 200 searches for the exception handling result, and displays only the exception handling result when the exception handling result is found, and displays an interface representing that no exception handling result exists when the exception handling result is not found. For another example, if the user chooses not to present the processing result, the code scanning device 200 displays an interface that characterizes the end of code scanning.
The code scanning method provided by the embodiment of the application can continuously scan the identification code, uninterruptedly identify and analyze the data information on the identification code and process the data information in parallel by supporting the convenient batch code scanning. The method comprises the steps of continuously scanning more than two identification codes, respectively identifying image information corresponding to each obtained identification code, and asynchronously performing corresponding processing operation according to the data information without mutual influence, thereby remarkably improving the code scanning efficiency.
Fig. 9 is a block diagram illustrating functional blocks of a code scanning apparatus 300 according to some embodiments of the present application. The functions implemented by the code scanning device 300 correspond to the steps executed by the above method. The code scanning device 300 can be understood as the code scanning apparatus 200 or a processor of the code scanning apparatus 200, or can be understood as a component which is independent from the code scanning apparatus 200 or the processor and realizes the functions of the present application under the control of the code scanning apparatus 200. As shown in fig. 9, the code scanning apparatus 300 may include an image information obtaining module 310, a data information obtaining module 320, and an information processing module 330.
The image information obtaining module 310 is configured to scan more than two identification codes continuously, and obtain image information corresponding to each identification code. For the implementation of the image information obtaining module 310, reference may be made to the related description of step S110 in fig. 3, which is not described herein again.
The data information obtaining module 320 is configured to respectively identify the image information corresponding to each obtained identification code, so as to obtain data information corresponding to the identification code. For the implementation of the data information obtaining module 320, reference may be made to the related description of step S120 in fig. 3, which is not described herein again.
The information processing module 330 is configured to perform corresponding processing according to the data information to obtain a processing result of the corresponding identification code. For implementation of the information processing module 330, reference may be made to the related description of step S130 in fig. 3, which is not described herein again.
In some embodiments of the present application, the information processing module 330 is configured to send the data information to a server communicatively connected to the code scanning device 200 for processing; and receiving a processing result fed back after the server processes the data information.
In some embodiments of the present application, please refer to fig. 10 in combination, and fig. 10 illustrates that the code scanning apparatus 300 may further include an information displaying module 340 on the basis of fig. 9.
The information display module 340 is configured to display the processing result of each identification code after the operation of continuously scanning more than two identification codes is finished.
In some embodiments of the present application, the code scanning apparatus further includes an information display module 340.
The information display module 340 is configured to, in an operation process of continuously scanning more than two identification codes, display a processing result of one identification code in a display area outside a scanning area of the code scanning device for scanning the identification code whenever the processing result is obtained.
In some embodiments of the present application, the identification code further includes a unique code of an object where the identification code is located, and the information display module 340 is configured to display the processing result in the following manner: and forming a key value pair by taking the unique code of the object where the identification code is positioned as a key and taking the processing result as a value, and displaying the key value pair.
In some embodiments of the present application, the operation of scanning two or more identification codes, the operation of identifying the image information corresponding to each obtained identification code, and the operation of performing corresponding processing according to the data information are performed asynchronously.
In some embodiments of the present application, the image information obtaining module 310 is configured to, after scanning the at least one identification code to obtain the image information, continue to display a display interface of the scanning area including the scanned identification code; and continuously scanning at least one other identification code based on the scanning area to obtain image information until the continuous scanning of the identification codes is judged to be finished, and finishing displaying the display interface of the scanning area comprising the scanning identification codes.
In some embodiments of the present application, the condition for determining the end of the continuous scanning of the identification code comprises at least one of:
acquiring a setting instruction, wherein the setting instruction is used for marking the end of continuous scanning identification codes;
image information obtained by continuously scanning the identification code based on the scanning area is not obtained within the set time length.
In some embodiments of the present application, one or more identification codes are included in the image information.
The data information obtaining module 320 is configured to determine the number of identification codes included in the image information; if the image information comprises an identification code, identifying the identification code to obtain data information which is contained in the image information and corresponds to the identification code; and if the image information comprises more than two identification codes, respectively identifying each identification code in the image information to obtain more than two data information which are contained in the image information and respectively correspond to the more than two identification codes.
Since the principle of the code scanning apparatus 300 in the embodiment of the present application for solving the problem is similar to the code scanning method described above in the embodiment of the present application, the implementation of the code scanning apparatus 300 can refer to the implementation of the method, and repeated details are not repeated.
The wired connections may include connections in the form of L AN, WAN, Bluetooth, ZigBee, or NFC, or the like, or any combination thereof.
In addition, an embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the code scanning method are performed.
The computer program product of the code scanning method provided in the embodiment of the present application includes a computer-readable storage medium storing a program code, where instructions included in the program code may be used to execute the steps of the code scanning method in the above method embodiment, which may be referred to specifically in the above method embodiment, and details are not repeated here.
According to the code scanning method, the code scanning device, the code scanning equipment and the computer readable storage medium, when a user uses the code scanning equipment to scan codes, the operation of opening an interface of a scanning area including scanning identification codes is not required to be executed again aiming at each identification code, the code scanning equipment can continuously scan more than two identification codes to obtain image information corresponding to each identification code, the obtained image information corresponding to each identification code is identified respectively to obtain data information corresponding to the identification code, and corresponding processing is executed according to the data information to obtain a processing result of the corresponding identification code. In the process of continuously scanning more than two identification codes, the user does not need to perform operation of opening the interface of the scanning area comprising the scanning identification code for each identification code again when scanning each identification code, so that the code scanning convenience is improved. The method comprises the steps of continuously scanning more than two identification codes, respectively identifying image information corresponding to each obtained identification code, and asynchronously performing corresponding processing operation according to the data information without mutual influence, thereby remarkably improving the code scanning efficiency.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system and the apparatus described above may refer to corresponding processes in the method embodiments, and are not described in detail in this application. In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical division, and there may be other divisions in actual implementation, and for example, a plurality of modules 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 of devices or modules through some communication interfaces, and may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules 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 application 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 functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (20)

1. A code scanning method is applied to code scanning equipment, and comprises the following steps:
continuously scanning more than two identification codes to obtain image information corresponding to each identification code;
respectively identifying the image information corresponding to each identification code to obtain data information corresponding to the identification code;
and executing corresponding processing according to the data information to obtain a processing result of the corresponding identification code.
2. The method for scanning code according to claim 1, wherein the performing corresponding processing according to the data information to obtain the processing result of the corresponding identification code comprises:
sending the data information to a server in communication connection with the code scanning equipment for processing;
and receiving a processing result fed back after the server processes the data information.
3. The code scanning method of claim 1, further comprising:
after the operation of continuously scanning more than two identification codes is finished, the processing result of each identification code is displayed together.
4. The code scanning method of claim 1, further comprising:
in the operation process of continuously scanning more than two identification codes, when a processing result of one identification code is obtained, the processing result is displayed in a display area outside a scanning area of the code scanning equipment for scanning the identification code.
5. The code scanning method according to claim 3 or 4, wherein the identification code further comprises a unique code of an object where the identification code is located, and the processing result is displayed in the following manner:
and forming a key value pair by taking the unique code of the object where the identification code is positioned as a key and taking the processing result as a value, and displaying the key value pair.
6. The code scanning method according to claim 1, wherein the operations of scanning two or more identification codes successively, identifying the image information corresponding to each obtained identification code, and performing the corresponding processing based on the data information are performed asynchronously.
7. The code scanning method according to claim 1, wherein scanning more than two identification codes in succession to obtain image information corresponding to each identification code comprises:
after scanning at least one identification code to obtain image information, continuously displaying a display interface of a scanning area comprising the scanning identification code;
and continuously scanning at least one other identification code based on the scanning area to obtain image information until the continuous scanning of the identification codes is judged to be finished, and finishing displaying the display interface of the scanning area comprising the scanning identification codes.
8. The method of claim 7, wherein the condition for determining the end of the continuous scanning of the identification code comprises at least one of:
acquiring a setting instruction, wherein the setting instruction is used for marking the end of continuous scanning identification codes;
image information obtained by continuously scanning the identification code based on the scanning area is not obtained within the set time length.
9. The code scanning method according to claim 1, wherein the image information includes one or more identification codes;
the respectively identifying the image information corresponding to each obtained identification code to obtain the data information corresponding to the identification code includes:
judging the number of identification codes included in the image information;
if the image information comprises an identification code, identifying the identification code to obtain data information which is contained in the image information and corresponds to the identification code;
and if the image information comprises more than two identification codes, respectively identifying each identification code in the image information to obtain more than two data information which are contained in the image information and respectively correspond to the more than two identification codes.
10. The utility model provides a sweep a yard device which characterized in that is applied to and sweeps a yard equipment, sweep a yard device and include:
the image information acquisition module is used for continuously scanning more than two identification codes to acquire image information corresponding to each identification code;
the data information acquisition module is used for respectively identifying the image information corresponding to each identification code to obtain the data information corresponding to the identification code;
and the information processing module is used for executing corresponding processing according to the data information to obtain a processing result of the corresponding identification code.
11. The code scanning device of claim 10, wherein the information processing module is configured to send the data information to a server communicatively connected to the code scanning apparatus for processing; and receiving a processing result fed back after the server processes the data information.
12. The code scanning device of claim 10, further comprising an information display module;
the information display module is used for displaying the processing result of each identification code after the operation of continuously scanning more than two identification codes is finished.
13. The code scanning device of claim 10, further comprising an information display module;
the information display module is used for displaying a processing result of an identification code in a display area outside a scanning area of the code scanning equipment for scanning the identification code when the processing result of the identification code is obtained in the continuous scanning operation process of more than two identification codes.
14. The code scanning device of claim 12 or 13, wherein the identification code further includes a unique code of an object in which the identification code is located, and the information display module is configured to display the processing result in the following manner:
and forming a key value pair by taking the unique code of the object where the identification code is positioned as a key and taking the processing result as a value, and displaying the key value pair.
15. A code scanning apparatus according to claim 10, wherein the operations of scanning two or more identification codes successively, identifying the image information corresponding to each obtained identification code, and performing the corresponding processing based on the data information are performed asynchronously.
16. The code scanning device of claim 10, wherein the image information obtaining module is configured to continue to display the display interface of the scanning area including the scanned identification code after scanning the at least one identification code to obtain the image information; and continuously scanning at least one other identification code based on the scanning area to obtain image information until the continuous scanning of the identification codes is judged to be finished, and finishing displaying the display interface of the scanning area comprising the scanning identification codes.
17. The code scanning device of claim 16, wherein the condition for determining the end of the continuous scanning of the identification codes comprises at least one of:
acquiring a setting instruction, wherein the setting instruction is used for marking the end of continuous scanning identification codes;
image information obtained by continuously scanning the identification code based on the scanning area is not obtained within the set time length.
18. The code scanning device of claim 10, wherein the image information includes one or more identification codes;
the data information obtaining module is used for judging the number of the identification codes included in the image information; if the image information comprises an identification code, identifying the identification code to obtain data information which is contained in the image information and corresponds to the identification code; and if the image information comprises more than two identification codes, respectively identifying each identification code in the image information to obtain more than two data information which are contained in the image information and respectively correspond to the more than two identification codes.
19. A code scanning device, comprising: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, when the code scanning device runs, the processor and the storage medium communicate through the bus, and the processor executes the machine-readable instructions to execute the steps of the code scanning method according to any one of claims 1 to 9.
20. A computer-readable storage medium, having stored thereon a computer program for executing the steps of the code scanning method according to any one of claims 1 to 9 when the computer program is executed by a processor.
CN201910101454.0A 2019-01-31 2019-01-31 Code scanning method and device, code scanning equipment and computer readable storage medium Pending CN111507116A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910101454.0A CN111507116A (en) 2019-01-31 2019-01-31 Code scanning method and device, code scanning equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910101454.0A CN111507116A (en) 2019-01-31 2019-01-31 Code scanning method and device, code scanning equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN111507116A true CN111507116A (en) 2020-08-07

Family

ID=71873948

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910101454.0A Pending CN111507116A (en) 2019-01-31 2019-01-31 Code scanning method and device, code scanning equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111507116A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112150719A (en) * 2020-09-25 2020-12-29 北京骑胜科技有限公司 Vehicle management method, device, electronic equipment and storage medium
CN112183149A (en) * 2020-09-29 2021-01-05 维沃移动通信(杭州)有限公司 Graphic code processing method and device
CN112417914A (en) * 2020-11-27 2021-02-26 西安诺瓦星云科技股份有限公司 Data scanning method and device and electronic equipment
WO2022237085A1 (en) * 2021-05-08 2022-11-17 海南拍拍看信息技术有限公司 Designated driving anti-counterfeiting/tracing method for alcoholic product

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012168854A (en) * 2011-02-16 2012-09-06 Nec System Technologies Ltd Input system of document information including personal information and method therefor, and document information management device and program therefor
CN103890779A (en) * 2011-10-10 2014-06-25 礼元通信株式会社 Device and method for automatically identifying a QR code
CN104834884A (en) * 2015-04-28 2015-08-12 新石器龙码(北京)科技有限公司 Barcode scanning device and method
CN106095536A (en) * 2016-06-22 2016-11-09 福建联迪商用设备有限公司 Multithreading coding/decoding method based on multinuclear MPU and system
CN106548105A (en) * 2015-09-22 2017-03-29 上海行邑信息科技有限公司 A kind of new barcode scanning identification control method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012168854A (en) * 2011-02-16 2012-09-06 Nec System Technologies Ltd Input system of document information including personal information and method therefor, and document information management device and program therefor
CN103890779A (en) * 2011-10-10 2014-06-25 礼元通信株式会社 Device and method for automatically identifying a QR code
CN104834884A (en) * 2015-04-28 2015-08-12 新石器龙码(北京)科技有限公司 Barcode scanning device and method
CN106548105A (en) * 2015-09-22 2017-03-29 上海行邑信息科技有限公司 A kind of new barcode scanning identification control method and device
CN106095536A (en) * 2016-06-22 2016-11-09 福建联迪商用设备有限公司 Multithreading coding/decoding method based on multinuclear MPU and system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112150719A (en) * 2020-09-25 2020-12-29 北京骑胜科技有限公司 Vehicle management method, device, electronic equipment and storage medium
CN112183149A (en) * 2020-09-29 2021-01-05 维沃移动通信(杭州)有限公司 Graphic code processing method and device
CN112183149B (en) * 2020-09-29 2023-01-31 维沃移动通信(杭州)有限公司 Graphic code processing method and device
CN112417914A (en) * 2020-11-27 2021-02-26 西安诺瓦星云科技股份有限公司 Data scanning method and device and electronic equipment
CN112417914B (en) * 2020-11-27 2024-03-26 西安诺瓦星云科技股份有限公司 Data scanning method and device and electronic equipment
WO2022237085A1 (en) * 2021-05-08 2022-11-17 海南拍拍看信息技术有限公司 Designated driving anti-counterfeiting/tracing method for alcoholic product

Similar Documents

Publication Publication Date Title
CN111507116A (en) Code scanning method and device, code scanning equipment and computer readable storage medium
CN111352649B (en) Code processing method, device, server and readable storage medium
WO2019105052A1 (en) Systems and methods for electric vehicle charging
CN111105120B (en) Work order processing method and device
EP3311554B1 (en) System and method for determining location
JP6772302B2 (en) Systems and methods for information processing
CN110689393B (en) Man-machine interaction method, device, system and storage medium
US20200005181A1 (en) Vector generation for distributed data sets
CN109508189B (en) Layout template processing method and device and computer readable storage medium
CN111353092A (en) Service pushing method, device, server and readable storage medium
CN111105251A (en) Information pushing method and device
CN111367575A (en) User behavior prediction method and device, electronic equipment and storage medium
TW201842474A (en) Systems and methods for activity recommendation
CN114626752A (en) Automatic vehicle scheduling method and device, computer equipment and storage medium
CN111489214B (en) Order allocation method, condition setting method, device and electronic equipment
CN111274348A (en) Service feature data extraction method and device and electronic equipment
US20210097787A1 (en) Information presentation method and apparatus
CN110515929B (en) Book display method, computing device and storage medium
WO2021056250A1 (en) Systems and methods for recommendation and display of point of interest
CN111274471A (en) Information pushing method and device, server and readable storage medium
CN111127126A (en) Information feedback method and device and computer readable storage medium
WO2019173012A1 (en) Online pluggable 3d platform for 3d representations of items
CN115237097A (en) Automatic driving simulation test method, device, computer equipment and storage medium
CN110837589A (en) Information display method and device
CN111292107A (en) User data processing method and device, electronic equipment and storage medium

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